/* =========================================================
   TEODOR · single-page editorial design system
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:        #F5EFE6;
  --bg-soft:   #FAF6EE;
  --ink:       #1A1410;
  --ink-soft:  #2A221C;
  --muted:     #6B5F54;
  --line:      rgba(26, 20, 16, 0.10);
  --line-2:    rgba(26, 20, 16, 0.18);
  --orange:    #E16C24;
  --orange-2:  #C95A18;
  --orange-tint: rgba(225, 108, 36, 0.08);

  --max:       min(1280px, 92vw);
  --pad-x:     clamp(20px, 5vw, 64px);

  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 22px;

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --t-1:       180ms;
  --t-2:       360ms;
  --t-3:       720ms;

  /* Fluid type scale (mobile → desktop) */
  --step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
  --step--1: clamp(0.84rem, 0.80rem + 0.20vw, 0.94rem);
  --step-0:  clamp(0.98rem, 0.94rem + 0.20vw, 1.06rem);
  --step-1:  clamp(1.10rem, 1.04rem + 0.30vw, 1.22rem);
  --step-2:  clamp(1.34rem, 1.20rem + 0.70vw, 1.62rem);
  --step-3:  clamp(1.78rem, 1.50rem + 1.40vw, 2.34rem);
  --step-4:  clamp(2.40rem, 1.85rem + 2.80vw, 3.60rem);
  --step-5:  clamp(3.20rem, 2.30rem + 4.50vw, 5.40rem);
  --step-6:  clamp(4.00rem, 2.60rem + 7.00vw, 7.80rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--ink); color: var(--bg); }

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Paper grain (cheap: no blend-mode, no fixed-position repaint cost) ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0 0.03 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  /* Promote to its own layer so scroll repaints don't include it */
  will-change: transform;
  transform: translateZ(0);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress > span {
  display: block; height: 100%;
  width: 100%;
  background: var(--orange);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 4vw, 40px);
  padding: 18px var(--pad-x);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-2) var(--ease), padding var(--t-2) var(--ease);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  padding-block: 12px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 7px;
  object-fit: cover;
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__word {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 96, 'wght' 600, 'SOFT' 30;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex; justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color var(--t-1) var(--ease);
}
.nav a::after {
  content: ""; position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 1px; background: var(--orange);
  transition: right var(--t-2) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--step--1);
  font-weight: 500;
  transition: transform var(--t-1) var(--ease), background var(--t-1) var(--ease);
}
.header-cta:hover { transform: translateY(-1px); background: var(--orange); }
.header-cta svg { transition: transform var(--t-2) var(--ease); }
.header-cta:hover svg { transform: translateX(3px); }

@media (max-width: 720px) {
  .nav { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 420px) {
  .header-cta { padding: 8px 14px; font-size: 0.78rem; gap: 6px; }
  .header-cta svg { width: 13px; height: 13px; }
}

/* ---------- Layout helpers ---------- */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}

.section__label {
  position: absolute;
  top: clamp(80px, 12vw, 160px);
  left: var(--pad-x);
  display: flex; flex-direction: column; gap: 4px;
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.section__label__stage {
  display: inline-block;
  padding: 4px 10px 5px;
  margin-bottom: 8px;
  border-radius: 100px;
  background: var(--orange-tint);
  color: var(--orange);
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  width: max-content;
  line-height: 1.4;
}
.section__label > span:nth-of-type(2) {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 400;
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.section__label--inverse { color: rgba(245, 239, 230, 0.55); }
.section__label--inverse .section__label__stage {
  background: rgba(225, 108, 36, 0.18);
  color: var(--orange);
}

@media (min-width: 960px) {
  .section { padding-left: calc(var(--pad-x) + 140px); }
  .section__label { top: calc(clamp(80px, 12vw, 160px) + 14px); }
}

.section__head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 22ch; }
.section__intro {
  margin-top: 20px;
  max-width: 38ch;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
}

/* ---------- Display headings ---------- */
.h-display {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 80;
  font-weight: 380;
  font-size: var(--step-5);
  line-height: 0.96;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}
.h-display em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 100, 'WONK' 1;
  color: var(--orange);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 18vw, 200px) var(--pad-x) clamp(60px, 10vw, 120px);
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
.hero__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.hero__meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(225, 108, 36, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(225, 108, 36, 0.18); }
  50%      { box-shadow: 0 0 0 9px rgba(225, 108, 36, 0); }
}

