/* ==========================================================================
   Sensible Giraffe - global styles
   ========================================================================== */

:root {
  --bg: #F3EDE4;
  --ink: #4A2402;
  --ink-heading: #6E3603;
  --ink-soft: rgba(74, 36, 2, 0.72);
  --ink-softer: rgba(74, 36, 2, 0.5);
  --accent: #F2941F;
  --accent-strong: #E07E0C;
  --accent-hover: #6E3603;
  --gold-1: #F9A93A;
  --gold-2: #C97A12;
  --brand-1: #7A3E06;
  --brand-2: #A85405;
  --brand-3: #C97A12;
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.52);
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-lightbox-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover { color: var(--accent-hover); }

h1, h2, h3 { font-family: var(--font-heading); margin: 0; }

.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;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  background: var(--brand-1);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: top 160ms ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(5%, -4%, 0) scale(1.1); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

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

/* Ambient background blobs ------------------------------------------------ */

.page-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.page-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  animation: drift 34s ease-in-out infinite;
}

/* Layout ------------------------------------------------------------------ */

.page {
  position: relative;
  min-height: 100vh;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 40px) 40px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@supports not (backdrop-filter: blur(1px)) {
  .eyebrow-pill, .glass-card, .glass-panel, .site-header nav, .site-footer .footer-panel, .nav-menu-panel {
    background: #FBF6EF;
  }
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: filter 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-primary {
  color: #FFFFFF;
  background: linear-gradient(165deg, var(--gold-1), var(--accent-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 16px 32px -16px rgba(224, 126, 12, 0.85);
}
.btn-primary:hover { filter: brightness(1.06); color: #fff; }

.btn-ghost {
  color: var(--ink-heading);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.75); color: var(--ink-heading); }

.btn-light {
  color: var(--ink-heading);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 34px -18px rgba(0, 0, 0, 0.6);
}
.btn-light:hover { background: #FFFFFF; color: var(--ink-heading); }

/* Glass surfaces ------------------------------------------------------------ */

.glass-card {
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 22px 50px -34px rgba(74, 36, 2, 0.5);
}

.glass-panel {
  border-radius: 36px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 30px 70px -46px rgba(74, 36, 2, 0.55);
}

.mini-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(242, 148, 31, 0.09);
  border: 1px solid rgba(242, 148, 31, 0.24);
  font-size: 15px;
  line-height: 1.55;
}
.mini-card strong { font-weight: 600; color: var(--ink-heading); }
.mini-card span { color: var(--ink-soft); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(155deg, var(--brand-1), var(--brand-2) 58%, var(--brand-3));
  box-shadow: 0 30px 80px -44px rgba(74, 36, 2, 0.8);
  text-align: center;
}
.cta-panel::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 46%; height: 160%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255, 255, 255, 0.82); }

/* Header / nav -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px clamp(12px, 3vw, 40px);
}

.site-header nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px 11px 20px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(122, 62, 6, 0.06), 0 18px 40px -26px rgba(74, 36, 2, 0.45);
}

.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 42px; width: auto; }

.logo-desktop { display: none; }
@media (min-width: 781px) {
  .logo-mobile { display: none; }
  .logo-desktop { display: block; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 8px);
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-heading);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 180ms ease;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.8); }
.nav-link[aria-current="page"] { background: rgba(255, 255, 255, 0.8); }

.nav-link-cta {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  background: linear-gradient(165deg, var(--gold-1), var(--accent-strong));
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 24px -14px rgba(224, 126, 12, 0.8);
}
.nav-link-cta:hover { filter: brightness(1.06); color: #fff; }

.nav-services { position: relative; }

.nav-services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-heading);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease;
}
.nav-services-trigger:hover { background: rgba(255, 255, 255, 0.8); }
.nav-services.is-open .nav-services-trigger,
.nav-services-trigger[aria-expanded="true"],
.nav-services.nav-current .nav-services-trigger {
  background: rgba(255, 255, 255, 0.8);
}

.nav-caret {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}
.nav-services.is-open .nav-caret { transform: rotate(180deg); }

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  --menu-shift: 0px;
  width: min(700px, calc(100vw - 32px));
  z-index: 70;
  transform-origin: top center;
  transform: translateX(calc(-50% + var(--menu-shift))) translateY(-12px) scale(0.96);
  opacity: 0;
  filter: blur(7px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 320ms cubic-bezier(.2, .85, .25, 1), filter 240ms ease;
  padding: 12px;
  border-radius: 26px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 30px 70px -34px rgba(74, 36, 2, 0.55);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 6px;
}
.nav-services.is-open .nav-menu-panel {
  transform: translateX(calc(-50% + var(--menu-shift))) translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
}

.nav-menu-panel a {
  display: block;
  padding: 15px;
  border-radius: 18px;
  color: var(--ink);
}
.nav-menu-panel a:hover { background: rgba(242, 148, 31, 0.12); }
.nav-menu-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16.5px;
  margin-top: 7px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav-menu-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(74, 36, 2, 0.62);
  margin-top: 5px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-heading);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 252, 248, 0.96);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 30px 70px -34px rgba(74, 36, 2, 0.55);
    transform-origin: top center;
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.2, .85, .25, 1);
  }
  .site-header nav.is-mobile-open .nav-links {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link, .nav-services-trigger, .nav-link-cta { width: 100%; text-align: left; }
  .nav-services-trigger { justify-content: space-between; }
  .nav-menu-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    display: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    background: rgba(242, 148, 31, 0.06);
    margin-top: 4px;
  }
  .nav-services.is-open .nav-menu-panel { display: grid; transform: none; }
}

/* Hero ---------------------------------------------------------------------- */

.hero {
  padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 64px);
  text-align: center;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 86px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink-heading);
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 24px auto 0;
  text-wrap: pretty;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.page-hero {
  padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 52px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-softer);
}
.breadcrumb a { color: var(--ink-softer); }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb .current { color: var(--gold-2); }

