/* ── FONTS (self-hosted: no third-party requests) ── */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper:   #f3f0ea;
  --paper-2: #ebe6dd;
  --ink:     #1d1c1a;
  --ink-2:   #45423d;
  --muted:   #6f6b63;
  --line:    rgba(29, 28, 26, 0.13);
  --sage:    #aab4ab;
  --sea:     #2f4a44;
  --sand:    #dcc9a8;
  --clay:    #c4673f;
  --radius:  22px;
  --wrap:    1320px;
  --gutter:  clamp(16px, 3vw, 32px);
  --serif:   "Instrument Serif", "Times New Roman", serif;
  --sans:    "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease:    cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

::selection { background: var(--sea); color: var(--paper); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
p  { color: var(--ink-2); }
em, i { font-style: italic; }

.label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.arrow { display: inline-block; transition: transform .35s var(--ease); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--sea); border-color: var(--sea); }
.btn-line { border: 1px solid rgba(29, 28, 26, .35); color: var(--ink); }
.btn-line:hover { background: rgba(255, 255, 255, .35); border-color: var(--ink); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 240, 234, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav { display: flex; gap: 40px; }
.nav a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 4px 0;
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
  transition: color .2s, background-size .4s var(--ease);
}
.nav a:hover { color: var(--ink); background-size: 100% 1px; background-position: left bottom; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.header-cta:hover { border-color: var(--ink); background: rgba(255, 255, 255, .4); }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--clay);
  animation: ping 2.8s var(--ease) infinite;
}
@keyframes ping {
  0%       { transform: scale(1); opacity: .55; }
  60%, 100% { transform: scale(3.2); opacity: 0; }
}

/* ── HERO ── */
.hero { padding: 8px 0 0; }
.hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(600px, calc(100svh - 96px), 780px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--sage);
}

.orb {
  position: absolute;
  z-index: -1;
  width: min(70vw, 820px);
  aspect-ratio: 1;
  right: -8%;
  bottom: -30%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, var(--sand) 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, var(--clay) 0%, transparent 50%),
    radial-gradient(circle at 45% 80%, #7f988f 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, #c9b79a 0%, transparent 70%);
  filter: blur(60px);
  opacity: .85;
  animation: drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-6%, -8%) rotate(40deg) scale(1.08); }
  100% { transform: translate(-14%, 2%) rotate(80deg) scale(.96); }
}

.hero-word {
  font-family: var(--sans);
  font-weight: 300;
  font-size: min(11.2vw, 168px);
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  animation: rise 1.4s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
}
.hero-copy { max-width: 560px; }
.hero .eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--ink);
  max-width: 30rem;
  margin-bottom: 30px;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 22px 10px 10px;
  border-radius: 16px;
  background: rgba(243, 240, 234, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .25s;
}
.hero-card:hover { background: rgba(243, 240, 234, .8); }
.hero-card:hover .arrow { transform: translateX(4px); }
.hero-card img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.hero-card-text { display: flex; flex-direction: column; }
.hero-card-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero-card-name { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }
.hero-card .arrow { margin-left: 18px; }

/* ── SECTIONS ── */
.section { padding: clamp(44px, 6.5vw, 84px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head .label, .split-head .label { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-head .label::before, .split-head .label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
.section-head-split {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 32px;
}
.section-head-split .label { grid-column: 1 / -1; }
.section-note { max-width: 19rem; padding-bottom: 6px; }

/* ── PROJECT ── */
.project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  text-decoration: none;
}
.project-media { overflow: hidden; border-radius: var(--radius); }
.project-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project:hover .project-media img { transform: scale(1.04); }
.project-body .label { margin-bottom: 14px; }
.project-body h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  margin-bottom: 16px;
}
.project-body p { max-width: 26rem; margin-bottom: 24px; }
.link {
  font-size: .95rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.project:hover .arrow { transform: translateX(5px); }

/* ── BEFORE / AFTER ── */
.ba-block, .sw-block, .dv-block { margin-top: clamp(52px, 6.5vw, 88px); }
.piece-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  align-items: end;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.piece-head .label { grid-column: 1 / -1; }
.piece-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}
.piece-head p:not(.label) { justify-self: end; max-width: 24rem; }

/* shared browser-window shell for the concept pieces */
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(29, 28, 26, .06), 0 30px 80px -30px rgba(29, 28, 26, .35);
  border: 1px solid var(--line);
}
.chrome, .dv-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  background: #f7f5f1;
  border-bottom: 1px solid var(--line);
}
.chrome > span:not(.chrome-url), .dv-bar > span:not(.chrome-url) { width: 10px; height: 10px; border-radius: 50%; background: #d9d5cd; }
.chrome-url {
  margin: 0 auto;
  padding: 4px 18px;
  border-radius: 999px;
  background: #ebe7df;
  font-size: .75rem;
  color: var(--muted);
  white-space: nowrap;
}

/* segmented control (radios + labels, no JS needed) */
.sw, .dv { position: relative; min-width: 0; }
.seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin-bottom: 20px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.seg label {
  position: relative;
  z-index: 1;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .3s;
  user-select: none;
  -webkit-user-select: none;
}
.seg label:hover { color: var(--ink); }
.seg-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: var(--ink);
  transition: transform .5s var(--ease);
}
.seg-2 .seg-thumb { width: calc((100% - 8px) / 2); }
#sw-1:checked ~ .seg label[for="sw-1"],
#sw-2:checked ~ .seg label[for="sw-2"],
#sw-3:checked ~ .seg label[for="sw-3"],
#dv-1:checked ~ .seg label[for="dv-1"],
#dv-2:checked ~ .seg label[for="dv-2"] { color: var(--paper); }
#sw-2:checked ~ .seg .seg-thumb, #dv-2:checked ~ .seg .seg-thumb { transform: translateX(100%); }
#sw-3:checked ~ .seg .seg-thumb { transform: translateX(200%); }
#sw-1:focus-visible ~ .seg label[for="sw-1"],
#sw-2:focus-visible ~ .seg label[for="sw-2"],
#sw-3:focus-visible ~ .seg label[for="sw-3"],
#dv-1:focus-visible ~ .seg label[for="dv-1"],
#dv-2:focus-visible ~ .seg label[for="dv-2"] { outline: 2px solid var(--clay); outline-offset: 2px; }

.ba { --pos: 50%; }

.ba-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  container-type: inline-size;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.mock { position: absolute; inset: 0; overflow: hidden; }
.mock.new { clip-path: inset(0 0 0 var(--pos)); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  pointer-events: none;
}
.ba-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(243, 240, 234, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--ink);
}
.ba:focus-within .ba-handle span { outline: 2px solid var(--clay); outline-offset: 3px; }
.ba-tag {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29, 28, 26, .75);
  color: var(--paper);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-old { left: 16px; }
