/* OD-LAYOUT-PRIMITIVES v1 — structure only */
@layer od-layout {
  :where(.od-stack, .od-row, .od-row-top, .od-cluster, .od-grid, .od-field, .od-stat, .od-cell, .od-tile)>* {
    min-width: 0
  }

  .od-stack {
    display: flex;
    flex-direction: column;
    gap: var(--od-gap, 8px)
  }

  .od-row {
    display: flex;
    align-items: center;
    gap: var(--od-gap, 8px)
  }

  .od-row-top {
    display: flex;
    align-items: flex-start;
    gap: var(--od-gap, 8px)
  }

  .od-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--od-gap, 8px)
  }

  .od-fill {
    flex: 1 1 0;
    min-width: 0
  }

  .od-fixed {
    flex: none
  }

  .od-grid {
    display: grid;
    gap: var(--od-gap, 12px);
    grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr))
  }

  .od-stat,
  .od-field,
  .od-cell {
    display: grid;
    gap: var(--od-gap, 2px)
  }

  :where(.od-stat, .od-field, .od-cell)>* {
    display: block
  }

  .od-tile {
    display: grid;
    grid-template-rows: auto 1fr
  }

  .od-tile>* {
    display: block
  }

  .od-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--od-ratio, auto)
  }

  .od-media-cover {
    object-fit: cover
  }

  .od-icon {
    display: inline-block;
    inline-size: var(--od-icon-size, 1em);
    block-size: var(--od-icon-size, 1em);
    flex: none
  }

  .od-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
  }

  .od-clamp-2,
  .od-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere
  }

  .od-clamp-2 {
    -webkit-line-clamp: 2
  }

  .od-clamp-3 {
    -webkit-line-clamp: 3
  }

  .od-lines-2 {
    min-height: calc(2 * 1.4em)
  }

  .od-nowrap {
    white-space: nowrap
  }

  .od-keep {
    word-break: keep-all;
    overflow-wrap: anywhere
  }

  .od-screen {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%
  }

  .od-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0
  }

  .od-rail {
    display: flex;
    gap: var(--od-gap, 8px);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: var(--od-rail-pad, 16px);
    scroll-padding-inline: var(--od-rail-pad, 16px)
  }

  .od-rail::-webkit-scrollbar {
    display: none
  }

  .od-rail>* {
    flex: none;
    scroll-snap-align: start
  }

  .od-rail>:last-child {
    margin-inline-end: var(--od-rail-pad, 16px)
  }

  .od-spacer {
    flex: none;
    visibility: hidden;
    pointer-events: none
  }

  .od-touch {
    min-width: 44px;
    min-height: 44px
  }
}

/* /OD-LAYOUT-PRIMITIVES v1 */
:root {
  --bg: #efe7d2;
  --surface: #f7f1de;
  --surface-warm: #ece4cf;
  --paper-dark: #ddd2b6;
  --fg: #15140f;
  --fg-2: #2a2620;
  --muted: #5a5448;
  --faint: #8b8676;
  --meta: #5a5448;
  --border: rgba(21, 20, 15, .25);
  --border-soft: rgba(21, 20, 15, .12);
  --accent: #ed6f5c;
  --accent-on: #15140f;
  --accent-hover: #f08e7c;
  --olive: #6e7448;
  --mustard: #e9b94a;
  --font-display: 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Playfair Display', serif;
  --text-base: 16px;
  --leading-body: 1.65;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --motion-fast: 180ms;
  --motion-base: 240ms;
  --ease-standard: ease;
  --container-max: 1440px;
  --container-gutter-desktop: 64px;
  --focus-ring: 0 0 0 3px var(--fg)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--text-base)/var(--leading-body) var(--font-body);
  -webkit-font-smoothing: antialiased
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E")
}

body {
  background-image: radial-gradient(at 10% 10%, rgba(106, 92, 56, .06), transparent 55%), radial-gradient(at 90% 70%, rgba(106, 92, 56, .06), transparent 55%)
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent
}

