/* Offload Apex: charcoal, warm white, stone, restrained plum, and natural type proportions. */
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #28282a;
  --accent: #50454c;
  --muted: #64635f;
  --line: #dedcd6;
  --pale: #f0efeb;
  --paper: #faf9f6;
  --surface: #ffffff;
  --accent-soft: #e3e0d9;
  --dark-muted: #ceccc7;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 'Manrope', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button[hidden] { display: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #897e72; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: 'Manrope', Arial, sans-serif; font-weight: 600; letter-spacing: -.025em; }
h3 { font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(2.75rem, 5.3vw, 4.75rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.18; text-wrap: balance; }
h3 { font-size: 1.5rem; line-height: 1.25; }
em { color: var(--accent); font-style: normal; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding: 88px 0; }
.eyebrow { font-size: .75rem; font-weight: 700; line-height: 1.5; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px; }
.section-heading { max-width: 780px; margin-bottom: 36px; }
.section-intro { max-width: 650px; margin-top: 18px; color: var(--muted); font-size: 1.0625rem; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--surface); padding: 10px 20px; }
.skip:focus { top: 10px; }
/* Navigation */
.header { position: sticky; top: 0; z-index: 20; background: rgba(250,249,246,.97); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 2px; width: 230px; height: 42px; flex: 0 0 230px; white-space: nowrap; }
.brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; object-fit: cover; }
.brand-wordmark { display: block; width: 194px; height: 34px; flex: 0 0 194px; object-fit: cover; object-position: center; }
.header nav { display: flex; align-items: center; gap: 26px; font-size: .875rem; font-weight: 500; }
.header nav > a:not(.button):hover { color: var(--accent); }
.menu-toggle { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 8px 12px; font-size: .875rem; }
.menu-toggle span { margin-left: 10px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 16px 24px; border-radius: var(--radius); color: var(--surface); background: var(--ink); font-size: .9375rem; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #454449; transform: translateY(-2px); }
.button span { font-size: 1.25rem; line-height: 1; }
.button.small { padding: 11px 18px; gap: 25px; }
.button.light { background: var(--surface); color: var(--ink); }
.button.light:hover { background: var(--accent-soft); }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: .9375rem; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
/* Hero: a clear promise and the complete service range */
.hero { background: linear-gradient(110deg, var(--paper) 42%, #eeece7); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 72px; padding-block: 70px; }
.hero .eyebrow { margin-bottom: 23px; }
.intro { font-size: 1.125rem; line-height: 1.6; margin-top: 26px; max-width: 520px; }
.hero-detail { color: var(--muted); margin-top: 15px; max-width: 495px; }
.service-overview { background: var(--ink); padding: 30px; border: 1px solid #565759; border-radius: 16px; box-shadow: 0 22px 55px rgba(40,40,42,.13); }
.journey-diagram { position: relative; }
.journey-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.journey-track { fill: none; stroke: #b3afa6; stroke-width: 2; stroke-linecap: round; }
.journey-list { position: relative; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.journey-step { width: 82%; align-self: flex-start; animation: journey-arrive .55s ease-out both; }
.journey-step:nth-child(even) { align-self: flex-end; }
.journey-step:nth-child(2) { animation-delay: .12s; }
.journey-step:nth-child(3) { animation-delay: .24s; }
.journey-step:nth-child(4) { animation-delay: .36s; }
.journey-step:nth-child(5) { animation-delay: .48s; }
.journey-step:nth-child(6) { animation-delay: .6s; }
.journey-step a { display: flex; align-items: center; gap: 15px; min-height: 70px; padding: 13px 16px; border: 1px solid #626264; border-radius: 8px; background: #343538; color: var(--surface); font-size: 1rem; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
.journey-step a:hover, .journey-step a:focus-visible { background: #454449; border-color: #b3afa6; transform: translateY(-2px); }
.journey-number { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); font-size: .875rem; font-weight: 600; }
@keyframes journey-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* Audience */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audiences article { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--pale); display: flex; flex-direction: column; }
.audience-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
.audience-copy { padding: 30px 32px; display: flex; flex-direction: column; flex: 1; }
.audiences h3 { margin-bottom: 16px; }
.audiences p { color: var(--muted); }
.audience-copy > p:first-of-type { flex: 1; }
.audiences .card-note { font-size: .875rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
/* Service cards: readable without JavaScript; flip in place when enhanced. */
.services-section { background: var(--pale); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.service-card { position: relative; min-width: 0; border-radius: 10px; background: var(--surface); scroll-margin-top: 16px; }
.service-card-inner { height: 100%; }
.service-face { padding: 26px; }
.service-front { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; border: 1px solid var(--line); border-radius: 10px 10px 0 0; border-bottom: 0; }
.service-icon { width: 72px; height: 72px; display: grid; place-items: center; flex-shrink: 0; background: #efede8; border-radius: 14px; }
.service-icon img { display: block; width: 50px; height: 50px; object-fit: contain; }
.service-face h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.025em; max-width: 21ch; }
.service-back { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; padding-top: 0; }
.service-back h3 { display: none; }
.service-back ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.service-back li + li { margin-top: 9px; }
.service-back li::marker { color: var(--accent); }
.service-card.is-interactive { perspective: 1200px; background: transparent; }
.is-interactive .service-card-inner { display: grid; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.is-interactive.is-flipped .service-card-inner { transform: rotateY(180deg); }
.is-interactive .service-face { grid-area: 1 / 1; min-height: 278px; padding: 26px 26px 65px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.is-interactive .service-front { justify-content: flex-start; padding-top: 36px; }
.is-interactive .service-back { transform: rotateY(180deg); background: var(--ink); border-color: var(--ink); }
.is-interactive .service-back h3 { display: block; color: var(--surface); margin-bottom: 18px; }
.is-interactive .service-back ul { color: #eeece7; }
.is-interactive .service-back li::marker { color: #d6d0c5; }
.service-toggle { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 23px 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border: 0; border-radius: 10px; background: transparent; color: var(--accent); text-align: left; font-size: .8125rem; font-weight: 600; line-height: 1.5; }
.service-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s; }
.is-flipped .service-toggle { color: var(--accent-soft); }
.is-flipped .service-toggle svg { transform: rotate(180deg); }
@media (hover: hover) {
  .service-card:hover .service-front { border-color: #a7a096; }
  .service-card:hover .service-icon { background: #e3dfd6; }
  .service-toggle:hover .service-toggle-label { text-decoration: underline; text-underline-offset: 4px; }
}
/* The benefit of bringing services together */
.partnership { background: var(--ink); color: var(--surface); }
.partnership .eyebrow { color: #d6d0c5; }
.partnership .section-intro { color: var(--dark-muted); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.benefits > div { padding-top: 24px; border-top: 1px solid #666562; }
.benefits h3 { font-size: 1.25rem; }
.benefits p { color: var(--dark-muted); margin-top: 12px; }
/* Founder */
.founder-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 100px; align-items: stretch; }
.founder-copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }
.founder-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; }
.founder-copy > p:last-of-type { margin-bottom: 25px; }
.founder-copy .text-link { margin-top: auto; }
.founder-card { background: var(--pale); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.founder-photo { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 12%; }
.founder-card-content { padding: 24px 28px; }
.founder-identity h3 { font-size: 1.65rem; }
.founder-identity p { font-size: .875rem; color: var(--muted); margin-top: 3px; }
.founder-card-content > a { display: flex; justify-content: space-between; gap: 10px; font-size: .875rem; margin-top: 18px; }
.founder-card-content > a:hover { text-decoration: underline; }
/* Contact and footer */
.contact { background: var(--accent-soft); color: var(--ink); padding: 40px 0; }
.contact-grid { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.contact h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); text-wrap: initial; letter-spacing: -.025em; }
.contact .button { margin: 0; flex-shrink: 0; background: var(--ink); color: var(--surface); }
.contact .button:hover { background: #454449; }
footer { padding: 50px 0 0; background: #202123; color: var(--surface); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-top .brand-wordmark { filter: invert(1); mix-blend-mode: screen; }
.footer-top p { font-size: .9375rem; color: var(--dark-muted); margin-top: 18px; max-width: 36ch; }
.footer-top nav { display: flex; flex-direction: column; gap: 12px; font-size: .9375rem; }
.footer-top nav a:hover { color: var(--accent-soft); }
.socials { display: flex; gap: 10px; }
.socials > a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #85837e; position: relative; border-radius: 4px; }
.socials > a:hover, .socials > a:focus-visible { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-soft); }
.socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials svg.linkedin-icon { fill: currentColor; stroke: none; }
.tooltip { display: none; position: absolute; bottom: 55px; right: 0; background: var(--surface); color: var(--ink); padding: 7px 10px; font-size: .875rem; white-space: nowrap; border-radius: 3px; }
.socials > a:hover .tooltip, .socials > a:focus-visible .tooltip { display: block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #535452; color: var(--dark-muted); padding: 20px 0; font-size: .875rem; }
@media (min-width: 901px) { .menu-toggle { display: none; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 45px; }
  .founder-grid { gap: 50px; }
  .service-overview { padding: 28px; }
}
@media (max-width: 900px) {
  .nav-wrap { flex-wrap: wrap; min-height: 76px; padding: 18px 0; }
  .header nav { width: 100%; flex-wrap: wrap; padding-top: 10px; }
  .js #navigation { display: none; }
  .js #navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js #navigation a { padding: 12px; }
  .js #navigation .button { margin-top: 10px; }
  .hero-grid { gap: 32px; grid-template-columns: 1fr 1fr; padding-block: 55px; }
  h1 { font-size: clamp(2.6rem, 5.4vw, 3.1rem); }
  .intro { font-size: 1.0625rem; }
  .service-overview { padding: 25px; }
  .journey-step { width: 94%; }
  .journey-step a { gap: 10px; padding-inline: 12px; }
  .section { padding: 70px 0; }
  .benefits { gap: 26px; }
  .founder-grid { gap: 40px; grid-template-columns: 1fr; }
  .founder-copy { max-width: none; }
  .founder-card { width: min(100%, 460px); }
  .contact-grid { gap: 24px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 42px 50px; }
  h1 { font-size: clamp(2.6rem, 11.5vw, 3.75rem); }
  h2 { font-size: 2rem; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero-detail { max-width: none; }
  .actions { gap: 24px; }
  .service-overview { box-shadow: 0 12px 30px rgba(40,40,42,.1); padding: 24px 18px; }
  .journey-step { width: 88%; }
  .journey-step a { min-height: 72px; }
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-intro { font-size: 1rem; margin-top: 16px; }
  .audiences, .benefits, .founder-grid { grid-template-columns: 1fr; }
  .audiences { gap: 20px; }
  .audience-copy { padding: 25px; }
  .services { grid-template-columns: 1fr; gap: 16px; }
  .is-interactive .service-face { min-height: 252px; padding-inline: 24px; }
  .service-toggle { padding-inline: 24px; }
  .benefits { gap: 25px; margin-top: 30px; }
  .benefits > div { padding-top: 21px; }
  .founder-grid { gap: 32px; }
  .founder-card { width: 100%; }
  .founder-card-content { padding: 22px 25px; }
  .contact { padding: 32px 0; }
  .contact-grid { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-top { flex-wrap: wrap; gap: 30px; }
  .footer-top > div:first-child { width: 100%; }
  .footer-top nav { flex: 1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .wordmark { width: 230px; flex-basis: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
