/* =========================================================================
   Dr. Felipe Hoff Martins · Fisioterapeuta
   Mundo visual: o consultório dele.
   Parede branca com galhos finos · placa preta em moldura · mesa de nogueira
   · ficha de papel · divisória de vidro preta · verde só no botão do WhatsApp.
   ========================================================================= */

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Ms Madi";
  src: url("../fonts/ms-madi.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* parede */
  --wall: #EEEEEA;
  --wall-deep: #E2E2DD;
  /* tinta preta: a única cor de contorno */
  --ink: #121212;
  --ink-soft: #464643;
  --ink-mute: #6A6A66;
  /* mesa de nogueira */
  --walnut: #4A2F1D;
  --walnut-edge: #2C1B10;
  --walnut-top: #6E4A31;
  --walnut-ink: #EFE3D4;
  --walnut-ink-soft: #D9C8B4;
  /* papel da ficha */
  --paper: #FBFBF7;
  --rule: #A9A9A2;
  /* verde do gramado: reservado à ação */
  --go: #1E7A44;
  --go-deep: #165E34;
  --go-ink: #FFFFFF;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-script: "Ms Madi", "Segoe Script", cursive;

  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1240px;
  --topbar-h: 64px;

  --line: 2px;
  --frame: 7px;
  --frame-thick: clamp(9px, 1vw, 14px);

  --shadow-paper: 0 1px 1px rgba(0,0,0,.08), 0 10px 18px -8px rgba(0,0,0,.35), 0 32px 60px -24px rgba(0,0,0,.55);
  --shadow-hang: 0 14px 28px -12px rgba(0,0,0,.35);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--wall);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--ink) var(--wall-deep);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--wall); }