.hero__title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 360, 'SOFT' 60;
  font-weight: 360;
  font-size: var(--step-6);
  line-height: 0.92;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 14ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .reveal {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.hero__title .italic {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 360, 'SOFT' 100, 'WONK' 1;
  color: var(--orange);
}
.hero__title.is-in .reveal {
  transform: translateY(0);
  transition: transform 1.1s var(--ease-out);
}
.hero__title.is-in .line:nth-child(2) .reveal { transition-delay: 0.10s; }

.hero__bottom {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  grid-template-columns: 1fr;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 40px);
}
@media (min-width: 880px) {
  .hero__bottom { grid-template-columns: minmax(0, 1.2fr) auto; }
}

.hero__sub {
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 36ch;
  margin: 0;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-self: end;
}

.reveal-soft {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: 0.5s;
}
.hero.is-in .reveal-soft { opacity: 1; transform: translateY(0); }
.hero.is-in .hero__ctas.reveal-soft { transition-delay: 0.7s; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 6vw, 80px);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll .line-thin {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 100%);
  animation: drop 2.6s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 500;
  font-size: var(--step--1);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--t-1) var(--ease), background var(--t-1) var(--ease), color var(--t-1) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { display: inline-grid; place-items: center; transition: transform var(--t-2) var(--ease); }
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon:not(.btn__icon--lead) svg { transform: translateX(4px); }

.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--orange); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn--xl {
  padding: clamp(20px, 2.4vw, 26px) clamp(28px, 3vw, 36px);
  font-size: var(--step-1);
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: 0;
}
.btn--xl .btn__icon svg { width: 20px; height: 20px; }
.btn--whatsapp {
  background: var(--orange);
  color: var(--bg);
  box-shadow: 0 14px 40px -12px rgba(225, 108, 36, 0.6);
}
.btn--whatsapp:hover {
  background: var(--orange-2);
  transform: translateY(-3px);
}
.btn--whatsapp .btn__icon--lead svg { width: 22px; height: 22px; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(20px, 2.5vw, 28px) 0;
  background: var(--bg-soft);
}
.marquee__track {
  display: inline-flex; gap: clamp(28px, 4vw, 56px);
  align-items: center;
  white-space: nowrap;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 60;
  font-style: italic;
  font-size: var(--step-3);
  color: var(--ink);
  animation: marquee 26s linear infinite;
  padding-left: clamp(28px, 4vw, 56px);
}
.marquee__track .bullet { color: var(--orange); font-style: normal; font-size: 0.5em; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 01 Durum (Problems) ---------- */
.problems {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.problems li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-2) var(--ease);
}
.problems li:hover { background: var(--orange-tint); }
.problems .num {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  font-size: var(--step-3);
  color: var(--orange);
  line-height: 1;
}
.problems p {
  margin: 0;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.32;
  color: var(--ink);
  max-width: 28ch;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 90, 'wght' 380, 'SOFT' 60;
}

/* ---------- 02 Çözüm ---------- */
.section--solution { padding-top: clamp(40px, 6vw, 80px); }
.solution { max-width: 32ch; }
.solution .h-display { margin-bottom: clamp(28px, 4vw, 40px); }
.lede {
  font-size: var(--step-2);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 38ch;
}
.lede--accent {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  color: var(--orange);
  font-size: var(--step-3);
  line-height: 1.2;
}

/* ---------- 03 Hizmetler ---------- */
.services__head { max-width: none; display: grid; gap: clamp(28px, 4vw, 40px); }
@media (min-width: 880px) {
  .services__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
  .services__head .section__intro { margin-top: 0; }
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .services {
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid var(--line);
  }
  .services .service { border-right: 1px solid var(--line); }
}

.service {
  position: relative;
  padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  display: grid; gap: 18px;
  transition: background var(--t-2) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--orange-tint);
  transition: width var(--t-3) var(--ease);
  z-index: -1;
}
.service:hover::before { width: 100%; }
.service header {
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.service__num {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  font-size: var(--step-3);
  color: var(--orange);
  line-height: 1;
}
.service__title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 420, 'SOFT' 50;
  font-weight: 420;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.service > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 38ch;
}
.service__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  font-size: var(--step--1);
  color: var(--muted);
}
.service__list li {
  position: relative;
  padding-left: 18px;
}
.service__list li::before {
  content: ""; position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 1px;
  background: var(--orange);
}

