/* ═══════════════════════════════════════════════════════════
   BREAKPOINT // Websites for small businesses
   Aesthetic: warm-paper editorial · bold confident type
   Display: Fraunces · Body: Hanken Grotesk · Mono: JetBrains Mono
   ═══════════════════════════════════════════════════════════ */

/* ---------- TOKENS ---------- */
:root {
  --paper:      #f1ede1;
  --paper-2:    #e8e1d0;
  --paper-3:    #ddd4be;
  --ink:        #1a1712;
  --ink-2:      #56503f;
  --ink-soft:   rgba(26, 23, 18, 0.6);
  --line:       rgba(26, 23, 18, 0.16);
  --line-soft:  rgba(26, 23, 18, 0.09);
  --accent:     #ee3b11;
  --accent-2:   #ff5a2e;
  --on-dark:    #efe9da;
  --on-dark-2:  rgba(239, 233, 218, 0.62);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-sans:    "Hanken Grotesk", -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --pad-x: clamp(1.25rem, 5.2vw, 6rem);
  --maxw:  1320px;

  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; }

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

/* ---------- TYPOGRAPHY HELPERS ---------- */
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.section-title em {
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.tag-num {
  display: inline-grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font-size: 0.68rem;
  letter-spacing: 0;
}

/* ---------- LAYOUT ---------- */
.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 9rem) var(--pad-x);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
  max-width: 40rem;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- GRAIN ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 940;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(241, 237, 225, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.15rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding 0.4s var(--ease);
}
.nav.scrolled .nav-inner { padding-block: 0.8rem; }

.wordmark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.wordmark-dot {
  width: 0.62rem; height: 0.62rem;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
  transition: transform 0.4s var(--ease);
}
.wordmark:hover .wordmark-dot { transform: scale(1.45); }