button,
summary {
  cursor: pointer
}

button {
  color: inherit
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 5px
}

button:disabled {
  opacity: .55;
  cursor: wait
}

::selection {
  background: var(--accent);
  color: var(--fg)
}

h1,
h2,
h3,
p,
figure {
  margin: 0
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.03
}

em {
  font-family: var(--font-serif);
  font-weight: 500
}

p {
  max-width: 67ch
}

.container {
  max-width: var(--container-max);
  padding-inline: var(--container-gutter-desktop);
  margin: auto
}

.mono {
  font: 400 10px/1.6 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase
}

.small {
  font-size: 13px
}

.muted {
  color: var(--muted)
}

.dot {
  color: var(--accent)
}

.icon-link {
  display: inline-flex;
  gap: 16px;
  align-items: center
}

.od-icon {
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  --od-icon-size: 18px
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 12px;
  transform: translateY(-150%)
}

.skip:focus {
  transform: none
}

.rail {
  position: fixed;
  top: 48%;
  z-index: 3;
  font: 500 9px var(--font-mono);
  letter-spacing: .24em;
  writing-mode: vertical-rl;
  text-transform: uppercase
}

.rail.left {
  left: 14px;
  transform: rotate(180deg)
}

.rail.right {
  right: 14px
}

.metadata {
  border-bottom: 1px solid var(--border-soft);
  padding-block: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font: 400 9px/1.5 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase
}

.meta-badge {
  border: 1px solid var(--border);
  padding: 2px 8px
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive)
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 96px;
  gap: 32px
}

.brand {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1
}

.brand .brand-dot {
  color: var(--accent)
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 24px
}

.brand-caption {
  border-left: 1px solid var(--border);
  padding-left: 24px;
  font: 400 9px/1.6 var(--font-mono);
  letter-spacing: .05em
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px
}

.nav-links a {
  position: relative
}

.nav-links a::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-fast)
}

.nav-links a:hover::after {
  transform: scaleX(1)
}

.nav-contact {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  background: transparent;
  font: 600 13px var(--font-display);
  display: flex;
  gap: 24px;
  align-items: center
}

.star {
  color: var(--olive);
  font-size: 16px
}

.mobile-menu {
  display: none
}

.sec-rule {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font: 400 9px/1.5 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase
}

.sec-rule .roman {
  font: italic 500 16px var(--font-serif);
  color: var(--fg)
}

.sec-rule>:nth-child(2) {
  text-align: center
}

.sec-rule>:last-child {
  text-align: right
}

.hero {
  padding-top: 8px
}

.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 32px;
  min-height: 690px;
  align-items: center;
  padding-block: 40px 48px
}

.hero-copy {
  position: relative;
  z-index: 1
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  font: 600 10px var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 28px
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--fg)
}

h1 {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
  max-width: 660px
}

h1 em {
  display: block;
  letter-spacing: -.065em
}

h1 .last-line {
  display: block
}

.hero-description {
  font-size: 16px;
  line-height: 1.7;
  max-width: 370px;
  margin-top: 28px;
  color: var(--fg-2)
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  min-height: 52px;
  padding: 14px 24px;
  font: 600 14px var(--font-display);
  text-decoration: none;
  transition: transform var(--motion-fast), background var(--motion-fast)
}

.btn-primary {
  background: var(--accent);
  color: var(--fg)
}

.btn-secondary {
  border-color: var(--border);
  background: transparent
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font: 500 12px var(--font-body);
  border-bottom: 1px solid var(--border)
}

.hero-footnote {
  margin-top: 48px;
  font: 400 9px/1.7 var(--font-mono);
  color: var(--muted);
  letter-spacing: .025em;
  display: flex;
  gap: 12px
}

.hero-footnote::before {
  content: '↳';
  font-size: 16px
}

.hero-art {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0
}

.art-top,
.art-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px
}

.art-top {
  margin-bottom: 20px
}

.art-bottom {
  margin-top: 20px;
  color: var(--muted)
}

