

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/montserrat-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/playfair-display-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/playfair-display-var-italic.woff2') format('woff2');
}

:root {
  
  --sage: #9CAF9A;
  --sage-deep: #5A7857;   
  --blue: #8FB0C3;
  --blue-deep: #45708C;   
  --ivory: #FBF8F1;
  --ivory-soft: #F4EFE7;
  --taupe: #C7B7A6;
  --charcoal: #2F2F2F;
  --ink: #35342F;
  --ink-soft: #6B675E;
  --white: #FFFDF9;

  --line: rgba(47, 47, 47, 0.1);
  --line-strong: rgba(47, 47, 47, 0.18);
  --on-dark: var(--ivory);
  --on-dark-soft: rgba(251, 248, 241, 0.7);
  --line-dark: rgba(251, 248, 241, 0.14);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1200px;
  --max-wide: 1440px; 
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 11vw, 144px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(47, 47, 47, 0.04), 0 18px 48px -18px rgba(47, 47, 47, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--sage-deep); }

section[id] { scroll-margin-top: 72px; }

:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus-visible { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
}
.eyebrow-light { color: var(--sage); }

.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
}
.section-lede { font-size: 1.075rem; color: var(--ink-soft); max-width: 440px; }
.section-head .section-lede { margin-top: 20px; }
.section-head-split .section-lede { margin-top: 0; }