:focus-visible { outline: 3px solid var(--go); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--wall); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Materiais ---------- */
.wall {
  background-color: var(--wall);
  background-image: url("../img/galhos.svg"), url("../img/galhos.svg");
  background-size: 560px 560px, 820px 820px;
  background-position: 0 0, 310px 170px;
}
.desk {
  position: relative;
  background-color: var(--walnut);
  background-image: url("../img/nogueira.svg");
  background-size: 900px 420px;
  color: var(--walnut-ink);
}
.sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}
.frame {
  background: var(--ink);
  border: var(--frame) solid var(--ink);
  box-shadow: var(--shadow-hang);
}
.frame--thick { border-width: var(--frame-thick); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tipografia ---------- */
.display, .hero-title, .h2, .sign__name, .mono, .step h3 {
  font-family: var(--f-sans);
  font-stretch: 62%;
  font-weight: 820;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .002em;
}
.h2 {
  font-size: clamp(2.25rem, 4.2vw + .5rem, 4rem);
  text-wrap: balance;
}
.h2--big { font-size: clamp(2.75rem, 6vw + .5rem, 5.5rem); }
.role {
  font-stretch: 125%;
  font-weight: 650;
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.section-lead {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.script {
  font-family: var(--f-script);
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Placa (sinalização do consultório) ---------- */
.sign {
  display: inline-flex;
  align-items: center;
  gap: .32em;
  border: clamp(4px, .45vw, 6px) solid currentColor;
  padding: .2em .45em .2em .2em;
  font-size: clamp(30px, 3vw, 46px);
}
.mono {
  display: inline-grid;
  place-items: center;
  width: 1.22em;
  height: 1.22em;
  background: var(--ink);
  color: var(--wall);
  font-size: 1em;
  line-height: 1;
  padding-top: .04em;
}
.sign__name { font-size: 1em; line-height: 1; white-space: nowrap; }
.mono--sm { font-size: 22px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 48px;
  padding: .8em 1.25em;
  border: 0;
  border-radius: 2px;
  background: var(--go);
  color: var(--go-ink);
  font: 700 1rem/1.15 var(--f-sans);
  font-stretch: 100%;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.25), 0 8px 18px -10px rgba(0,0,0,.6);
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  cursor: pointer;
}
.btn:hover { background: var(--go-deep); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn--lg { font-size: 1.08rem; padding: 1em 1.5em; min-height: 56px; }
.btn--sm { font-size: .9rem; padding: .55em .95em; min-height: 40px; }
.btn--block { width: 100%; justify-content: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.link-arrow {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.link-arrow .icon { margin-left: .35em; vertical-align: -.25em; transition: transform .25s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Barra superior (computador) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: var(--gutter);
  background: rgba(238, 238, 234, .9);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: var(--line) solid var(--ink);
}
.topbar__sign {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.topbar.is-scrolled .topbar__sign { opacity: 1; transform: none; pointer-events: auto; }
.topbar__name {
  font-stretch: 62%; font-weight: 820; text-transform: uppercase;
  font-size: 24px; line-height: 1; letter-spacing: .01em;
}
.topbar__nav { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; }
.topbar__nav a {
  font-size: .9rem; font-weight: 600; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.topbar__nav a:hover { border-bottom-color: var(--ink); }

/* =========================================================================
   A SALA — primeira tela
   ========================================================================= */
.room { position: relative; display: flex; flex-direction: column; }
.room > .wall { flex: 1 0 auto; }

.wall__inner {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: calc(var(--topbar-h) + clamp(24px, 4.5vh, 56px));
  padding-bottom: clamp(84px, 10.5vh, 112px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.hero-copy { position: relative; }
.lockup { display: inline-flex; flex-direction: column; font-size: clamp(30px, 3vw, 46px); }
.lockup .sign { font-size: 1em; }
.lockup__role {
  display: flex; justify-content: space-between;
  margin-top: .3em; padding-inline: .1em;
  font-stretch: 125%; font-weight: 720; font-size: .34em; line-height: 1;
}
.nowrap { white-space: nowrap; }
.hero-title {
  margin-top: clamp(40px, 5vh, 56px);
  font-size: clamp(3rem, 5.6vw + .5rem, 6rem);
  max-width: 17ch;
  text-wrap: balance;
}
.hero-lead {
  margin-top: clamp(18px, 2.6vh, 28px);
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, .5vw + .85rem, 1.2rem);
  text-wrap: pretty;
}

.portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 390px, 40svh);
}
.portrait .frame { aspect-ratio: 3 / 4; transform: rotate(.6deg); }
.portrait img { object-position: 50% 100%; }
.script--hero {
  position: absolute;
  left: -22%;
  bottom: -1.32em;
  font-size: clamp(2.8rem, 4.4vw, 4.6rem);
  white-space: nowrap;
  transform: rotate(-4deg);
  transform-origin: left center;
  color: var(--ink);
  pointer-events: none;
}

/* mesa da primeira tela */
.desk--hero {
  box-shadow: inset 0 6px 0 var(--walnut-top), 0 -18px 30px -24px rgba(0,0,0,.5);
  border-bottom: 10px solid var(--walnut-edge);
}
.desk--hero .desk__inner {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(28px, 4.5vh, 48px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}

/* a ficha */
.ficha {
  margin-top: clamp(-84px, -9vh, -60px);
  padding: clamp(20px, 2.4vw, 32px);
  transform: rotate(-.7deg);
}
.sheet__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 6px 18px;
  padding-bottom: 12px;
  border-bottom: var(--line) solid var(--ink);
}
.sheet__title {
  font-stretch: 125%;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.sheet__hint { font-size: .85rem; color: var(--ink-mute); }

.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 18px 0 20px; padding: 0; border: 0; min-width: 0;
}
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  border: var(--line) dashed var(--ink);
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  user-select: none;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.chip span:hover { background: var(--wall); }
.chip input:checked + span { border-style: solid; background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--go); outline-offset: 3px; }

.ficha__action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ficha__phone { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-soft); }

.desk__facts {
  list-style: none;
  display: grid; gap: 10px;
  font-size: .95rem;
  color: var(--walnut-ink);
  padding-top: 24px;
}
.desk__facts li { padding-top: 10px; border-top: 1px solid rgba(239, 227, 212, .28); }
.desk__facts li:first-child { border-top: 0; padding-top: 0; }
.desk__facts a { text-decoration-color: rgba(239, 227, 212, .5); }
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; margin-right: 6px; }
.stars .icon { width: 1em; height: 1em; }

/* =========================================================================
   O QUE TRATA — a ficha grande sobre a mesa
   ========================================================================= */
.desk--section { padding-block: clamp(64px, 9vw, 128px); }
.desk--section .desk__inner {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.trata {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.sheet--wide { padding: clamp(26px, 4vw, 56px); transform: rotate(.35deg); }
.sheet__intro { margin-top: 16px; max-width: 56ch; color: var(--ink-soft); }
.checklist { list-style: none; margin-top: 28px; }
.checklist li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed var(--rule);
}
.checklist li:last-child { border-bottom: 1px dashed var(--rule); }
.box {
  width: 22px; height: 22px; margin-top: 3px;
  border: var(--line) solid var(--ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cpath d='M3 17 C9 21 12 25 15 29 C21 17 29 8 37 3' fill='none' stroke='%23121212' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 3px -1px / 24px 19px no-repeat;
}
.sheet__foot { margin-top: 22px; font-size: .95rem; color: var(--ink-mute); }

.photo-on-desk { margin-top: clamp(0px, 4vw, 56px); transform: rotate(2deg); }
.photo-on-desk .frame { aspect-ratio: 3 / 4; }
.photo-on-desk figcaption { margin-top: 16px; font-size: .92rem; color: var(--walnut-ink-soft); max-width: 34ch; }

/* =========================================================================
   COMO FUNCIONA — a escada até o treino
   ========================================================================= */
.wall--section { padding-block: clamp(80px, 10vw, 144px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--split {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px); align-items: end;
}
.section-head--split .section-lead { margin-top: 0; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
/* cada fase um degrau acima: da avaliação de volta ao treino */
.step:nth-child(1) { margin-top: 128px; }
.step:nth-child(2) { margin-top: 96px; }
.step:nth-child(3) { margin-top: 64px; }
.step:nth-child(4) { margin-top: 32px; }
.step .frame { aspect-ratio: 10 / 11; }
.step__text h3 {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  font-size: clamp(1.4rem, 1.2vw + .8rem, 1.85rem);
}
.step__n {
  display: inline-grid; place-items: center;
  width: 1.15em; height: 1.15em;
  background: var(--ink); color: var(--wall);
  font-size: .8em;
}
.step__text p { margin-top: 8px; font-size: .95rem; color: var(--ink-soft); text-wrap: pretty; }
.step { position: relative; }
.tick-note {
  position: absolute; z-index: 2; top: -12px; right: -10px;
  display: grid; place-items: center;
  width: 46px; height: 42px;
  background: var(--paper);
  box-shadow: 0 6px 12px -6px rgba(0,0,0,.45);
  transform: rotate(5deg);
}
.tick { width: 28px; height: 23px; overflow: visible; }
.tick path {
  fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 60; stroke-dashoffset: 0;
}
.js .step:not(.is-done) .tick path { stroke-dashoffset: 60; }
.js .tick path { transition: stroke-dashoffset .9s var(--ease-out) .25s; }

.pull-row {
  margin-top: clamp(72px, 9vw, 128px);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
.pull { max-width: 40ch; }
.pull-photo { max-width: 440px; justify-self: center; }
.pull-photo .frame { aspect-ratio: 3 / 4; transform: rotate(-1.5deg); }
.pull::before { content: ""; display: block; width: 64px; height: 6px; background: var(--ink); margin-bottom: 22px; }
.pull p { font-size: clamp(1.5rem, 1.6vw + .9rem, 2.25rem); line-height: 1.3; font-weight: 500; text-wrap: balance; }
.pull cite { display: block; margin-top: 16px; font-style: normal; font-stretch: 125%; font-weight: 700; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; }
.inline-cta { margin-top: 36px; }

/* =========================================================================
   CONSULTÓRIO — divisória de vidro com caixilho preto
   ========================================================================= */
.glass-section {
  background: var(--ink);
  color: var(--wall);
  padding-block: clamp(80px, 10vw, 144px);
}
.glass-section .section-lead { color: #CFCFC9; }
.glazing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(200px, 22vw, 330px);
  gap: clamp(8px, .9vw, 12px);
  background: var(--ink);
}
.pane { overflow: hidden; background: #1d1d1d; }
.pane--wide { grid-column: span 2; grid-row: span 2; }
.pane img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9) saturate(.95); transition: filter .6s var(--ease-out); }
.pane:hover img { filter: brightness(1.04) saturate(1); }
.facts-row {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  margin-top: 32px;
  color: #D9D9D3; font-size: .95rem;
}
.facts-row li { display: inline-flex; align-items: center; gap: 10px; }

/* =========================================================================
   PRÊMIO
   ========================================================================= */
.award__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.award__photo { max-width: 440px; }
.award__photo .frame { aspect-ratio: 1; transform: rotate(-1.4deg); }

/* =========================================================================
   AVALIAÇÕES — livro de visitas
   ========================================================================= */
.sheet--ledger { padding: clamp(26px, 4vw, 60px); transform: rotate(-.25deg); }
.ledger__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}
.ledger__score { font-size: 1.02rem; }
.ledger__score strong { font-size: 1.25em; font-variant-numeric: tabular-nums; }
.ledger__score .stars { color: var(--ink); }
.ledger {
  list-style: none;
  columns: 2;
  column-gap: clamp(32px, 5vw, 72px);
  column-rule: 1px dashed var(--rule);
}
.entry { break-inside: avoid; padding: 22px 0; border-bottom: 1px dashed var(--rule); }
.entry blockquote { font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.entry--lead { column-span: all; padding-block: 28px; }
.entry--lead blockquote { font-size: clamp(1.25rem, 1.2vw + .8rem, 1.7rem); line-height: 1.35; font-weight: 500; max-width: 46ch; }
.entry__who {
  margin-top: 10px;
  font-stretch: 125%; font-weight: 700; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
}
.entry__who::after { content: " · Google"; color: var(--ink-mute); font-weight: 600; }

/* =========================================================================
   ONDE FICA
   ========================================================================= */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.visit__text .btn { margin-top: 28px; }
.visit__info { display: grid; gap: 18px; margin-top: 40px; }
.visit__info dt {
  font-stretch: 125%; font-weight: 700; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
}
.visit__info dd { margin-top: 4px; color: var(--ink-soft); }
.visit__photo { justify-self: end; width: min(100%, 460px); }
.visit__photo .frame { aspect-ratio: 3 / 4; transform: rotate(1.2deg); }
.visit__photo figcaption, .pull-photo figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-mute); }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.footer {
  background: var(--ink);
  color: var(--wall);
  padding-block: 56px;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: end;
}
.sign--footer { color: var(--wall); font-size: 30px; }
.sign--footer .mono { background: var(--wall); color: var(--ink); }
.footer__sign .role { margin-top: 12px; }
.footer__legal { font-size: .88rem; color: #C9C9C3; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.script--footer { grid-column: 1 / -1; font-size: clamp(2.6rem, 4vw, 3.6rem); transform: rotate(-3deg); transform-origin: left; opacity: .92; }

/* ---------- Barra do celular ---------- */
.mobile-cta { display: none; }

/* ---------- Movimento autoral: o "Movimento cura!" escrito na parede ---------- */
@media (prefers-reduced-motion: no-preference) {
  .script--hero { animation: escrever 1.6s var(--ease-out) .35s both; }
  @keyframes escrever {
    from { clip-path: inset(-20% 100% -20% 0); }
    to   { clip-path: inset(-20% 0 -20% 0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1099px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(n) { margin-top: 0; }
}

@media (max-width: 899px) {
  :root { --topbar-h: 0px; }
  .topbar { display: none; }
  html { scroll-padding-top: 16px; }
  .footer { padding-bottom: calc(56px + 76px + env(safe-area-inset-bottom)); }

  .mobile-cta {
    display: block;
    position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(238, 238, 234, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: var(--line) solid var(--ink);
    transition: transform .35s var(--ease-out);
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }

  .wall__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding-bottom: 96px; }
  .desk--hero .desk__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .desk__facts { padding-top: 8px; }

  .trata { grid-template-columns: minmax(0, 1fr); }
  .photo-on-desk { max-width: 340px; margin-inline: auto; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .award__inner { grid-template-columns: minmax(0, 1fr); }
  .award__photo { max-width: 380px; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit__photo { justify-self: start; max-width: 380px; }
  .pull-row { grid-template-columns: minmax(0, 1fr); }
  .pull-photo { justify-self: start; max-width: 300px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 699px) {
  .wall__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px;
    gap: 40px;
    padding-bottom: 92px;
  }
  .sign { font-size: clamp(26px, 8.4vw, 36px); }
  .lockup { font-size: clamp(26px, 8.4vw, 36px); }
  .hero-title { margin-top: 40px; font-size: clamp(2.7rem, 12.5vw, 4.2rem); }
  .portrait { justify-self: end; width: min(76%, 330px); margin-top: 26px; }
  .script--hero { left: -30%; top: -.95em; bottom: auto; font-size: clamp(2.6rem, 12vw, 3.6rem); }

  .ficha { margin-top: -64px; transform: rotate(-.5deg); }
  .chips { gap: 8px; }
  .sheet__title { letter-spacing: .12em; }
  .hide-sm { display: none; }
  .chip span { font-size: .9rem; padding: 8px 12px; }
  .ficha .btn--lg { width: 100%; justify-content: center; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .step { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 16px; align-items: start; }
  .step__text h3 { margin-top: 2px; }
  .tick-note { top: -8px; right: auto; left: calc(38% - 34px); width: 40px; height: 36px; }

  .glazing { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 46vw, 260px); }
  .pane--wide { grid-column: span 2; grid-row: span 1; }

  .ledger { columns: 1; }
  .entry--lead blockquote { font-size: 1.2rem; }
  .visit__text .btn { width: 100%; justify-content: center; }
}
