@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/fonts/epilogue-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/anton-latin.woff2) format("woff2");
}
/* metric-matched fallback so the sign doesn't jump when Anton arrives */
@font-face {
  font-family: "Anton Fallback";
  src: local("Impact"), local("Arial Narrow Bold"), local("Arial Bold");
  size-adjust: 96%;
}

:root {
  --night: #0d0d0c;
  --cream: #efe6d2;
  --bg: #e6dbc7;        /* arena */
  --surface: #ddd0b9;
  --ink: #141312;
  --muted: #4a4641;
  --cobalt: #062b8a;
  --cobalt-2: #1d47ad;
  --wa: #1f9d55;
  --line: rgba(20, 19, 18, .16);

  --sans: "Epilogue", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sign: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.25rem, 1.3rem + 4vw, 4.75rem);

  --m: clamp(16px, 2.6vw, 40px);
  --gap: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-body);
  line-height: 1.5;
  font-kerning: normal;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

/* duotone for the old photos: cobalt shadows, sand lights */
.duo { position: relative; background: var(--cobalt); overflow: hidden; isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: screen; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--bg); mix-blend-mode: multiply; pointer-events: none; }
figcaption { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--bg); color: var(--ink); font-size: var(--step-small); padding: 6px 10px 4px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--bg); min-height: 54px;
  font: 600 1.0625rem/1.1 var(--sans); text-decoration: none; text-align: center;
  padding: 16px 24px 14px; border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; margin-top: -2px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--cream); color: var(--night); }