.art-frame {
  position: relative;
  padding: 16px 0
}

.art-frame::before,
.art-frame::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--fg);
  border-style: solid
}

.art-frame::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px
}

.art-frame::after {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--fg);
  border-style: solid
}

.corner.tr {
  right: 0;
  top: 0;
  border-width: 1px 1px 0 0
}

.corner.bl {
  left: 0;
  bottom: 0;
  border-width: 0 0 1px 1px
}

.hero-art img {
  mix-blend-mode: multiply
}

.art-caption {
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.art-caption .caption-title {
  font: 500 19px/1.3 var(--font-serif);
  font-style: italic;
  max-width: 240px
}

.stamp {
  width: 64px;
  height: 64px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-12deg);
  font: 400 9px/1.6 var(--font-mono)
}

.service-strip {
  border-block: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  font: 500 13px var(--font-display)
}

.strip-label {
  font: 400 9px var(--font-mono);
  color: var(--muted);
  max-width: 100px;
  line-height: 1.7;
  letter-spacing: .06em
}

.service-strip .plus {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted)
}

section.content-section {
  padding-block: 104px 16px
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 56px 0 48px;
  align-items: end
}

h2 {
  font-size: clamp(40px, 4.1vw, 64px);
  max-width: 640px
}

.section-heading>p {
  color: var(--muted);
  max-width: 460px;
  font-size: 16px
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.service {
  padding: 28px 0 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.num {
  font: italic 500 26px var(--font-serif)
}

.service-tag {
  font: 400 9px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em
}

.service h3 {
  font-size: 30px;
  letter-spacing: -.025em
}

.service p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75
}

.service ul {
  padding: 0;
  list-style: none;
  margin: 0;
  font-size: 12px
}

.service li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft)
}

.service li::before {
  content: '↗';
  margin-right: 12px
}

.usecase {
  margin-top: 56px;
  background: var(--fg);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px
}

.usecase .eyebrow {
  color: var(--paper-dark);
  margin-bottom: 32px
}

.usecase .eyebrow::before {
  background: var(--paper-dark)
}

.usecase h3 {
  font-size: 38px;
  line-height: 1.12;
  max-width: 400px
}

.usecase p {
  color: var(--paper-dark);
  font-size: 15px;
  margin-top: 20px
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: center
}

.tabs button {
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(247, 241, 222, .2);
  background: transparent;
  color: var(--paper-dark);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 17px var(--font-display)
}

.tabs button[aria-selected=true] {
  color: var(--surface)
}

.tabs button[aria-selected=true]::after {
  content: '↗';
  color: var(--accent)
}

.tabs button:focus-visible {
  outline-color: var(--surface)
}

.usecase-output {
  min-height: 220px
}

.usecase-note {
  font: 400 9px/1.7 var(--font-mono);
  margin-top: 28px;
  color: var(--paper-dark);
  text-transform: uppercase
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px
}

.step {
  border-top: 1px solid var(--border);
  padding-top: 20px
}

.step-top {
  display: flex;
  justify-content: space-between;
  font: 400 10px var(--font-mono);
  color: var(--muted);
  margin-bottom: 32px
}

.step h3 {
  font-size: 24px;
  margin-bottom: 16px
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7
}

.support-note {
  margin-top: 56px;
  border-block: 1px solid var(--border);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px
}

.support-note p {
  font-size: 22px;
  font-family: var(--font-display);
  letter-spacing: -.02em
}

.support-note .mono {
  font-size: 9px;
  color: var(--muted);
  max-width: 280px
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 56px
}

.faq-intro p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px
}

.faq-item {
  border-top: 1px solid var(--border)
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border)
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  padding: 24px 0;
  font: 600 19px/1.4 var(--font-display)
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  flex: none
}

.faq-item[open] summary::after {
  content: '−'
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 24px
}

.contact {
  padding-bottom: 72px !important
}

.contact-block {
  padding-block: 64px 16px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end
}

.contact-block h2 {
  font-size: clamp(48px, 5.8vw, 88px)
}