.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin-top: 22px;
}
.page-hero-grid h1 {
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 20px 0 0;
  color: var(--ink-heading);
}
.page-hero-grid h1 .accent { color: var(--accent); }
.page-hero-grid > div:first-child > p {
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 32em;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.page-hero-grid .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-figure {
  padding: 20px;
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 26px 60px -40px rgba(74, 36, 2, 0.5);
}
.hero-figure .placeholder {
  background-image: repeating-linear-gradient(115deg, rgba(122, 62, 6, 0.07) 0 10px, rgba(122, 62, 6, 0) 10px 20px);
  border-radius: 22px;
  border: 1px dashed rgba(122, 62, 6, 0.22);
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero-figure .placeholder span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(74, 36, 2, 0.45);
}
.hero-figure > picture {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
}
.hero-figure > picture img {
  width: min(280px, 60%);
  height: auto;
}

/* Square variant sized to hug an actual (square) image, rather than stretching
   to fill the full grid column like the placeholder boxes on other pages. */
.hero-figure-badge {
  max-width: 420px;
  justify-self: center;
}
.hero-figure-badge picture img {
  width: 100%;
  max-width: 380px;
}

/* Hero workflow diagram ------------------------------------------------------ */

.hero-figure-flow { padding: 22px; }
.flow-header { padding: 2px 4px 16px; }
.flow-header h3 {
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.02em;
  margin-top: 6px;
  color: var(--ink-heading);
}
.flow-diagram { display: grid; gap: 2px; }
.flow-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(242, 148, 31, 0.09);
  border: 1px solid rgba(242, 148, 31, 0.24);
}
.flow-step-ai { background: rgba(242, 148, 31, 0.16); border-color: rgba(242, 148, 31, 0.4); }
.flow-step .num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(165deg, var(--gold-1), var(--accent-strong));
}
.flow-step .label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink-heading);
}
.flow-step p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(74, 36, 2, 0.65);
  margin: 3px 0 0;
}
.flow-arrow { display: flex; justify-content: center; color: rgba(122, 62, 6, 0.32); }
.flow-arrow svg { width: 16px; height: 16px; }

/* Hero gallery / lightbox ---------------------------------------------------- */

.hero-figure-gallery { padding: 12px; }

.gallery {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}

.gallery-slide-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-slide-btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  color: var(--brand-2);
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(74, 36, 2, 0.6);
  transition: background 0.15s ease, transform 0.15s ease;
}
.gallery-arrow:hover { background: rgba(255, 255, 255, 0.85); transform: translateY(-50%) scale(1.06); }
.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }
.gallery-arrow svg { display: block; width: 18px; height: 18px; }

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(74, 36, 2, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}
.gallery-dot:hover { background: rgba(74, 36, 2, 0.55); }
.gallery-dot.is-active {
  width: 18px;
  border-radius: 4px;
  background: var(--accent-strong);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 17, 11, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 92vh;
}
.lightbox-content picture { display: block; }

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #fff;
  color: var(--brand-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}
