:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-deep: #ebe6dc;
  --ink: #171d1a;
  --muted: #626863;
  --line: #d3d0c8;
  --forest: #173f35;
  --forest-dark: #0e2d25;
  --mint: #c9f06b;
  --purple: #6447df;
  --coral: #fe7b76;
  --white: #fffef9;
  --shell: min(calc(100% - 3rem), 78rem);
  --radius: 1.35rem;
  --shadow: 0 25px 70px rgba(18, 31, 26, 0.16);
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: .75rem 1rem; transform: translateY(-200%); border-radius: .5rem; background: var(--ink); color: var(--white); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 100; top: 0; left: 0; width: 100%; border-bottom: 1px solid rgba(23, 29, 26, .15); }
.nav-wrap { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-size: .96rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; text-decoration: none; }
.brand b { color: var(--muted); font-weight: 500; }
.brand-mark { position: relative; display: grid; width: 2rem; height: 2rem; place-items: center; overflow: hidden; border-radius: 50%; background: var(--forest); }
.brand-mark span { position: absolute; width: .52rem; height: 1.15rem; transform: rotate(45deg); border-radius: 999px; background: var(--mint); }
.brand-mark span:first-child { translate: -.3rem 0; }
.brand-mark span:last-child { translate: .3rem 0; background: var(--coral); }
.site-nav { display: flex; align-items: center; gap: clamp(1.15rem, 2.3vw, 2.2rem); }
.site-nav a { position: relative; color: #37403b; font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-nav a:not(.nav-contact)::after { position: absolute; right: 0; bottom: -.35rem; left: 0; height: 1px; transform: scaleX(0); transform-origin: right; background: currentColor; content: ""; transition: transform 180ms ease; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: .65rem 1rem; border: 1px solid var(--ink); border-radius: 999px; transition: background 180ms ease, color 180ms ease; }
.nav-contact:hover { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(55rem, 100svh); overflow: hidden; padding-top: 5rem; background: radial-gradient(circle at 80% 40%, rgba(201, 240, 107, .38), transparent 23rem), linear-gradient(135deg, #f7f3eb 0%, #eceee5 65%, #eee9df 100%); }
.hero::before { position: absolute; top: 5rem; bottom: 0; left: calc(50% + 4rem); width: 1px; background: rgba(23, 29, 26, .11); content: ""; }
.hero-grid { position: relative; display: grid; min-height: calc(min(55rem, 100svh) - 10rem); grid-template-columns: minmax(0, 1.08fr) minmax(24rem, .92fr); align-items: center; gap: clamp(3rem, 7vw, 7.5rem); padding-block: clamp(6rem, 11vh, 8rem) 4rem; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.5rem; color: #4e5752; font-size: .72rem; font-weight: 750; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }
.eyebrow > span { width: .5rem; height: .5rem; flex: 0 0 auto; border-radius: 50%; background: var(--coral); }
.eyebrow-light { color: rgba(255, 255, 255, .68); }
.eyebrow-light > span { background: var(--mint); }
h1, h2, h3, p, dl, dd, figure { margin-top: 0; }
h1 { max-width: 10.5ch; margin-bottom: 1.75rem; font-size: clamp(3.35rem, 7.2vw, 6.7rem); font-weight: 550; letter-spacing: -.07em; line-height: .94; text-wrap: balance; }
h1 em { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-intro { max-width: 38rem; margin-bottom: 2rem; color: #4f5953; font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; }
.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: 1.5rem; border: 0; border-radius: 999px; padding: .78rem 1.2rem; font-size: .92rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); box-shadow: 0 12px 24px rgba(23, 63, 53, .17); color: var(--white); }
.button-primary:hover { background: var(--forest-dark); box-shadow: 0 16px 32px rgba(23, 63, 53, .23); }
.text-link { font-size: .92rem; font-weight: 700; text-underline-offset: .25rem; }

.hero-visual { position: relative; min-height: 33rem; }
.visual-core { position: absolute; top: 50%; left: 50%; width: clamp(18rem, 30vw, 27rem); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--forest); box-shadow: 0 40px 80px rgba(16, 56, 45, .2); }
.visual-core::before, .visual-core::after { position: absolute; border-radius: 50%; content: ""; }
.visual-core::before { top: 15%; right: 18%; width: 18%; aspect-ratio: 1; background: var(--coral); }
.visual-core::after { bottom: 13%; left: 22%; width: 10%; aspect-ratio: 1; background: var(--mint); }
.visual-rotation { position: absolute; inset: 0; transform-origin: 50% 50%; }
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.orbit-one { transform: rotate(30deg) scaleX(1.32) scaleY(.65); }
.orbit-two { transform: rotate(-48deg) scaleX(1.18) scaleY(.56); }
.core-dot { position: absolute; top: 50%; left: 50%; width: 11%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; background: rgba(255, 255, 255, .08); }
.core-label { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--white); font-size: clamp(1.25rem, 2.5vw, 2.2rem); font-weight: 650; letter-spacing: -.04em; line-height: .92; text-align: center; }
.visual-note { position: absolute; z-index: 3; display: grid; width: min(15rem, 50%); grid-template-columns: auto 1fr; gap: .75rem; padding: .95rem; border: 1px solid rgba(23, 29, 26, .18); border-radius: .9rem; background: rgba(255, 254, 249, .78); box-shadow: 0 14px 35px rgba(28, 36, 32, .09); backdrop-filter: blur(10px); }
.visual-note span { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border-radius: 50%; background: var(--paper-deep); color: var(--muted); font-size: .65rem; font-weight: 700; }
.visual-note p { margin: 0; font-size: .82rem; font-weight: 650; line-height: 1.35; }
.visual-note-top { top: 5%; left: -3%; }
.visual-note-bottom { right: -2%; bottom: 8%; }
.hero-foot { position: absolute; right: 0; bottom: 0; left: 0; display: flex; min-height: 5rem; align-items: center; justify-content: space-between; border-top: 1px solid rgba(23, 29, 26, .15); color: #5d655f; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-foot p { margin: 0; }
.hero-foot a { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid rgba(23, 29, 26, .28); border-radius: 50%; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.hero-foot a:hover { transform: translateY(2px); background: var(--white); }

.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section-heading h2, .about-heading h2, .contact-copy h2, .legal-hero h1 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 550; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .65fr); align-items: end; gap: 4rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.split-heading h2 { max-width: 12ch; }
.split-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; display: flex; min-height: 24rem; flex-direction: column; padding: clamp(1.35rem, 2.2vw, 2rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 254, 249, .35); transition: background 200ms ease, transform 200ms ease; }
.service-card:hover { z-index: 2; transform: translateY(-5px); background: var(--white); }
.service-card-featured { background: var(--forest); color: var(--white); }
.service-card-featured:hover { background: var(--forest-dark); }
.service-card-accent { background: #e5e9dc; }
.service-number { color: var(--muted); font-size: .7rem; font-weight: 700; }
.service-card-featured .service-number { color: rgba(255, 255, 255, .55); }
.service-icon { display: grid; width: 3.2rem; height: 3.2rem; margin: auto 0 2rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.service-icon svg { width: 1.55rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.service-card-featured .service-icon { border-color: rgba(255, 255, 255, .25); color: var(--mint); }
.service-card h3 { margin-bottom: .85rem; font-size: 1.18rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .91rem; line-height: 1.55; }
.service-card-featured p { color: rgba(255, 255, 255, .66); }

.consulting-preview { background: var(--paper-deep); }
.consulting-preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .8fr); gap: clamp(3rem, 10vw, 10rem); align-items: end; }
.consulting-preview h2 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); font-weight: 550; letter-spacing: -.07em; line-height: .95; }
.consulting-preview-grid > div:last-child { max-width: 34rem; }
.consulting-preview-grid p:not(.eyebrow):not(.project-type) { color: var(--muted); }
.project-type { margin-bottom: .75rem; color: var(--forest); font-size: .75rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.consulting-preview .text-link { display: inline-block; margin-top: .8rem; }

.product-section { position: relative; overflow: hidden; background: var(--forest); color: var(--white); }
.product-section::before { position: absolute; top: -25rem; right: -18rem; width: 45rem; height: 45rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; box-shadow: 0 0 0 9rem rgba(255, 255, 255, .018), 0 0 0 18rem rgba(255, 255, 255, .012); content: ""; }
.product-heading { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.product-heading h2 { max-width: 15ch; }
.product-showcase { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(22rem, .75fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); }
.product-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.m90-mark { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; transform: rotate(-4deg); border-radius: 1.1rem; background: var(--purple); box-shadow: 0 10px 25px rgba(0, 0, 0, .18); color: #fff; font-size: .95rem; font-weight: 750; letter-spacing: -.04em; }
.status { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .8rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: rgba(255, 255, 255, .78); font-size: .69rem; font-weight: 700; letter-spacing: .11em; line-height: 1; text-transform: uppercase; }
.status i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(201, 240, 107, .12); }
.product-copy h3 { margin-bottom: .35rem; font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 550; letter-spacing: -.065em; line-height: .95; }
.product-tagline { margin-bottom: 2.1rem; color: var(--mint); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.22; }
.product-copy > p:not(.product-tagline):not(.product-note) { max-width: 39rem; color: rgba(255, 255, 255, .68); font-size: 1rem; }
.platform-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 1.4rem; padding: 0; list-style: none; }
.platform-list li { padding: .45rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .82); font-size: .76rem; font-weight: 650; }
.product-note { max-width: 38rem; margin-bottom: 0; color: #9cb2ac; font-size: .75rem; line-height: 1.5; }
.product-visual { position: relative; display: grid; justify-items: center; margin-bottom: -13rem; }
.phone-frame { position: relative; z-index: 2; width: min(100%, 24rem); overflow: hidden; border: .5rem solid #111512; border-radius: 3.6rem 3.6rem 0 0; background: #f3f0ff; box-shadow: var(--shadow); }
.phone-frame img { width: 100%; height: auto; }
.phone-speaker { position: absolute; z-index: 3; top: .65rem; left: 50%; width: 31%; height: 1.65rem; transform: translateX(-50%); border-radius: 999px; background: #090b0a; }
.phone-shadow { position: absolute; z-index: 1; top: 8%; width: 75%; height: 80%; transform: translate(16%, 4%) rotate(7deg); border-radius: 3rem; background: var(--purple); opacity: .55; }
.product-visual figcaption { z-index: 3; margin-top: 1rem; color: rgba(255, 255, 255, .48); font-size: .7rem; }

.about-section { padding-top: clamp(15rem, 21vw, 20rem); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 10rem); }
.about-heading h2 { max-width: 11ch; }
.about-copy { max-width: 41rem; }
.about-copy > p { color: var(--muted); font-size: 1.02rem; }
.about-copy .about-lead { color: var(--ink); font-size: clamp(1.3rem, 2.1vw, 1.75rem); font-weight: 550; letter-spacing: -.025em; line-height: 1.35; }
.company-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 3rem 0 0; border-top: 1px solid var(--line); }
.company-facts div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.company-facts div:nth-child(odd) { padding-right: 1rem; }
.company-facts dt { margin-bottom: .2rem; color: var(--muted); font-size: .72rem; font-weight: 650; text-transform: uppercase; }
.company-facts dd { margin: 0; font-size: .9rem; font-weight: 650; }

.contact-section { background: var(--coral); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(25rem, 1fr); gap: clamp(3rem, 9vw, 9rem); }
.contact-copy .eyebrow-light { color: #4b2d29; }
.contact-copy .eyebrow-light > span { background: var(--forest); }
.contact-copy h2 { max-width: 9ch; margin-bottom: 1.5rem; }
.contact-copy > p:not(.eyebrow) { max-width: 30rem; color: #4b2d29; }
.contact-links { display: grid; justify-items: start; gap: .65rem; margin-top: 1.5rem; }
.email-link { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .35rem; overflow-wrap: anywhere; }
.phone-link { color: #4b2d29; font-size: .86rem; font-weight: 650; text-underline-offset: .25rem; }
.contact-copy address { margin-top: 3rem; color: #4b2d29; font-size: .82rem; font-style: normal; line-height: 1.6; }
.form-panel { padding: clamp(1.6rem, 3.5vw, 3rem); border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 60px rgba(87, 28, 25, .13); }
.form-success { margin-bottom: 1.3rem; padding: 1rem 1.1rem; border: 1px solid #b9d67c; border-radius: .7rem; background: #eef8d6; color: #234129; }
.form-success p { margin: .15rem 0 0; font-size: .85rem; }
form { display: grid; gap: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; margin-bottom: .4rem; color: #343b37; font-size: .78rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #d1d3ce; border-radius: .55rem; background: #fbfaf6; color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input { min-height: 3rem; padding: .6rem .75rem; }
.field textarea { min-height: 8.25rem; padding: .75rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(23, 63, 53, .11); }
.form-honeypot { position: absolute !important; left: -5000px !important; }
.button-dark { justify-self: start; margin-top: .25rem; background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--forest); }
.form-privacy { margin: -.2rem 0 0; color: var(--muted); font-size: .7rem; }
.form-privacy a { text-underline-offset: .2rem; }

.site-footer { padding-block: 4rem 2rem; background: var(--ink); color: var(--white); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 4rem; }
.footer-brand { color: var(--white); }
.footer-brand b { color: rgba(255, 255, 255, .48); }
.footer-top > p { margin: 0; color: rgba(255, 255, 255, .68); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1.25; text-align: right; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .5); font-size: .7rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:nth-child(2) { text-align: center; }
.footer-bottom nav { display: flex; gap: 1rem; }
.footer-bottom a { text-underline-offset: .2rem; }

.legal-page .site-header { position: relative; }
.subpage .site-header { position: relative; }
.page-hero { padding-block: clamp(7rem, 13vw, 12rem) clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 84% 15%, rgba(201, 240, 107, .3), transparent 20rem), var(--paper); }
.page-hero h1 { max-width: 11ch; margin-bottom: 1.5rem; }
.page-intro { max-width: 43rem; margin: 0; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; }
.team-section { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.team-profile { min-height: 39rem; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--white); }
.profile-index, .detail-number { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .1em; }
.profile-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.profile-heading h2, .case-heading h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 550; letter-spacing: -.065em; line-height: 1; }
.profile-heading p { margin: 0; color: var(--forest); font-size: .78rem; font-weight: 750; text-align: right; }
.profile-specialism { margin: 1.2rem 0 .35rem; color: var(--muted); font-size: .9rem; }
.profile-email { display: inline-block; margin-bottom: 2rem; font-weight: 700; text-underline-offset: .25rem; overflow-wrap: anywhere; }
.team-profile .prose p { font-size: .95rem; }
.case-study { background: var(--paper-deep); }
.case-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 10rem); align-items: end; margin: 2rem 0 clamp(4rem, 8vw, 7rem); }
.case-heading .project-type { margin-top: 1.2rem; margin-bottom: 0; }
.case-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.case-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.case-detail { min-height: 31rem; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--paper); }
.case-detail h3 { max-width: 12ch; margin: 3rem 0 1.5rem; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.05; }
.case-detail > p:not(.detail-number) { max-width: 40rem; color: var(--muted); font-size: .95rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 1.5rem; }
.tech-tags span { padding: .38rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.case-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.legal-page main { min-height: 60vh; }
.legal-hero { padding-block: clamp(4.5rem, 9vw, 8rem); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 84% 15%, rgba(201, 240, 107, .3), transparent 20rem), var(--paper); }
.legal-hero h1 { max-width: 12ch; }
.legal-hero .legal-intro { max-width: 39rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.08rem; }
.legal-content { display: grid; grid-template-columns: 14rem minmax(0, 43rem); gap: clamp(3rem, 9vw, 9rem); padding-block: clamp(4rem, 8vw, 7rem); }
.legal-aside { color: var(--muted); font-size: .78rem; }
.legal-aside p { margin: 0 0 .35rem; }
.legal-aside a { font-weight: 650; text-underline-offset: .2rem; }
.prose section + section { margin-top: 2.8rem; }
.prose h2 { margin-bottom: .9rem; font-size: 1.3rem; font-weight: 650; letter-spacing: -.025em; }
.prose p, .prose li { color: #535b56; }
.prose ul { padding-left: 1.2rem; }
.prose a { font-weight: 650; text-underline-offset: .22rem; }

@media (prefers-reduced-motion: no-preference) {
  .visual-core { animation: float 6s ease-in-out infinite; }
  .visual-rotation { animation: seal-rotate 27s linear infinite; }
  .visual-note-top { animation: float-small 5s .8s ease-in-out infinite; }
  .visual-note-bottom { animation: float-small 5s 1.8s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 8px)); } }
  @keyframes float-small { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  @keyframes seal-rotate { from { rotate: 0deg; } to { rotate: 360deg; } }
}

@media (max-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(20rem, .75fr); gap: 2rem; }
  .hero::before { left: 58%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 21rem; }
  .product-showcase { gap: 3rem; }
  .contact-grid { gap: 4rem; }
}