.nav-links {
  display: flex;
  gap: 2.3rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
.nav-links a::before {
  content: attr(data-num);
  font-family: var(--f-mono);
  font-size: 0.58rem;
  color: var(--accent);
  position: absolute;
  top: -0.55rem; left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::before { opacity: 1; top: -0.75rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(238, 59, 17, 0.7);
}
.btn-primary:hover { background: var(--ink); box-shadow: 0 12px 30px -12px rgba(26,23,18,0.6); }

.btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding-block: calc(0.95rem - 1.5px);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-nav {
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}
.btn-nav:hover { background: var(--accent); transform: translateY(-2px); }

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

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 17px; height: 1.7px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s ease;
}
.nav-toggle span:first-child { transform: translate(-50%, -4px); }
.nav-toggle span:last-child { transform: translate(-50%, 4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: var(--ink);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad-x) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}
.mobile-menu.open {
  clip-path: inset(0 0 0% 0);
  pointer-events: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 9vw, 3.2rem);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(239, 233, 218, 0.14);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.25s ease;
}
.mobile-menu.open nav a { transform: translateY(0); opacity: 1; }
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.30s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.36s; }
.mobile-menu nav a:hover { color: var(--accent-2); }
.mm-num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--accent-2);
}
.mobile-menu-foot {
  margin-top: 2.5rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(7rem, 14vh, 11rem) var(--pad-x) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; max-width: 100%; }

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.8rem;
}
.pulse {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(238, 59, 17, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(238,59,17,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(238,59,17,0); }
  100% { box-shadow: 0 0 0 0 rgba(238,59,17,0); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-optical-sizing: auto;
  margin-bottom: 1.6rem;
}
.hero-title .line {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-title .line > span {
  display: block;
  animation: rise 1.05s var(--ease) both;
}
.hero-title em {
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.27s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.39s; }
@keyframes rise {
  from { transform: translateY(115%); }
  to   { transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero-sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--ink-2);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ruler motif */
.ruler { margin-top: 3.2rem; max-width: 520px; }
.ruler-track {
  position: relative;
  height: 46px;
  border-top: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
  padding-top: 0;
}
.tick {
  width: 1.5px;
  height: 9px;
  background: var(--ink);
  opacity: 0.5;
}
.tick.t-lg { height: 16px; opacity: 0.9; }
.ruler-marker {
  position: absolute;
  top: 14px;
  left: 62%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: marker-slide 5s var(--ease) infinite alternate;
}
.ruler-marker .dot {
  width: 0.7rem; height: 0.7rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(238, 59, 17, 0.18);
}
@keyframes marker-slide {
  0%   { left: 24%; }
  100% { left: 78%; }
}

.hero-traits {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 3.4rem;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.hero-traits li { display: flex; align-items: center; gap: 1.6rem; }
.hero-traits li::before {
  content: "✳";
  color: var(--accent);
  font-size: 0.7rem;
}

/* ═══════════ RESPONSIVE DEMO ═══════════ */
.bpdemo {
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.bpdemo-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x);
}
.bpdemo-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem);
}
.bpdemo-tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}
.bpdemo-line {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 26ch;
  text-wrap: balance;
}
.bpdemo-line em {
  font-style: italic;
  color: var(--accent-2);
}

.bpdemo-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.bpdemo-readout {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.05rem;
  border: 1px solid rgba(239, 233, 218, 0.18);
  border-radius: 100px;
  background: rgba(239, 233, 218, 0.05);
}
.bpdemo-pip {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s infinite;
}
.bpdemo-w {
  color: var(--accent-2);
  font-weight: 700;
  min-width: 3ch;
  text-align: right;
}
.bpdemo-sep {
  color: rgba(239, 233, 218, 0.3);
}
.bpdemo-dev {
  color: var(--on-dark-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.bpdemo-frame {
  position: relative;
  width: min(940px, 86vw);
  height: 340px;
  container-type: inline-size;
  animation: bp-resize 9s var(--ease-2) infinite;
}
@keyframes bp-resize {
  0%, 13%   { width: 340px; }
  27%, 41%  { width: 660px; }
  55%, 86%  { width: min(940px, 86vw); }
  100%      { width: 340px; }
}
.bpdemo-handle {
  position: absolute;
  top: 50%;
  right: -9px;
  transform: translateY(-50%);
  width: 18px;
  height: 54px;
  background: var(--accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -4px rgba(238, 59, 17, 0.65);
}
.bpdemo-handle span {
  width: 2px;
  height: 22px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  box-shadow:
    4px 0 0 rgba(255, 255, 255, 0.8),
    -4px 0 0 rgba(255, 255, 255, 0.8);
}

/* ── mini website inside the frame ── */
.ms {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.72);
}
.ms-chrome {
  flex: none;
  height: 27px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}
.ms-chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 23, 18, 0.2);
}
.ms-chrome span:first-child {
  background: var(--accent);
}
.ms-body {
  flex: 1;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}
.ms-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ms-logo {
  width: 46px;
  height: 12px;
  border-radius: 3px;
  background: var(--ink);
}
.ms-links {
  display: flex;
  gap: 11px;
}
.ms-links span {
  width: 30px;
  height: 7px;
  border-radius: 3px;
  background: rgba(26, 23, 18, 0.26);
}
.ms-burger {
  display: none;
  flex-direction: column;
  gap: 3px;
}
.ms-burger span {
  width: 19px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
}
.ms-hero {
  display: flex;
  gap: 15px;
  align-items: center;
}
.ms-htext {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ms-h1 {
  height: 14px;
  width: 100%;
  border-radius: 3px;
  background: var(--ink);
}
.ms-h1.short {
  width: 58%;
}
.ms-p {
  height: 7px;
  width: 82%;
  border-radius: 3px;
  background: rgba(26, 23, 18, 0.3);
  margin-top: 3px;
}
.ms-btn {
  width: 88px;
  height: 23px;
  border-radius: 100px;
  background: var(--accent);
  margin-top: 7px;
}
.ms-art {
  flex: none;
  width: 38%;
  height: 100px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
}
.ms-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.ms-card {
  height: 92px;
  border-radius: 9px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

/* container queries — the layout reflows with the frame width */
@container (max-width: 820px) {
  .ms-cards { grid-template-columns: repeat(2, 1fr); }
  .ms-art { width: 42%; height: 88px; }
}
@container (max-width: 520px) {
  .ms-links { display: none; }
  .ms-burger { display: flex; }
  .ms-hero { flex-direction: column; align-items: stretch; }
  .ms-art { width: 100%; height: 74px; order: -1; }
  .ms-cards { grid-template-columns: 1fr; }
}
/* on small screens the auto-resize has no room — show a static site */
@media (max-width: 760px) {
  .bpdemo-frame {
    animation: none;
    width: 100%;
  }
  .bpdemo-handle { display: none; }
}

/* ═══════════ STATEMENT ═══════════ */
.statement {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(5rem, 11vw, 10rem) var(--pad-x);
}
.statement-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.1vw, 3.6rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
  max-width: 26ch;
}
.statement-text em {
  font-style: italic;
  color: var(--accent);
}

/* ═══════════ SERVICES ═══════════ */
.services-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 5rem 1fr 3rem;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.8rem, 3.5vw, 3rem) 0.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.service:hover {
  background: var(--paper-2);
  padding-left: 1.5rem;
}
.service:hover::before { transform: scaleY(1); }
.service-num {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 0.35rem;
}
.service-body h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.7rem;
}
.service-body p {
  color: var(--ink-2);
  max-width: 56ch;
  font-size: 1.02rem;
}
.service-mark {
  font-size: 1.5rem;
  color: var(--ink-2);
  transition: transform 0.4s var(--ease), color 0.3s ease;
  align-self: center;
}
.service:hover .service-mark { transform: rotate(45deg) scale(1.2); color: var(--accent); }