.lightbox-close svg { width: 16px; height: 16px; }

/* Sections ------------------------------------------------------------------- */

section { padding: clamp(24px, 4vw, 56px) 0 0; }

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-heading-row h2 {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.035em;
  color: var(--ink-heading);
}
.section-heading-row p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(74, 36, 2, 0.66);
  max-width: 28em;
  margin: 0;
}

h2.section-title {
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.035em;
  color: var(--ink-heading);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 26px;
  color: var(--ink);
  transition: transform 260ms cubic-bezier(.2, .85, .25, 1), box-shadow 260ms ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 30px 60px -30px rgba(74, 36, 2, 0.55);
  color: var(--ink);
}
.service-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-card h3 {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink-heading);
}
.service-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.service-card .link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent-strong);
  margin-top: auto;
  padding-top: 8px;
}

.info-card {
  padding: 26px;
}
.info-card h3 {
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  color: var(--ink-heading);
}
.info-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.step-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(242, 148, 31, 0.09);
  border: 1px solid rgba(242, 148, 31, 0.24);
}
.step-card .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-2);
}
.step-card .label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  margin-top: 8px;
  color: var(--ink-heading);
}
.step-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(74, 36, 2, 0.68);
  margin: 8px 0 0;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
}
.split-panel h2 {
  font-weight: 700;
  font-size: clamp(27px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 14px 0 0;
  color: var(--ink-heading);
}
.split-panel > div:first-child p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.split-panel blockquote {
  margin: 22px 0 0;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(242, 148, 31, 0.1);
  border: 1px solid rgba(242, 148, 31, 0.28);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18.5px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #A85405;
}
.split-panel figure {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 24px 50px -34px rgba(74, 36, 2, 0.6);
  margin: 0;
}
.split-panel figure img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: 50% 22%;
}

.two-col-panel {
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.two-col-panel h2 {
  font-weight: 700;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 12px 0 0;
  color: var(--ink-heading);
}
.two-col-panel > div:first-child p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 16px 0 0;
  text-wrap: pretty;
}
.mini-card-list { display: grid; gap: 10px; align-content: start; }

.process-panel {
  padding: clamp(24px, 4vw, 44px);
}
.process-panel h2 {
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.03em;
  color: var(--ink-heading);
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-section .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.contact-email-pill {
  font-family: var(--font-mono);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Footer ---------------------------------------------------------------------- */

.site-footer { position: relative; z-index: 1; padding: clamp(40px, 6vw, 72px) clamp(12px, 3vw, 40px) 56px; }
.footer-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 24px 60px -40px rgba(74, 36, 2, 0.5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: start;
}
.footer-panel .brand img { height: 46px; }
.footer-panel .about p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(74, 36, 2, 0.66);
  margin: 14px 0 0;
  max-width: 28em;
}
.footer-col { display: grid; gap: 10px; }
.footer-col .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(74, 36, 2, 0.45);
}
.footer-col a { font-size: 14.5px; color: rgba(74, 36, 2, 0.75); }
.footer-legal {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(74, 36, 2, 0.5);
  line-height: 1.65;
}
.footer-legal .name { color: rgba(74, 36, 2, 0.72); font-weight: 500; }

/* Utility -------------------------------------------------------------------- */

.text-center { text-align: center; }