.contact-copy p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px
}

.contact-copy .mono {
  margin-top: 16px;
  max-width: 300px;
  font-size: 9px
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 11px;
  gap: 24px
}

.footer-top a {
  text-decoration: underline;
  text-underline-offset: 4px
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-block: 20px 32px;
  font: 400 9px var(--font-mono);
  text-transform: uppercase;
  color: var(--muted)
}

.footer-bottom .fin {
  font: italic 500 16px var(--font-serif);
  color: var(--fg)
}

dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--fg)
}

dialog::backdrop {
  background: rgba(21, 20, 15, .6)
}

.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px
}

.dialog-header h2 {
  font-size: 38px
}

.close {
  display: grid;
  place-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  font-size: 24px
}

.dialog-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.field {
  display: grid;
  gap: 8px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: 13px;
  font-weight: 500
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px
}

.field textarea {
  resize: vertical;
  min-height: 112px
}

.field-error {
  display: block;
  font-size: 12px;
  color: var(--fg);
  font-weight: 600
}

.field input[aria-invalid=true] {
  border: 2px solid var(--fg)
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap
}

.form-help {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px
}

.result h3 {
  font-size: 28px;
  margin-bottom: 16px
}

.result textarea {
  width: 100%;
  min-height: 260px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.7 var(--font-body);
  resize: vertical;
  margin-top: 16px
}

.result p {
  font-size: 14px;
  color: var(--muted)
}

[hidden] {
  display: none !important
}

.form-summary {
  padding: 12px;
  border: 1px solid var(--fg);
  font-size: 13px;
  margin-bottom: 20px
}

.form-summary a {
  text-decoration: underline
}

.toast {
  font-size: 13px;
  min-height: 24px;
  margin-top: 12px
}

@media(hover:hover) {
  .btn:hover {
    transform: translateY(-2px)
  }

  .btn-primary:hover {
    background: var(--accent-hover)
  }

  .btn-secondary:hover,
  .nav-contact:hover {
    background: var(--paper-dark)
  }

  .text-link:hover {
    border-color: var(--fg)
  }

  .tabs button:hover {
    color: var(--surface)
  }
}

@media(min-width:1440px) {
  .hero-grid {
    min-height: calc(100vh - 236px)
  }

  .hero-art {
    min-height: calc(100vh - 240px)
  }
}

@media(max-width:1279px) {
  .rail {
    display: none
  }

  :root {
    --container-gutter-desktop: 44px
  }

  .brand-caption {
    display: none
  }

  .hero-grid {
    gap: 24px
  }

  .nav-links {
    gap: 24px
  }

  h1 {
    font-size: clamp(48px, 5.2vw, 70px)
  }
}

@media(max-width:1023px) {
  :root {
    --container-gutter-desktop: 32px
  }

  .metadata .filed {
    display: none
  }

  .nav-links {
    gap: 20px
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 620px
  }

  h1 {
    font-size: 52px
  }

  .hero-actions {
    gap: 16px
  }

  .hero-actions .text-link {
    font-size: 11px
  }

  .usecase {
    gap: 32px;
    padding: 32px
  }

  .section-heading {
    gap: 32px
  }

  .faq-layout {
    gap: 40px
  }

  .services {
    gap: 20px
  }

  .service h3 {
    font-size: 26px
  }

  .steps {
    gap: 24px
  }

  .service-strip {
    gap: 16px
  }

  .service-strip .plus {
    font-size: 16px
  }
}