.text-link {
  color: var(--blue-deep);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.text-link:hover { color: var(--sage-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--sage-deep); color: var(--white); }
.btn-primary:hover {
  background: #4B6849;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(90, 120, 87, 0.7);
}
.btn-ghost { border-color: var(--line-strong); color: var(--charcoal); }
.btn-ghost:hover { border-color: var(--charcoal); background: rgba(47, 47, 47, 0.04); }
.btn-small { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.mark { width: 40px; height: 40px; flex-shrink: 0; }
img.mark { width: auto; height: 32px; } 
.mark .ring { fill: none; stroke-width: 6; }
.mark .ring-sage { stroke: var(--sage); }
.mark .ring-blue { stroke: var(--blue); mix-blend-mode: multiply; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.in-view { opacity: 1; transform: none; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(251, 248, 241, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: height 0.3s var(--ease);
}
.nav.scrolled .nav-inner { height: 64px; }

.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a, .nav-cta { white-space: nowrap; }

@media (max-width: 1080px) and (min-width: 901px) {
  .nav-inner { gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.84rem; }
  .nav-cta { padding: 9px 16px; font-size: 0.82rem; }
}
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-links-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle.open span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle.open span:last-child { top: 21.5px; transform: rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(128px, 16vh, 176px) 0 clamp(80px, 10vw, 128px);
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
}

.hero-wash {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 140vmax;
  height: 140vmax;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: blur(10px);
  opacity: 0.34;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFFDF9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero .hero-visual.reveal { transition-delay: 0.2s; }

.hero-visual { width: calc(100% + var(--gutter) + max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2) - 24px); }

.flow-card {
  background: rgba(255, 253, 249, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.flow-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.flow-card-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.flow-card-title {
  margin-left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.flow {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.flow-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.flow-card-foot span:last-child { text-align: right; color: var(--sage-deep); font-weight: 500; }

.problem { border-top: 1px solid var(--line); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.problem-item { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.problem-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue-deep);
}
.problem-item h3 { margin-bottom: 12px; }
.problem-item p { color: var(--ink-soft); }

.hero .silk.bleed, .hero .silk-smooth.bleed {
  position: absolute;
  
  inset: 17% 0 auto 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: silk-in 1.6s var(--ease) both;
}
.hero .hero-grid { position: relative; z-index: 1; }

.nav, .hero { --max: var(--max-wide); }
@media (min-width: 901px) {
  .hero .hero-copy { max-width: 600px; } 
}

@media (min-width: 901px) {
  .hero .silk.bleed, .hero .silk-smooth.bleed {
    -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 82%);
    mask-image: linear-gradient(to bottom, #000 66%, transparent 82%);
  }
}
@keyframes silk-in { from { opacity: 0; } to { opacity: 1; } }

.hero .hero-still {
  
  position: absolute; right: 0; top: 50%; z-index: 0; width: min(74%, 1300px); aspect-ratio: 1344 / 612;
  transform: translateY(-44%); pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.hero .hero-still img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero .ribbon.bleed { position: absolute; top: 24%; left: 50%; width: 50%; height: 72%; z-index: 0; pointer-events: none; aspect-ratio: auto; }

.ribbon { display: block; width: 100%; aspect-ratio: 4 / 3; }

.sorter { display: block; width: 100%; height: auto; overflow: visible; }
.sorter .srt-dot { fill: var(--ink-soft); fill-opacity: 0.16; }
.sorter .srt-wire { fill: none; stroke: var(--ink-soft); stroke-opacity: 0.3; stroke-width: 1.7; transition: stroke 0.45s, stroke-opacity 0.45s; }
.sorter .srt-wire.lit { stroke: var(--sage-deep); stroke-opacity: 0.9; }
.sorter .srt-band { fill: none; stroke: var(--sage); stroke-width: 7; stroke-linecap: round; stroke-opacity: 0; transition: stroke-opacity 0.45s; }
.sorter .srt-band.lit { stroke-opacity: 0.2; }
.sorter .srt-row { stroke: var(--ink-soft); stroke-opacity: 0.18; stroke-width: 1.2; stroke-dasharray: 2 6; }
.sorter .srt-node .collar { fill: #FFFFFF; fill-opacity: 0.55; stroke: var(--ink-soft); stroke-opacity: 0.14; transition: stroke 0.3s, stroke-opacity 0.3s; }
.sorter .srt-node .body { stroke: #FFFFFF; stroke-width: 1; }
.sorter .srt-node .rim { fill: none; stroke: var(--ink-soft); stroke-opacity: 0.75; stroke-width: 2.2; transition: stroke-width 0.3s; }
.sorter .srt-node.c0 .rim { stroke: var(--sage-deep); stroke-opacity: 1; }
.sorter .srt-node.c1 .rim { stroke: var(--blue-deep); stroke-opacity: 1; }
.sorter .srt-node.c2 .rim { stroke: var(--blue); stroke-opacity: 1; }
.sorter .srt-node .shine { fill: #FFFFFF; fill-opacity: 0.9; }
.sorter .srt-node.lit .rim { stroke-width: 3.4; }
.sorter .srt-node.lit .collar { stroke: var(--sage-deep); stroke-opacity: 0.45; }
.sorter .srt-halo { fill-opacity: 0.14; }
.sorter .srt-halo.c0, .sorter .srt-trail.c0 { fill: var(--sage-deep); }
.sorter .srt-halo.c1, .sorter .srt-trail.c1 { fill: var(--blue-deep); }
.sorter .srt-halo.c2, .sorter .srt-trail.c2 { fill: var(--blue); }

.problem-top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 6vw, 72px); }
.problem-top .section-head { margin-bottom: 0; }

.problem .lead h2 { font-size: clamp(2rem, 3.3vw, 2.75rem); }
.problem .tally {
  display: flex; flex-direction: column; margin-top: 32px; padding: 22px 24px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 0.95rem;
}
.problem .tally .hours-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.problem .tally .hours-head b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--charcoal); }
.problem .tally .hours-head .total { font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.problem .tally .hrow { display: grid; grid-template-columns: 15.5em 1fr 3.4em; align-items: center; gap: 14px; }
.problem .tally .hrow + .hrow { margin-top: 10px; }
.problem .tally .hrow .bar { height: 10px; border-radius: 99px; background: rgba(21, 37, 61, 0.06); overflow: hidden; }
.problem .tally .hrow .bar i { display: block; height: 100%; background: #9AA8BC; transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }
.problem .tally .hrow .h { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--charcoal); }
.problem .tally .hrow.goal { margin: 12px -10px 0; padding: 6px 10px; border-radius: 10px; color: var(--sage-deep); font-weight: 600; transition: background 0.5s; }
.problem .tally .hrow.goal .bar { background: repeating-linear-gradient(90deg, rgba(46, 106, 79, 0.2) 0 6px, transparent 6px 11px); }
.problem .tally .hrow.goal .h { color: #B4533C; }
.problem .tally.done .hrow.goal { background: rgba(180, 83, 60, 0.08); }
.problem .tally .n { margin-right: 0.45em; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue-deep); }

.problem .tally .verdict {
  order: 99; align-self: flex-start; margin-top: 16px; padding: 10px 16px; border-radius: 12px;
  background: var(--charcoal); color: var(--on-dark-soft); font-size: 0.95rem;
  opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.problem .tally .verdict.show { opacity: 1; transform: none; }
.problem .tally .verdict b { font-weight: 600; color: var(--on-dark); }
.problem .tally .verdict .v-zero { color: #F2A48E; }

.overload.detached .clock-label { top: 29%; }
@container (max-width: 520px) { .overload.detached .clock-label { top: 23%; } }

.problem-grid.tight .problem-item { padding-top: 22px; }
.problem-grid.tight .problem-num { margin-bottom: 10px; }
.problem-grid.tight h3 { font-size: 1.2rem; margin-bottom: 8px; }
@media (max-width: 560px) {
  .problem .tally { padding: 18px 16px; font-size: 0.85rem; }
  .problem .tally .hrow { grid-template-columns: 10.5em 1fr 3em; gap: 10px; }
}

.overload { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ivory-soft); container-type: inline-size; }
.overload svg { display: block; width: 100%; height: auto; }
.overload text { font-family: var(--sans); }

.overload .todo {
  position: absolute; left: 3.5%; top: 4%; width: 35%;
  padding: 1.4cqw 1.6cqw; border-radius: 1.2cqw; background: var(--white);
  box-shadow: 0 1.4cqw 3cqw -1.6cqw rgba(21, 37, 61, 0.3); font-size: 1.95cqw; color: var(--ink);
}
.overload .todo-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.7em; }
.overload .todo-head b { font-family: var(--serif); font-weight: 500; font-size: 1.25em; color: var(--charcoal); }
.overload .todo-head span { font-size: 0.8em; color: #B4533C; font-weight: 600; }
.overload .todo ul { display: grid; gap: 0.34em; }
.overload .todo li { display: flex; align-items: center; gap: 0.6em; font-size: 0.9em; line-height: 1.25; transition: opacity 0.4s, transform 0.4s var(--ease); }
.overload .todo li::before { content: ''; flex-shrink: 0; width: 0.95em; height: 0.95em; border-radius: 0.2em; border: 1.5px solid var(--line-strong); }
.overload .todo li.new { opacity: 0; transform: translateY(-0.4em); }
.overload .todo li em { margin-left: auto; font-style: normal; font-size: 0.72em; font-weight: 600; color: #B4533C; background: rgba(180, 83, 60, 0.1); padding: 0.1em 0.5em; border-radius: 99px; white-space: nowrap; }
.overload .clock-label { position: absolute; right: 3.5%; top: 21%; font-size: 1.75cqw; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; }

.overload .minute { transform-origin: 540px 78px; animation: ov-spin 2.4s linear infinite; }
.overload .hour { transform-origin: 540px 78px; animation: ov-spin 28.8s linear infinite; }
@keyframes ov-spin { to { transform: rotate(360deg); } }
.overload .slump { transform-origin: 262px 292px; animation: ov-slump 5.5s ease-in-out infinite alternate; }
@keyframes ov-slump { 0% { transform: rotate(0deg); } 100% { transform: rotate(-4deg) translateY(3px); } }
.overload .breathe { transform-origin: 205px 300px; animation: ov-breathe 5.5s ease-in-out infinite alternate; }
@keyframes ov-breathe { to { transform: scaleY(0.975); } }
.overload .scribble { stroke-dasharray: 260; stroke-dashoffset: 260; animation: ov-scribble 3.2s ease-in-out infinite; }
@keyframes ov-scribble { 45% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.overload .steam path { stroke-dasharray: 30; animation: ov-steam 2.6s ease-in-out infinite; }
.overload .steam path:nth-child(2) { animation-delay: 0.8s; }
@keyframes ov-steam { 0% { stroke-dashoffset: 30; opacity: 0; } 40% { opacity: 0.8; } 100% { stroke-dashoffset: -30; opacity: 0; } }
.overload .phone.buzz { animation: ov-buzz 0.12s linear 6; }
@keyframes ov-buzz { 50% { transform: translateX(1.5px); } }
.overload .phone-waves { opacity: 0; transition: opacity 0.2s; }
.overload .phone-waves.on { opacity: 1; }

.overload .sticky { transform-box: fill-box; transform-origin: center; }
.overload .notif-pos { transition: transform 0.45s var(--ease); }
.overload .sheet, .overload .sticky, .overload .notif { transition: opacity 0.35s, transform 0.45s var(--ease); }
.overload .sheet.in-from { opacity: 0; transform: translateY(-14px); }
.overload .sticky.in-from { opacity: 0; transform: scale(0.4); }
.overload .notif.in-from { opacity: 0; transform: translateX(16px); }

.overload.paused * { animation-play-state: paused !important; }
.overload.clearing .pile, .overload.clearing .stickies, .overload.clearing .notifs { opacity: 0; transition: opacity 0.8s; }
.overload .pile, .overload .stickies, .overload .notifs { transition: opacity 0.4s; }
.overload .badge text { font-weight: 700; }

.overload .hours { position: relative; padding: 2.2cqw 3cqw 2.6cqw; background: var(--white); border-top: 1px solid var(--line); font-size: 1.9cqw; }
.overload .hours-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1em; }
.overload .hours-head b { font-family: var(--serif); font-weight: 500; font-size: 1.3em; color: var(--charcoal); }
.overload .hours-head span { font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.overload .hrow { display: grid; grid-template-columns: 13em 1fr 3.6em; align-items: center; gap: 1em; font-size: 0.95em; }
.overload .hrow + .hrow { margin-top: 0.55em; }
.overload .hrow .bar { height: 0.7em; border-radius: 99px; background: rgba(47,47,47,0.06); overflow: hidden; }
.overload .hrow .bar i { display: block; height: 100%; background: #9AA8BC; transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }
.overload .hrow .h { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--charcoal); }
.overload .hrow.goal { color: var(--sage-deep); font-weight: 600; }
.overload .hrow.goal .bar { background: repeating-linear-gradient(90deg, rgba(46, 106, 79, 0.2) 0 6px, transparent 6px 11px); }
.overload .hrow.goal .h { color: #B4533C; }
.overload .hrow.goal { margin-left: -0.6em; margin-right: -0.6em; padding: 0.25em 0.6em; border-radius: 0.5em; transition: background 0.5s; }
.overload .hours.done .hrow.goal { background: rgba(180, 83, 60, 0.08); }

.overload .verdict {
  position: absolute; left: 50%; top: 0; z-index: 2;
  transform: translate(-50%, -115%) translateY(0.8em); opacity: 0;
  display: flex; align-items: center; gap: 0.35em; white-space: nowrap;
  padding: 0.7em 1.2em; border-radius: 0.8em; background: var(--charcoal); color: var(--on-dark-soft);
  font-size: 1.05em; box-shadow: 0 1em 2.4em -1em rgba(0, 0, 0, 0.5);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.overload .verdict.show { opacity: 1; transform: translate(-50%, -115%); }
.overload .verdict b { font-weight: 600; color: var(--on-dark); }
.overload .verdict .v-zero { color: #F2A48E; }

@container (max-width: 520px) {
  .overload .todo { width: 42%; top: 3%; padding: 1.8cqw 2.2cqw; font-size: 2.75cqw; }
  .overload .todo li:nth-child(n+6) { display: none; }  
  .overload .clock-label { font-size: 2.7cqw; top: 13.5%; right: 4%; }
  .overload .hours { font-size: 3.3cqw; padding: 3.6cqw 4cqw 4cqw; }
  .overload .hrow { grid-template-columns: 10.5em 1fr 3.2em; }
  .overload .verdict { white-space: normal; width: max-content; max-width: 92%; font-size: 1em; }
}

@media (max-width: 900px) {
  
  .hero .silk.bleed, .hero .silk-smooth.bleed, .hero .ribbon.bleed { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 300px; }
  .hero .hero-still {
    top: auto; bottom: 0; left: 0; width: 100%; height: 300px; aspect-ratio: auto; transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 86%, transparent 100%);
  }
  .hero .hero-still img { object-position: 72% center; } 
  .hero { padding-bottom: 300px; }
  .problem-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .overload .minute, .overload .hour, .overload .slump, .overload .breathe, .overload .scribble, .overload .steam path { animation: none; }
  .overload .scribble { stroke-dashoffset: 0; }
}

.services { background: var(--ivory-soft); padding: clamp(56px, 6vw, 84px) 0; }
.services .section-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 12px;
  padding: 22px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .icon, .srow .icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(156, 175, 154, 0.28), rgba(143, 176, 195, 0.28));
  color: var(--sage-deep);
}
.service-card .icon svg, .srow .icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { align-self: center; font-size: 1.08rem; line-height: 1.2; }
.service-card > p { grid-column: 1 / -1; margin: 14px 0 16px; font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); }
.service-card ul {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.service-card li {
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--ivory-soft);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
}
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.srows { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.srow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 9.5em; gap: 16px 40px; align-items: center; padding: 24px 28px; }
.srow + .srow { border-top: 1px solid var(--line); }
.srow .area { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.srow h3 { font-size: 1.15rem; }
.srow .area p { grid-column: 2; margin-top: 4px; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }
.srow .live {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; vertical-align: 2px;
  background: rgba(46, 106, 79, 0.12); color: var(--sage-deep);
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.srow .chk { display: grid; gap: 7px; align-content: start; }
.srow .chk li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.85rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.srow .chk li::before {
  content: ''; flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.srow .go {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; color: var(--blue-deep);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.srow .go:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.srow .go.demo { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.srow .go.demo:hover { background: #1C3A66; border-color: #1C3A66; }
.srow .go .ar { transition: transform 0.3s var(--ease); }
.srow .go:hover .ar { transform: translateX(3px); }
.srow .go.demo:hover .ar { transform: translateY(2px); }
.srow .go:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
@media (max-width: 1100px) {
  .srow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .srow .go { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .srow { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .srow .area p { grid-column: 1 / -1; margin-top: 10px; }
}

.pipe { max-width: 1160px; margin: 0 auto; }
.pipe-heads, .pipe-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 48px minmax(0, 0.9fr) 48px minmax(0, 1fr);
  align-items: center;
}
.pipe-heads {
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pipe-heads .mid { color: var(--blue-deep); }
.pipe-heads .end { color: var(--sage-deep); }
.pipe-row + .pipe-row { margin-top: 14px; }
.pipe-area { font-size: 1.1rem; font-weight: 500; }

.pipe-node, .pipe-step {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}
.pipe-node { align-items: flex-start; }
.pipe-node.before { background: var(--ivory-soft); border: 1px dashed var(--taupe); color: var(--ink-soft); }
.pipe-node.after {
  background: var(--white);
  border: 1px solid rgba(90, 120, 87, 0.35);
  box-shadow: 0 12px 30px -18px rgba(47, 47, 47, 0.3);
  color: var(--ink);
  font-weight: 500;
}
.pipe-step {
  align-items: center;
  background: linear-gradient(135deg, rgba(156, 175, 154, 0.2), rgba(143, 176, 195, 0.24));
  border: 1px solid rgba(69, 112, 140, 0.2);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
}
.pipe-mark { flex-shrink: 0; width: 30px; height: 30px; }
.pipe-mark .ring { fill: none; stroke-width: 6; }
.pipe-mark .ring-sage { stroke: var(--sage); }
.pipe-mark .ring-blue { stroke: var(--blue); mix-blend-mode: multiply; }

.pipe-tick, .pipe-dash { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; }
.pipe-tick {
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFFDF9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.pipe-dash {
  border: 1.5px solid var(--taupe);
  background: linear-gradient(var(--taupe), var(--taupe)) center / 7px 1.5px no-repeat;
}

.pipe-arrow { position: relative; height: 20px; overflow: hidden; }
.pipe-arrow::before {
  content: '';
  position: absolute;
  left: 6px; right: 8px; top: 50%;
  height: 1.5px;
  background: var(--line-strong);
}
.pipe-arrow::after {
  content: '';
  position: absolute;
  right: 4px; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--ink-soft);
  border-right: 1.5px solid var(--ink-soft);
  transform: translateY(-50%) rotate(45deg);
}
.pipe-arrow i {
  position: absolute;
  top: 50%; left: 4px;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--sage-deep);
  animation: pipe-pulse 2.4s var(--ease) infinite;
}
.pipe-arrow.second i { animation-delay: 1.2s; }
.pipe-row:nth-child(3) .pipe-arrow i { animation-delay: 0.3s; }
.pipe-row:nth-child(3) .pipe-arrow.second i { animation-delay: 1.5s; }
.pipe-row:nth-child(4) .pipe-arrow i { animation-delay: 0.6s; }
.pipe-row:nth-child(4) .pipe-arrow.second i { animation-delay: 1.8s; }
.pipe-row:nth-child(5) .pipe-arrow i { animation-delay: 0.9s; }
.pipe-row:nth-child(5) .pipe-arrow.second i { animation-delay: 2.1s; }
@keyframes pipe-pulse {
  0% { left: 2px; opacity: 0; }
  20% { opacity: 1; }
  60% { left: calc(100% - 14px); opacity: 0; }
  100% { opacity: 0; }
}

.tieout { background: var(--ivory-soft); padding: clamp(64px, 7vw, 100px) 0; }

.tieout .section-head { margin-bottom: clamp(24px, 2.8vw, 36px); }
.tieout .section-head h2 { font-size: clamp(2rem, 3.1vw, 2.6rem); }
.tieout .section-head .section-lede { font-size: 1rem; }
.tieout .device { max-width: clamp(600px, calc((100svh - 350px) * 1.55), 900px); margin: 0 auto; }

@media (max-height: 760px) and (min-width: 901px) {
  .tieout .section-head .section-lede { font-size: 0.9rem; line-height: 1.55; }
  .tieout .section-head { margin-bottom: 20px; }
  .tieout .steps-legend { margin-top: 14px; }
}
.tieout .bezel {
  background: #1E2430;  
  border-radius: 18px 18px 6px 6px;
  padding: 1.6%;
  box-shadow: 0 40px 80px -40px rgba(47, 47, 47, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.tieout .screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--white); container-type: inline-size; }
.tieout .base {
  position: relative; height: 16px; margin: 0 -7%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #DDE2E9, #C3CAD4 60%, #AEB6C2);  
  box-shadow: 0 18px 30px -16px rgba(47, 47, 47, 0.5);
}
.tieout .base::before { content: ''; position: absolute; left: 42%; right: 42%; top: 0; height: 6px; border-radius: 0 0 8px 8px; background: rgba(21, 37, 61, 0.18); }
.tieout-note { margin-top: 26px; text-align: center; font-size: 0.8rem; color: var(--ink-soft); }
.demo-cta { margin-top: clamp(36px, 4.5vw, 56px); text-align: center; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--charcoal); }
.demo-cta .text-link { margin-left: 0.35em; font-family: var(--sans); font-size: 0.72em; font-weight: 600; white-space: nowrap; }

.steps-legend { display: flex; max-width: 660px; margin: 22px auto 0; padding: 0; list-style: none; }
.steps-legend + .tieout-note { margin-top: 18px; }
.steps-legend li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 0.88rem; line-height: 1.3; color: var(--ink-soft); transition: color 0.3s; }
.steps-legend li + li::before {
  content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; margin-top: -1px; z-index: 0;
  background: linear-gradient(var(--c, var(--sage-deep)), var(--c, var(--sage-deep))) left / 0% 100% no-repeat, var(--line-strong);
  transition: background-size 0.45s var(--ease);
}
.steps-legend li.on::before, .steps-legend li.done::before, .steps-legend li.alert::before { background-size: 100% 100%; }
.steps-legend b {
  position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--white); font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.steps-legend li.on { color: var(--charcoal); font-weight: 600; }
.steps-legend li.on b { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 22%, transparent); }
.steps-legend li.done { color: var(--charcoal); }
.steps-legend li.done b { border-color: var(--sage-deep); color: transparent; background: var(--sage-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.steps-legend li.alert { --c: #B4533C; color: #9E4430; font-weight: 600; }
.steps-legend li.alert b { border-color: #B4533C; background: #B4533C; color: #fff; box-shadow: 0 0 0 5px rgba(180, 83, 60, 0.15); }
@media (max-width: 560px) {
  .steps-legend li { font-size: 0.76rem; gap: 8px; padding: 0 2px; }
  .steps-legend b { width: 24px; height: 24px; font-size: 0.7rem; }
  .steps-legend li + li::before { top: 12px; }
}

.tieout .app { position: absolute; inset: 0; font-size: 1.62cqw; color: var(--ink); background: var(--white); line-height: 1.5; }
.tieout .app-body { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 1.2em 1.5em 3.3em; }
.tieout .panel-title { font-size: 0.72em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.tieout .rec-top { display: flex; align-items: center; gap: 1.4em; margin-bottom: 0.8em; }
.tieout .rec-top h3 { font-size: 1.35em; }
.tieout .rec-meter { margin-left: auto; display: flex; align-items: center; gap: 0.8em; font-size: 0.9em; color: var(--ink-soft); }
.tieout .rec-meter .bar { width: 11em; height: 0.5em; border-radius: 99px; background: rgba(47, 47, 47, 0.08); overflow: hidden; }
.tieout .rec-meter .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.tieout .rec-meter b { color: var(--charcoal); font-weight: 600; }
.tieout .rec-heads, .tieout .batch { display: grid; grid-template-columns: 1fr 9em 1fr; }
.tieout .rec-heads { padding: 0 0.2em 0.5em; }

.tieout .batches { display: flex; flex-direction: column; gap: 0.7em; }
.tieout .batch { align-items: stretch; }
.tieout .batch .bank { align-self: center; }  
.tieout .bank {
  display: grid; grid-template-columns: 3.6em 1fr auto; align-items: center; gap: 0.6em;
  padding: 0.55em 0.8em; border-radius: 0.5em; border: 1px solid var(--line); background: var(--white); font-size: 0.9em;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.tieout .bank .dt { color: var(--ink-soft); font-size: 0.9em; }
.tieout .bank .ds b { display: block; font-weight: 500; color: var(--ink); }
.tieout .bank .ds small { color: var(--ink-soft); font-size: 0.85em; }
.tieout .am { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--charcoal); }
.tieout .bank .am { font-weight: 700; font-size: 1.05em; }
.tieout .pays { display: flex; flex-direction: column; gap: 0.3em; }
.tieout .pay {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0.8em;
  padding: 0.42em 0.8em; border-radius: 0.45em; border: 1px solid var(--line); background: var(--white); font-size: 0.85em;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.tieout .pay .cl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tieout .pay .inv { color: var(--ink-soft); font-size: 0.88em; }
.tieout .pay .am { min-width: 5.2em; text-align: right; }
.tieout .pay.scan, .tieout .batch.scan .bank { border-color: var(--blue); box-shadow: 0 0 0 0.22em rgba(143, 176, 195, 0.25); }
.tieout .pay.hit, .tieout .batch.ok .bank { background: rgba(156, 175, 154, 0.08); border-color: rgba(90, 120, 87, 0.3); }
.tieout .batch.flag .bank, .tieout .batch.flag .pay.hit { background: rgba(180, 83, 60, 0.06); border-color: rgba(180, 83, 60, 0.45); }  

.tieout .tie { position: relative; }
.tieout .tie svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tieout .tie path { fill: none; stroke: var(--sage-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 0.35s var(--ease), stroke 0.3s; }
.tieout .batch.flag .tie path { stroke: #B4533C; }
.tieout .sum {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-60%, -50%);
  padding: 0.2em 0.6em; border-radius: 99px; font-size: 0.72em; font-weight: 600; white-space: nowrap;
  background: #EDF0EE; color: var(--ink-soft); font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity 0.25s, background 0.3s, color 0.3s;
}
.tieout .batch.scan .sum, .tieout .batch.ok .sum, .tieout .batch.flag .sum { opacity: 1; }
.tieout .batch.ok .sum { background: #E4EAE2; color: var(--sage-deep); }
.tieout .batch.flag .sum { background: #F7E7E2; color: #9E4430; }

.tieout .toast {
  position: absolute; left: 50%; bottom: 0.9em; transform: translate(-50%, 1.2em); opacity: 0;
  display: flex; align-items: center; gap: 0.7em; padding: 0.8em 1.3em; border-radius: 0.8em; white-space: nowrap;
  background: var(--charcoal); color: var(--ivory); font-size: 0.95em; box-shadow: 0 1em 2.4em -1em rgba(0, 0, 0, 0.5);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tieout .toast.show { opacity: 1; transform: translate(-50%, 0); }
.tieout .toast b { color: var(--sage); font-weight: 600; }
.tieout .tick-i {
  display: inline-block; flex-shrink: 0; width: 1.2em; height: 1.2em; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFFDF9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

@media (max-width: 700px) {
  .tieout .screen { aspect-ratio: auto; }
  .tieout .app { position: relative; inset: auto; font-size: 3.1cqw; }
  .tieout .app-body { height: auto; padding: 1.2em 1em 4.2em; }
  .tieout .rec-top { flex-wrap: wrap; gap: 0.4em 1em; }
  .tieout .rec-meter { margin-left: 0; }
  .tieout .rec-meter .bar { width: 7em; }
  .tieout .rec-heads, .tieout .batch { grid-template-columns: 1fr 5.4em 1.15fr; }
  .tieout .bank { grid-template-columns: 1fr; gap: 0.1em; padding: 0.5em 0.6em; }
  .tieout .bank .ds small { display: none; }
  .tieout .pay { grid-template-columns: 1fr auto; gap: 0.4em; padding: 0.4em 0.55em; }
  .tieout .pay .inv { display: none; }
  .tieout .pay .am { min-width: 0; }
  .tieout .sum { font-size: 0.62em; transform: translate(-55%, -50%); }
  .tieout .toast { font-size: 0.85em; }
}

.section-photo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.section-photo img { width: 100%; height: 100%; object-fit: cover; }
.section-photo::after { content: ''; position: absolute; inset: 0; }
.approach .section-photo::after {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--charcoal) 90%, transparent),
    color-mix(in srgb, var(--charcoal) 72%, transparent) 55%,
    color-mix(in srgb, var(--charcoal) 82%, transparent));
}

.contact .section-photo img { object-position: center 40%; } 
.contact .section-photo::after {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--charcoal) 92%, transparent),
    color-mix(in srgb, var(--charcoal) 66%, transparent) 50%,
    color-mix(in srgb, var(--charcoal) 30%, transparent));
}

.contact:has(.section-photo)::before, .contact:has(.section-photo)::after { display: none; }

.assessment { background: var(--ivory-soft); }
.assessment .section-head .section-lede { margin-left: auto; margin-right: auto; }
.assessment .section-head-center .section-lede { text-align: center; }

.ph { display: inline-block; padding: 0 0.35em; border-radius: 4px; background: #FFF3C4; outline: 1px dashed #C9A227; color: #6B5314; font-weight: 600; }
.offer-side .ph { background: rgba(255, 243, 196, 0.16); outline-color: rgba(255, 220, 120, 0.6); color: #FFE7A3; }
.offer {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); max-width: 1120px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.offer-main { display: grid; grid-template-columns: 1fr; gap: 34px; align-content: center; padding: clamp(28px, 3.5vw, 48px); }
.offer .mini-title { margin-bottom: 14px; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.offer .chk { display: grid; gap: 10px; }
.offer .chk li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.offer .chk { gap: 12px; }
.offer .chk li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.offer-side { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3.5vw, 44px); background: var(--charcoal); color: var(--on-dark-soft); }
.offer-side .tag { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: rgba(111, 162, 135, 0.2); color: #9FD3B6; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-side h3 { font-size: 1.5rem; color: var(--on-dark); }
.offer-side .facts { display: grid; gap: 12px; margin: 4px 0 6px; }
.offer-side .facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); font-size: 0.92rem; }
.offer-side .facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--on-dark); }
.offer-side .offer-btn { align-self: flex-start; margin-top: auto; background: var(--on-dark); color: var(--charcoal); }
.offer-side .offer-btn:hover { background: #fff; }
.offer-side .offer-btn:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
.offer-side .fine { font-size: 0.8rem; }
@media (max-width: 1000px) {
  .offer { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .offer-main { gap: 28px; }
}

.approach { background: var(--charcoal); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.approach h2, .approach h3 { color: var(--on-dark); }
.approach .section-lede { color: var(--on-dark-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--steps-gap);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}

.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--blue));
}
.step-num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sage);
}
.step h3 { font-size: 1.6rem; margin-bottom: 14px; }
.step > p { color: var(--on-dark-soft); }

.approach { --steps-gap: clamp(28px, 4vw, 56px); }

.step-out {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--on-dark) !important;
}
.step-out span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.step-out .step-link { display: inline-block; margin-top: 8px; font-weight: 600; color: #9FD3B6; border-bottom: 1px solid rgba(159, 211, 182, 0.4); transition: color 0.2s, border-color 0.2s; }
.step-out .step-link:hover { color: var(--on-dark); border-color: var(--on-dark); }
.step-out .step-link span { display: inline; margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }

.why { overflow: hidden; isolation: isolate; }

.why-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.72) 0%, rgba(251, 248, 241, 0.5) 50%, rgba(251, 248, 241, 0.28) 100%);
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}
.why-copy h2 { margin-bottom: 24px; }

.why-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.05rem; }
.why-quote {
  margin-top: 40px;
  padding-left: 22px;
  border-left: 2px solid var(--sage);
}
.why-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.35;
  color: var(--charcoal);
}

.principles { display: grid; gap: 14px; }
.principle {
  padding: 24px 28px;
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.principle h3 { font-size: 1.15rem; margin-bottom: 6px; }
.principle p { color: var(--ink-soft); font-size: 0.95rem; }

.data { background: var(--ivory-soft); }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.group { padding: 26px 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.g-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.g-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--charcoal); color: #9FD3B6; }
.g-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-num { display: block; font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--blue-deep); }
.g-head h3 { font-size: 1.35rem; line-height: 1.15; }
.group ul { display: grid; gap: 16px; }
.group li { position: relative; padding-left: 28px; font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); }
.group li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.group li b { display: block; margin-bottom: 2px; font-size: 0.95rem; font-weight: 600; color: var(--charcoal); }
@media (max-width: 1000px) {
  .groups { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .group { padding: 22px 20px; }
}

.faq { border-top: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 112px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  position: relative;
  padding: 26px 48px 26px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--sage-deep); }
.faq-list summary::before, .faq-list summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p {
  padding: 0 48px 28px 0;
  color: var(--ink-soft);
  max-width: 620px;
}

.contact {
  background: var(--charcoal);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.contact::before, .contact::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 60px solid var(--sage);
  opacity: 0.06;
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
}
.contact::after { border-color: var(--blue); left: 90px; }

.contact { background: linear-gradient(160deg, #1C4866 0%, var(--charcoal) 70%); }
.contact::before {
  left: -12%; top: 50%; transform: translateY(-50%); width: min(1000px, 80vw); height: auto; aspect-ratio: 510 / 386;
  border: 0; border-radius: 0; background: url("../images/delphi-mark.svg") center / contain no-repeat; opacity: 0.16;
}
.contact::after { display: none; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contact-copy h2 { color: var(--on-dark); margin-bottom: 20px; }
.contact-copy h2 em { color: var(--sage); } 
.contact-copy > p:not(.eyebrow) { color: var(--on-dark-soft); font-size: 1.1rem; max-width: 440px; }
.contact-copy .contact-direct { margin-top: 32px; font-size: 0.95rem; }
.contact-direct a {
  color: var(--on-dark);
  border-bottom: 1px solid var(--sage);
  transition: color 0.2s;
}
.contact-direct a:hover { color: var(--sage); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 3.6vw, 44px);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); }
.field em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: #9A958B; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(156, 175, 154, 0.35);
}
.field.invalid input, .field.invalid textarea { border-color: #A4533F; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.form-note.error { color: #A4533F; }

.footer { padding: 72px 0 32px; background: var(--ivory); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 32px; align-content: start; }
.footer-links a { font-size: 0.9rem; color: var(--ink-soft); transition: color 0.2s; }
.footer-links a:hover { color: var(--charcoal); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.footer-related { margin-top: 6px; max-width: 640px; }

@media (max-width: 1024px) {
  
  .hero-visual .flow, .hero-visual .ribbon { aspect-ratio: 16 / 10; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: 100%; max-width: 720px; }
}

@media (max-width: 900px) {
  
  .why::before { background: rgba(251, 248, 241, 0.78); }
  
  .contact .section-photo::after { background: color-mix(in srgb, var(--charcoal) 84%, transparent); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 88px var(--gutter) 28px;
    background: var(--ivory);
    box-shadow: 0 24px 48px -24px rgba(47, 47, 47, 0.25);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-links.open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease), visibility 0s;
  }
  .nav-links a {
    padding: 16px 0;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--charcoal);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-links-cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding: 15px;
    border: 0;
    border-radius: 999px;
    background: var(--sage-deep);
    color: var(--white);
    font-family: var(--sans);
    font-size: 1rem;
  }

  .section-head-split { grid-template-columns: 1fr; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }

  .pipe-heads { display: none; }
  .pipe-row { grid-template-columns: 1fr; gap: 6px; }
  .pipe-row + .pipe-row { margin-top: 36px; }
  .pipe-area { margin-bottom: 4px; }
  .pipe-arrow { height: 26px; }
  .pipe-arrow::before { left: 50%; right: auto; top: 2px; bottom: 8px; width: 1.5px; height: auto; }
  .pipe-arrow::after { left: 50%; right: auto; top: auto; bottom: 3px; transform: translateX(-50%) rotate(135deg); }
  .pipe-arrow i { display: none; }
}

@media (max-width: 560px) {
  
  .overload .hours { font-size: max(1.5cqw, 11.5px); padding: 14px 16px 16px; }
  .overload .hrow { grid-template-columns: 12.8em 1fr 3.2em; gap: 0.6em; }
  
  .service-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  }
  .service-grid::-webkit-scrollbar { display: none; }
  .service-card { scroll-snap-align: start; }
  .service-card:hover { transform: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .flow-card-foot { flex-direction: column; gap: 4px; }
  .flow-card-foot span:last-child { text-align: left; }
  .contact::before { left: -35%; top: 16%; width: 140vw; } 
}

@media (prefers-reduced-motion: reduce) {
  .pipe-arrow i { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.approach .stages { margin: -4px 0 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); }