/* Dark mode ===================================================================
   Follows the OS/browser preference (no manual toggle). Page background,
   text and glass-border colors cascade from the :root variable overrides
   below; everything else is a literal rgba() per rule, so each surface gets
   its own dark-mode override here (mirrors the light-mode rule it replaces).
   Components that always sit on the fixed dark brown CTA gradient (.cta-panel,
   .contact-email-pill) are theme-independent and untouched. .btn-light's
   background also stays fixed, but its text color gets a dark-mode override
   below since it reads var(--ink-heading), which turns light on dark themes.
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110B;
    --ink: #F3E7D6;
    --ink-heading: #F7C97B;
    --ink-soft: rgba(243, 231, 214, 0.72);
    --ink-softer: rgba(243, 231, 214, 0.5);
    --accent: #FFA53D;
    --accent-strong: #F2941F;
    --accent-hover: #FFD9A0;
    --gold-2: #E0A34C;
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-bg: rgba(35, 24, 14, 0.55);
  }

  @supports not (backdrop-filter: blur(1px)) {
    .eyebrow-pill, .glass-card, .glass-panel, .site-header nav, .site-footer .footer-panel, .nav-menu-panel {
      background: #211609;
    }
  }

  .eyebrow-pill { background: rgba(35, 24, 14, 0.5); }

  .btn-ghost { background: rgba(35, 24, 14, 0.5); }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

  /* .btn-light keeps its fixed white background, but its text color reads
     var(--ink-heading), which turns light in dark mode - override to a
     fixed darker orange so it still contrasts against the white pill. */
  .btn-light, .btn-light:hover { color: var(--brand-2); }

  .glass-card {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 50px -34px rgba(0, 0, 0, 0.55);
  }

  .glass-panel {
    background: rgba(35, 24, 14, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px -46px rgba(0, 0, 0, 0.6);
  }

  .mini-card {
    background: rgba(242, 148, 31, 0.16);
    border-color: rgba(242, 148, 31, 0.38);
  }

  .site-header nav {
    background: rgba(23, 17, 11, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 18px 40px -26px rgba(0, 0, 0, 0.55);
  }

  .nav-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
  }
  .nav-link:hover { background: rgba(255, 255, 255, 0.14); }
  .nav-link[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }

  .nav-services-trigger {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
  }
  .nav-services-trigger:hover { background: rgba(255, 255, 255, 0.14); }
  .nav-services.is-open .nav-services-trigger,
  .nav-services-trigger[aria-expanded="true"],
  .nav-services.nav-current .nav-services-trigger {
    background: rgba(255, 255, 255, 0.14);
  }

  .nav-menu-panel {
    background: rgba(28, 20, 12, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px -34px rgba(0, 0, 0, 0.6);
  }
  .nav-menu-panel a:hover { background: rgba(242, 148, 31, 0.18); }
  .nav-menu-desc { color: rgba(243, 231, 214, 0.62); }

  .nav-toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
  }

  @media (max-width: 780px) {
    .nav-links {
      background: rgba(23, 17, 11, 0.94);
      box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.6);
    }
    .nav-menu-panel { background: rgba(242, 148, 31, 0.12); }
  }

  .hero-figure {
    background: rgba(35, 24, 14, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 60px -40px rgba(0, 0, 0, 0.55);
  }
  .hero-figure .placeholder {
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 10px, rgba(255, 255, 255, 0) 10px 20px);
    border-color: rgba(255, 255, 255, 0.18);
  }
  .hero-figure .placeholder span { color: rgba(243, 231, 214, 0.45); }

  .section-heading-row p { color: rgba(243, 231, 214, 0.66); }

  .service-card:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  }

  .step-card {
    background: rgba(242, 148, 31, 0.16);
    border-color: rgba(242, 148, 31, 0.38);
  }
  .step-card p { color: rgba(243, 231, 214, 0.68); }

  .flow-step {
    background: rgba(242, 148, 31, 0.16);
    border-color: rgba(242, 148, 31, 0.38);
  }
  .flow-step-ai { background: rgba(242, 148, 31, 0.24); border-color: rgba(242, 148, 31, 0.5); }
  .flow-step p { color: rgba(243, 231, 214, 0.68); }
  .flow-arrow { color: rgba(255, 255, 255, 0.22); }

  .split-panel blockquote {
    background: rgba(242, 148, 31, 0.18);
    border-color: rgba(242, 148, 31, 0.4);
    color: #F0AE5C;
  }
  .split-panel figure {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px -34px rgba(0, 0, 0, 0.6);
  }

  .footer-panel {
    background: rgba(35, 24, 14, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px -40px rgba(0, 0, 0, 0.55);
  }
  .footer-panel .about p { color: rgba(243, 231, 214, 0.66); }
  .footer-col .label { color: rgba(243, 231, 214, 0.5); }
  .footer-col a { color: rgba(243, 231, 214, 0.78); }
  .footer-legal { color: rgba(243, 231, 214, 0.55); }
  .footer-legal .name { color: rgba(243, 231, 214, 0.78); }
}
