/* ==========================================================================
   Heckington Studios — site styles
   Palette: warm paper, ink, terracotta. One family of tones throughout.
   ========================================================================== */

:root {
  --paper:      #f7f3ea;
  --paper-2:    #efe8da;
  --sand:       #e3d6c0;
  --ink:        #191612;
  --ink-soft:   #221e19;
  --body:       #423a31;
  --muted:      #6d6156;
  --rule:       rgba(25, 22, 18, 0.13);
  --rule-soft:  rgba(25, 22, 18, 0.07);
  --accent:     #bf4f2a;
  --accent-dk:  #94381a;
  --accent-tint:#f6e3d8;

  --shadow-sm: 0 1px 2px rgba(25, 22, 18, .05), 0 4px 12px -6px rgba(25, 22, 18, .12);
  --shadow-md: 0 2px 4px rgba(25, 22, 18, .04), 0 18px 40px -22px rgba(25, 22, 18, .35);
  --shadow-lg: 0 3px 6px rgba(25, 22, 18, .05), 0 44px 80px -40px rgba(25, 22, 18, .45);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", Helvetica, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;
  --radius: 4px;
  --radius-lg: 10px;
}

/* --------------------------------------------------------- reset / base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 24, "WONK" 1, "opsz" 72;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-dk); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }

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

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

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Fine paper grain over everything — fixed, never repainted on scroll. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.22'/></svg>");
}

.skip-link {
  position: absolute;
  left: 1rem; top: -6rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* --------------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: clamp(3.75rem, 8vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--sand { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--rule); }

.section--dark {
  background: var(--ink);
  color: #cfc5b8;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.section--dark a { color: #f0b699; }
.section--dark .eyebrow { color: #a2907f; }
.section--dark .eyebrow::before { background: var(--accent); }

/* ---------------------------------------------------------- typography */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.h-xl {
  font-size: clamp(2.6rem, 1.3rem + 5.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h-lg { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.5rem); }
.h-md { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
.h-sm { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); letter-spacing: -0.015em; }

.lede {
  font-size: clamp(1.09rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--body);
  max-width: var(--measure);
}
.section--dark .lede { color: #bdb1a3; }

.small { font-size: 0.875rem; line-height: 1.6; }
.muted { color: var(--muted); }
.section--dark .muted { color: #9b8b7b; }
.ital { font-style: italic; font-variation-settings: "SOFT" 40, "WONK" 1; }
.accent-text { color: var(--accent-dk); }

.underline-mark {
  background-image: linear-gradient(to top, var(--accent-tint) 0.32em, transparent 0.32em);
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  padding: 1.05rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1em; height: 1em; flex: none; transition: transform .22s cubic-bezier(.2,.7,.3,1); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: #fff8f2;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-dk); color: #fff8f2; box-shadow: var(--shadow-md); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; color: var(--paper); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(25,22,18,.03); color: var(--ink); }

.section--dark .btn--ghost { color: var(--paper); border-color: rgba(247,243,234,.28); }
.section--dark .btn--ghost:hover { border-color: var(--paper); background: rgba(247,243,234,.06); color: var(--paper); }

.btn--lg { padding: 1.25rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--accent-dk);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow svg { width: 0.85em; height: 0.85em; transition: transform .22s cubic-bezier(.2,.7,.3,1); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header[data-stuck="true"] {
  border-bottom-color: var(--rule);
  box-shadow: 0 12px 30px -26px rgba(25,22,18,.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark {
  width: auto;
  height: 2.35rem;
  flex: none;
  object-fit: contain;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 30;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  padding-block: 0.35rem;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.15rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.2,.7,.3,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.nav > .btn { display: none; }

.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.header-cta .btn { padding: 0.8rem 1.2rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 2.9rem; height: 2.9rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), opacity .18s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-90deg) translateX(-4.5px); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed;
    inset: 4.75rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.75rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.3,1), visibility .25s;
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    font-size: 1.1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.25rem; display: inline-flex; }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(3rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -12%;
  width: min(65vw, 780px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(191,79,42,.13), rgba(191,79,42,0) 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--rule-soft) 1px, transparent 1px);
  background-size: 100% 2.5rem;
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
}

.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { margin-bottom: 2rem; }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.95rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.price-tag b {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0;
  font-variation-settings: "SOFT" 20, "opsz" 20;
}
.price-tag i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 2.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  list-style: none;
  padding-inline: 0;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-facts svg { width: 0.95rem; height: 0.95rem; color: var(--accent); flex: none; }

/* ---------------------------------------------------- browser previews */

.browser {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(25,22,18,.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-1.4deg) rotateX(0.6deg);
}
.browser--flat { transform: none; }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(#f2ede4, #e9e2d5);
  border-bottom: 1px solid rgba(25,22,18,.1);
}
.browser-dots { display: flex; gap: 0.35rem; flex: none; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(25,22,18,.16); }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.28rem 0.7rem;
  text-align: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--paper-2);
}
.preview iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1440px;
  height: 945px;
  border: 0;
  transform-origin: 0 0;
  transform: scale(var(--s, 0.34));
  pointer-events: none;
}
.preview--tall { aspect-ratio: 16 / 13; }
.preview--tall iframe { height: 1170px; }

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.preview-tabs button {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.preview-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.preview-tabs button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.demo-flag {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(25,22,18,.85);
  color: var(--paper);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------- cards */

.card {
  background: #fdfbf6;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.card--lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(25,22,18,.22);
}
.card__num {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
  display: block;
}

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fdfbf6;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card__top {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(191,79,42,.08), transparent 62%),
    #fdfbf6;
}
.service-card__body { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.5rem; flex: 1; }
.service-card__price {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0.7rem 0 0.35rem;
}
.service-card__foot { margin-top: auto; }

/* ---------------------------------------------------------------- lists */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.97rem;
  line-height: 1.5;
}
.ticks svg {
  width: 1.35rem; height: 1.35rem;
  color: var(--accent);
  margin-top: 0.1rem;
}
.ticks--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0.7rem 1.6rem; }
.section--dark .ticks svg { color: #e08b62; }

.arrow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.arrow-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.97rem;
}
.arrow-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.7rem; height: 1px;
  background: var(--accent);
}

