:root {
  --ink: #061f1d;
  --text: #263735;
  --muted: #50605d;
  --brand: #327c50;
  --brand-dark: #073d2d;
  --brand-deep: #032f23;
  --mint: #eef6f1;
  --mint-strong: #e4f0e9;
  --line: #dce7e1;
  --white: #fff;
  --warm: #fbfcfb;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1240px;
  --pad: 20px;
  --section: clamp(48px, 7vw, 96px);
  --focus: 0 0 0 3px rgb(50 124 80 / 28%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font: 400 16px/1.6 var(--font); text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 0; box-shadow: var(--focus); }
.container { width: min(100% - (2 * var(--pad)), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 16px; background: var(--brand-dark); color: var(--white); }
.skip-link:focus { transform: none; }
.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; }

.site-header { position: relative; z-index: 30; background: rgb(255 255 255 / 96%); border-bottom: 1px solid transparent; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); font-size: 28px; font-weight: 450; line-height: 1; }
.brand span:last-child, .groovdesk-brand > span, .groovdesk-brand small span { color: var(--brand); }
.brand--footer { font-size: 24px; }
.menu-toggle { display: inline-flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); }
.menu-toggle span { width: 19px; height: 1px; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 20px; padding: 24px var(--pad) 32px; background: var(--white); border-block: 1px solid var(--line); visibility: hidden; pointer-events: none; transform: translateY(-130%); transition: transform 180ms ease, visibility 0s linear 180ms; }
.site-nav.is-open { visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.nav-list, .social-list { list-style: none; margin: 0; padding: 0; }
.nav-list { display: grid; gap: 2px; }
.nav-list a, .desk-link { display: flex; min-height: 44px; align-items: center; font-size: 16px; font-weight: 560; }
.nav-actions { display: grid; gap: 10px; }
.desk-link { color: var(--brand); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 0; padding: 13px 21px; background: var(--brand-dark); color: var(--white); font-size: 15px; font-weight: 650; line-height: 1.2; transition: background-color 160ms ease, transform 160ms ease; }
.button:hover { background: var(--brand-deep); color: var(--white); transform: translateY(-1px); }
.button--small { min-width: 116px; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 430; letter-spacing: 0; }
h1 { font-size: clamp(38px, 10.8vw, 44px); line-height: 1.08; }
h2 { font-size: clamp(28px, 7.5vw, 32px); line-height: 1.17; }
h3 { font-size: clamp(21px, 5.8vw, 23px); line-height: 1.18; }
.eyebrow { margin: 0; color: var(--brand); font-size: 13px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.rule { display: block; width: 24px; height: 2px; margin: 20px 0 24px; background: var(--brand); }
.text-link { display: inline-flex; min-height: 44px; width: fit-content; align-items: center; gap: 9px; border: 0; padding: 0; background: transparent; color: var(--brand); font-size: 15px; font-weight: 700; }
.text-link--secondary { color: var(--ink); }

.hero { padding-top: clamp(44px, 6vw, 80px); padding-bottom: 32px; overflow: clip; }
.hero-grid { display: grid; gap: 38px; }
.hero-copy { max-width: 650px; }
.hero h1 span { color: var(--brand); }
.hero-lead { max-width: 54ch; margin: 24px 0 28px; font-size: 18px; line-height: 1.58; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 28px 0 0; color: var(--brand); font-size: 13px; font-weight: 650; }
.hero-mark { position: relative; min-height: 280px; overflow: hidden; }
.hero-mark__grid, .hero-mark__circle, .hero-mark__letter, .hero-mark__point { position: absolute; }
.hero-mark__grid { inset: 0; background: linear-gradient(90deg, transparent 0 28%, var(--line) 28% calc(28% + 1px), transparent calc(28% + 1px)), linear-gradient(90deg, transparent 0 58%, var(--line) 58% calc(58% + 1px), transparent calc(58% + 1px)), linear-gradient(180deg, transparent 0 52%, var(--line) 52% calc(52% + 1px), transparent calc(52% + 1px)); }
.hero-mark__grid::after { content: ""; position: absolute; left: 0; top: 62%; width: 74%; height: 1px; background: var(--line); transform: rotate(-40deg); transform-origin: left; }
.hero-mark__circle { width: min(82vw, 350px); aspect-ratio: 1; left: 4%; top: 7%; border: 1px solid rgb(6 31 29 / 15%); border-radius: 50%; }
.hero-mark__letter { right: -6%; top: -13%; color: rgb(50 124 80 / 10%); font-size: clamp(280px, 78vw, 430px); font-weight: 800; line-height: .82; }
.hero-mark__point { width: 8px; height: 8px; left: 56%; top: 52%; background: var(--brand); }

.services { border-block: 1px solid var(--line); }
.services-grid { display: grid; }
.service-block { display: flex; flex-direction: column; min-width: 0; padding-block: 40px; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block > p:not(.eyebrow, .capabilities) { max-width: 42rem; margin: 20px 0 16px; }
.capabilities { margin: 0 0 24px; color: var(--muted); font-size: 14px; font-weight: 550; line-height: 1.65; }
.capabilities span, .micro-row span { color: var(--brand); padding-inline: 3px; }
.service-block .text-link { margin-top: auto; }

.ai-band { background: var(--mint); }
.ai-grid { display: grid; gap: 40px; align-items: center; }
.ai-band h2 { max-width: 800px; margin-top: 16px; }
.ai-band p:not(.eyebrow) { max-width: 700px; margin: 20px 0 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.workflow { position: relative; min-height: 180px; border: 1px solid rgb(50 124 80 / 24%); background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.workflow::before, .workflow::after { content: ""; position: absolute; top: 50%; height: 1px; background: var(--brand); }
.workflow::before { left: 13%; right: 13%; }
.workflow::after { left: 50%; width: 31%; transform: rotate(-28deg); transform-origin: left; }
.workflow span { position: absolute; top: calc(50% - 9px); width: 18px; height: 18px; border: 2px solid var(--brand); background: var(--mint); }
.workflow span:nth-child(1) { left: 11%; }.workflow span:nth-child(2) { left: calc(50% - 9px); }.workflow span:nth-child(3) { right: 11%; }
.workflow i { position: absolute; left: calc(50% - 4px); top: calc(50% - 4px); width: 8px; height: 8px; background: var(--brand); }

.groovdesk { background: var(--warm); border-bottom: 1px solid var(--line); }
.band-grid { display: grid; gap: 34px; align-items: center; }
.groovdesk h2 { margin-top: 15px; }
.groovdesk p:not(.eyebrow, .micro-row, .groovdesk-brand) { margin: 16px 0 0; }
.micro-row { margin: 12px 0 14px; font-size: 14px; font-weight: 600; }
.groovdesk-brand { width: fit-content; margin: 0; color: var(--ink); font-size: 35px; line-height: 1; }
.groovdesk-brand small { display: block; margin-top: 7px; font-size: 19px; text-align: right; }

.about-teaser { border-bottom: 1px solid var(--line); }
.about-grid { display: grid; width: 100%; max-width: none; }
.about-copy { width: min(100% - (2 * var(--pad)), calc(var(--container) / 2)); margin-inline: auto; }
.about-copy p { max-width: 590px; margin: 0 0 22px; }
.about-teaser img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.site-footer { padding-block: 34px; }
.footer-grid { display: grid; gap: 22px; align-items: start; }
.site-footer p, .site-footer address { margin: 8px 0 0; font-size: 14px; font-style: normal; }
.site-footer address { display: grid; gap: 4px; margin: 0; }
.site-footer address a { display: inline-flex; min-height: 44px; align-items: center; }
.social-list { display: flex; gap: 8px; }
.social-list span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--muted); font-weight: 750; }

.contact-dialog { width: min(92vw, 560px); max-height: 92vh; border: 1px solid var(--line); padding: 0; color: var(--text); background: var(--white); }
.contact-dialog::backdrop { background: rgb(6 31 29 / 52%); }
.contact-form { display: grid; gap: 16px; padding: 24px; }
.contact-form__header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.contact-form h2 { margin-top: 6px; }
.form-intro { margin: 0; }
.contact-form label { display: grid; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #b8c9c1; border-radius: 0; padding: 12px; color: var(--ink); background: var(--white); font-weight: 450; }
.contact-form textarea { resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: #a42929; }
.field-error { min-height: 18px; color: #8f2222; font-size: 12px; font-weight: 600; }
.form-status { min-height: 24px; margin: 0; font-size: 14px; }
.form-status--error { color: #8f2222; }
.form-status--success { color: var(--brand-dark); font-weight: 650; }
.privacy-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.form-honeypot { position: absolute; left: -10000px; }
.icon-button { display: inline-flex; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font-size: 26px; }
.contact-page { min-height: calc(100vh - 76px); background: var(--mint); }
.contact-page__inner { max-width: 680px; }
.contact-page h1 { margin-top: 8px; }
.contact-page__inner > p:not(.eyebrow, .form-notice) { margin: 18px 0 28px; }
.contact-form--page { padding: clamp(20px, 5vw, 40px); background: var(--white); border: 1px solid var(--line); }
.form-notice { padding: 16px; border: 1px solid var(--brand); background: var(--white); }
.form-notice--success { color: var(--brand-dark); }

.page-hero { padding-block: clamp(48px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; gap: 38px; align-items: center; }
.page-hero h1 { max-width: 760px; }
.page-hero .hero-lead { margin-bottom: 0; }
.page-visual { position: relative; min-height: 280px; overflow: hidden; background: var(--mint); border: 1px solid var(--line); }
.page-visual::before { content: "G"; position: absolute; right: -30px; bottom: -75px; color: rgb(50 124 80 / 12%); font-size: 340px; font-weight: 800; line-height: 1; }
.page-visual img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.positioning { padding-block: 36px; border-bottom: 1px solid var(--line); }
.positioning p { margin: 0; color: var(--ink); font-size: clamp(22px, 3vw, 30px); line-height: 1.3; }
.page-layout { display: grid; }
.on-page { padding-block: 28px; border-bottom: 1px solid var(--line); }
.on-page p { margin: 0 0 8px; }
.on-page nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.on-page a { display: inline-flex; min-height: 44px; align-items: center; color: var(--brand); font-size: 14px; font-weight: 650; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; gap: 18px; padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.service-row h2 { font-size: clamp(24px, 5.8vw, 30px); }
.service-row p { max-width: 720px; margin: 0 0 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--brand); font-size: 14px; font-weight: 650; }
.how { background: var(--warm); }
.steps { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.step { padding-block: 28px; border-bottom: 1px solid var(--line); }
.step span { color: var(--brand); font-size: 13px; font-weight: 700; }
.step h3 { margin-top: 10px; }
.step p { margin: 12px 0 0; }
.cta-band { background: var(--brand-dark); color: var(--white); }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { max-width: 640px; margin: 16px 0 24px; }
.cta-band .button { background: var(--white); color: var(--brand-dark); }
.principles { display: grid; border-top: 1px solid var(--line); margin-top: 34px; }
.principle { padding-block: 26px; border-bottom: 1px solid var(--line); }
.principle p { margin: 10px 0 0; }
.company-founder { border-block: 1px solid var(--line); background: var(--warm); }
.company-founder__grid { display: grid; gap: 48px; align-items: start; }
.company-founder h2 { margin-bottom: 28px; }
.company-details { margin: 0; }
.company-details > div { min-width: 0; padding-block: 13px; border-top: 1px solid var(--line); }
.company-details > div:last-child { border-bottom: 1px solid var(--line); }
.company-details dt { color: var(--muted); font-size: 14px; font-weight: 650; }
.company-details dd { min-width: 0; margin: 3px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.company-details a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.founder h3 { margin-bottom: 5px; }
.founder__role { margin: 0 0 24px; color: var(--brand); font-weight: 650; }
.founder > p:not(.founder__role) { max-width: 62ch; margin: 0 0 18px; }
.founder .text-link { margin-top: 4px; }

@media (max-width: 360px) { :root { --pad: 16px; } }
@media (min-width: 768px) {
  :root { --pad: 32px; }
  body { font-size: 17px; }
  h1 { font-size: clamp(48px, 6.8vw, 58px); }
  h2 { font-size: clamp(30px, 4.5vw, 36px); }
  h3 { font-size: clamp(22px, 3.1vw, 24px); }
  .hero-lead { font-size: 19px; }
  .hero-mark { min-height: 390px; }
  .service-block { grid-template-columns: minmax(190px, .8fr) minmax(0, 1.35fr); display: grid; column-gap: 36px; }
  .service-block .eyebrow, .service-block .rule { grid-column: 1; }
  .service-block h3 { grid-column: 1; }
  .service-block > p:not(.eyebrow, .capabilities), .service-block .capabilities, .service-block .text-link { grid-column: 2; }
  .service-block > p:not(.eyebrow, .capabilities) { grid-row: 1 / span 2; margin-top: 0; }
  .service-block .capabilities { grid-row: 3; }
  .service-block .text-link { grid-row: 4; }
  .ai-grid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
  .band-grid { grid-template-columns: 1fr auto; }
  .groovdesk-brand { justify-self: end; font-size: 40px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-copy { width: min(calc(100% - (2 * var(--pad))), calc(var(--container) / 2)); margin-right: 0; }
  .footer-grid { grid-template-columns: 1.1fr 1fr auto; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); }
  .service-row { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 48px; }
  .steps, .principles { grid-template-columns: repeat(3, 1fr); }
  .step, .principle { padding: 28px; border-right: 1px solid var(--line); }
  .step:last-child, .principle:last-child { border-right: 0; }
  .company-details > div { display: grid; grid-template-columns: minmax(150px, .75fr) minmax(0, 1.25fr); gap: 24px; }
  .company-details dd { margin-top: 0; }
}
@media (min-width: 1024px) {
  :root { --pad: 40px; }
  body { font-size: 18px; }
  .menu-toggle { display: none; }
  .site-nav { position: static; display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(32px, 6vw, 88px); padding: 0; border: 0; visibility: visible; pointer-events: auto; transform: none; }
  .nav-list { display: flex; gap: clamp(22px, 3.1vw, 42px); }
  .nav-actions { display: flex; align-items: center; gap: 22px; }
  .nav-list a, .desk-link { font-size: 15px; }
  .hero-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(56px, 5.2vw, 76px); line-height: 1.06; }
  .hero-lead { font-size: clamp(20px, 1.65vw, 22px); }
  .hero-mark { min-height: 500px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-block { display: flex; padding: 42px 34px; border-right: 1px solid var(--line); border-bottom: 0; }
  .service-block:first-child { padding-left: 0; }
  .service-block:last-child { padding-right: 0; border-right: 0; }
  .service-block > p:not(.eyebrow, .capabilities) { margin-top: 20px; }
  .service-block h3 { min-height: 66px; }
  .capabilities { min-height: 72px; }
  .page-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
  .on-page { position: sticky; top: 20px; align-self: start; border-bottom: 0; }
  .on-page nav { display: grid; }
  .company-founder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .founder { min-width: 0; padding-left: 64px; border-left: 1px solid var(--line); }
}
@media (min-width: 1280px) { :root { --pad: 48px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