.btn-wa svg { color: var(--wa); }
.btn-wa:hover { background: #fff8ea; }
.btn-line { background: transparent; color: var(--cream); border-color: rgba(239, 230, 210, .55); }
.btn-line:hover { border-color: var(--cream); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark svg { color: #3ed07f; }
.btn-dark:hover { background: #2a2825; }

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--night); color: var(--cream);
  min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr; padding: 0 var(--m);
}
.nav {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0; font-size: var(--step-small); font-weight: 500;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.brand-mark { width: 32px; height: 11px; color: var(--cream); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { position: relative; text-decoration: none; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.hero-copy { position: relative; z-index: 4; padding-top: 12px; max-width: 34rem; }
.hero-title {
  font-family: var(--sans); font-weight: 800; font-size: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
.hero-sub { margin-top: 20px; font-size: var(--step-lead); line-height: 1.4; color: rgba(239, 230, 210, .9); max-width: 30ch; }
.hero-me { margin-top: 14px; font-size: var(--step-small); line-height: 1.5; color: rgba(239, 230, 210, .7); max-width: 40ch; }
.hero-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* the painted sign + the photo in front of it */
.hero-stage { position: relative; z-index: 1; }
.sign {
  font-family: var(--sign); font-weight: 400; text-transform: uppercase; color: var(--cream);
  line-height: .9; letter-spacing: .005em; white-space: nowrap; text-align: center;
  font-size: calc((100vw - 2 * var(--m)) / 3.34); /* Anton: "ARGEÑAL" is 3.27em wide → fills the row */
  user-select: none; pointer-events: none;
}
.sign span { display: block; }
.hero-photo { position: absolute; z-index: 2; display: block; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%;
}

/* phone first: copy, then the sign with the photo standing in front of it */
.hero-stage { margin: 36px calc(var(--m) * -1) 0; height: min(118vw, 520px); }
.sign { position: absolute; left: 0; right: 0; top: 7%; }
.hero-photo { left: 0; right: 0; margin: 0 auto; bottom: 0; width: 86vw; max-width: 440px; height: 100%; }

@media (max-width: 760px) {
  /* the photo is cut straight at the right shoulder: fade it when centered */
  .hero-photo img { object-position: 50% 100%; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16%); mask-image: linear-gradient(to left, transparent 0, #000 16%); }
}
@media (min-width: 761px) {
  .hero { grid-template-rows: auto auto 1fr; }
  .hero-copy { align-self: start; padding-top: clamp(12px, 3vh, 40px); max-width: min(50%, 38rem); }
  .hero-title { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.5rem); }
  .hero-stage { position: static; margin: 0 calc(var(--m) * -1); height: auto; align-self: end; }
  .sign { position: relative; top: auto; padding-top: clamp(48px, 8vh, 96px); margin-bottom: -.02em; }
  .hero-photo { left: auto; right: 0; bottom: 0; margin: 0; width: min(46vw, 720px); height: min(86svh, 54vw); }
}

/* entrance: sign rises like a shutter, copy fades in */
.sign span { animation: rise 1.1s var(--ease) both; }
.hero-photo { animation: fadeup 1s .25s var(--ease) both; }
.hero-copy { animation: fadeup .8s .45s var(--ease) both; }
@keyframes rise { from { clip-path: inset(100% -5% -10% -5%); transform: translateY(12%); } to { clip-path: inset(-30% -5% -10% -5%); transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (min-width: 761px) { .hero-photo { animation-name: fadein; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- WhatsApp floating button (phone) ---------- */
.wa-float { display: none; }
@media (max-width: 760px) {
  .nav-links { gap: 16px; }
  .nav-links a:not([href$="#contacto"]) { display: none; }
  .wa-float {
    display: grid; place-items: center; position: fixed; z-index: 30;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
    transform: scale(0); transition: transform .35s var(--ease);
  }
  .wa-float.show { transform: none; }
  .wa-float svg { width: 30px; height: 30px; }
}

/* ---------- shared heads ---------- */
.mid-head { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.035em; line-height: .95; margin-bottom: 28px; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 44ch; }

/* ---------- about / origin ---------- */
.origin {
  padding: var(--gap) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px;
}
.origin-text { grid-column: 1 / 6; grid-row: 1 / 3; align-self: start; position: sticky; top: 40px; }
.origin-text > p { max-width: 46ch; margin-bottom: 1em; }
.me { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--ink); max-width: 46ch; }
.me p { margin-bottom: .7em; }
.me p:first-child { font-weight: 700; }
.pic-a { grid-column: 6 / 13; grid-row: 1; aspect-ratio: 4 / 3; }
.pic-b { grid-column: 6 / 9; grid-row: 2; aspect-ratio: 4 / 5; }
.pic-c { grid-column: 9 / 13; grid-row: 2; aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .origin { grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 10px; }
  .origin-text { grid-column: 1 / -1; grid-row: auto; position: static; margin-bottom: 32px; }
  .pic-a { grid-column: 1 / -1; grid-row: auto; }
  .pic-b { grid-column: 1; grid-row: auto; }
  .pic-c { grid-column: 2; grid-row: auto; }
  .pic-b figcaption, .pic-c figcaption { font-size: .75rem; padding-right: 6px; }
}

/* ---------- inner pages: header band ---------- */
.page-top { background: var(--night); color: var(--cream); padding: 0 var(--m); }

/* ---------- projects page (coming soon until proyectos.js has entries) ---------- */
.soon-page { background: var(--night); color: var(--cream); }
.pj {
  min-height: calc(100svh - 76px); padding: clamp(24px, 5vh, 64px) var(--m) clamp(80px, 13vh, 150px);
  display: flex; flex-direction: column; justify-content: center;
}
.pj-title {
  font-family: var(--sign); font-weight: 400; text-transform: uppercase; text-align: center; white-space: nowrap;
  line-height: .9; letter-spacing: .005em; color: var(--cream);
  font-size: calc((100vw - 2 * var(--m)) / 4.25); /* Anton: "PROYECTOS" is ~4.2em wide → fills the row */
}
.pj-title span { display: block; animation: rise 1.1s var(--ease) both; }
.pj-cta {
  margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(28px, 4vw, 44px); border-top: 2px solid rgba(239, 230, 210, .9);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  animation: fadeup .8s .35s var(--ease) both;
}
.pj-cta--plain { border-top: 0; }
.pj-text {
  max-width: 24ch; font-size: clamp(1.5rem, 1rem + 2.1vw, 2.625rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance;
}
.pj-btns { margin-top: clamp(28px, 3.5vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }
.pj-back { font-weight: 600; text-underline-offset: 5px; padding: 12px 0; color: rgba(239, 230, 210, .85); }
.pj-back:hover { color: var(--cream); text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .pj-btns { width: 100%; flex-direction: column; }
  .pj-btns .btn { width: 100%; }
}

/* with projects: title, grid of cards, then the WhatsApp call */
.has-projects .pj { justify-content: flex-start; }
.pj-grid { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr; gap: 32px; }
.pj-grid[hidden] { display: none; }
@media (min-width: 761px) { .pj-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
@media (min-width: 1100px) { .pj-grid { grid-template-columns: repeat(3, 1fr); } }
.pj-link { display: block; text-decoration: none; }
.pj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1c1b19; display: grid; place-items: center; }
.pj-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.pj-link:hover .pj-img img { transform: scale(1.03); }
.pj-img-name { font-family: var(--sign); text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; padding: 0 16px; text-align: center; }
.pj-info { padding-top: 14px; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline; }
.pj-name { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.pj-city { grid-column: 1; color: rgba(239, 230, 210, .7); }
.pj-go { grid-column: 2; grid-row: 1; font-size: var(--step-small); font-weight: 600; white-space: nowrap; }
.pj-link:hover .pj-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.has-projects .pj-cta { margin-top: clamp(56px, 7vw, 96px); }

/* ---------- steps ---------- */
.steps { padding: 0 var(--m) var(--gap); }
.steps-intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: 56px; align-items: end; }
.steps-intro h2 { grid-column: 1 / 6; margin: 0; }
.steps-intro p { grid-column: 7 / 12; }
.accordion { display: flex; height: 420px; }
.stage { position: relative; flex: 1 1 0; min-width: 0; color: var(--cream); background: var(--night); transition: flex-grow .45s var(--ease); overflow: hidden; border-left: 1px solid rgba(239, 230, 210, .14); }
.stage:first-child { border-left: 0; }
.stage.open { flex-grow: 6; background: var(--cobalt); }
.stage-tab {
  position: absolute; inset: 0; width: 100%; background: none; border: 0; color: inherit; cursor: pointer;
  font: 400 1.375rem/1 var(--sign); text-transform: uppercase; letter-spacing: .03em; text-align: left; padding: 0;
}
.stage-tab span { position: absolute; left: 22px; bottom: 26px; transform-origin: left bottom; transform: rotate(-90deg) translateY(100%); white-space: nowrap; transition: transform .45s var(--ease), font-size .45s var(--ease); }
.stage.open .stage-tab { cursor: default; }
.stage.open .stage-tab span { transform: none; top: 28px; bottom: auto; left: 32px; font-size: 3rem; }
.stage:not(.open) .stage-tab:hover span { transform: rotate(-90deg) translateY(100%) translateX(8px); }
.stage-body { position: absolute; left: 32px; bottom: 32px; width: min(34ch, calc(100% - 64px)); font-size: var(--step-lead); line-height: 1.35; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .45s var(--ease); pointer-events: none; }
.stage.open .stage-body { opacity: 1; transform: none; transition-delay: .2s; }
@media (max-width: 760px) {
  .steps-intro { display: block; margin-bottom: 32px; }
  .steps-intro h2 { margin-bottom: 16px; }
  .accordion { flex-direction: column; height: auto; }
  .stage, .stage.open { flex: none; border-left: 0; border-top: 1px solid rgba(239, 230, 210, .14); }
  .stage-tab { position: relative; inset: auto; height: 60px; }
  .stage-tab span, .stage.open .stage-tab span { transform: none; position: static; display: block; padding: 0 20px; font-size: 1.25rem; line-height: 60px; }
  .stage:not(.open) .stage-tab:hover span { transform: none; }
  .stage-body { position: static; width: auto; padding: 0 20px 24px; font-size: var(--step-body); display: none; }
  .stage.open .stage-body { display: block; }
}

/* ---------- pricing ---------- */
.pricing { background: var(--night); color: var(--cream); padding: var(--gap) var(--m); }
.pricing-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.pricing-top .mid-head { margin: 0; }
.cur { display: inline-flex; border: 2px solid var(--cream); }
.cur button {
  font: 600 1rem/1 var(--sans); color: var(--cream); background: transparent; border: 0;
  min-width: 64px; min-height: 44px; padding: 10px 16px 8px; cursor: pointer; transition: background-color .2s, color .2s;
}
.cur button[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 32px 28px 28px; border: 1px solid rgba(239, 230, 210, .28);
}
.tier-rec { background: var(--cobalt); border-color: var(--cobalt); }
.tier-badge {
  position: absolute; top: -14px; left: 28px; font-family: var(--sign); text-transform: uppercase; letter-spacing: .05em;
  font-size: .9375rem; line-height: 1; background: var(--cream); color: var(--night); padding: 7px 10px 5px;
}
.tier-name { font-size: var(--step-lead); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.tier-price { font-size: var(--step-small); color: rgba(239, 230, 210, .8); }
.amt { display: block; font-family: var(--sign); font-size: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); line-height: 1; color: var(--cream); letter-spacing: .01em; margin-top: 4px; }
.amt.swap { animation: fadeup .4s var(--ease); }
.tier-text { color: rgba(239, 230, 210, .88); flex: 1; }
.tier .btn { width: 100%; }
.btn-line-dark { background: transparent; color: var(--cream); border-color: rgba(239, 230, 210, .55); }
.btn-line-dark:hover { border-color: var(--cream); }
.incl { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 40px; font-weight: 600; }
.incl li { display: flex; align-items: center; gap: 10px; }
.incl li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); flex: none; }
.price-note { margin-top: 20px; max-width: 64ch; color: rgba(239, 230, 210, .75); font-size: var(--step-small); }
@media (min-width: 901px) { .tier-name { min-height: 2.3em; } }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; gap: 28px; }
  .incl { flex-direction: column; }
}

/* ---------- faq ---------- */
.faq { padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq .mid-head { grid-column: 1 / 5; }
.qs { grid-column: 5 / 13; border-top: 2px solid var(--ink); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.3; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.qs details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.qs summary:hover { color: var(--cobalt); }
.qs details p { max-width: 56ch; padding: 0 0 24px; color: var(--muted); }

/* ---------- contact ---------- */
.contact {
  background: var(--cobalt); color: var(--cream); padding: var(--gap) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px;
}
.contact-intro { grid-column: 1 / 7; }
.contact-head { font-size: clamp(2.25rem, 1.2rem + 3vw, 4rem); font-weight: 900; letter-spacing: -0.035em; line-height: .98; text-wrap: balance; }
.contact-lead { margin: 20px 0 28px; font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.form { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.form-alt { grid-column: 1 / -1; font-weight: 600; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: var(--step-body); font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.opt { font-weight: 400; opacity: .85; }
.form input, .form textarea {
  font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); background: var(--cream);
  border: 0; border-radius: 0; padding: 14px 14px 12px; width: 100%; min-height: 50px;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.form .btn { justify-self: start; min-width: 180px; }
.ts { min-height: 0; }
.ts:empty { display: none; }
.form-status { grid-column: 1 / -1; font-weight: 500; min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 760px) {
  .faq { display: block; }
  .qs summary { font-size: 1.125rem; }
  .contact { display: block; }
  .contact-intro { margin-bottom: 48px; }
  .contact-intro .btn { width: 100%; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--cream); padding: 48px var(--m) calc(32px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot-name { font-family: var(--sign); text-transform: uppercase; font-size: 30.5vw; line-height: .8; text-align: center; margin: 0 calc(var(--m) * -1); white-space: nowrap; }
.foot-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 64px; }
.places { grid-column: 1 / 7; }
.places li { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; overflow-wrap: anywhere; }
.places a { text-decoration: none; }
.places a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-links { grid-column: 8 / 13; columns: 2; column-gap: 24px; font-size: 0.9375rem; }
.foot-links li { padding: 4px 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-top: 80px; font-size: var(--step-small); color: rgba(239, 230, 210, .75); }
.foot-legal .credits { max-width: 70ch; }
.foot-legal a { text-underline-offset: 3px; }
@media (max-width: 760px) {
  .foot-row { display: block; margin-top: 40px; }
  .places { margin-bottom: 32px; }
  .foot-legal { flex-direction: column; align-items: start; margin-top: 48px; padding-bottom: 64px; }
}

/* ---------- medium screens ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
  .contact-intro, .form { grid-column: 1 / -1; }
  .faq .mid-head, .qs { grid-column: 1 / -1; }
  .faq .mid-head { margin-bottom: 32px; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.legal { padding: 40px var(--m) var(--gap); max-width: 1100px; }
.legal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 96px; font-weight: 500; }
.legal h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); font-weight: 900; letter-spacing: -0.045em; line-height: .92; margin-bottom: 24px; }
.legal h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { max-width: 68ch; margin-bottom: .8em; }
.legal ul { list-style: disc; padding-left: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