@media (max-width: 48rem) {
  :root { --shell: min(calc(100% - 2rem), 78rem); }
  .shell, .nav-wrap { position: relative; width: calc(100vw - 2rem); max-width: 78rem; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-toggle { position: absolute; top: 1.1rem; right: 0; flex: 0 0 auto; }
  .site-header { position: absolute; }
  .menu-toggle { position: absolute; top: 1.1rem; right: 0; z-index: 102; display: grid; width: 2.8rem; height: 2.8rem; place-content: center; gap: .35rem; border: 1px solid rgba(23, 29, 26, .24); border-radius: 50%; background: rgba(255, 254, 249, .45); color: var(--ink); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 1rem; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 101; inset: 0; display: flex; visibility: hidden; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 6rem 2rem; transform: translateY(-1rem); background: var(--paper); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
  .site-nav.is-open { visibility: visible; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { font-size: clamp(1.8rem, 8vw, 2.8rem); font-weight: 550; letter-spacing: -.05em; }
  .nav-contact { padding: 0; border: 0; }
  .hero { min-height: auto; padding-bottom: 5rem; }
  .hero::before { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 3rem; padding-block: 8.5rem 3rem; }
  h1 { max-width: 11ch; }
  .hero-intro { max-width: 100%; overflow-wrap: break-word; }
  .hero-visual { min-height: min(88vw, 31rem); }
  .visual-core { width: min(69vw, 24rem); }
  .hero-foot { min-height: 4rem; }
  .hero-foot p { max-width: calc(100% - 4rem); font-size: .61rem; }
  .split-heading, .product-heading, .about-grid, .contact-grid, .legal-content, .consulting-preview-grid { grid-template-columns: 1fr; }
  .team-grid, .case-details, .case-heading { grid-template-columns: 1fr; }
  .split-heading { align-items: start; gap: 1.5rem; }
  .product-heading { gap: 0; }
  .product-showcase { grid-template-columns: 1fr; gap: 4rem; }
  .product-visual { width: min(100%, 27rem); margin: 0 auto -13rem; }
  .about-section { padding-top: 16rem; }
  .about-grid, .contact-grid { gap: 3rem; }
  .contact-copy h2 { max-width: 11ch; }
  .legal-page .site-header { position: relative; }
  .legal-page .site-nav { top: 0; }
  .legal-content { gap: 2.5rem; }
  .profile-heading { margin-top: 5rem; }
}

@media (max-width: 34rem) {
  .brand { font-size: .84rem; }
  .brand-mark { width: 1.8rem; height: 1.8rem; }
  h1 { max-width: 100%; font-size: clamp(2.6rem, 13vw, 4.25rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .visual-note { width: 55%; padding: .7rem; }
  .visual-note p { font-size: .7rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 19rem; }
  .field-row, .company-facts { grid-template-columns: 1fr; }
  .company-facts div:nth-child(odd) { padding-right: 0; }
  .phone-frame { border-width: .4rem; border-radius: 3rem 3rem 0 0; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-top { display: flex; }
  .footer-top > p { text-align: left; }
  .footer-bottom { display: flex; gap: .65rem; }
  .footer-bottom p:nth-child(2) { text-align: left; }
}

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