/* CoherentOrgs editorial design — first visual draft.
   CSS property names use their required standard spelling. */
:root {
  color-scheme: light;
  --colour-page: #f6f3ed;
  --colour-surface: #fffdfa;
  --colour-ink: #1f2725;
  --colour-muted: #58635c;
  --colour-accent: #8c4c3d;
  --colour-accent-soft: #f0e5dd;
  --colour-sage: #e6ece5;
  --colour-line: #d7dad3;
  --colour-focus: #2e625d;
  --font-body: "Segoe UI", "Aptos", system-ui, sans-serif;
  --font-heading: "Aptos Display", "Segoe UI", system-ui, sans-serif;
  --font-italic: Georgia, "Times New Roman", serif;
  --content-width: 1200px;
  --reading-width: 66ch;
  --ease-calm: cubic-bezier(.22, 1, .36, 1);
  --motion-fast: 180ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--colour-ink); background: var(--colour-page); font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--colour-focus); outline-offset: 5px; }
.button--inverse:focus-visible, .contact a:focus-visible, .site-footer a:focus-visible { outline-color: #e8a68b; }
main:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
::selection { background: var(--colour-accent-soft); color: var(--colour-ink); }
.container { width: min(calc(100% - 2 * clamp(20px, 4vw, 64px)), var(--content-width)); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 20; background: var(--colour-surface); color: var(--colour-ink); padding: 10px 16px; }
.skip-link:focus { top: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -.047em; overflow-wrap: break-word; }
p { max-width: var(--reading-width); }
.section { padding-block: clamp(76px, 8vw, 124px); }
.section-kicker, .eyebrow { font-size: .76rem; font-weight: 650; letter-spacing: .125em; text-transform: uppercase; line-height: 1.4; }
.section-kicker { color: var(--colour-muted); margin: 0; }
.section-kicker span { color: var(--colour-accent); }
h1 em, h2 em { font-family: var(--font-italic); font-size: 1.04em; font-weight: 400; font-style: italic; color: var(--colour-accent); letter-spacing: -.055em; }
.arrow { display: inline-block; transition: transform var(--motion-fast) var(--ease-calm); }
a:hover .arrow, a:focus-visible .arrow { transform: translate(2px, -2px); }

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--colour-line); background: var(--colour-page); }
.header-layout { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.wordmark img { display: block; width: auto; height: 34px; }
.main-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: clamp(14px, 2.6vw, 34px); }
.main-nav a { text-decoration: none; font-size: .88rem; font-weight: 550; transition: color var(--motion-fast) ease; }
.main-nav a:hover { color: var(--colour-accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 20px; min-height: 48px; border: 1px solid transparent; border-radius: 8px; font-size: .9rem; font-weight: 620; line-height: 1.35; text-decoration: none; text-align: center; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.button--dark { color: #fff; background: var(--colour-ink); border-color: var(--colour-ink); }
.button--dark:hover { color: #fff; background: var(--colour-accent); border-color: var(--colour-accent); }
.button--inverse { color: var(--colour-ink); background: var(--colour-surface); border-color: var(--colour-surface); }
.button--inverse:hover { background: var(--colour-accent-soft); border-color: var(--colour-accent-soft); }
.text-link { display: inline-flex; align-items: baseline; gap: 10px; padding-block: 4px; font-size: .94rem; line-height: 1.35; font-weight: 640; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color var(--motion-fast) ease; }
.text-link:hover { color: var(--colour-accent); }

/* Hero — atmospheric convergence, not a separate illustration panel */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--colour-page); padding-block: clamp(80px, 9vw, 140px) clamp(90px, 9vw, 140px); }
.hero-layout { position: relative; z-index: 1; }
.hero-copy { max-width: 100%; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; color: var(--colour-muted); }
.eyebrow-rule { width: 32px; height: 2px; background: var(--colour-accent); }
h1 { max-width: 1100px; margin-bottom: 31px; font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: 1.06; letter-spacing: -.063em; }
.headline-line { display: block; }
.hero-lead { max-width: 38em; font-size: clamp(1.12rem, 1.55vw, 1.32rem); line-height: 1.6; color: var(--colour-muted); margin-bottom: 35px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 23px; align-items: center; }
.motion-toggle { display: none; align-items: center; margin: 22px 0 0; padding: 8px 2px; min-height: 44px; border: 0; background: none; color: var(--colour-muted); font: inherit; font-size: .82rem; font-weight: 550; line-height: 1.4; cursor: pointer; }
.motion-toggle.is-wired { display: inline-flex; }
.motion-toggle:hover { color: var(--colour-accent); }
.hero.is-paused .hero-shape { animation-play-state: paused; }

/* Five soft, irregular forms drift towards one another and then apart.
   The colour field is confined to the right and fades out behind the copy. */
.hero-atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .88; -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 29%, rgba(0,0,0,.48) 51%, #000 73%); mask-image: linear-gradient(to right, transparent 0%, transparent 29%, rgba(0,0,0,.48) 51%, #000 73%); }
.hero-shape { position: absolute; display: block; width: clamp(275px, 36vw, 560px); aspect-ratio: 1 / 1; border-radius: 43% 57% 58% 42% / 54% 43% 57% 46%; filter: blur(12px); mix-blend-mode: multiply; transform-origin: 50% 50%; will-change: transform, border-radius; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.hero-shape--sage { left: 52%; top: -22%; background: radial-gradient(ellipse at 43% 45%, rgba(140,170,151,.82) 0%, rgba(174,192,176,.56) 56%, rgba(174,192,176,0) 78%); animation-name: drift-sage; animation-duration: 16s; }
.hero-shape--clay { left: 72%; top: 0%; width: clamp(270px, 34vw, 525px); background: radial-gradient(ellipse at 44% 51%, rgba(184,128,109,.66) 0%, rgba(215,172,153,.44) 56%, rgba(215,172,153,0) 79%); animation-name: drift-clay; animation-duration: 18s; }
.hero-shape--moss { left: 77%; top: 36%; width: clamp(275px, 35vw, 535px); background: radial-gradient(ellipse at 49% 40%, rgba(111,150,134,.64) 0%, rgba(163,189,168,.44) 55%, rgba(163,189,168,0) 80%); animation-name: drift-moss; animation-duration: 14s; }
.hero-shape--sand { left: 53%; top: 49%; width: clamp(290px, 33vw, 495px); background: radial-gradient(ellipse at 48% 43%, rgba(206,178,142,.57) 0%, rgba(228,209,175,.42) 53%, rgba(228,209,175,0) 79%); animation-name: drift-sand; animation-duration: 17s; }
.hero-shape--pearl { left: 69%; top: 32%; width: clamp(245px, 27vw, 420px); filter: blur(19px); mix-blend-mode: normal; background: radial-gradient(ellipse at 48% 48%, rgba(249,244,226,.5) 0%, rgba(250,244,232,.22) 55%, rgba(250,244,232,0) 78%); animation-name: drift-pearl; animation-duration: 18s; }
@keyframes drift-sage { 0%, 100% { transform: translate(-5%, -7%) rotate(-11deg) scale(1); border-radius: 43% 57% 58% 42% / 54% 43% 57% 46%; } 35% { transform: translate(26%, 6%) rotate(4deg) scale(.9); border-radius: 51% 49% 44% 56% / 47% 55% 45% 53%; } 65% { transform: translate(14%, 20%) rotate(11deg) scale(.82); border-radius: 57% 43% 42% 58% / 43% 57% 46% 54%; } }
@keyframes drift-clay { 0%, 100% { transform: translate(12%, -9%) rotate(8deg) scale(.94); border-radius: 58% 42% 60% 40% / 45% 53% 47% 55%; } 35% { transform: translate(-8%, 25%) rotate(-6deg) scale(1.04); border-radius: 47% 53% 50% 50% / 52% 46% 54% 48%; } 65% { transform: translate(-25%, 10%) rotate(-16deg) scale(1.12); border-radius: 39% 61% 43% 57% / 58% 41% 59% 42%; } }
@keyframes drift-moss { 0%, 100% { transform: translate(7%, 10%) rotate(-9deg) scale(1); border-radius: 52% 48% 38% 62% / 57% 45% 55% 43%; } 35% { transform: translate(-25%, -6%) rotate(4deg) scale(.94); border-radius: 46% 54% 48% 52% / 50% 52% 48% 50%; } 65% { transform: translate(-12%, -25%) rotate(13deg) scale(.88); border-radius: 42% 58% 57% 43% / 43% 59% 41% 57%; } }
@keyframes drift-sand { 0%, 100% { transform: translate(-16%, 9%) rotate(13deg) scale(.94); border-radius: 46% 54% 53% 47% / 45% 59% 41% 55%; } 35% { transform: translate(6%, -22%) rotate(2deg) scale(1.02); border-radius: 52% 48% 48% 52% / 51% 49% 51% 49%; } 65% { transform: translate(23%, -8%) rotate(-8deg) scale(1.1); border-radius: 58% 42% 43% 57% / 58% 39% 61% 42%; } }
@keyframes drift-pearl { 0%, 100% { transform: translate(7%, 5%) rotate(-7deg) scale(.92); border-radius: 44% 56% 47% 53% / 62% 43% 57% 38%; } 35% { transform: translate(-14%, 2%) rotate(6deg) scale(1.05); border-radius: 49% 51% 52% 48% / 52% 50% 50% 48%; } 65% { transform: translate(-6%, -11%) rotate(18deg) scale(1.15); border-radius: 53% 47% 57% 43% / 41% 56% 44% 59%; } }

/* Perspective */
.approach { background: var(--colour-surface); border-top: 1px solid var(--colour-line); }
.approach-layout { display: block; }
.approach-layout > .section-kicker { margin-bottom: 15px; }
.approach-content { max-width: 100%; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 1.13; }
.approach h2 { margin-bottom: 40px; max-width: 1150px; }
.approach h2 em { color: var(--colour-accent); }
.approach-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 4vw, 58px); }
.approach-copy p, .expertise-note p { color: var(--colour-muted); font-size: 1.05rem; line-height: 1.78; }
.approach-copy p { margin-bottom: 0; }
.expertise-note { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 24px; margin-top: 61px; padding: 29px 0 0; border-top: 1px solid var(--colour-line); }
.note-label { margin: 0; font-family: var(--font-body); font-size: .75rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--colour-accent); font-weight: 650; }
.expertise-copy { max-width: 920px; }
.expertise-note p { margin-bottom: 0; max-width: none; }
.expertise-note p + p { margin-top: 18px; }
.expertise-note strong { color: var(--colour-ink); }