/* ═══════════ PROCESS ═══════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--paper);
  padding: 2rem 1.5rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background 0.35s var(--ease);
}
.step:hover { background: var(--paper-2); }
.step-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin-top: 0.4rem;
}
.step p { font-size: 0.95rem; color: var(--ink-2); }

/* ═══════════ WORK ═══════════ */
.work-list { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 6.5rem); }
.project {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}
.project:nth-child(even) .project-media { order: 2; }
.project-media {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease);
}
.project-media:hover img { transform: scale(1.045); }
.project-view {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.project-media:hover .project-view { transform: translateY(0); opacity: 1; }

.project-media.is-empty {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 14px, var(--paper) 14px 28px);
}
.empty-mark {
  font-size: 3.5rem;
  font-family: var(--f-display);
  color: var(--ink-2);
  width: 5rem; height: 5rem;
  border: 1.5px dashed var(--ink-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 0;
  transition: transform 0.4s var(--ease), color 0.3s ease, border-color 0.3s ease;
}
.project-media.is-empty:hover .empty-mark {
  transform: rotate(90deg);
  color: var(--accent);
  border-color: var(--accent);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.project-index {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.project-cat {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.project-info h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}
.project-info > p {
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 1.3rem;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.project-tags li {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-2);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--ink);
  transition: gap 0.3s var(--ease), color 0.3s ease, border-color 0.3s ease;
}
.project-link:hover { gap: 0.95rem; color: var(--accent); border-color: var(--accent); }

/* ═══════════ CARE ═══════════ */
.care {
  background: var(--ink);
  color: var(--on-dark);
  max-width: none;
  padding: 0;
}
.care-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 9rem) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.care .section-tag { color: var(--on-dark-2); }
.care .tag-num { background: var(--accent); color: #fff; }
.care .section-title { color: var(--on-dark); }
.care-head { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.care-lede {
  color: var(--on-dark-2);
  font-size: 1.08rem;
  max-width: 42ch;
}
.care-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 2rem;
}
.care-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(239, 233, 218, 0.13);
  font-size: 0.98rem;
}
.care-list li span { color: var(--accent-2); flex: none; }

/* ═══════════ ABOUT ═══════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about-lead p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.about-lead p + p { margin-top: 1.2rem; }
.about-lead strong { font-weight: 600; color: var(--accent); font-style: italic; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-points li {
  background: var(--paper);
  padding: 1.8rem 1.5rem;
  transition: background 0.35s var(--ease);
}
.about-points li:hover { background: var(--paper-2); }
.about-points h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.about-points p { font-size: 0.93rem; color: var(--ink-2); }

/* ═══════════ FAQ ═══════════ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  letter-spacing: -0.015em;
  list-style: none;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon {
  position: relative;
  width: 1.4rem; height: 1.4rem;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq-icon::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-answer {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer p {
  min-height: 0;
  color: var(--ink-2);
  max-width: 64ch;
  padding: 0 0.5rem 1.6rem;
  font-size: 1rem;
}

/* ═══════════ CONTACT ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact-intro { position: sticky; top: 7rem; }
.contact-intro .section-title { margin: 1.2rem 0; }
.contact-intro > p { color: var(--ink-2); max-width: 36ch; }
.contact-assure {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-assure li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.contact-assure li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.5rem; height: 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  flex: none;
}

/* form */
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.field label .opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }
.field input,
.field textarea,
.field select {
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(238, 59, 17, 0.13);
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--accent);
  font-size: 0.85rem;
}
.btn-submit { grid-column: 1 / -1; justify-content: center; padding-block: 1.05rem; }
.form-status {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  min-height: 1.2rem;
}
.form-status.ok { color: #1d7a3d; font-weight: 600; }
.form-status.err { color: var(--accent); font-weight: 600; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--ink);
  color: var(--on-dark);
}
.footer-top,
.footer-mid,
.footer-bottom {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.footer-top {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: 2.5rem;
}
.footer-mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-tag {
  margin-top: 1rem;
  color: var(--on-dark-2);
  max-width: 32ch;
  font-size: 1.05rem;
}
.footer-mid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 2.2rem;
  border-top: 1px solid rgba(239, 233, 218, 0.14);
  border-bottom: 1px solid rgba(239, 233, 218, 0.14);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
}
.footer-nav a {
  color: var(--on-dark-2);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  padding-block: 1.8rem clamp(2rem, 4vw, 3rem);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-2);
}
.viewport-readout b {
  color: var(--accent-2);
  font-weight: 500;
}

