/* Second Look Web Design — stylesheet
   Palette is set once as tokens. Dark mode redefines the same tokens.
   The accent color is used only for interactive elements and the
   before/after handle. Everything else is ink, paper, and muted tones. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #F5F1E8;
  --card: #FBF9F4;
  --ink: #141B2D;
  --muted: #545B6E;
  --line: #D9D2C3;
  --sketch: #8E8674;
  --accent: #7D5418;
  --accent-fill: #B0823A;
  --on-accent: #FBF9F4;
  --radius: 14px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #12151D;
    --card: #191D27;
    --ink: #EFEBE2;
    --muted: #B3B9C8;
    --line: #353B4B;
    --sketch: #7A8193;
    --accent: #E2B26E;
    --accent-fill: #D9A95E;
    --on-accent: #12151D;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #12151D;
  --card: #191D27;
  --ink: #EFEBE2;
  --muted: #B3B9C8;
  --line: #353B4B;
  --sketch: #7A8193;
  --accent: #E2B26E;
  --accent-fill: #D9A95E;
  --on-accent: #12151D;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background: slow warm light and fine grain, behind all content. */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 75% 15%, rgba(176, 130, 58, 0.18), transparent 70%),
    radial-gradient(45% 40% at 8% 38%, rgba(20, 27, 45, 0.08), transparent 70%),
    radial-gradient(38% 32% at 62% 88%, rgba(176, 130, 58, 0.12), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.08'/></svg>");
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}