@media(max-width:767px) {
  :root {
    --container-gutter-desktop: 24px
  }

  .metadata {
    font-size: 8px
  }

  .metadata .edition {
    display: none
  }

  .nav {
    min-height: 88px;
    gap: 16px
  }

  .brand {
    font-size: 36px
  }

  .nav-links {
    display: none
  }

  .nav-contact {
    padding: 12px 16px;
    gap: 12px
  }

  .mobile-menu {
    display: block;
    position: relative
  }

  .mobile-menu summary {
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none
  }

  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 56px;
    width: 220px;
    z-index: 10;
    border: 1px solid var(--border);
    padding: 16px;
    background: var(--surface);
    display: grid;
    gap: 8px
  }

  .mobile-menu a {
    display: block;
    padding: 12px
  }

  .nav-controls {
    display: flex;
    gap: 8px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    min-height: 0
  }

  .hero-copy {
    max-width: 600px
  }

  h1 {
    font-size: clamp(48px, 8.8vw, 68px);
    max-width: 600px
  }

  h1 em {
    display: inline
  }

  .hero-description {
    max-width: 450px
  }

  .hero-footnote {
    margin-top: 28px
  }

  .hero-art {
    padding-top: 0;
    min-height: 0
  }

  .art-frame {
    padding: 8px 0
  }

  .art-caption {
    padding-top: 16px
  }

  .art-caption .caption-title {
    max-width: 300px
  }

  .art-top {
    margin-bottom: 12px
  }

  .hero-grid {
    padding-bottom: 32px
  }

  .service-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-block: 24px
  }

  .service-strip .strip-label {
    grid-column: 1/-1;
    max-width: none
  }

  .service-strip .plus {
    display: none
  }

  .service-strip>span:not(.strip-label):last-child {
    grid-column: 1/-1
  }

  section.content-section {
    padding-top: 72px
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 32px
  }

  .section-heading h2 {
    max-width: 520px
  }

  .services {
    grid-template-columns: 1fr
  }

  .service {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px 32px
  }

  .service-head {
    grid-column: 1/-1
  }

  .service ul {
    grid-column: 2;
    grid-row: 3
  }

  .service p {
    grid-column: 2;
    grid-row: 2
  }

  .service h3 {
    grid-row: 2;
    font-size: 32px
  }

  .usecase {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px
  }

  .usecase-output {
    min-height: 0
  }

  .usecase .eyebrow {
    margin-bottom: 24px
  }

  .tabs {
    order: -1
  }

  .tabs button {
    padding-block: 14px
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    margin-top: 40px
  }

  .step-top {
    margin-bottom: 24px
  }

  .support-note {
    align-items: start
  }

  .support-note p {
    font-size: 20px
  }

  .support-note .mono {
    max-width: 180px
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px
  }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px
  }

  .contact-copy p {
    max-width: 480px
  }

  .contact-block h2 {
    max-width: 550px
  }

  .contact-copy .mono {
    max-width: none
  }

  .footer-bottom {
    font-size: 8px;
    flex-wrap: wrap
  }

  .sec-rule {
    grid-template-columns: auto 1fr auto;
    font-size: 8px
  }

  .sec-rule>:nth-child(2) {
    text-align: left
  }

  .footer-top {
    font-size: 10px
  }
}

@media(max-width:479px) {
  .nav-contact .star {
    display: none
  }

  .nav-contact {
    font-size: 12px;
    padding-inline: 14px
  }

  .nav {
    gap: 12px
  }

  .brand {
    font-size: 32px
  }

  .hero-grid {
    padding-top: 32px
  }

  h1 {
    font-size: 48px;
    line-height: 1.01;
    letter-spacing: -.055em
  }

  .eyebrow {
    font-size: 9px;
    margin-bottom: 24px
  }

  .hero-actions {
    align-items: start;
    gap: 16px
  }

  .hero-actions .text-link {
    min-height: 44px
  }

  .hero-description {
    font-size: 16px
  }

  .service {
    display: flex;
    gap: 20px
  }

  .service ul {
    width: 100%
  }

  .service h3 {
    font-size: 32px
  }

  .usecase {
    padding: 28px 24px
  }

  .usecase h3 {
    font-size: 32px
  }

  .steps {
    grid-template-columns: 1fr
  }

  .step-top {
    margin-bottom: 20px
  }

  .support-note {
    flex-direction: column;
    gap: 16px
  }

  .support-note .mono {
    max-width: none
  }

  .art-caption .caption-title {
    font-size: 17px
  }

  .art-bottom {
    font-size: 8px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  dialog {
    padding: 24px
  }

  .dialog-header h2 {
    font-size: 32px
  }

  .footer-top {
    align-items: start
  }

  .metadata {
    font-size: 7px
  }

  .contact-block h2 {
    font-size: 52px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }
}

/* Timed hero collection: all three editorial collages retain their full frame. */
:root {
  --collection-ratio: 1672/941;
  --collection-fade: 300ms
}

.collection-stage {
  display: grid;
  background: var(--surface-warm);
  isolation: isolate
}

.collection-slide {
  grid-area: 1/1;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--collection-fade) ease-out
}