/* ---------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  counter-reset: step;
}
.step {
  padding: 2rem clamp(1rem, 2vw, 1.75rem) 2rem 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: clamp(1rem, 2vw, 1.75rem); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--sand);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  transition: color .3s ease;
}
.step:hover::before { color: var(--accent); }
.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--rule); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-left: 0 !important; padding-block: 1.6rem; }
  .step:last-child { border-bottom: 0; }
  .step::before { font-size: 1.9rem; margin-bottom: 0.6rem; }
}

/* two-column variant, for use inside a split column */
.steps--2 { grid-template-columns: 1fr 1fr; }
.steps--2 .step { border-bottom: 1px solid var(--rule); padding-block: 1.5rem; }
.steps--2 .step:nth-child(2n) { border-right: 0; }
.steps--2 .step:nth-child(n+3) { border-bottom: 0; }
.steps--2 .step::before { font-size: 1.9rem; }
@media (max-width: 520px) {
  .steps--2 { grid-template-columns: 1fr; }
  .steps--2 .step:nth-child(n+3) { border-bottom: 1px solid var(--rule); }
  .steps--2 .step:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------- splits */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split--even { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.split--center { align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.sticky-head { position: sticky; top: 7rem; }
@media (max-width: 880px) { .sticky-head { position: static; } }

@media (min-width: 881px) {
  .split--flip > *:first-child { order: 2; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips a {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--body);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: #fdfbf6;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chips a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* confirmation badge (thank-you page) */
.tick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid rgba(191,79,42,.28);
  color: var(--accent-dk);
}
.tick-badge svg { width: 2rem; height: 2rem; }

/* ------------------------------------------------------------- benefits */

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.benefit {
  background: #fdfbf6;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: background-color .25s ease;
}
.benefit:hover { background: #fffdf9; }
.benefit h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.benefit p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.section--dark .benefits { background: rgba(247,243,234,.16); border-color: rgba(247,243,234,.16); }
.section--dark .benefit { background: #211d19; }
.section--dark .benefit:hover { background: #262119; }
.section--dark .benefit h3 { color: var(--paper); }
.section--dark .benefit p { color: #9b8b7b; }
.benefit svg { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-bottom: 1rem; }

/* ------------------------------------------------------------ statement */

.statement {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22ch;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
}
.section--dark .statement { color: var(--paper); }
.statement em {
  font-style: italic;
  color: var(--accent);
}
.section--dark .statement em { color: #e79466; }

/* ------------------------------------------------------------- pricing */

.price-panel {
  background: var(--ink);
  color: #c9bfb2;
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 4vw, 3.25rem);
  position: relative;
  overflow: hidden;
}
.price-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  right: -15%;
  width: 30rem; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(191,79,42,.35), transparent 66%);
  pointer-events: none;
}
.price-panel > * { position: relative; }
.price-panel h2, .price-panel h3 { color: var(--paper); }
.price-panel .ticks svg { color: #e08b62; }
.price-panel .split > * { position: relative; }
.price-figure {
  font-family: var(--display);
  font-size: clamp(4.2rem, 2rem + 10vw, 7.5rem);
  line-height: 0.85;
  color: var(--paper);
  letter-spacing: -0.045em;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 144;
  margin: 0.4rem 0;
  display: block;
}
.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #a3927f;
}
.price-meta li { display: flex; align-items: center; gap: 0.9rem; }
.price-meta li:not(:last-child)::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.note-box {
  border-left: 2px solid var(--accent);
  padding: 0.15rem 0 0.15rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 58ch;
}
.section--dark .note-box { color: #a99a8a; }

/* ------------------------------------------------------------ portfolio */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.work-grid--feature { grid-template-columns: 1fr; }

.work {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  group: work;
}
.work-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.work:hover .work-media { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-body { padding-top: 1.35rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.work-body h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.work-cat {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-open {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--accent-dk);
  padding-top: 0.35rem;
}
.work-open svg { width: 0.8em; height: 0.8em; transition: transform .22s ease; }
.work:hover .work-open svg { transform: translate(3px, -3px); }

/* before / after comparison */
.compare {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
  background: #fff;
  touch-action: pan-y;
}
.compare .preview { aspect-ratio: 16 / 9.6; }
.compare-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: var(--split, 55%);
  border-right: 2px solid var(--accent);
}
.compare-after .preview { width: var(--pane-w, 100%); }
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 55%);
  width: 2.6rem;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.compare-handle::before {
  content: "";
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 18px -6px rgba(25,22,18,.6);
}
.compare-handle::after {
  content: "";
  position: absolute;
  width: 0.85rem; height: 0.85rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(.9);
  box-shadow: 0.42rem -0.42rem 0 -0.06rem transparent;
}
.compare-label {
  position: absolute;
  bottom: 0.85rem;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(25,22,18,.85);
  color: var(--paper);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
}
.compare-label--before { right: 0.85rem; }
.compare-label--after { left: 0.85rem; }

/* ------------------------------------------------------------------ faq */

.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.28rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 24, "WONK" 1, "opsz" 40;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-dk); }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.85rem; height: 0.85rem;
  margin-top: 0.4rem;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-answer {
  padding: 0 0 1.5rem;
  max-width: 66ch;
  color: var(--body);
  animation: fade-up .3s ease both;
}
.faq-answer p { font-size: 0.97rem; }

/* ----------------------------------------------------------------- form */

.form-shell {
  background: #fdfbf6;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
}
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .fieldset-legend {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}
.field label .opt { color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: none; }

.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  appearance: none;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236d6156' stroke-width='1.6'><path d='M1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 0.7rem;
  padding-right: 2.4rem;
}
.field input::placeholder, .field textarea::placeholder { color: #a1968a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(25,22,18,.28); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(191,79,42,.15);
  background: #fff;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #b3341f; background: #fdf5f2; }

.error-msg {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a52d19;
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.field[data-invalid="true"] .error-msg,
fieldset[data-invalid="true"] .error-msg { display: flex; }
.error-msg svg { width: 1em; height: 1em; flex: none; }
fieldset[data-invalid="true"] .choice { border-color: #b3341f; }
fieldset.field--full { border: 0; padding: 0; margin: 0; min-width: 0; }

.choice-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 0.6rem; margin-top: 0.55rem; }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  background: #fffdf8;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--body);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .dot {
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  border: 1.5px solid rgba(25,22,18,.3);
  flex: none;
  display: grid;
  place-items: center;
  transition: border-color .18s ease;
}
.choice .dot::after {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .2s cubic-bezier(.2,.7,.3,1);
}
.choice:hover { border-color: rgba(25,22,18,.35); }
.choice:has(input:checked) { border-color: var(--accent); background: #fff7f2; color: var(--ink); }
.choice:has(input:checked) .dot { border-color: var(--accent); }
.choice:has(input:checked) .dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

fieldset { border: 0; margin: 0; padding: 0; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: #9b8b7b;
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(247,243,234,.12);
}
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.site-footer .brand-name { color: var(--paper); }
/* The logo mark is dark navy, so it sits on a light chip in the dark footer. */
.site-footer .brand-mark {
  height: 2.7rem;
  padding: 0.3rem 0.4rem;
  background: var(--paper);
  border-radius: 10px;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d6e5f;
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-list a { color: #cfc5b8; text-decoration: none; }
.footer-list a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 0.2em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: #7d6e5f;
}
.footer-bottom a { color: #9b8b7b; }

/* ---------------------------------------------------------- cta ribbon */

.cta-band {
  background:
    radial-gradient(90% 130% at 12% 0%, rgba(191,79,42,.16), transparent 60%),
    var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

/* ------------------------------------------------------------ page head */

.page-head {
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: -60%; left: 62%;
  width: 40rem; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(191,79,42,.11), transparent 66%);
  pointer-events: none;
}
.page-head > .wrap { position: relative; }
.page-head h1 { margin-bottom: 1rem; }

.breadcrumb {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dk); }
.breadcrumb span { color: var(--sand); margin-inline: 0.4rem; }

/* -------------------------------------------------------------- utility */

.stack > * + * { margin-top: var(--gap, 1.5rem); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.25rem; }
.center { text-align: center; margin-inline: auto; }
.nowrap { white-space: nowrap; }

.rule-top { border-top: 1px solid var(--rule); padding-top: 1.5rem; }

/* -------------------------------------------------------------- reveals */

.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-in {
  animation: fade-up .7s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
