:root {
  --ink: #111713;
  --muted: #66706a;
  --paper: #f4f2ec;
  --surface: #fff;
  --line: #d9ddd8;
  --lime: #d9ff52;
  --forest: #193b2d;
  --system-accent: #176b4d;
  --system-background: #f3f6f3;
  --system-on-accent: #fff;
  --system-text: #18211c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid rgba(17, 23, 19, .16);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 850; letter-spacing: -.035em; line-height: 1; text-decoration: none; }
.site-brand > span:last-child { display: grid; gap: 3px; }
.site-brand small { color: var(--muted); font-size: .56rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-brand img { display: block; max-width: 142px; max-height: 46px; object-fit: contain; }
.site-brand__mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--lime); font-size: .9rem; transform: rotate(-4deg); }
.site-menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-menu li { position: relative; }
.site-menu a { color: #2f3832; font-size: .8rem; font-weight: 750; text-decoration: none; }
.site-menu a:hover { color: #000; }
.site-menu--nested { position: absolute; top: calc(100% + 12px); left: -12px; display: none; min-width: 190px; padding: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 30px rgba(17,23,19,.12); }
.site-menu li:hover > .site-menu--nested, .site-menu li:focus-within > .site-menu--nested { display: grid; gap: 8px; }
.header-contact { justify-self: end; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: .8rem; font-weight: 800; text-decoration: none; }

.eyebrow { margin: 0 0 10px; color: #456352; font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; padding: 12px 17px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; font-weight: 780; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--forest); border-color: var(--forest); }
.button span { color: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .84rem; font-weight: 800; text-decoration: none; }

.agency-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  width: min(100% - 40px, 1320px);
  min-height: 690px;
  margin: 0 auto;
  padding: 70px 0 86px;
}
.agency-hero h1 { max-width: 780px; margin: 0; font-size: clamp(3.5rem, 7vw, 7.3rem); font-weight: 820; letter-spacing: -.075em; line-height: .9; }
.agency-hero h1 em { display: block; color: var(--forest); font-family: Georgia, serif; font-weight: 500; }
.agency-hero__lead { max-width: 650px; margin: 30px 0 28px; color: #526058; font-size: clamp(1rem, 1.6vw, 1.23rem); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 610px; margin: 50px 0 0; padding-top: 20px; border-top: 1px solid rgba(17,23,19,.18); }
.hero-metrics div { padding-right: 18px; }
.hero-metrics dt { font-size: 1.55rem; font-weight: 850; letter-spacing: -.045em; }
.hero-metrics dd { margin: 2px 0 0; color: var(--muted); font-size: .7rem; }
.agency-hero__visual { position: relative; min-height: 520px; }
.visual-card { position: absolute; display: flex; flex-direction: column; border: 1px solid rgba(17,23,19,.2); box-shadow: 0 20px 50px rgba(17,23,19,.12); }
.visual-card span { font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.visual-card strong { margin-top: auto; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.02; letter-spacing: -.05em; }
.visual-card--primary { inset: 0 0 32px 40px; padding: 35px; background: #e66d54; transform: rotate(2.2deg); }
.visual-card--primary::before, .visual-card--primary::after { content: ''; position: absolute; border: 1px solid rgba(17,23,19,.7); border-radius: 50%; }
.visual-card--primary::before { top: 19%; right: 12%; width: 42%; aspect-ratio: 1; }
.visual-card--primary::after { top: 29%; right: 22%; width: 22%; aspect-ratio: 1; background: var(--lime); }
.visual-card--primary i { position: absolute; right: 26px; bottom: 25px; font-size: .68rem; font-style: normal; font-weight: 800; }
.visual-card--note { z-index: 2; right: -18px; bottom: 0; width: 48%; height: 210px; padding: 22px; background: var(--lime); transform: rotate(-5deg); }
.visual-card--note strong { font-size: 1.45rem; }
.visual-orbit { position: absolute; z-index: 3; top: -24px; left: 4px; display: grid; place-items: center; width: 78px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 2rem; }

.client-strip { display: grid; grid-template-columns: repeat(5, 1fr); width: min(100% - 40px, 1320px); margin: 0 auto; border-block: 1px solid rgba(17,23,19,.18); }
.client-strip span { padding: 18px 12px; color: #6a746e; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }

.agency-section { width: min(100% - 40px, 1320px); margin: 0 auto; padding: clamp(80px, 10vw, 145px) 0; }
.section-intro { max-width: 790px; margin-bottom: 52px; }
.section-intro h2, .system-showcase h2, .contact-section h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 5rem); letter-spacing: -.065em; line-height: .98; }
.section-intro > p:last-child { max-width: 620px; color: var(--muted); }
.section-intro--row { display: grid; grid-template-columns: 1.2fr .7fr; gap: 60px; align-items: end; max-width: none; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.service-grid article { min-height: 290px; padding: 24px 22px 20px 0; border-bottom: 1px solid rgba(17,23,19,.22); }
.service-grid article + article { padding-left: 22px; border-left: 1px solid rgba(17,23,19,.22); }
.service-grid article > span { color: #768078; font-size: .68rem; font-weight: 800; }
.service-grid h3 { margin: 55px 0 12px; font-size: 1.2rem; letter-spacing: -.03em; }
.service-grid p { color: var(--muted); font-size: .86rem; }
.service-grid b { display: block; margin-top: 28px; color: #4c5851; font-size: .64rem; font-weight: 750; }

.system-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 130px); padding: clamp(80px, 10vw, 130px) max(20px, calc((100vw - 1320px) / 2)); background: var(--forest); color: #fff; }
.system-showcase > div > p:not(.eyebrow) { max-width: 560px; color: #b8c8be; }
.system-showcase .eyebrow { color: var(--lime); }
.system-showcase .text-link { margin-top: 28px; }
.system-showcase ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.28); }
.system-showcase li { display: grid; grid-template-columns: 42px .8fr 1.2fr; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.system-showcase li span { color: var(--lime); font-size: .66rem; }
.system-showcase li strong { font-size: .95rem; }
.system-showcase li small { color: #b8c8be; }

.reference-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.reference-card { position: relative; min-height: 420px; padding: 26px; overflow: hidden; border: 1px solid rgba(17,23,19,.18); }
.reference-card:first-child { grid-row: span 2; min-height: 858px; }
.reference-card::after { content: ''; position: absolute; width: 52%; aspect-ratio: 1; right: 8%; top: 22%; border: 2px solid currentColor; border-radius: 50%; box-shadow: -55px 55px 0 var(--lime); opacity: .7; }
.reference-card div, .reference-card h3, .reference-card p { position: relative; z-index: 1; }
.reference-card div { display: flex; justify-content: space-between; gap: 20px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.reference-card h3 { max-width: 540px; margin: 260px 0 15px; font-size: clamp(1.8rem, 3.5vw, 3.8rem); letter-spacing: -.055em; line-height: 1; }
.reference-card:first-child h3 { margin-top: 590px; }
.reference-card p { font-size: .7rem; font-weight: 750; }
.reference-card--coral { background: #e66d54; }
.reference-card--violet { background: #bca8ff; }
.reference-card--sand { background: #e7d7b9; }

.process-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 10vw, 150px); border-top: 1px solid rgba(17,23,19,.2); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(17,23,19,.2); }
.process-list li > span { color: #69746d; font-size: .68rem; font-weight: 800; }
.process-list h3 { margin: 0; font-size: 1.18rem; }
.process-list p { margin: 3px 0 0; color: var(--muted); font-size: .84rem; }

.contact-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 10vw, 140px); padding: clamp(80px, 10vw, 130px) max(20px, calc((100vw - 1320px) / 2)); background: var(--lime); }
.contact-section__intro p { max-width: 500px; }
.contact-section__intro > a { display: block; width: fit-content; margin-top: 9px; font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.inquiry-card { margin: 0; }
.inquiry-card > div:first-child { display: none; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form label { display: grid; gap: 6px; }
.inquiry-form label span { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(17,23,19,.55); border-radius: 0; outline: none; background: transparent; color: var(--ink); }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-bottom-width: 2px; border-bottom-color: var(--ink); }
.inquiry-form .span-full { grid-column: 1 / -1; }
.inquiry-form .button { margin-top: 6px; }
.honey-field { position: absolute !important; left: -9999px !important; }
.form-message { padding: 10px 12px; border: 1px solid currentColor; font-size: .84rem; }
.form-message--success { color: #164d34; background: rgba(255,255,255,.35); }
.form-message--error { color: #8b251d; background: rgba(255,255,255,.45); }

.agency-team { padding-top: 80px; }
.content-block { margin: 0 0 46px; }
.content-block--rich-text, .prose { max-width: 820px; }
.content-block--image img { display: block; max-width: 100%; height: auto; border-radius: 3px; }
.content-block figcaption { color: var(--muted); font-size: .78rem; }
.content-block--gallery { display: grid; grid-template-columns: repeat(var(--gallery-columns, 4), minmax(0, 1fr)); gap: 12px; }
.content-block--gallery figure { margin: 0; }
.content-block--gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; }
.project-callout { padding: 24px; border-left: 4px solid var(--forest); background: #e5ebdf; }
.page-content { width: min(100% - 40px, 1120px); margin: 0 auto; padding: 90px 0 130px; }
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; margin-bottom: 70px; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 6rem); letter-spacing: -.07em; line-height: .94; }
.page-hero p { color: var(--muted); }
.listing-grid, .defined-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 32px; }
.listing-grid article, .defined-gallery figure { margin: 0; padding: 18px; border: 1px solid var(--line); background: #fff; }
.listing-grid a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.defined-field { margin: 32px 0; }
.defined-field img { max-width: 100%; height: auto; }
.defined-gallery { grid-template-columns: repeat(var(--gallery-columns, 4), minmax(0, 1fr)); }
.defined-gallery img { width: 100%; aspect-ratio: 4 / 3; }

.contact-people > h2 { margin-bottom: 26px; font-size: clamp(2rem,4vw,4rem); letter-spacing: -.055em; }
.contact-people__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contact-person { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.contact-person__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-person__photo--placeholder { position: relative; overflow: hidden; color: transparent; background: #e4ebe6; }
.contact-person__photo--placeholder::before { content: ''; position: absolute; left: 50%; top: 22%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #91a198; transform: translateX(-50%); }
.contact-person__photo--placeholder::after { content: ''; position: absolute; left: 50%; bottom: -12%; width: 58%; height: 55%; border-radius: 50% 50% 0 0; background: #91a198; transform: translateX(-50%); }
.contact-person__body { padding: 17px; }
.contact-person__role { margin: 0 0 3px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-person h3 { margin: 0; }
.contact-person__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-person__vcard { display: inline-grid; color: var(--forest); font-weight: 750; text-decoration: none; }
.contact-person__vcard small { color: var(--muted); font-weight: 500; }
.contact-person__qr { display: grid; justify-items: center; gap: 2px; color: var(--muted); font-size: .66rem; text-decoration: none; }
.contact-person__qr img { display: block; width: 52px; height: 52px; border: 1px solid var(--line); }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 80px; width: min(100% - 40px, 1320px); margin: 0 auto; padding: 55px 0; color: #dce7df; background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
.site-footer > div { display: grid; align-content: start; gap: 8px; }
.site-footer strong { margin-bottom: 7px; color: #86948b; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a, .site-footer span { font-size: .8rem; text-decoration: none; }
.site-footer p { color: #95a39a; font-size: .78rem; }
.site-brand--footer { color: #fff; }

.system-page { min-height: 100vh; color: var(--system-text); background: var(--system-background); }
.system-page__main { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.system-message { text-align: center; }
.system-message__logo { display: block; max-width: min(240px, 70vw); max-height: 96px; margin: 0 auto 28px; object-fit: contain; }
.system-message .eyebrow { color: var(--system-accent); }
.system-message .button { background: var(--system-accent); color: var(--system-on-accent); }
.system-page .system-message { width: min(100%, 680px); padding: 44px; border: 1px solid color-mix(in srgb, var(--system-text) 16%, transparent); border-radius: 5px; background: color-mix(in srgb, var(--system-background) 74%, #fff); box-shadow: 0 14px 50px rgba(0,0,0,.07); }
.system-page .system-message h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 7vw, 4.8rem); line-height: 1; letter-spacing: -.06em; }
.system-page .system-message > p:not(.eyebrow) { max-width: 520px; margin-inline: auto; opacity: .76; }
.system-message__contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; }
.system-message__contacts a { color: var(--system-accent); font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .agency-hero { grid-template-columns: 1fr; padding-top: 55px; }
  .agency-hero__visual { min-height: 460px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(3) { border-left: 0; }
  .system-showcase, .process-section, .contact-section { grid-template-columns: 1fr; }
  .reference-grid { grid-template-columns: 1fr; }
  .reference-card:first-child { grid-row: auto; min-height: 520px; }
  .reference-card:first-child h3 { margin-top: 260px; }
}

@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1320px); }
  .site-brand small { display: none; }
  .agency-hero, .agency-section, .client-strip, .site-footer, .page-content { width: min(100% - 28px, 1320px); }
  .agency-hero { min-height: auto; padding: 50px 0 65px; }
  .agency-hero h1 { font-size: clamp(3.2rem, 16vw, 5.4rem); }
  .agency-hero__visual { min-height: 370px; }
  .visual-card--primary { inset: 0 0 20px 12px; padding: 25px; }
  .visual-card--note { right: -4px; height: 160px; }
  .visual-orbit { width: 60px; }
  .hero-metrics { grid-template-columns: 1fr; gap: 12px; }
  .client-strip { grid-template-columns: 1fr 1fr; }
  .client-strip span:last-child { grid-column: 1 / -1; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article + article { min-height: auto; padding: 22px 0; border-left: 0; }
  .service-grid h3 { margin-top: 30px; }
  .system-showcase li { grid-template-columns: 34px 1fr; }
  .system-showcase li small { grid-column: 2; }
  .section-intro--row, .page-hero { grid-template-columns: 1fr; gap: 25px; }
  .reference-card, .reference-card:first-child { min-height: 430px; }
  .reference-card h3, .reference-card:first-child h3 { margin-top: 250px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form .span-full { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
  .content-block--gallery, .defined-gallery { grid-template-columns: 1fr 1fr; }
  .system-page .system-message { padding: 32px 20px; }
}
/* Multi-page navigation stays available on touch screens. */
.site-header nav { min-width: 0; }
.site-menu--nested { top: 100%; }
.site-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-footer .site-menu { display: grid; gap: 10px; }
.site-footer .site-menu a { color: inherit; }
.contact-direct { display: grid; gap: 10px; padding: 22px; margin-bottom: 30px; border: 1px solid var(--line); }
.contact-direct > a { font-size: clamp(1rem, 3vw, 1.8rem); overflow-wrap: anywhere; }
.case-study .defined-content { max-width: 900px; }
.case-study__cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.listing-grid article { border-top: 4px solid var(--system-accent); }
@media (max-width: 900px) {
  .site-header nav { display: block; grid-column: 1 / -1; grid-row: 2; padding: 10px 0; }
  .site-header .site-menu { flex-wrap: wrap; gap: 10px 18px; }
  .site-header .site-menu a { display: inline-block; padding: 5px 0; }
  .site-header .site-menu--nested { position: static; display: grid; gap: 4px; padding: 0 0 0 12px; border: 0; box-shadow: none; background: transparent; min-width: 0; }
}
