:root {
  --navy: #0f2234;
  --navy-2: #20384b;
  --green: #96c11e;
  --white: #ffffff;
  --paper: #f7f8f7;
  --gray: #dce1e3;
  --muted: #60707c;
  --line: #ccd4d8;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--green); color: var(--navy); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.035em; }
h1 { max-width: 860px; font-size: clamp(3rem, 6.1vw, 6.6rem); }
h2 { font-size: clamp(2.4rem, 4.8vw, 5rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { max-width: 68ch; }
address { font-style: normal; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: clamp(82px, 10vw, 150px) 0; }
.eyebrow { margin-bottom: 24px; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 1000; left: 20px; top: -100px; padding: 12px 18px; background: var(--green); font-weight: 700; }
.skip-link:focus { top: 20px; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 30px rgba(15,34,52,.06); }
.topline { background: var(--navy); color: var(--white); font-size: .76rem; letter-spacing: .03em; }
.topline-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline-contact { display: flex; align-items: center; gap: 24px; }
.topline-contact a { display: inline-flex; align-items: center; gap: 9px; }
.topline-contact a::before { width: 8px; height: 8px; flex: 0 0 8px; background: var(--green); content: ""; }
.topline-contact a:hover, .topline-contact a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.nav-row { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 255px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .84rem; font-weight: 700; text-transform: uppercase; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 3px; background: var(--green); transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 13px 20px; background: var(--green); }
.menu-toggle { display: none; border: 0; background: transparent; font-weight: 700; text-transform: uppercase; }

.hero { padding: clamp(72px, 8vw, 122px) 0; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-grid { display: block; }
.hero-copy { max-width: 1030px; }
.hero .eyebrow { color: var(--green); }
.hero h1 { margin-bottom: 35px; }
.hero-intro { font-size: clamp(1.14rem, 1.6vw, 1.4rem); color: #e7edf0; }
.hero-extra { color: #afbdc6; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 15px 23px; border: 0; font-weight: 700; cursor: pointer; }
.button-green { background: var(--green); color: var(--navy); }
.button-green:hover, .button-green:focus-visible { background: var(--white); }
.button-text { color: var(--white); }
.button-text span { margin-left: 10px; transition: transform .2s; }
.button-text:hover span { transform: translateX(6px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 50px 0 0; padding: 25px 0 0; border-top: 1px solid #385064; list-style: none; font-size: .9rem; }
.hero-points li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; background: var(--green); }

.section-heading { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { justify-self: end; margin-bottom: 8px; color: var(--muted); }
.section-heading-row { grid-template-columns: 1.3fr .7fr; }
.section-heading-row .eyebrow { margin-bottom: 24px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.service { position: relative; min-height: 340px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); }
.service:last-child { border-right: 0; }
.service-number { color: var(--green); font-size: .8rem; font-weight: 700; }
.service h3 { margin-top: 70px; }
.service p { color: var(--muted); font-size: .98rem; }
.service a { margin-top: auto; font-size: .84rem; font-weight: 700; text-transform: uppercase; }
.service::after { content: ""; position: absolute; right: 24px; top: 24px; width: 0; height: 0; background: var(--green); transition: width .25s, height .25s; }
.service:hover::after { width: 18px; height: 18px; }

.work { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1.05fr 1fr .95fr; gap: 20px; }
.project-card { min-height: 520px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.project-navy { background: var(--navy); color: var(--white); }
.project-gray { background: var(--gray); }
.project-green { background: var(--green); }
.project-art { position: relative; min-height: 400px; overflow: hidden; }
.project-art em { position: absolute; z-index: 4; right: 18px; bottom: 18px; padding: 7px 9px; background: var(--white); color: var(--navy); font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.project-meta { display: flex; justify-content: space-between; gap: 20px; padding: 22px; border-top: 1px solid currentColor; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.project-meta span:last-child { text-align: right; opacity: .66; }
.art-identity i { position: absolute; width: 220px; height: 220px; left: 50%; top: 50%; background: var(--green); transform: translate(-50%,-50%) rotate(8deg); }
.art-identity b { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-52%); font-size: 11rem; color: var(--white); }
.art-web { display: grid; place-items: center; }
.art-web i { position: absolute; width: 72%; height: 54%; border: 3px solid var(--navy); background: var(--white); }
.art-web i:nth-child(2) { transform: translate(25px,25px); background: var(--green); }
.art-web i:nth-child(3) { transform: translate(-25px,-25px); background: var(--white); }
.art-print i { position: absolute; width: 230px; height: 300px; left: 50%; top: 50%; background: var(--white); box-shadow: 24px 24px 0 var(--navy); transform: translate(-55%,-55%) rotate(-5deg); }
.art-print b { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-5deg); font-size: 3rem; }

.why { background: var(--navy); color: var(--white); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); }
.why-intro .eyebrow { color: var(--green); }
.why-intro p:last-child { color: #b9c7d0; }
.why-list { border-top: 1px solid #4a6171; }
.why-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid #4a6171; }
.why-item > span { color: var(--green); font-weight: 700; }
.why-item h3 { margin-bottom: 10px; }
.why-item p { margin-bottom: 0; color: #b9c7d0; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 2px solid var(--navy); list-style: none; }
.process-grid li { min-height: 330px; padding: 28px; border-right: 1px solid var(--line); }
.process-grid li:last-child { border-right: 0; }
.process-grid span { display: inline-grid; width: 45px; height: 45px; place-items: center; margin-bottom: 90px; background: var(--green); font-weight: 700; }
.process-grid p { color: var(--muted); }

.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 10vw, 150px); }
.team-copy { position: sticky; top: 170px; align-self: start; }
.team-copy p:last-child { color: var(--muted); }
.people-list { border-top: 2px solid var(--navy); }
.person { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.person strong { font-size: 1.3rem; }
.person span { color: var(--muted); }
.person-network { grid-template-columns: 1fr; }
.person-network span { grid-column: 1 / -1; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 10vw, 160px); }
.faq-intro p:last-child { color: var(--muted); }
.faq-list { border-top: 2px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 60px 28px 0; cursor: pointer; font-size: 1.15rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 24px; display: grid; width: 34px; height: 34px; place-items: center; background: var(--green); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 60px 28px 0; color: var(--muted); }

.contact { background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); }
.contact .eyebrow { color: var(--green); }
.contact-copy > p:not(.eyebrow) { color: #b9c7d0; }
.contact-links { display: grid; gap: 16px; margin-top: 50px; }
.contact-links a { display: flex; flex-direction: column; }
.contact-links span { color: var(--green); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.contact-links strong { font-size: 1.35rem; }
.contact-options { display: grid; gap: 14px; }
.contact-option { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 23px 26px; background: var(--white); color: var(--navy); transition: transform .2s ease, background .2s ease; }
.contact-option:hover, .contact-option:focus-visible { transform: translateX(7px); }
.contact-option span { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-option strong { font-size: clamp(1.08rem, 2vw, 1.4rem); }
.contact-option small { color: var(--muted); font-weight: 700; }
.contact-option-primary { background: var(--green); }
.contact-option-primary span, .contact-option-primary small { color: var(--navy); }

.site-footer { padding: 70px 0 130px; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand img { width: 230px; }
.footer-brand p { margin-top: 20px; color: var(--muted); }
.site-footer h2 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) h2 { display: flex; align-items: center; gap: 10px; }
.footer-grid > div:not(.footer-brand) h2::before { width: 10px; height: 10px; flex: 0 0 10px; background: var(--green); content: ""; }
.site-footer a { display: block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-link:hover, .footer-link:focus-visible { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.terms-modal { width: min(960px, calc(100% - 40px)); max-width: none; height: min(860px, calc(100dvh - 60px)); max-height: none; padding: 0; border: 0; background: var(--white); color: var(--navy); box-shadow: 0 28px 90px rgba(15,34,52,.35); }
.terms-modal::backdrop { background: rgba(15,34,52,.72); backdrop-filter: blur(4px); }
.terms-modal-shell { height: 100%; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.terms-modal-header { z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 34px 40px 25px; background: var(--white); border-bottom: 1px solid var(--line); }
.terms-modal-header .eyebrow { margin-bottom: 10px; }
.terms-modal-header h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.terms-close { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; padding: 0; border: 0; background: var(--green); color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; }
.terms-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 12px 40px 50px; }
.terms-document { max-width: 78ch; margin: 0 auto; }
.terms-document .terms-section { margin: 46px 0 22px; padding-top: 24px; border-top: 2px solid var(--navy); }
.terms-document .terms-section:first-child { margin-top: 18px; border-top: 0; }
.terms-document h3 { display: flex; gap: 12px; margin-bottom: 0; font-size: 1.65rem; }
.terms-document h3 span, .terms-document h4 span { color: var(--green); }
.terms-document h4 { margin: 24px 0 8px; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.01em; }
.terms-document p { margin-bottom: 16px; color: #415362; font-size: .96rem; line-height: 1.7; }
.terms-document .terms-bullet { position: relative; margin: 0 0 9px; padding-left: 22px; }
.terms-document .terms-bullet::before { position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--green); content: ""; }
.terms-modal-footer { display: flex; justify-content: flex-end; padding: 18px 40px; background: var(--paper); border-top: 1px solid var(--line); }
body.modal-open { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; font-size: .75rem; }
  .service-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why-grid, .team-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-copy { position: static; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .topline-inner span { display: none; }
  .topline-inner { justify-content: flex-end; }
  .topline-contact { gap: 18px; }
  .nav-row { min-height: 82px; }
  .brand { width: 190px; }
  .menu-toggle { z-index: 2; display: flex; align-items: center; gap: 10px; }
  .menu-toggle i, .menu-toggle i::after { display: block; width: 18px; height: 2px; background: var(--navy); content: ""; }
  .menu-toggle i::after { transform: translateY(6px); }
  .main-nav { position: fixed; inset: 118px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 16px 28px; background: var(--white); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 16px; }
  .main-nav .nav-cta { margin-top: 8px; text-align: center; }
  h1 { font-size: clamp(2.65rem, 12vw, 4.3rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.5rem); }
  .hero { padding-top: 70px; }
  .section-heading, .section-heading-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading > p:last-child { justify-self: start; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service { min-height: 275px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .service h3 { margin-top: 45px; }
  .process-grid li { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid li:last-child { border-bottom: 0; }
  .process-grid span { margin-bottom: 60px; }
  .person { grid-template-columns: 1fr; gap: 5px; }
  .person-network span { grid-column: auto; }
  .contact-option { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .terms-modal-header { padding: 26px 24px 20px; }
  .terms-scroll { padding: 8px 24px 38px; }
  .terms-modal-footer { padding: 14px 24px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 118px; }
  .section { padding: 78px 0; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-points { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { margin-top: 52px; padding-bottom: 10px; }
  .terms-modal { width: calc(100% - 20px); height: calc(100dvh - 20px); }
  .terms-modal-header { padding: 22px 18px 17px; }
  .terms-modal-header h2 { font-size: 2rem; }
  .terms-close { width: 42px; height: 42px; flex-basis: 42px; }
  .terms-scroll { padding: 6px 18px 30px; }
  .terms-document h3 { font-size: 1.4rem; }
  .terms-modal-footer { padding: 12px 18px; }
}

@media (max-width: 600px) {
  .site-footer { padding-bottom: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