/* ═══════════ REVEAL ANIMATION ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* group staggers */
.services-list .service:nth-child(2) { transition-delay: 0.08s; }
.services-list .service:nth-child(3) { transition-delay: 0.16s; }
.services-list .service:nth-child(4) { transition-delay: 0.24s; }
.steps .step:nth-child(2) { transition-delay: 0.07s; }
.steps .step:nth-child(3) { transition-delay: 0.14s; }
.steps .step:nth-child(4) { transition-delay: 0.21s; }
.steps .step:nth-child(5) { transition-delay: 0.28s; }
.care-list li:nth-child(2), .about-points li:nth-child(2) { transition-delay: 0.06s; }
.care-list li:nth-child(3), .about-points li:nth-child(3) { transition-delay: 0.12s; }
.care-list li:nth-child(4), .about-points li:nth-child(4) { transition-delay: 0.18s; }
.care-list li:nth-child(5) { transition-delay: 0.24s; }
.care-list li:nth-child(6) { transition-delay: 0.30s; }
.care-list li:nth-child(7) { transition-delay: 0.36s; }
.care-list li:nth-child(8) { transition-delay: 0.42s; }
.faq-item:nth-child(2) { transition-delay: 0.06s; }
.faq-item:nth-child(3) { transition-delay: 0.12s; }
.faq-item:nth-child(4) { transition-delay: 0.18s; }
.faq-item:nth-child(5) { transition-delay: 0.24s; }
.faq-item:nth-child(6) { transition-delay: 0.30s; }

/* hero entrance: CSS-driven, no JS dependency */
.hero .reveal {
  opacity: 1;
  transform: none;
  animation: fade-up 0.9s var(--ease) both;
}
.hero-status { animation-delay: 0.5s; }
.hero-sub { animation-delay: 0.62s; }
.hero-actions { animation-delay: 0.74s; }
.ruler { animation-delay: 0.86s; }
.hero-traits { animation-delay: 0.92s; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .care-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: block; }
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-media { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .hero-inner { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .service {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .service-mark { display: none; }
  .service:hover { padding-left: 0.5rem; }
  .steps { grid-template-columns: 1fr; }
  .care-list { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* ═══════════ MOTION PREFERENCE ═══════════ */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}