img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 16px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.text-link {
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

section { padding: 96px 0; scroll-margin-top: 72px; }
.section-alt {
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 46rem; margin-bottom: 48px; }
.no-top { padding-top: 0; }

/* Header and footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand span { color: var(--muted); font-weight: 500; }
nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--muted); padding: 6px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.site-footer { padding: 64px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.site-footer a { color: var(--muted); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: 0 12px 24px -14px var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Hero */
.hero { padding: 64px 0 96px; }
.hero-short { padding-bottom: 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-compare { margin: 0; }
.hero-compare figcaption { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* Before and after comparison (homepage hero and Work page).
   Both images share one aspect ratio and width, so they show at the same scale. */
.compare {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  --pos: 50%;
  background: var(--card);
  box-shadow: 0 40px 70px -44px rgba(20, 27, 45, 0.5);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.compare-lg { aspect-ratio: 1600 / 1565; }
.compare-pf { aspect-ratio: 1600 / 794; }
.compare > img,
.compare > picture { position: absolute; top: 0; left: 0; width: 100%; height: auto; pointer-events: none; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--ink);
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--accent-fill);
  border: 3px solid var(--paper);
  box-shadow: 0 6px 18px -6px rgba(20, 27, 45, 0.6);
  cursor: ew-resize;
  z-index: 2;
}
.compare-handle::before,
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateY(-50%);
}
.compare-handle::before { left: 9px; border-width: 6px 8px 6px 0; border-color: transparent var(--on-accent) transparent transparent; }
.compare-handle::after { right: 9px; border-width: 6px 0 6px 8px; border-color: transparent transparent transparent var(--on-accent); }
.compare.dragging { cursor: ew-resize; }
.side {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  cursor: pointer;
}
.side-before { left: 0; width: var(--pos); }
.side-after { left: var(--pos); right: 0; }
.side:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }
.tag {
  position: absolute;
  top: 14px;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.tag-before { left: 14px; background: var(--muted); }
.tag-after { right: 14px; }
.compare-control { display: block; margin-top: 16px; }
.compare-control input { width: 100%; accent-color: var(--ink); }
.compare-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.compare-wrap { margin-bottom: 64px; }
.compare-title { margin-bottom: 16px; }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.proof-item { margin: 0; }
.proof-value { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.proof-label { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.proof-note { font-size: 0.82rem; color: var(--muted); margin-top: 16px; margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card p:last-child { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.case-title { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.case-title:hover { color: var(--accent); }

/* Case-study cards with device mockups.
   Each card is a column, so the link at the bottom lines up across cards. */
.case { display: flex; flex-direction: column; }
.case-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.case-body .text-link { margin-top: auto; align-self: flex-start; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; }
.case-stage { position: relative; padding-bottom: 32px; }
.device-desktop {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 30px 50px -36px rgba(20, 27, 45, 0.55);
}
.device-bar {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.device-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--card); display: block; opacity: 0.8; }
.device-desktop picture { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.device-desktop picture img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-phone {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 26%;
  margin: 0;
  border-radius: 22px;
  border: 7px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(20, 27, 45, 0.7);
}
.device-phone img { width: 100%; height: auto; }
.inset {
  position: absolute;
  left: 4%;
  bottom: 40px;
  width: 26%;
  margin: 0;
  border: 2px solid var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 30px -18px rgba(20, 27, 45, 0.7);
  background: var(--card);
}
.inset img { width: 100%; height: auto; }
.inset figcaption {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--muted);
  color: var(--paper);
  padding: 3px 7px;
  border-radius: 999px;
}
.case-body h3 { margin-bottom: 4px; }
.case-place { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; }
.case-change { color: var(--ink); margin-bottom: 16px; }
/* Testimonial slot: a blockquote that holds only a comment is :empty and hides itself. */
.pull-quote {
  margin: 0 0 16px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.pull-quote:empty { display: none; }
.pull-quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.88rem; margin-top: 4px; }

/* Who you're working with */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.photo-slot {
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 2px dashed var(--sketch);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.about-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.about-photo picture { display: block; height: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; }
.checklist li::before { content: "\2014"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }

/* Process timeline: horizontal on desktop, vertical on phones */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: var(--line);
}
.timeline li { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 24px;
}
.duration { font-size: 0.9rem; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.timeline-total { margin-top: 32px; font-size: 1.05rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-email { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; word-break: break-word; }
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field .hint { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--sketch);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }

/* Thanks page */
.thanks { min-height: 60vh; display: flex; align-items: center; }

/* Pricing grid: each row of cards shares row heights through subgrid */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 24px;
}
.tier {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.tier.featured { border: 2px solid var(--ink); }
/* Cards outside a tier grid (hosting, SEO) stack normally. */
.cards > .tier { display: flex; flex-direction: column; grid-row: auto; }
.cards > .tier .label, .cards > .tier .price, .cards > .tier .note, .cards > .tier ul { flex: 0 0 auto; }
.cards > .tier ul { flex: 1 1 auto; }
.tier-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tier .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1.1; margin: 10px 0 4px; }
.price small { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.note { font-size: 0.92rem; color: var(--muted); margin: 0 0 16px; }
.tier ul { padding: 0; list-style: none; margin: 16px 0 0; }
.tier li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; }
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); }
.price-table th { background: var(--paper); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-top: none; }
.price-table td.amount { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; }

/* Screen explainer: a phone with a long page split into numbered screens */
.explainer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.phone {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  border: 8px solid var(--ink);
  border-radius: 34px;
  padding: 28px 10px;
  background: var(--card);
}
.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 56px;
  height: 6px;
  margin-left: -28px;
  border-radius: 999px;
  background: var(--line);
}
.phone-page { display: grid; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.phone-screen {
  position: relative;
  height: 96px;
  padding: 12px;
  border-bottom: 1.5px dashed var(--sketch);
  background: var(--paper);
}
.phone-screen:last-child { border-bottom: 0; }
.phone-screen b {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.phone-screen span { display: block; height: 8px; border-radius: 4px; background: var(--sketch); margin-bottom: 6px; opacity: 0.7; width: 80%; }
.phone-screen span:nth-child(2) { width: 62%; }
.phone-screen span:nth-child(3) { width: 74%; }
.explainer-copy ol { padding: 0; list-style: none; margin: 24px 0 0; display: grid; gap: 16px; }
.explainer-copy li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.explainer-copy li b {
  font-family: var(--font-display);
  font-size: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* FAQ */
.faq { display: grid; gap: 16px; max-width: 46rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 24px; color: var(--muted); }

/* Sticky mini call to action */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  width: min(calc(100% - 32px), 560px);
  transform: translate(-50%, 160%);
  transition: transform 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 40px -20px rgba(20, 27, 45, 0.7);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta p { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--paper); }
.sticky-cta a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  font-weight: 700;
}
.sticky-cta .sticky-close {
  background: transparent;
  border: 0;
  color: var(--paper);
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}
.sticky-cta a:focus-visible, .sticky-cta .sticky-close:focus-visible { outline-color: var(--paper); }

/* Archived copies of the original sites */
.archive { margin: 0; }
.archive img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -36px rgba(20, 27, 45, 0.45);
}
.archive figcaption { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

/* Scroll reveal. Content stays visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* Tablet and below */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 0 64px; }
  .about-grid, .contact-grid, .explainer { grid-template-columns: 1fr; gap: 48px; }
  .photo-slot { aspect-ratio: 16 / 10; }
  .tier-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; row-gap: 24px; }
  .tier { display: flex; flex-direction: column; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { top: 0; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
  .timeline li { padding-left: 64px; min-height: 40px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .form-row { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .device-phone { width: 30%; }
  .sticky-cta p { font-size: 0.86rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  nav ul { gap: 16px; }
  nav a { font-size: 0.9rem; }
  .brand span { display: none; }
  .price-table th, .price-table td { padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta a { padding: 9px 14px; }
}
