/* Alejandra Ubaldo / Andraubgo — warm editorial design system
   Palette: ivory + cream paper, espresso brown, terracotta clay, soft rose-metal accents. */

:root {
  --ivory: #fbf8f2;
  --cream: #f4ede1;
  --sand: #e7dac6;
  --clay: #b07a5b;
  --clay-d: #8f5f44;
  --cocoa: #4a3022;
  --espresso: #2a180e;
  --ink: #1b0f08;
  --metal: #c9a39a;
  --text: #3b2a1f;
  --muted: #6f5b4d;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Mrs Saint Delafield', 'Snell Roundhand', 'Brush Script MT', cursive;
  --maxw: 1240px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--espresso); color: var(--ivory); padding: 10px 16px; border-radius: 999px; transition: top 0.2s; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt-lg { margin-top: clamp(28px, 4vw, 48px); }
.mt-xl { margin-top: clamp(56px, 8vw, 96px); }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.004em;
  color: var(--espresso);
  text-wrap: balance;
}
.h-xl { font-size: clamp(2rem, 4.4vw, 3.9rem); }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.h-md { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.04; }
.display span { display: inline; }
.eyebrow {
  font: 400 0.72rem/1.4 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clay-d);
  margin-bottom: 18px;
}
.eyebrow--light { color: color-mix(in srgb, var(--ivory) 85%, transparent); }
.lead { text-wrap: pretty; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 62ch; margin-inline: auto; margin-top: 18px; }
.fine { font-size: 0.82rem; line-height: 1.6; color: var(--muted); margin-top: 22px; }
.fine a { color: inherit; }
.ico { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 48px; padding: 0 30px;
  border-radius: 999px; border: 1px solid transparent;
  font: 400 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
}
.btn .ico { transition: transform 0.3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 0.68rem; }
.btn--dark { background: var(--espresso); color: var(--ivory); }
.btn--dark:hover { background: var(--clay-d); }
.btn--light { background: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: var(--sand); }
.btn--ghost { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn--ghost:hover { background: var(--espresso); color: var(--ivory); }
.btn--outline-light { border-color: color-mix(in srgb, var(--ivory) 70%, transparent); color: var(--ivory); background: transparent; }
.btn--outline-light:hover { background: var(--ivory); color: var(--espresso); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.6em; font: 400 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--espresso); padding-block: 6px; border-bottom: 1px solid color-mix(in srgb, var(--espresso) 35%, transparent); transition: gap 0.3s var(--ease), border-color 0.3s; }
a:hover > .link-arrow, .link-arrow:hover { gap: 1em; border-color: var(--espresso); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--ivory); transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.site-header.is-solid, body.nav-open .site-header { background: color-mix(in srgb, var(--ivory) 94%, transparent); color: var(--espresso); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 color-mix(in srgb, var(--espresso) 10%, transparent); }
.site-header__inner { max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand__mark { font: 500 1.45rem/1 var(--serif); letter-spacing: 0.2em; text-transform: uppercase; }
.brand__sub { font: 400 0.6rem/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; margin-top: 6px; opacity: 0.75; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a { white-space: nowrap; font: 400 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right 0.35s var(--ease); }
.nav a:hover::after, .nav a[aria-current='page']::after { right: 0; }
.site-header__tools { display: flex; align-items: center; gap: 18px; }
.lang { font: 400 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 10px 2px; opacity: 0.9; }
.site-header:not(.is-solid) .btn--dark { background: var(--ivory); color: var(--espresso); }
.site-header:not(.is-solid) .btn--dark:hover { background: var(--sand); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-btn span:first-child { top: 20px; }
.menu-btn span:last-child { top: 27px; }
body.nav-open .menu-btn span:first-child { top: 23px; transform: rotate(45deg); }
body.nav-open .menu-btn span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 55; background: var(--ivory); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { font: 500 clamp(2rem, 9vw, 3rem)/1.2 var(--serif); text-transform: uppercase; text-decoration: none; color: var(--espresso); padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); }
.mobile-nav nav a[aria-current='page'] { color: var(--clay-d); }
.mobile-nav__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; }
.mobile-nav .lang { color: var(--espresso); }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: max(640px, min(100svh, 960px)); color: var(--ivory); isolation: isolate; overflow: hidden; background: #3a2a1f; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 30%; transform: scale(1.04); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(27, 15, 8, 0.74) 0%, rgba(27, 15, 8, 0.42) 42%, rgba(27, 15, 8, 0.04) 74%), linear-gradient(0deg, rgba(27, 15, 8, 0.5), transparent 38%), linear-gradient(180deg, rgba(27, 15, 8, 0.42), transparent 22%); }
.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(56px, 9vh, 104px); }
.hero__eyebrow { max-width: none; }
.hero__title { color: var(--ivory); font-size: clamp(2.6rem, 5.8vw, 5.1rem); line-height: 0.96; max-width: 12em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__sub { max-width: 46ch; font-size: clamp(1rem, 1.5vw, 1.18rem); margin-top: 24px; color: color-mix(in srgb, var(--ivory) 92%, transparent); animation: fade 1s 0.5s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; animation: fade 1s 0.65s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; z-index: 1; display: flex; align-items: center; gap: 14px; color: var(--ivory); text-decoration: none; font: 400 0.64rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 56px; background: color-mix(in srgb, var(--ivory) 60%, transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--ivory); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- stats ---------- */
.stats { background: var(--cream); border-bottom: 1px solid color-mix(in srgb, var(--espresso) 8%, transparent); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__list li { padding: 28px 18px; text-align: center; border-left: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); display: flex; flex-direction: column; gap: 4px; }
.stats__list li:first-child { border-left: 0; }
.stats__k { font: 500 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--serif); text-transform: uppercase; color: var(--espresso); letter-spacing: 0.01em; }
.stats__v { font: 400 0.7rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--cream { background: var(--cream); }
.section__head { margin-bottom: clamp(32px, 5vw, 60px); }
.section__head .lead { margin-top: 16px; }

/* intro collage */
.intro .narrow { max-width: 980px; }
.intro .h-xl { margin-top: 4px; }
.intro .h-xl span { display: block; }
.collage { position: relative; width: min(640px, 100%); height: clamp(360px, 56vw, 540px); margin: clamp(32px, 5vw, 56px) auto; }
.polaroid { position: absolute; left: 6%; top: 0; width: 48%; background: #fff; padding: 10px 10px 40px; box-shadow: 0 22px 44px rgba(42, 24, 14, 0.2); transform: rotate(-4deg); transition: transform 0.6s var(--ease); }
.polaroid__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.clip { position: absolute; top: -26px; right: 14%; width: 34px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.12)); }
.note { position: absolute; right: 2%; top: 17%; width: 46%; background: #fffdf8 linear-gradient(180deg, transparent 31px, rgba(176, 122, 91, 0.16) 32px) 0 6px / 100% 32px; padding: 26px 22px 30px; box-shadow: 0 18px 38px rgba(42, 24, 14, 0.16); transform: rotate(5deg); text-align: left; transition: transform 0.6s var(--ease); }
.note p { font-family: var(--script); font-size: clamp(1.6rem, 3.1vw, 2.3rem); line-height: 1.02; color: var(--cocoa); white-space: pre-line; }
.collage:hover .polaroid { transform: rotate(-2deg) translateY(-4px); }
.collage:hover .note { transform: rotate(3deg) translateY(-4px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); text-align: left; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); font-size: 1rem; }

/* script band */
.script-band { overflow: hidden; padding-block: clamp(4px, 1.5vw, 18px); user-select: none; }
.script-band__text { display: block; white-space: nowrap; font-family: var(--script); font-size: clamp(7rem, 21vw, 19rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--cocoa); will-change: transform; transform: translateX(var(--sx, 6%)); }

/* pillars */
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.pillar a { display: block; text-decoration: none; text-align: center; }
.arch { display: block; overflow: hidden; border-radius: 999px 999px 4px 4px; aspect-ratio: 3 / 4; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar a:hover .arch img { transform: scale(1.06); }
.arch--lg { aspect-ratio: 4 / 5; }
.pillar__title { font: 500 1.7rem/1 var(--serif); text-transform: uppercase; color: var(--espresso); margin: 22px 0 8px; }
.pillar p { font-size: 0.95rem; color: var(--muted); max-width: 26ch; margin: 0 auto 14px; line-height: 1.55; }

/* feed / portfolio */
.feed__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--espresso) 28%, transparent); background: transparent; font: 400 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--espresso); transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s; }
.chip:hover { border-color: var(--espresso); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.chip__n { font-size: 0.62rem; opacity: 0.6; letter-spacing: 0.04em; }
.feed__badge { display: inline-flex; align-items: center; gap: 8px; font: 400 0.66rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.feed__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--metal); }
.feed__badge.is-live::before { background: #6a8a5d; box-shadow: 0 0 0 0 rgba(106, 138, 93, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(106, 138, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(106, 138, 93, 0); } }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--c, var(--sand)); }
.tile.pop { animation: pop 0.55s var(--ease) both; animation-delay: var(--pd, 0ms); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.tile__link { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-decoration: none; cursor: pointer; text-align: left; }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27, 15, 8, 0.55), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.tile:hover .tile__link::after, .tile__link:focus-visible::after { opacity: 1; }
.tile__tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; font: 400 0.62rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); background: rgba(27, 15, 8, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 7px 11px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.tile:hover .tile__tag, .tile__link:focus-visible .tile__tag { opacity: 1; transform: none; }
.tile__badge { position: absolute; top: 10px; right: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: rgba(27, 15, 8, 0.5); color: var(--ivory); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile__badge svg { width: 14px; height: 14px; }
.feed__empty { text-align: center; padding: 48px 0; color: var(--muted); }
.feed__more { text-align: center; margin-top: 34px; }
@media (hover: none) { .tile__tag { opacity: 1; transform: none; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(10px, 3vw, 40px); background: rgba(27, 15, 8, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); width: min(1060px, 100%); max-height: calc(100svh - 2 * clamp(10px, 3vw, 40px)); background: var(--ivory); border-radius: 6px; overflow: hidden; }
.modal__media { background: #1b0f08; display: grid; place-items: center; min-height: 280px; position: relative; }
.modal__media img, .modal__media video { width: 100%; height: 100%; max-height: calc(100svh - 80px); object-fit: contain; display: block; }
.modal__side { padding: clamp(22px, 3vw, 36px); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.modal__date { font: 400 0.68rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay-d); }
.modal__cap { white-space: pre-line; font-size: 0.98rem; line-height: 1.65; word-break: break-word; }
.modal__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.modal__close, .modal__nav { position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251, 248, 242, 0.92); color: var(--espresso); display: grid; place-items: center; transition: background 0.3s; }
.modal__close:hover, .modal__nav:hover { background: #fff; }
.modal__close { top: 12px; right: 12px; }
.modal__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.modal__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.modal__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.modal__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(251, 248, 242, 0.45); }
.modal__dots i.on { background: #fff; }

/* split about */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 62vw, 760px); background: var(--espresso); }
.split__media { position: relative; overflow: hidden; background: var(--cocoa); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.rings { position: absolute; left: 0; right: 0; bottom: -2px; height: 58px; background: linear-gradient(0deg, var(--espresso) 0 14px, transparent 14px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='58' viewBox='0 0 46 58'%3E%3Crect x='18' y='4' width='10' height='38' rx='5' fill='none' stroke='%23C9A39A' stroke-width='3'/%3E%3Ccircle cx='23' cy='49' r='3.6' fill='%231b0f08'/%3E%3C/svg%3E") repeat-x center bottom / 46px 58px; }
.split__panel { display: flex; align-items: center; padding: clamp(40px, 7vw, 100px) clamp(24px, 6vw, 96px); }
.split__copy { max-width: 520px; }
.split__copy .display { color: var(--ivory); margin-bottom: 22px; }
.split__copy .display span { display: block; }
.split__copy p { color: color-mix(in srgb, var(--ivory) 82%, transparent); margin-bottom: 30px; }

/* work cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.card { background: var(--cream); border-radius: 4px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; border: 1px solid transparent; transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s; }
.card:hover { transform: translateY(-6px); border-color: var(--clay); background: #fff; }
.card__n { font: 500 1rem/1 var(--serif); letter-spacing: 0.2em; color: var(--clay); }
.card h3 { font: 500 clamp(1.5rem, 2vw, 1.9rem)/1.05 var(--serif); text-transform: uppercase; color: var(--espresso); }
.card p { font-size: 0.97rem; color: var(--muted); flex: 1; }
.card .link-arrow { align-self: flex-start; margin-top: 8px; }

/* IG band + CTA */
.ig-band { background: var(--sand); padding-block: clamp(64px, 9vw, 112px); }
.ig-band__handle { font: 400 clamp(3.4rem, 10vw, 8rem)/1.2 var(--script); color: var(--cocoa); margin-bottom: 4px; padding-top: 0.08em; }
.ig-band .lead { margin-bottom: 30px; }
.ig-band .display { margin-top: 6px; }
.cta-band { background: var(--espresso); color: var(--ivory); padding-block: clamp(72px, 10vw, 132px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; width: min(520px, 70vw); aspect-ratio: 1 / 1.2; border: 1px solid color-mix(in srgb, var(--metal) 28%, transparent); border-radius: 999px 999px 0 0; bottom: -2px; }
.cta-band::before { left: -8%; } .cta-band::after { right: -8%; transform: scale(0.8); transform-origin: bottom right; }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-band .display { color: var(--ivory); font-size: clamp(2.3rem, 5.6vw, 4.8rem); }
.cta-band .display span { display: block; }
.cta-band p { max-width: 46ch; color: color-mix(in srgb, var(--ivory) 80%, transparent); }

/* ---------- inner pages ---------- */
.page-hero { background: var(--cream); padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(44px, 6vw, 84px); text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 16em; margin-inline: auto; }
.page-hero--full { min-height: 80svh; display: flex; align-items: center; }
.page-hero--full .page-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.page-hero--full .btn { margin-top: 28px; }

.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 24px); }
.facts { margin-top: 28px; padding: 24px 26px; background: var(--cream); border-radius: 4px; }
.facts__h { font: 400 0.7rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay-d); margin-bottom: 14px; }
.facts dl { display: grid; gap: 12px; }
.facts dl div { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); padding-top: 12px; font-size: 0.95rem; }
.facts dt { color: var(--muted); }
.facts dd { text-align: right; color: var(--espresso); }
.prose-block { margin-bottom: clamp(34px, 5vw, 56px); }
.prose-block h2 { margin-bottom: 16px; }
.prose-block p { font-size: 1.08rem; }

.tracks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.track { padding: clamp(32px, 4.4vw, 60px); border-radius: 4px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.track--dark { background: var(--espresso); color: color-mix(in srgb, var(--ivory) 86%, transparent); }
.track--dark .display { color: var(--ivory); }
.track--light { background: var(--cream); }
.ticks { display: grid; gap: 12px; margin-block: 6px 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 9px; border: 1.4px solid currentColor; border-bottom: 0; border-radius: 999px 999px 0 0; opacity: 0.7; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); counter-reset: s; }
.steps li { text-align: center; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--espresso) 25%, transparent); }
.steps__n { font: 500 1rem/1 var(--serif); letter-spacing: 0.2em; color: var(--clay); }
.steps h3 { font: 500 1.6rem/1.1 var(--serif); text-transform: uppercase; color: var(--espresso); margin: 12px 0 8px; }
.steps p { font-size: 0.95rem; color: var(--muted); }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.store { background: var(--cream); border-radius: 4px; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: 32px; }
.collections a { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid color-mix(in srgb, var(--espresso) 22%, transparent); border-radius: 4px; text-decoration: none; height: 100%; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.collections a:hover { background: #fff; border-color: var(--clay); transform: translateY(-4px); }
.collections h3 { font: 500 1.6rem/1 var(--serif); text-transform: uppercase; color: var(--espresso); }
.collections p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.codes { max-width: 640px; margin: 28px auto 0; display: grid; gap: 12px; }
.codes li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: var(--cream); border-radius: 999px; }
.codes span { font-weight: 400; color: var(--espresso); }

.contact__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 400 0.7rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cocoa); }
.req { color: var(--clay-d); }
.field input, .field select, .field textarea { width: 100%; font: 300 1rem/1.5 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid transparent; border-bottom: 1px solid color-mix(in srgb, var(--espresso) 35%, transparent); border-radius: 4px; padding: 14px 16px; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--clay); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 22%, transparent); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #a4452b; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__status { min-height: 1.6em; font-size: 0.95rem; }
.form__status.ok { color: #4a6b3f; } .form__status.err { color: #a4452b; }
.contact__aside { background: var(--cream); border-radius: 4px; padding: clamp(28px, 3.4vw, 44px); }
.mail { font: 500 clamp(1.2rem, 2vw, 1.55rem)/1.2 var(--serif); word-break: break-all; color: var(--espresso); }

.prose article { margin-bottom: clamp(30px, 4vw, 48px); }
.prose h2 { margin-bottom: 14px; }
.prose p + p { margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--ivory) 78%, transparent); padding-top: clamp(48px, 7vw, 88px); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.footer__mark { font: 500 clamp(1.8rem, 3vw, 2.4rem)/1 var(--serif); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory); text-decoration: none; }
.footer__brand p { margin-top: 14px; max-width: 32ch; }
.footer__loc { font: 400 0.7rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--metal); }
.footer__h { font: 400 0.68rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--metal); margin-bottom: 18px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(36px, 5vw, 64px); padding-block: 22px; border-top: 1px solid color-mix(in srgb, var(--ivory) 14%, transparent); font-size: 0.78rem; letter-spacing: 0.04em; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
  .nav { gap: 20px; }
  .site-header__cta { display: none; }
}
@media (max-width: 960px) {
  .nav, .site-header__cta, .site-header__tools .lang { display: none; }
  .menu-btn { display: block; }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 520px; }
  .about__grid, .contact__grid, .tracks__grid, .stores { grid-template-columns: 1fr; }
  .about__media { position: static; max-width: 520px; margin-inline: auto; }
  .collections { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media img, .modal__media video { max-height: 60svh; }
}
@media (min-width: 761px) {
  /* Spanish headline is longer: keep it clear of the portrait on the right */
  html[lang='es'] .hero__title { font-size: clamp(2.5rem, 4.6vw, 4.3rem); }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .hero { align-items: flex-end; min-height: max(620px, 100svh); }
  .hero__media img { object-position: 50% 12%; }
  .hero__scrim { background: linear-gradient(0deg, rgba(27, 15, 8, 0.86) 0%, rgba(27, 15, 8, 0.5) 38%, rgba(27, 15, 8, 0.05) 66%), linear-gradient(180deg, rgba(27, 15, 8, 0.4), transparent 20%); }
  .hero__scroll { display: none; }
  .hero__inner { padding-bottom: 36px; }
  .hero__eyebrow { font-size: 0.64rem; letter-spacing: 0.2em; margin-bottom: 12px; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__sub { font-size: 0.98rem; line-height: 1.55; margin-top: 16px; }
  .hero__cta { margin-top: 22px; gap: 10px; }
  .hero__cta .btn { min-height: 46px; }
  .stats__list { grid-template-columns: repeat(2, 1fr); }
  .stats__list li:nth-child(3) { border-left: 0; }
  .stats__list li:nth-child(n + 3) { border-top: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); }
  .two-col { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .collage { height: clamp(380px, 112vw, 480px); }
  .polaroid { width: 56%; left: 0; }
  .note { width: 52%; right: 0; top: 24%; }
}
@media (max-width: 420px) {
  .btn { padding: 0 22px; letter-spacing: 0.16em; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .script-band__text { transform: none; }
}

/* carousel inside the post viewer */
.modal__strip { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.modal__strip::-webkit-scrollbar { display: none; }
.modal__slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; }