/* Three open service columns */
.services { background: var(--colour-page); }
.section-heading { display: block; margin-bottom: 47px; }
.section-heading .section-kicker { margin-bottom: 15px; }
.section-heading h2 { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { min-width: 0; padding: 31px clamp(20px, 2.9vw, 43px) 38px; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--colour-line); }
.service-illustration { display: block; width: 62px; max-width: 70%; height: 51.5px; color: var(--colour-ink); stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin: 0 0 13px; }
.service:nth-child(2) .service-illustration { color: var(--colour-accent); }
.service h3 { margin: 0 0 16px; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.2; }
.service p { margin: 0; font-size: 1rem; color: var(--colour-muted); line-height: 1.78; }

/* People — deliberately not stock-photo cards */
.people { background: var(--colour-sage); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 58px); }
.person { display: grid; grid-template-columns: clamp(105px, 12vw, 155px) 1fr; align-items: start; gap: 25px; padding-top: 0; }
.person-portrait { position: relative; min-width: 0; aspect-ratio: 4 / 5; background: #d5dfd5; color: var(--colour-ink); display: grid; place-items: center; border-radius: 2px; overflow: hidden; }
.person-portrait--warm { background: #eaddd2; }
.portrait-fallback { font-family: var(--font-italic); font-style: italic; font-size: clamp(4rem, 7vw, 6.2rem); line-height: 1; }
.person-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.person-portrait img[hidden] { display: none; }
.person h3 { font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.2; margin: 0 0 15px; }
.person p { font-size: 1rem; line-height: 1.75; margin-bottom: 22px; color: var(--colour-muted); }

/* Contact — direct send, with an email-draft fallback */
.contact { background: var(--colour-ink); color: var(--colour-surface); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr); align-items: start; gap: clamp(38px, 6vw, 90px); }
.section-kicker--inverse { color: #cbd6cd; margin-bottom: 28px; }
.contact h2 { margin-bottom: 20px; font-size: clamp(2.9rem, 5.6vw, 5.4rem); line-height: 1.08; }
.contact-message > p:last-child { margin-bottom: 0; color: #d2dcd5; font-size: 1.13rem; }
.contact-panel { width: 100%; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-field label { font-size: .86rem; font-weight: 600; color: #f8f9f4; }
.contact-field input, .contact-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #80918b; border-radius: 7px; background: #fdfcf8; color: var(--colour-ink); font: inherit; font-size: 1rem; line-height: 1.5; }
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 3px solid #e8a68b; outline-offset: 2px; }
.contact-form .button { align-self: flex-start; cursor: pointer; font-family: inherit; }
.contact-form .button[aria-disabled="true"] { cursor: progress; }
.contact-required { margin: 0; font-size: .86rem; color: #d2dcd5; }
.contact-form-outcome { position: relative; }
.contact-form-note { max-width: none; margin: -6px 0 0; font-size: .82rem; line-height: 1.55; color: #d2dcd5; }
.contact-form-note[data-state="sending"] { color: #fff; }
.contact-form-note[data-state="sent"], .contact-form-note[data-state="error"] { margin: 0; padding: 14px 52px 14px 16px; border: 1px solid; border-radius: 7px; font-size: .95rem; font-weight: 600; color: #fff; }
.contact-form-note[data-state="sent"] { border-color: #9fc3a8; background: rgba(159, 195, 168, .16); }
.contact-form-note[data-state="error"] { border-color: #e8a68b; background: rgba(232, 166, 139, .14); }
.contact-form-dismiss { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #fff; cursor: pointer; }
.contact-form-dismiss[hidden] { display: none; }
.contact-form-dismiss:hover { background: rgba(255, 255, 255, .12); }
.contact-form-dismiss:focus-visible { outline: 3px solid #e8a68b; outline-offset: 2px; }
.contact-email { margin: 27px 0 0; font-size: .94rem; color: #d2dcd5; overflow-wrap: anywhere; }
.contact-email a { color: #fff; text-underline-offset: 5px; }
.contact-email a:hover { color: #e8a68b; }
.contact-privacy { margin-top: 10px; font-size: .86rem; }
.site-footer { background: #171e1c; color: #dce5de; }
.footer-layout { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.wordmark--footer img { height: 28px; }
.footer-legal, .footer-layout > a:last-child { margin: 0; font-size: .8rem; line-height: 1.55; color: #ced7d0; }
.footer-legal { max-width: 70ch; }
.footer-legal a, .footer-layout > a:last-child { color: #ced7d0; text-underline-offset: 5px; }
.footer-legal a { white-space: nowrap; }
.footer-layout > a:last-child { white-space: nowrap; }

/* Privacy notice and legal information */
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 24px; }
.legal .section-kicker { margin-bottom: 18px; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 44px 0 14px; }
.legal h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--colour-muted); }
.legal strong { color: var(--colour-ink); }
.legal a { text-underline-offset: 4px; }
.legal a:hover { color: var(--colour-accent); }
.legal ul { padding-left: 1.2em; max-width: var(--reading-width); }
.legal-details { display: grid; grid-template-columns: minmax(150px, max-content) minmax(0, 1fr); gap: 14px 32px; margin: 0; max-width: var(--reading-width); }
.legal-details dt { font-weight: 650; color: var(--colour-ink); }
.legal-details dd { margin: 0; color: var(--colour-muted); overflow-wrap: break-word; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .hero-copy { max-width: 100%; }
  .person { grid-template-columns: 110px 1fr; gap: 20px; }
}
@media (max-width: 790px) {
  .hero { padding-block: 76px 85px; }
  .hero-copy { max-width: 100%; }
  h1 { max-width: 100%; }
  .hero-atmosphere { inset: 27% -24% -15% 16%; opacity: .49; -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 35%, rgba(0,0,0,.36) 57%, #000 84%); mask-image: linear-gradient(to right, transparent 0%, transparent 35%, rgba(0,0,0,.36) 57%, #000 84%); }
  .hero-shape { width: clamp(245px, 63vw, 440px); }
  .approach-copy { gap: 24px; }
  .expertise-note { grid-template-columns: 1fr; gap: 10px; }
  .people-grid { grid-template-columns: 1fr; gap: 45px; }
  .person { grid-template-columns: 145px 1fr; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 36px; }
}
/* On narrow screens, let the headings wrap naturally. */
@media (max-width: 680px) {
  .headline-line { display: inline; }
}
@media (max-width: 560px) {
  .header-layout { flex-wrap: wrap; gap: 10px; padding-block: 18px 14px; }
  .main-nav { width: 100%; order: 2; margin: 5px 0 0; padding-top: 12px; justify-content: space-between; border-top: 1px solid var(--colour-line); gap: 12px; }
  .main-nav a { font-size: .79rem; }
  .hero { padding-block: 59px 76px; }
  h1 { font-size: clamp(2.75rem, 10.6vw, 3.65rem); letter-spacing: -.065em; }
  .hero-lead { font-size: 1.09rem; }
  .hero-atmosphere { inset: 35% -43% -12% 4%; opacity: .36; }
  .section { padding-block: 70px 78px; }
  .approach h2 { margin-bottom: 28px; }
  .approach-copy, .service-grid { grid-template-columns: 1fr; }
  .service { padding: 24px 0 32px; }
  .service + .service { border-left: 0; border-top: 1px solid var(--colour-line); }
  .service h3 { margin: 0 0 11px; }
  .service-illustration { height: 47px; margin-bottom: 10px; }
  .person { grid-template-columns: 96px 1fr; gap: 20px; }
  .person h3 { font-size: 1.55rem; }
  .portrait-fallback { font-size: 4.2rem; }
  .legal-details { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal-details dd { margin-bottom: 14px; }
  .footer-layout { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .main-nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .person { grid-template-columns: 1fr; }
  .contact-field-row { grid-template-columns: 1fr; }
  .person-portrait { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .arrow, a:hover .arrow, a:focus-visible .arrow { transform: none !important; }
  .hero-shape { animation: none !important; will-change: auto; }
  .motion-toggle,
  .motion-toggle.is-wired { display: none; }
}