.ba-tag-new { right: 16px; }

/* Mock: antes (deliberately dated) */
.old {
  background: #fffde8;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.5cqw;
  color: #000;
  line-height: 1.3;
}
.old-top {
  background: linear-gradient(#1a3fa8, #002080);
  color: #ffef3d;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-weight: bold;
  font-size: 3.4em;
  text-align: center;
  padding: .3em 0;
  text-shadow: 2px 2px 0 #c00;
}
.old-nav { display: flex; justify-content: center; gap: .4em; padding: .4em; background: #c0c0c0; }
.old-nav span {
  padding: .15em .9em;
  background: #e0e0e0;
  border: 2px outset #fff;
  font-family: Arial, sans-serif;
  font-size: .95em;
}
.old-marquee {
  color: #e00000;
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
  margin: .6em 0;
  font-family: Arial, sans-serif;
}
.old-body { display: grid; grid-template-columns: 22% 1fr; gap: 1.2em; padding: 0 1.4em; }
.old-side {
  display: flex;
  flex-direction: column;
  gap: .4em;
  padding: .6em;
  background: #ffffc0;
  border: 1px dashed #999;
  color: #0000ee;
}
.old-main p { color: #000; margin-bottom: .8em; text-align: justify; }
.old-img {
  display: grid;
  place-items: center;
  height: 7em;
  width: 60%;
  margin: 0 auto .8em;
  border: 2px inset #999;
  background: #eee;
  color: #c00;
  font-family: Arial, sans-serif;
}
.old-main .old-red { color: #e00000; font-weight: bold; font-size: 1.2em; text-align: center; }
.old-foot {
  position: absolute;
  left: 0; right: 0; bottom: .6em;
  text-align: center;
  font-size: .8em;
  color: #555;
}

/* Mock: después */
.new {
  background: #efe6d8;
  color: #2a1d14;
  font-family: var(--sans);
  font-size: 1.2cqw;
}
.new-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6em 3em;
}
.new-logo { font-family: var(--serif); font-size: 2em; }
.new-links { display: flex; gap: 2.6em; font-size: .85em; letter-spacing: .14em; text-transform: uppercase; }
.new-pill { padding: .7em 1.6em; border-radius: 999px; background: #2a1d14; color: #efe6d8; font-size: .9em; }
.new-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 3em;
  padding: 2em 3em 0;
  height: calc(100% - 6em);
}
.new-copy { display: flex; flex-direction: column; gap: 1.2em; padding-bottom: 4em; }
.new-eyebrow { font-size: .85em; letter-spacing: .16em; text-transform: uppercase; color: #8a5a3b; }
.new-title { font-family: var(--serif); font-size: 5.4em; line-height: .95; letter-spacing: -0.01em; }
.new-text { font-size: 1.15em; max-width: 24em; color: #5a4636; }
.new-btns { display: flex; gap: .8em; }
.nb-dark, .nb-line { padding: .9em 1.8em; border-radius: 999px; font-size: .95em; }
.nb-dark { background: #2a1d14; color: #efe6d8; }
.nb-line { border: 1px solid rgba(42, 29, 20, .35); }

.new-art {
  order: -1;   /* art left, copy right: visible beside the dated half at 50% */
  position: relative;
  align-self: stretch;
  margin-bottom: 3em;
  border-radius: 1.6em;
  background:
    radial-gradient(circle at 75% 20%, rgba(196, 103, 63, .55), transparent 55%),
    radial-gradient(circle at 20% 90%, rgba(47, 74, 68, .7), transparent 60%),
    #3a281c;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* top-down latte: saucer, cup rim, coffee with crema */
.cup {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      #f3e2c7 0 6%, #d9a36b 14%, #a8693a 26%, #6e3f1f 40%, #4a2814 52%,
      #f8f3ea 53% 62%, #e9e0d2 63% 64%, #f5efe4 65% 100%);
  box-shadow: 0 2.4em 4em rgba(0, 0, 0, .45), inset 0 -.6em 1.4em rgba(0, 0, 0, .12);
}
.new-tag {
  position: absolute;
  left: 1.4em;
  bottom: 1.4em;
  padding: .7em 1.2em;
  border-radius: 999px;
  background: rgba(239, 230, 216, .92);
  font-size: .9em;
}

/* Phone-sized stage: re-lay the mocks as mobile sites */
@container (max-width: 600px) {
  .old { font-size: 3.4cqw; }
  .old-top { font-size: 2.2em; }
  .old-nav { flex-wrap: wrap; }
  .old-body { grid-template-columns: 1fr; }
  .old-side { display: none; }
  .old-foot { font-size: .7em; }

  .new { font-size: 3cqw; }
  .new-nav { padding: 1.2em 1.4em; }
  .new-links { display: none; }
  .new-hero { grid-template-columns: 1fr; padding: 1em 1.4em 0; gap: 1.4em; height: auto; }
  .new-copy { padding-bottom: 0; gap: 1em; }
  .new-title { font-size: 3.4em; }
  .new-text { font-size: 1.05em; }
  .new-art { order: 0; height: 15em; margin-bottom: 0; }
  .cup { width: auto; height: 78%; }
}

/* ── DEL ORDENADOR AL MÓVIL (Ría Fisioterapia, concepto) ── */
.dv-block { container-type: inline-size; }
.dv-stage {
  --phone-w: min(300px, 72cqw);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 58cqw;
  transition: height .7s var(--ease) .1s;
}
.dv-device {
  display: flex;
  flex-direction: column;
  width: 100cqw;
  height: 58cqw;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(29, 28, 26, .06), 0 30px 80px -30px rgba(29, 28, 26, .35);
  transition:
    width .7s var(--ease) .1s, height .7s var(--ease) .1s,
    border-radius .7s var(--ease) .1s, border-width .7s var(--ease) .1s, border-color .7s .1s;
}
.dv-bar { flex: none; overflow: hidden; transition: height .7s var(--ease) .1s, padding .7s var(--ease) .1s; }
.dv-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  container-type: size;
  overflow: hidden;
}
#dv-2:checked ~ .dv-stage { height: calc(var(--phone-w) * 2.05); }
#dv-2:checked ~ .dv-stage .dv-device {
  width: var(--phone-w);
  height: calc(var(--phone-w) * 2.05);
  border-radius: calc(var(--phone-w) * .16);
  border: 9px solid var(--ink);
}
#dv-2:checked ~ .dv-stage .dv-bar { height: 0; padding: 0; border-bottom-width: 0; }
.dv-screen::after {   /* phone island */
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 30%; height: 20px;
  margin-left: -15%;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transition: opacity .3s;
}
#dv-2:checked ~ .dv-stage .dv-screen::after { opacity: 1; transition-delay: .7s; }

.ic { display: block; width: 1.5em; height: 1.5em; position: relative; }
.ic-call { border: .17em solid currentColor; border-radius: 50%; }
.ic-call::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: currentColor; }
.ic-map { width: 1.25em; height: 1.25em; margin: .1em 0 .15em; border: .17em solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.ic-cal { border: .17em solid currentColor; border-top-width: .4em; border-radius: .3em; }

/* ── SERVICE ROWS ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.split-head { position: sticky; top: 120px; }
.rows { list-style: none; }
.rows li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.rows li > div { transition: transform .5s var(--ease); }
.rows li:hover > div { transform: translateX(6px); }
.rows li .num { transition: color .3s; }
.rows li:hover .num { color: var(--clay); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.num { font-size: .85rem; color: var(--muted); padding-top: 8px; letter-spacing: .08em; }
.rows h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

/* ── STEPS ── */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.steps li { position: relative; padding-top: 24px; }
.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
}
.js .steps li.reveal::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .15s; }
.js .steps li.reveal.is-in::before { transform: none; }
.step-num {
  display: block;
  font-weight: 200;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1;
  margin-bottom: 22px;
  color: var(--ink);
}
.steps h3 { margin-bottom: 6px; }

/* ── CONTACT ── */
.contact-wrap { padding-bottom: clamp(16px, 3vw, 32px); }
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 7vw, 92px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius);
  background: var(--sea);
  color: var(--paper);
  text-align: center;
}
.orb-contact { left: 50%; right: auto; bottom: -60%; margin-left: calc(min(70vw, 820px) / -2); opacity: .6; }
.contact .label { color: rgba(243, 240, 234, .7); margin-bottom: 20px; }
.contact h2 { font-size: clamp(3.4rem, 10vw, 8rem); font-style: italic; margin-bottom: 20px; }
.contact p { color: rgba(243, 240, 234, .82); max-width: 30rem; margin: 0 auto 32px; }
.mail {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.mail:hover { background-size: 0 1px; background-position: right bottom; }
.mail:hover .arrow { transform: translateX(6px); }
.contact .contact-area { margin: 36px auto 0; font-size: .85rem; color: rgba(243, 240, 234, .72); }

/* ── FOOTER ── */
.site-footer { padding: 20px 0 24px; font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ── LEGAL PAGES ── */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; margin-bottom: 28px; }
.legal h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 500; line-height: 1.3; margin: 36px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 20px; color: var(--ink-2); }
.legal a { text-underline-offset: 3px; }
.legal-header .header-inner { grid-template-columns: 1fr auto; }

/* ── SCROLL REVEAL (only when JS runs) ── */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps li:nth-child(2), .js .rows li:nth-child(2) { transition-delay: .08s; }
.js .steps li:nth-child(3), .js .rows li:nth-child(3) { transition-delay: .16s; }
.js .steps li:nth-child(4), .js .rows li:nth-child(4) { transition-delay: .24s; }
.js .steps li:nth-child(2)::before { transition-delay: .25s; }
.js .steps li:nth-child(3)::before { transition-delay: .35s; }
.js .steps li:nth-child(4)::before { transition-delay: .45s; }

/* project image opens up as it enters */
.js .project.reveal .project-media { clip-path: inset(6% 6% 6% 6% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js .project.reveal.is-in .project-media { clip-path: inset(0 0 0 0 round var(--radius)); }

/* scroll-linked: the wordmark drifts up and fades as the hero leaves */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-word span {
      display: inline-block;
      animation: word-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }
    .hero-word span + span { animation-name: word-out-2; }
  }
}
@keyframes word-out   { to { transform: translateY(-22%); opacity: .25; } }
@keyframes word-out-2 { to { transform: translateY(-34%); opacity: .25; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .project { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .section-head-split { grid-template-columns: 1fr; }
  .section-note { margin-top: 16px; padding: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}
@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .hero-panel { min-height: calc(100svh - 80px); border-radius: 18px; }
  .hero-word { font-size: 19vw; white-space: normal; }
  .hero-word span { display: block; }
  .orb { width: 140vw; right: -50%; bottom: -25%; }
  .hero-card { width: 100%; }
  .hero-card .arrow { margin-left: auto; }
  .actions .btn { flex: 1; justify-content: center; padding: 14px 18px; white-space: nowrap; }
  .piece-head { grid-template-columns: 1fr; }
  .piece-head p:not(.label) { justify-self: start; }
  .ba-stage, .sw-stage { aspect-ratio: 4 / 5; }
  .seg { display: grid; width: 100%; }
  .seg label { padding: 10px 8px; letter-spacing: .1em; }
  .hero .eyebrow { letter-spacing: .1em; }
  .ba-handle span { width: 44px; height: 44px; }
  .steps { grid-template-columns: 1fr; row-gap: 12px; }
  .rows li { grid-template-columns: 40px 1fr; }
  .orb-contact { width: 140vw; margin-left: -70vw; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .hero-word, .dot::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .steps li.reveal::before { transform: none; transition: none; }
  .js .project.reveal .project-media { clip-path: none; transition: none; }
  .seg-thumb, .seg label,
  .dv-stage, .dv-device, .dv-bar, .dv-screen::after { transition: none !important; }

}

/* ── SALES BLOCKS ── */
.hint { margin-top: 14px; font-size: .88rem; color: var(--ink-2); }

.concepts .ba-block { margin-top: 0; }

.promises {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.promises li {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--paper);
  transition: background .3s;
}
.promises li:hover { background: #f8f6f1; }
.promises h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  margin-bottom: 12px;
}
.promises h3::before {
  content: "";
  display: block;
  width: 8px; height: 8px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--clay);
}
.js .promises li:nth-child(3n+2) { transition-delay: .08s; }
.js .promises li:nth-child(3n+3) { transition-delay: .16s; }

.about-wrap { padding-top: 0; }
.about { max-width: 980px; }
.about .label { margin-bottom: 20px; }
.about-text {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1.1rem;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.faq summary:hover::after { background: var(--ink); color: var(--paper); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding: 0 56px 20px 0; }

@media (max-width: 960px) {
  .promises { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .promises { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
}

/* ── V6: GROTESK + GREIGE (NERO-style reference) ── */
:root {
  --display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:    "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --paper:   #e4e1d8;
  --paper-2: #d9d5ca;
  --ink:     #131412;
  --ink-2:   #3b3d38;
  --muted:   #6a6b64;
  --line:    rgba(19, 20, 18, .14);
  --sage:    #d2cfc3;
  --sea:     #1d3326;   /* deep forest */
  --clay:    #6f8231;   /* moss accent */
  --radius:  14px;
}
body { background: var(--paper); font-stretch: 100%; }
::selection { background: var(--sea); color: var(--paper); }

/* headings: tight, heavy, no italics */
h1 em, h2 em, h3 em { font-style: normal; color: var(--sea); }
h2, .hero h1, .legal h1 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: .95;
}
h2 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.project-body h3, .piece-head h3, .rows h3, .promises h3, .hero-card-name, .faq summary {
  font-weight: 600;
  letter-spacing: -0.03em;
}
.project-body h3, .piece-head h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; }
.rows h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.promises h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.hero-card-name { font-size: 1.1rem; }
.faq summary { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.about-text { font-weight: 500; letter-spacing: -0.035em; font-size: clamp(1.7rem, 3.6vw, 2.9rem); }

/* wide uppercase for marks and numbers */
.wordmark {
  font-weight: 700;
  font-stretch: 125%;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-word {
  font-weight: 200;
  font-stretch: 125%;
  font-size: min(8.4vw, 128px);
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.step-num { font-weight: 200; font-stretch: 125%; letter-spacing: -0.02em; }
.label, .nav a, .header-cta, .eyebrow { font-stretch: 112%; }

/* squarer buttons, like the reference */
.btn, .header-cta { border-radius: 8px; }
.btn-dark { background: var(--sea); border-color: var(--sea); }
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }

/* hero orb: moss and bloom instead of sand and clay */
.orb {
  background:
    radial-gradient(circle at 30% 35%, #c9a2b4 0%, transparent 52%),
    radial-gradient(circle at 70% 60%, #6f8231 0%, transparent 50%),
    radial-gradient(circle at 45% 80%, #2f4a37 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, #bfc39a 0%, transparent 70%);
  opacity: .75;
}
.hero-card { background: rgba(228, 225, 216, .6); border-radius: 10px; }

/* contact: forest block, no italics */
.contact h2 { font-style: normal; font-size: clamp(3rem, 9vw, 7rem); }
.mail { font-weight: 500; letter-spacing: -0.03em; }

@media (max-width: 640px) {
  .hero-word { font-size: 14.5vw; -webkit-text-stroke-width: 1.2px; }
}
/* tight tracking eats word gaps: give them back */
h1, h2, h3, .about-text, .faq summary, .mail { word-spacing: .08em; }

/* ── V8: GLASS (glassmorphism reference) ── */
:root {
  --paper:   #e9ebf0;
  --paper-2: #dfe3e8;
  --ink:     #15171c;
  --ink-2:   #3e434d;
  --muted:   #6c727d;
  --line:    rgba(21, 23, 28, .12);
  --sea:     #15171c;
  --clay:    #15171c;
  --mint:    #8fd1bb;
  --radius:  28px;
  --glass:        rgba(255, 255, 255, .36);
  --glass-strong: rgba(255, 255, 255, .58);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .45), 0 30px 60px -34px rgba(32, 38, 56, .4);
  --blur:    blur(22px) saturate(150%);
}
html { background: #e8eaef; }
body { background: transparent; counter-reset: sec; }

/* the scene behind the glass: pastel wash and soft out-of-focus black spheres */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 24%, rgba(12, 13, 16, .9) 0 46px, rgba(12, 13, 16, 0) 120px),
    radial-gradient(circle at 0% 78%, rgba(12, 13, 16, .85) 0 52px, rgba(12, 13, 16, 0) 135px),
    radial-gradient(circle at 62% 104%, rgba(12, 13, 16, .5) 0 20px, rgba(12, 13, 16, 0) 80px),
    radial-gradient(ellipse at 0% 0%, #d6d9ea 0, transparent 55%),
    radial-gradient(ellipse at 100% 100%, #dfe9d3 0, transparent 55%),
    radial-gradient(ellipse at 100% 35%, #d2e3e4 0, transparent 50%),
    #e8eaef;
}

/* type: light, tight grotesk like the reference title */
h2, .hero h1, .legal h1 { font-weight: 350; letter-spacing: -0.05em; line-height: 1; }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 250; color: var(--ink-2); }
.project-body h3, .piece-head h3, .rows h3, .promises h3, .hero-card-name, .faq summary { font-weight: 450; letter-spacing: -0.035em; }
.about-text { font-weight: 300; letter-spacing: -0.04em; }
.label { letter-spacing: .18em; font-weight: 400; }

/* section labels: number in a glass bead, then a hairline */
.section-head .label, .split-head .label { counter-increment: sec; }
.section-head .label::before, .split-head .label::before {
  content: counter(sec, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--glass-strong);
  box-shadow: var(--glass-shadow);
  font-size: .68rem;
  letter-spacing: 0;
  color: var(--ink);
}
.section-head .label::after, .split-head .label::after { content: ""; width: 48px; height: 1px; background: var(--line); }

/* shared glass surface */
.hero-panel, .hero-card, .project, .frame, .dv-device, .seg, .promises li,
.rows, .steps li, .faq, .contact, .header-inner, .btn-line, .ba-handle span {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  border: 0;
}

/* header: floating glass pill */
.site-header { padding-top: 12px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: none; }
.header-inner {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  height: 60px;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  background: var(--glass-strong);
}
.header-cta { border: 0; border-radius: 999px; padding: 11px 20px; background: var(--ink); color: #fff; }
.header-cta:hover { background: #2c303a; }
.dot, .dot::after { background: var(--mint); }

/* buttons */
.btn { border-radius: 999px; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(21, 23, 28, .6); }
.btn-dark:hover { background: #2c303a; border-color: #2c303a; transform: translateY(-1px); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--glass-strong); }

/* hero: frosted card, dark sphere and a glass droplet */
.hero { padding-top: 16px; }
.hero-panel { border-radius: 36px; }
.hero-word {
  font-weight: 250;
  font-stretch: 100%;
  font-size: min(13vw, 196px);
  letter-spacing: -0.06em;
  text-transform: none;
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.orb, .orb-contact {
  width: 170px;
  top: 9%; right: 7%; bottom: auto; left: auto;
  margin: 0;
  background: radial-gradient(circle at 40% 35%, #3b3e46, #0c0d10 70%);
  filter: blur(16px);
  opacity: .9;
  animation: float 11s ease-in-out infinite alternate;
}
.hero-panel::before, .contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  aspect-ratio: 1;
  right: 24%; top: 40%;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .95) 0 6%, rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .55) 0 7%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle, rgba(255, 255, 255, .04) 42%, rgba(188, 198, 214, .45) 76%, rgba(255, 255, 255, .85) 100%);
  box-shadow:
    inset -10px -14px 26px rgba(118, 134, 160, .35),
    inset 8px 10px 20px rgba(255, 255, 255, .75),
    0 26px 44px -18px rgba(30, 36, 52, .35);
  animation: float 9s ease-in-out infinite alternate-reverse;
}
@keyframes float { to { transform: translate(-10px, 16px) rotate(6deg); } }
.hero-card { border-radius: 22px; background: var(--glass-strong); }
.hero-card:hover { background: rgba(255, 255, 255, .75); }
.hero-card img { border-radius: 14px; }

.section-alt { background: none; }

/* work: the project sits on its own glass slab */
.project { padding: 14px; border-radius: var(--radius); align-items: center; }
.project-media { border-radius: 20px; }
.project-body { padding: 12px 24px 12px 0; }
.js .project.reveal .project-media { clip-path: inset(6% 6% 6% 6% round 20px); }
.js .project.reveal.is-in .project-media { clip-path: inset(0 0 0 0 round 20px); }

/* concept frames */
.frame { border-radius: 24px; }
.chrome, .dv-bar { background: rgba(255, 255, 255, .55); border-bottom-color: rgba(21, 23, 28, .06); }
.chrome > span:not(.chrome-url), .dv-bar > span:not(.chrome-url) { background: #c7ccd6; }
.chrome-url { background: rgba(255, 255, 255, .75); }
.seg { border-radius: 999px; background: var(--glass-strong); }
.seg label, .seg-thumb { border-radius: 999px; }
.seg-thumb { background: var(--ink); }
#sw-1:checked ~ .seg label[for="sw-1"], #sw-2:checked ~ .seg label[for="sw-2"], #sw-3:checked ~ .seg label[for="sw-3"],
#dv-1:checked ~ .seg label[for="dv-1"], #dv-2:checked ~ .seg label[for="dv-2"] { color: #fff; }
.ba-handle span { background: var(--glass-strong); }
.ba-tag { background: rgba(21, 23, 28, .7); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dv-device { border-radius: var(--radius); }

/* guarantees: separate glass tiles with the reference's "+" bead */
.promises { gap: 16px; background: none; border: 0; border-radius: 0; overflow: visible; }
.promises li { border-radius: 24px; }
.promises li:hover { background: var(--glass-strong); }
.promises h3::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--glass-strong);
  box-shadow: var(--glass-shadow);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--ink);
}

/* service rows and FAQ live on one glass sheet each */
.rows, .faq { padding: 6px clamp(20px, 3vw, 36px); border-radius: var(--radius); }
.rows li:first-child { border-top: 0; }
.rows li:last-child { border-bottom: 0; }
.rows li:hover .num { color: var(--ink); }
.faq details:last-child { border-bottom: 0; }
.faq summary::after { border: 0; background: var(--glass-strong); box-shadow: var(--glass-shadow); }
.faq summary:hover::after { background: var(--ink); color: #fff; }

/* steps: glass cards, numbers hairline-thin */
.steps li { padding: 24px; border-radius: 24px; }
.steps li::before { display: none; }
.step-num { font-weight: 200; font-stretch: 100%; letter-spacing: -0.05em; color: var(--ink); -webkit-text-stroke: 0; }

/* contact: big frosted card between two spheres */
.contact { color: var(--ink); border-radius: 36px; }
.orb-contact { width: 150px; top: 10%; left: 6%; right: auto; }
.contact::before { width: 120px; top: auto; bottom: 12%; right: 8%; }
.contact .label { color: var(--muted); }
.contact h2 { font-weight: 300; font-size: clamp(3.4rem, 11vw, 9rem); letter-spacing: -0.06em; }
.contact p, .contact .contact-area { color: var(--ink-2); }
.mail { font-weight: 400; }

@media (max-width: 640px) {
  .header-inner { height: 56px; padding-left: 18px; }
  .hero-panel { border-radius: 26px; }
  .hero-word { font-size: 21vw; -webkit-text-stroke: 0; }
  .orb { width: 110px; top: 4%; right: -24px; }
  .hero-panel::before { width: 84px; right: 8%; top: 30%; }
  .orb-contact { width: 100px; top: 4%; left: -20px; margin: 0; }
  .contact::before { width: 72px; bottom: 3%; right: 6%; }
  .promises { gap: 12px; }
  .promises li { padding: 18px; }
  .promises h3 { margin-bottom: 8px; }
  .hero-bottom { gap: 20px; }
  .lead { margin-bottom: 22px; }
  .hero-panel { padding: 24px; }
  .steps li { padding: 20px; }
  .step-num { margin-bottom: 12px; }
  .rows li { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .hero-panel::before, .contact::before { animation: none; }
}


/* ── V9: EXAMPLES WITH REAL PHOTOS + AUDIT FIXES ── */

/* café: the latte photo is the hero, the harbour sits inset, a priced menu strip */
.new-art { background: #3a281c; }
.new-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.new-art { order: 0; }   /* photo on the right: it is what the slider shows at rest */
.new-hero { grid-template-columns: 1.1fr 1fr; }
.new-inset {
  position: absolute;
  top: 1.4em; right: 1.4em;
  width: 34%;
  display: flex;
  flex-direction: column;
  gap: .45em;
  padding: .5em .5em .7em;
  border-radius: 1em;
  background: rgba(239, 230, 216, .94);
  font-size: .8em;
}
.new-inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .6em; }
.new-tag { z-index: 1; }
.new-title { font-size: 4.8em; }
.new-menu {
  display: flex;
  gap: 2em;
  margin-top: .4em;
  padding-top: 1em;
  border-top: 1px solid rgba(42, 29, 20, .15);
  font-size: .95em;
  color: #5a4636;
}
.new-menu span { display: flex; flex-direction: column; gap: .15em; }
.new-menu b { font-weight: 500; color: #2a1d14; }
@container (max-width: 600px) {
  .new-title { font-size: 3.2em; }
  .new-menu { gap: 1.2em; font-size: .85em; }
  .new-inset { width: 38%; }
}

/* audit: headline in two lines, statement at statement size, nothing under 13px */
.hero-copy { max-width: 700px; }
.about-text { font-size: clamp(1.375rem, 2.6vw, 2.25rem); line-height: 1.2; }
.label, .nav a, .header-cta, .seg label, .hero-card-label, .ba-tag, .hero .eyebrow { font-size: .8125rem; }

/* audit: skip link, touch behaviour */
html { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.skip {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.site-footer .credits { flex-basis: 100%; order: 3; max-width: 62rem; font-size: .8125rem; color: var(--muted); }
.site-footer .credits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .hero h1 { font-size: 9.2vw; }   /* scales with the phone, so it holds two lines */
}

/* ── V10: EXAMPLE SITES WITH THEIR OWN IDENTITY ── */
/* Each mock is a different business, so each gets its own type, colour, buttons and layout. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  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;
}

/* ── CAFÉ EL MUELLE: harbour café — espresso, navy and signal red, flag stripe ── */
.new::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: .5em;
  background: linear-gradient(90deg, #1f3a5f 0 33.33%, #c8442f 0 66.66%, #e3b04b 0);
}
.new-logo { letter-spacing: -.01em; }
.new-links span { padding-bottom: .2em; border-bottom: 1px solid transparent; }
.new-links span:first-child { border-bottom-color: currentColor; }
.new-pill { border-radius: .2em; background: #1f3a5f; color: #efe6d8; }
.new-eyebrow { color: #c8442f; }
.new-title i { color: #1f3a5f; }
.nb-dark { border-radius: .2em; }
.nb-line { padding: .9em 0; border: 0; border-radius: 0; border-bottom: 1px solid #2a1d14; }
.new-art { border-radius: .3em; }
.new-inset {
  padding: .5em .5em 1.4em;
  border-radius: .15em;
  background: #fbf7f0;
  transform: rotate(3deg);
  box-shadow: 0 1.2em 2.4em -1em rgba(0, 0, 0, .45);
  font-family: var(--serif);
  font-style: italic;
  font-size: .9em;
}
.new-inset img { border-radius: 0; }
.new-tag { border-radius: .2em; background: #1f3a5f; color: #efe6d8; }
.new-menu { border-top: 2px solid #2a1d14; }
.new-menu span { font-size: .85em; letter-spacing: .1em; text-transform: uppercase; }
.new-menu b { font-family: var(--serif); font-size: 2em; font-weight: 400; letter-spacing: 0; text-transform: none; color: #c8442f; }

/* ── PELUQUERÍA NÁCAR: three different sites, one per style ── */
.sw-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; }
@media (max-width: 640px) { .sw-stage { aspect-ratio: 4 / 5; } }
.ps {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-size: 1.15cqw;
  line-height: 1.35;
}
#sw-1:checked ~ .frame .ps-clasico,
#sw-2:checked ~ .frame .ps-moderno,
#sw-3:checked ~ .frame .ps-calido { display: flex; animation: ps-in .6s var(--ease) both; }
@keyframes ps-in { from { opacity: 0; transform: translateY(1.5%); } to { opacity: 1; transform: none; } }
.ps img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Clásico: Cormorant, ivory, burgundy and gold; centred wordmark, price list with leaders, square outline button */
.ps-clasico { padding: 0 4em; background: #f6f1e7; color: #2b211c; font-family: "Cormorant Garamond", "Times New Roman", serif; font-weight: 500; }
.pc-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.8em 0 1.3em;
  border-bottom: 1px solid rgba(43, 33, 28, .25);
}
.pc-links { display: flex; align-items: center; gap: 2.4em; font-size: 1em; letter-spacing: .16em; text-transform: uppercase; }
.pc-r { justify-self: end; }
.pc-cta { padding-bottom: .15em; border-bottom: 1px solid #6e1f2b; color: #6e1f2b; }
.pc-logo { font-size: 3em; font-style: italic; line-height: 1; text-align: center; }
.pc-logo small { display: block; margin-top: .45em; font-size: .26em; font-style: normal; letter-spacing: .32em; text-transform: uppercase; color: #8a6d36; }
.pc-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 4.4em;
  align-items: center;
  padding: 2.6em 0;
}
.pc-list { display: flex; flex-direction: column; gap: .95em; font-size: 1.35em; }
.pc-h { margin-bottom: .2em; font-size: 1.25em; font-style: italic; color: #6e1f2b; }
.pc-row { display: flex; align-items: baseline; gap: .5em; }
.pc-row i { flex: 1; border-bottom: 1px dotted rgba(43, 33, 28, .5); }
.pc-row b { font-weight: 500; }
.pc-arch {
  align-self: stretch;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  outline: 1px solid #a8884d;
  outline-offset: .8em;
}
.pc-arch img { object-position: 70% 30%; }
.pc-copy { display: flex; flex-direction: column; gap: 1.3em; }
.pc-title { font-size: 6em; line-height: .92; letter-spacing: -.01em; }
.pc-title i { color: #6e1f2b; }
.pc-text { max-width: 22em; font-size: 1.4em; line-height: 1.35; color: #5b4a40; }
.pc-btns { display: flex; align-items: center; gap: 1.8em; margin-top: .4em; }
.pc-b1 { padding: .85em 1.9em; border: 1px solid #6e1f2b; font-size: 1em; letter-spacing: .18em; text-transform: uppercase; color: #6e1f2b; }
.pc-b2 { padding-bottom: .1em; border-bottom: 1px solid currentColor; font-size: 1.3em; font-style: italic; }
.pc-foot {
  display: flex;
  justify-content: center;
  gap: 3.4em;
  padding: 1em 0 1.3em;
  border-top: 3px double rgba(43, 33, 28, .35);
  font-size: .95em;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #8a6d36;
}

/* Moderno: Archivo condensed and expanded, black, orange and lime; square buttons, the name as a monument */
.ps-moderno { background: #0e0e0e; color: #f2f2f2; font-family: var(--sans); }
.pm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5em 3em;
  font-size: .9em;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pm-logo { font-weight: 800; font-stretch: 125%; letter-spacing: .2em; }
.pm-links { display: flex; gap: 2.6em; color: #8f8f8f; }
.pm-cta { padding: .75em 1.3em; background: #ff5a1f; color: #0e0e0e; }
.pm-body { flex: 1; min-height: 0; display: grid; grid-template-columns: .9fr 1.1fr; border-top: 1px solid #2a2a2a; }
.pm-photo { position: relative; overflow: hidden; }
.pm-photo img { object-position: 35% 40%; filter: grayscale(1) contrast(1.15); }
.pm-tag { position: absolute; top: 1.2em; left: 1.2em; padding: .45em .75em; background: #d7ff3a; color: #0e0e0e; font-size: .85em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pm-copy { display: flex; flex-direction: column; justify-content: center; gap: 1.3em; padding: 1.6em 3em; }
.pm-title { font-size: 6.6em; font-weight: 800; font-stretch: 70%; line-height: .86; letter-spacing: -.01em; text-transform: uppercase; }
.pm-title em { font-style: normal; color: #ff5a1f; }
.pm-text { max-width: 28em; font-size: 1.1em; color: #a6a6a6; }
.pm-btns { display: flex; gap: .6em; }
.pm-b1, .pm-b2 { padding: .95em 1.6em; font-size: .9em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pm-b1 { background: #ff5a1f; color: #0e0e0e; }
.pm-b2 { box-shadow: inset 0 0 0 1px #f2f2f2; }
.pm-prices { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 1em; border-top: 1px solid #2a2a2a; }
.pm-prices span { display: flex; flex-direction: column; gap: .2em; font-size: .85em; letter-spacing: .08em; text-transform: uppercase; color: #8f8f8f; }
.pm-prices b { font-size: 2.8em; font-weight: 700; font-stretch: 70%; line-height: 1; letter-spacing: -.02em; color: #d7ff3a; }
.pm-word {
  margin-bottom: -.16em;
  padding-left: .04em;
  font-size: 15.4em;
  font-weight: 900;
  font-stretch: 125%;
  line-height: .9;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: #ff5a1f;
}

/* Cálido: Fraunces, peach ground, terracotta, mustard, sage and pink; pill buttons with a hard offset, collage of shapes */
.ps-calido { background: #fbe7d6; color: #4a2416; font-family: "Fraunces", Georgia, serif; }
.pw-top { display: flex; align-items: center; justify-content: space-between; padding: 1.7em 3.4em; }
.pw-logo { display: flex; align-items: center; gap: .15em; font-size: 2.5em; font-weight: 700; font-style: italic; letter-spacing: -.03em; }
.pw-logo::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: #e3a33b; }
.pw-links { display: flex; gap: 2.2em; font-size: 1.1em; }
.pw-cta { padding: .7em 1.4em; border-radius: 999px; background: #c8553d; color: #fff6ee; font-weight: 600; }
.pw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3em; align-items: center; padding: 0 3.4em 2.4em; }
.pw-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2em; }
.pw-hello { padding: .35em .9em; border-radius: 999px; background: #f2a6a0; font-weight: 600; transform: rotate(-3deg); }
.pw-title { font-size: 6.2em; font-weight: 650; line-height: .95; letter-spacing: -.035em; }
.pw-title i { font-weight: 400; color: #c8553d; }
.pw-text { max-width: 24em; font-size: 1.25em; line-height: 1.45; color: #6d4434; }
.pw-btns { display: flex; gap: .9em; }
.pw-b1 { padding: .85em 1.7em; border-radius: 999px; background: #4a2416; color: #fbe7d6; font-weight: 600; box-shadow: .3em .3em 0 #e3a33b; }
.pw-b2 { padding: .75em 1.5em; border: 2px solid #4a2416; border-radius: 999px; font-weight: 600; }
.pw-chips { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .4em; }
.pw-chips span { padding: .45em 1em; border-radius: 999px; font-size: .95em; font-weight: 500; }
.pw-chips span:nth-child(1) { background: #e3a33b; }
.pw-chips span:nth-child(2) { background: #8a9a5b; color: #fff6ee; }
.pw-chips span:nth-child(3) { background: #f2a6a0; }
.pw-chips span:nth-child(4) { box-shadow: inset 0 0 0 2px #c8553d; color: #c8553d; }
.pw-art { position: relative; align-self: stretch; }
.pw-blob { position: absolute; top: 4%; right: 4%; width: 62%; height: 84%; overflow: hidden; border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; transform: rotate(3deg); }
.pw-blob img { object-position: 50% 6%; }
.pw-round { position: absolute; left: 4%; bottom: 4%; width: 40%; aspect-ratio: 1; overflow: hidden; border: .55em solid #fbe7d6; border-radius: 50%; }
.pw-round img { filter: sepia(.35) saturate(1.2); }
.pw-sticker {
  position: absolute;
  right: 0; bottom: 6%;
  display: grid;
  place-items: center;
  width: 8.5em; height: 8.5em;
  border-radius: 50%;
  background: #8a9a5b;
  color: #fff6ee;
  font-size: 1.1em;
  font-style: italic;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-12deg);
}

@container (max-width: 600px) {
  .ps { font-size: 2.9cqw; }
  .ps-clasico { padding: 0 1.6em; }
  .pc-top { grid-template-columns: 1fr; padding: 1.4em 0 1em; }
  .pc-links { display: none; }
  .pc-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 1.6em; padding: 1.6em 0; }
  .pc-list { display: none; }
  .pc-arch { justify-self: center; width: 64%; outline-offset: .5em; }
  .pc-title { font-size: 3.6em; }
  .pc-text { font-size: 1.15em; }
  .pc-foot { gap: 1.2em; font-size: .75em; letter-spacing: .14em; }

  .pm-top { padding: 1.2em 1.4em; }
  .pm-links { display: none; }
  .pm-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .pm-copy { padding: 1.2em 1.4em; gap: .9em; }
  .pm-title { font-size: 4em; }
  .pm-text { display: none; }
  .pm-prices b { font-size: 2.2em; }
  .pm-word { font-size: 7.4em; }

  .pw-top { padding: 1.3em 1.5em; }
  .pw-links { display: none; }
  .pw-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 1em; padding: 0 1.5em 1.5em; }
  .pw-art { order: -1; min-height: 14em; }
  .pw-title { font-size: 3.6em; }
  .pw-text { display: none; }
  .pw-chips { display: none; }
  .pw-sticker { width: 6.4em; height: 6.4em; font-size: .95em; }
}

/* ── RÍA FISIOTERAPIA: Swiss clinical — Plex Sans, strict grid, square corners, blue and signal red ── */
.rx {
  --rx-ink: #0d1b2a;
  --rx-blue: #0047bb;
  --rx-red: #e4002b;
  --rx-mute: #5a6672;
  --rx-rule: rgba(13, 27, 42, .14);
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1cqw;
  line-height: 1.35;
  color: var(--rx-ink);
  background: #fff;
  animation: dv-a .9s var(--ease) both;
}
#dv-2:checked ~ .dv-stage .rx { animation-name: dv-b; }
.rx-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3em;
  height: 5em;
  padding: 0 2.6em;
  border-bottom: 1px solid var(--rx-rule);
}
.rx-logo { display: flex; align-items: center; gap: .55em; font-size: 1.4em; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.rx-logo i { width: .75em; height: .75em; background: var(--rx-red); }
.rx-logo b { font-weight: 400; color: var(--rx-mute); }
.rx-links { display: flex; justify-content: flex-end; gap: 2.4em; font-size: .95em; color: #3d4955; }
.rx-cta { padding: .8em 1.4em; background: var(--rx-blue); color: #fff; font-size: .95em; font-weight: 500; }
.rx-body { display: grid; grid-template-columns: 5fr 7fr; min-height: 0; }
.rx-photo { position: relative; overflow: hidden; border-right: 1px solid var(--rx-rule); }
.rx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rx-cap { position: absolute; left: 0; bottom: 0; padding: .6em 1em; background: #fff; font-size: .8em; color: var(--rx-mute); }
.rx-main { display: flex; flex-direction: column; gap: 1.2em; min-height: 0; padding: 2.4em 2.6em; }
.rx-kicker { display: flex; align-items: center; gap: .7em; font-size: .9em; font-weight: 500; color: var(--rx-blue); }
.rx-kicker::before { content: ""; width: 1.8em; height: .22em; background: var(--rx-red); }
.rx-title { font-size: 4.8em; font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.rx-text { max-width: 34em; font-size: 1.1em; line-height: 1.45; color: #3d4955; }
.rx-table { display: flex; flex-direction: column; border-top: 2px solid var(--rx-ink); }
.rx-th, .rx-tr { display: grid; grid-template-columns: 1fr 7em 5em; padding: .7em 0; border-bottom: 1px solid var(--rx-rule); }
.rx-th { font-size: .8em; color: var(--rx-mute); }
.rx-th span:last-child, .rx-tr span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rx-tr span:last-child { font-weight: 600; }
.rx-book { display: flex; margin-top: auto; }
.rx-next { flex: 1; display: flex; flex-direction: column; padding: .75em 1.1em; background: #f2f3f1; font-weight: 600; }
.rx-next small { font-size: .8em; font-weight: 400; color: var(--rx-mute); }
.rx-btn { display: grid; place-items: center; padding: 0 2.2em; background: var(--rx-ink); color: #fff; font-weight: 500; }
.rx-info { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rx-rule); }
.rx-info span { display: flex; flex-direction: column; padding: .9em 2.6em; border-right: 1px solid var(--rx-rule); font-size: .95em; font-weight: 500; }
.rx-info span:last-child { border-right: 0; background: var(--rx-blue); color: #fff; }
.rx-info small { font-size: .8em; font-weight: 400; color: var(--rx-mute); }
.rx-info span:last-child small { color: rgba(255, 255, 255, .75); }
.rx-tabbar { display: none; }

/* the same site, recomposed for the phone */
@container (orientation: portrait) {
  .rx { grid-template-rows: auto minmax(0, 1fr); font-size: 4.3cqw; }
  .rx-nav { grid-template-columns: 1fr auto; gap: 1em; height: auto; padding: 2.8em 1.1em .8em; }
  .rx-links { display: none; }
  .rx-logo { font-size: 1.15em; }
  .rx-cta { padding: .55em .9em; font-size: .8em; }
  .rx-body { grid-template-columns: 1fr; grid-template-rows: 11em auto; align-content: start; }
  .rx-photo { border-right: 0; }
  .rx-cap { display: none; }
  .rx-main { gap: .7em; padding: 1.1em 1.1em 0; }
  .rx-kicker { font-size: .75em; }
  .rx-title { font-size: 2.3em; }
  .rx-text { font-size: .85em; }
  .rx-th { display: none; }
  .rx-th, .rx-tr { grid-template-columns: 1fr 4em 3em; padding: .5em 0; font-size: .82em; }
  .rx-info { display: none; }
  .rx-book { margin-top: .5em; font-size: .85em; }
  .rx-btn { padding: 0 1.4em; }
  .rx-tabbar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    padding-bottom: 1.2em;
    border-top: 1px solid var(--rx-rule);
    background: #fff;
    font-size: .75em;
    text-align: center;
    color: #3d4955;
  }
  .rx-tabbar span { display: flex; flex-direction: column; align-items: center; gap: .35em; padding: .8em 0 .6em; }
  .rx-tabbar .on { background: var(--rx-blue); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .ps, .rx { animation: none !important; }
}

/* identical keyframes under two names: switching device replays the swap */
@keyframes dv-a { 0%, 100% { opacity: 1; } 18%, 80% { opacity: 0; } }
@keyframes dv-b { 0%, 100% { opacity: 1; } 18%, 80% { opacity: 0; } }

/* ── V11: LAUNCH PASS (phone, mobile menu, Tea Time, 404) ── */

/* header: phone next to Contacto on desktop; a call pill and a menu button below 960px */
.header-inner { position: relative; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header-tel {
  font-size: .8125rem;
  font-weight: 500;
  font-stretch: 112%;
  letter-spacing: .14em;
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}
.header-tel:hover { color: var(--ink); }
.header-tel-say, .nav-contact, .menu-btn { display: none; }
.menu-btn {
  width: 44px; height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--glass-shadow);
  color: var(--ink);
  cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 1px; }
.menu-lines { position: relative; background: transparent; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; transition: transform .3s var(--ease); }
.menu-lines::before { top: -3.5px; }
.menu-lines::after  { top: 3.5px; }
.is-open .menu-lines::before { transform: translateY(3.5px) rotate(45deg); }
.is-open .menu-lines::after  { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .header-actions { gap: 6px; }
  .header-actions .header-cta { display: none; }
  .header-tel {
    display: inline-flex;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    text-transform: uppercase;
  }
  .header-tel:hover { background: #2c303a; color: #fff; }
  .header-tel-say { display: inline; }
  .js .menu-btn { display: grid; }
  .nav-contact { display: block; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    padding: 8px;
    border-radius: 24px;
    background: #f7f8fa;
    box-shadow: var(--glass-shadow);
  }
  .site-header.is-open .nav a { padding: 14px 16px; border-radius: 16px; background: none; font-size: .875rem; color: var(--ink); }
  .site-header.is-open .nav a:hover { background: rgba(21, 23, 28, .06); }
}
@media (max-width: 640px) {
  .header-tel-num { display: none; }
  .header-tel { padding: 11px 12px; font-size: .75rem; letter-spacing: .08em; }
}

/* contact: phone and email, one under the other */
.contact-links { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* footer: the phone and email travel with the copyright line */
.footer-id { color: inherit; }
.footer-id a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Tea Time: logo beside the name, what the site has as plain chips */
.project-name { display: flex; align-items: center; gap: 14px; }
.project-name img { flex: none; width: 52px; height: auto; border-radius: 12px; }
.project-body .project-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.project-facts li { padding: 6px 14px; border-radius: 999px; background: var(--glass-strong); font-size: .875rem; color: var(--ink-2); }

/* 404 */
.notfound { padding: 16px 0 clamp(16px, 3vw, 32px); }
.notfound-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(420px, calc(100svh - 220px), 620px);
  padding: clamp(24px, 6vw, 72px);
  border-radius: 36px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
}
.notfound .label { margin-bottom: 16px; }
.notfound h1 { font-family: var(--display); font-size: clamp(2.7rem, 5.6vw, 4.9rem); font-weight: 350; letter-spacing: -0.05em; line-height: 1; margin-bottom: 20px; }
@media (max-width: 640px) {
  .notfound-panel { border-radius: 26px; }
  .notfound .actions .btn { flex: 1; justify-content: center; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-lines::before, .menu-lines::after { transition: none; }
}