.collection-slide.is-current {
  opacity: 1;
  z-index: 1
}

.hero-collection .collection-stage img {
  mix-blend-mode: multiply
}

.collection-photo {
  --od-ratio: var(--collection-ratio);
  object-position: center
}

.highway-photo {
  object-position: center 95%
}

.collection-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 12px
}

.collection-control-buttons {
  display: flex;
  align-items: center;
  gap: 8px
}

.collection-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent
}

.collection-credit {
  font: 400 9px/1.6 var(--font-mono);
  color: var(--muted);
  margin-top: 16px;
  min-height: 30px;
  max-width: 100%;
  overflow-wrap: anywhere
}

.collection-credit a {
  text-decoration: underline;
  text-underline-offset: 3px
}

.collection-announcement {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap
}

.hero-collection .caption-title {
  min-height: 52px
}

@media(hover:hover) {
  .collection-controls button:hover {
    background: var(--paper-dark)
  }
}

@media(prefers-reduced-motion:reduce) {
  .collection-slide {
    transition: none
  }
}


/* Regional service positioning; uses the established editorial tokens. */
.engagements {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border)
}

.engagements>h3 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 32px;
  max-width: 650px
}

.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start
}

.founder-layout h2 {
  font-size: clamp(38px, 3.8vw, 58px);
  max-width: 550px
}

.founder-layout .text-link {
  margin-top: 32px
}

.founder-copy {
  display: grid;
  gap: 24px;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.75
}

.direct-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6
}

.direct-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  max-width: 100%
}

#contact-form {
  margin-top: 24px
}

.contact-copy .direct-contacts {
  display: grid;
  gap: 8px;
  margin-top: 24px
}

.result .form-actions {
  gap: 12px
}

@media(max-width:767px) {
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px
  }

  .engagements {
    margin-top: 48px
  }

  .engagements>h3 {
    font-size: 26px
  }

  .hero-actions .btn {
    gap: 16px;
    padding-inline: 20px
  }
}

@media(max-width:479px) {
  .hero-actions .btn {
    font-size: 13px
  }

  .result .form-actions .btn {
    width: 100%
  }
}


.founder-portrait {
  max-width: 240px;
  margin-top: 32px
}

.founder-portrait img {
  border-radius: var(--radius-sm)
}

.founder-portrait figcaption {
  margin-top: 12px;
  color: var(--muted)
}

.brief-trigger {
  display: flex;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  margin-top: 16px;
  color: var(--fg)
}

/* Desktop section rhythm: 88px between content regions. */
@media (min-width:768px) {
  :root {
    --section-gap-desktop: 88px
  }

  section.content-section {
    padding-block: var(--section-gap-desktop) 0
  }

  section.content-section> :is(.section-heading, .founder-layout, .faq-layout):first-child {
    margin-top: 0
  }

  section.content-section>.contact-block:first-child {
    padding-block: 0
  }
}


.privacy-trigger {
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
  background: transparent;
  font: inherit;
  min-height: 44px
}

.privacy-notice {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 30;
  width: min(440px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(21, 20, 15, .14)
}

.privacy-notice .eyebrow {
  margin-bottom: 16px
}

.privacy-notice h2 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 16px
}

.privacy-notice p {
  font-size: 13px;
  color: var(--muted)
}

.privacy-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px
}

@media(max-width:479px) {
  .privacy-notice {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    padding: 20px
  }
}