/* ---------- 04 Süreç ---------- */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: minmax(80px, 140px) 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step__num {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 80;
  font-style: italic;
  font-size: clamp(2.4rem, 1.8rem + 3vw, 4.4rem);
  color: var(--orange);
  line-height: 1;
}
.step__body h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 420, 'SOFT' 50;
  font-weight: 420;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.step__body p {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* ---------- 05 Neden ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.why__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t-2) var(--ease);
}
.why__row:hover { padding-left: 12px; }
@media (min-width: 800px) {
  .why__row {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: baseline;
  }
}
.why__row h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 60;
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.005em;
}
.why__row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 55ch;
}

/* ---------- 06 CTA ---------- */
.section--cta {
  margin-top: clamp(60px, 10vw, 120px);
  background: var(--ink);
  color: var(--bg);
  border-radius: clamp(16px, 3vw, 32px);
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  max-width: var(--max);
  position: relative;
  overflow: hidden;
}
@media (min-width: 960px) {
  .section--cta { padding-left: calc(var(--pad-x) + 140px); }
}
.section--cta::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(225, 108, 36, 0.45), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.section--cta::after {
  content: "TEODOR";
  position: absolute;
  right: -2vw; bottom: -3vw;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 300, 'SOFT' 80;
  font-style: italic;
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 0.8;
  color: rgba(245, 239, 230, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.cta { position: relative; z-index: 1; max-width: 30ch; }
.cta__eyebrow {
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 28px;
  font-weight: 500;
}
.cta__title { color: var(--bg); margin: 0 0 28px; }
.cta__title em { color: var(--orange); }
.cta__sub {
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(245, 239, 230, 0.7);
  margin: 0 0 40px;
  max-width: 38ch;
}
.cta__fine {
  margin: 24px 0 0;
  font-size: var(--step--1);
  color: rgba(245, 239, 230, 0.55);
}
.cta__fine a {
  color: rgba(245, 239, 230, 0.9);
  border-bottom: 1px solid rgba(245, 239, 230, 0.3);
  padding-bottom: 1px;
  transition: color var(--t-1) var(--ease), border-color var(--t-1) var(--ease);
}
.cta__fine a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) var(--pad-x) clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: var(--step--1);
  color: var(--muted);
}
.footer__brand {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 96, 'wght' 600, 'SOFT' 30;
  color: var(--ink);
  font-size: var(--step-0);
  letter-spacing: 0.02em;
}
.footer__sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange);
}
.footer__row a { transition: color var(--t-1) var(--ease); }
.footer__row a:hover { color: var(--orange); }
.footer__note {
  font-size: var(--step--2);
  color: var(--muted);
  margin: 0;
}

/* ---------- Mobile FAB ---------- */
.fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 80;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg);
  box-shadow: 0 12px 30px -8px rgba(225, 108, 36, 0.55), 0 2px 4px rgba(0,0,0,0.08);
  transform: translateY(120%) scale(0.8);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), background var(--t-1) var(--ease);
}
.fab svg { width: 26px; height: 26px; }
.fab[data-show="true"] { transform: translateY(0) scale(1); opacity: 1; }
.fab:hover { background: var(--orange-2); }
.fab::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(225, 108, 36, 0.4);
  animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring {
  0%   { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (min-width: 880px) {
  .fab { display: none; }
}

/* ---------- Reveal-on-scroll utility ---------- */
.in-view-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.in-view-target.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile fine-tuning ---------- */
@media (max-width: 720px) {
  .section__label {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 28px;
    gap: 10px 14px;
  }
  .section__label__stage { margin-bottom: 0; }
  .section__label > span:nth-of-type(2) { font-size: var(--step-2); }
  .section { padding-left: var(--pad-x); }

  .hero__sub { font-size: var(--step-1); }

  .services { border-left: none; }
  .services .service { border-right: none; }
  .service header { gap: 14px; }

  .step { grid-template-columns: 1fr; gap: 14px; }
  .step__num { font-size: 2.6rem; }
}

/* ---------- Tiny touch on tap-target focus states ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 6px; }
