/* =====================================================================
   Orozco Creative — styles
   Design tokens live in :root. Two typefaces only: SF Pro (body, titles)
   and Neulis Sans / Outfit (key uppercase titles).
   ===================================================================== */
:root {
  --bg: #111211; --bg-deep: #050605; --band: #1A1B1A; --surface: #161716;
  --line: #595959; --line-soft: #242523;
  --text: #ECECE8; --text-hi: #F5F5F7; --text-2: #A3A49F; --text-3: #8E8F8A; --gray: #86868B;
  --mint: #D4FBCC; --green: #3FD47A; --yolk: #F7D171; --coral: #EE7A77; --blue: #6494F8;
  --burnt: #D97A36; --red: #F04A35;
  --pad: clamp(20px, 4.5vw, 64px);
  --max: 1312px;
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-key: "Neulis Sans", "Outfit", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s ease; }
button { font-family: inherit; }
.key { font-family: var(--font-key); font-weight: 700; text-transform: uppercase; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.hl { color: var(--text-hi); }

/* ---------- Nav ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); }
.nav .logo { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.nav .logo:hover { color: var(--mint); }
.nav .links { display: flex; gap: 44px; }
.nl { font-family: var(--font-key); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .02em; color: rgba(245,245,247,.58); transition: color .35s ease; }
.nl-w:hover, .nl-w:active { color: var(--burnt); }
.nl-s:hover, .nl-s:active { color: var(--coral); }
.nl-a:hover, .nl-a:active { color: var(--mint); }
/* Contact: nav link to the page's contact card */
.nl-c:hover, .nl-c:active { color: var(--green); }
.nl-icon { display: none; width: 20px; height: 20px; }
.cp-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang { display: flex; padding: 3px; border: 1px solid #2A2B29; border-radius: 999px; }
.lang a { display: inline-block; border: 0; background: transparent; color: var(--text-3); font-size: 12px; font-weight: 600; line-height: normal; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.lang a[aria-current="page"] { background: var(--text); color: #111211; }

/* ---------- Reveal (typing with soft blur) ---------- */
.w { opacity: .16; transition: opacity .25s linear; }
.js .wipe { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .wipe.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: radial-gradient(ellipse 55% 60% at 50% 100%, #1D2E1E 0%, var(--bg) 70%); }
.hero-word { position: absolute; left: 0; right: 0; top: 28%; text-align: center; font-size: clamp(110px, 21vw, 300px); line-height: 1; letter-spacing: -.03em; color: transparent; background: linear-gradient(to bottom, rgba(236,236,232,.30) 0%, rgba(236,236,232,.16) 45%, rgba(236,236,232,.03) 78%, rgba(236,236,232,0) 92%); -webkit-background-clip: text; background-clip: text; animation: blurIn 2s cubic-bezier(.2,.7,.2,1) .1s both; }
.hero-hoodie { position: absolute; left: 50%; bottom: -21%; width: min(820px, 92vw); transform: translateX(-50%); animation: rise 1.6s cubic-bezier(.2,.7,.2,1) .2s both; }
.hero-hoodie picture { display: block; }
.hero-hoodie img { width: 100%; filter: brightness(.82) contrast(1.05); animation: floaty 7s ease-in-out 1.6s infinite; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(to bottom, rgba(17,18,17,0), var(--bg)); pointer-events: none; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 70% at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 100%); pointer-events: none; }
.hero-copy { position: absolute; left: var(--pad); bottom: 120px; width: min(480px, 84vw); display: flex; flex-direction: column; gap: 20px; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) .6s both; }
.hero-copy h1 { margin: 0; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; }
.hero-copy h1 .accent { display: block; color: var(--green); font-size: 1.08em; letter-spacing: -.03em; }
.hero-copy p { margin: 0; font-size: 20px; line-height: 1.45; color: var(--text-3); letter-spacing: -.01em; }
.hero-copy p .hl { color: var(--text); display: block; }
.avail { position: absolute; right: var(--pad); bottom: 120px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #B8B9B4; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) .8s both; }
.avail .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
.scroll-cue { position: absolute; left: 0; right: 0; width: max-content; margin: 0 auto; bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: #D9D9D5; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) 1.2s both; }
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(to bottom, #D9D9D5, rgba(217,217,213,0)); }
.scroll-cue:hover { color: var(--mint); }
.mote { position: absolute; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px rgba(212,251,204,.6); animation: drift linear infinite; }

/* ---------- Section headers (statement / rule / label + body) ---------- */
.statement { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: 1.08; font-weight: 300; letter-spacing: -.015em; color: var(--text-hi); max-width: 1240px; }
.statement.xl { font-size: clamp(48px, 7.2vw, 104px); line-height: 1.04; letter-spacing: -.02em; }
.rule { height: 1px; background: var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 32px; }
.split.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.split.wider { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.label { font-size: 19px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text); padding-top: 8px; }
.body-lg { margin: 0; max-width: 620px; font-size: clamp(21px, 2vw, 28px); line-height: 1.5; letter-spacing: -.01em; }
.body-apple { margin: 0; max-width: 900px; font-size: clamp(21px, 2vw, 28px); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; color: var(--gray); }
.sec-head { display: flex; flex-direction: column; gap: 56px; }
.c-mint { color: var(--mint); } .c-green { color: var(--green); } .c-yolk { color: var(--yolk); } .c-coral { color: var(--coral); }
.c-blue { color: var(--blue); } .c-burnt { color: var(--burnt); } .c-red { color: var(--red); }
/* Headlines: the colored phrase never splits (it moves to the next line whole) */
.statement > span[class^="c-"] { white-space: nowrap; }

/* ---------- Selected work bands ---------- */
.band { padding: 150px 0; }
.band.first { padding-top: 170px; }
.band.last { padding: 110px 0 90px; }
.band.dark { background: var(--bg-deep); } .band.gray { background: var(--band); }
.band .inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.band .intro { align-self: stretch; display: flex; flex-direction: column; gap: 64px; margin-bottom: 96px; }
.proj-label { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.01em; text-align: center; }
.proj-title { margin: -8px 0 8px; font-size: clamp(44px, 5.6vw, 80px); line-height: 1; font-weight: 600; letter-spacing: -.03em; text-align: center; text-transform: uppercase; color: var(--text-hi); }
.proj-title.plain { text-transform: none; }
.media { position: relative; width: 100%; max-width: 940px; aspect-ratio: 16 / 9; overflow: hidden; background: #1A1B1A; }
.media.vertical { width: min(440px, 86vw); aspect-ratio: 9 / 16; background: transparent; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.play:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.media:has(.play) { cursor: pointer; }
.media:has(.play) img { transition: transform 160ms ease-out; }
.media:has(.play):active img { transform: scale(.98); }
.floatcard { width: 100%; max-width: 1160px; display: flex; justify-content: center; animation: floatSoft 10s ease-in-out infinite; }
.about-card { width: 100%; margin-top: 20px; padding: 48px 56px 52px; border-radius: 28px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 28px; }
.band.gray .about-card { background: #0C0D0C; }
.about-card.reel { background: #070807; border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 60px rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.6); }
.about-card h4 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.015em; }
.about-card p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; color: #9C9D98; }
.about-card .hl { color: var(--text); }
.icon-afhc { width: 64px; } .icon-meta { width: 44px; }

/* ---------- More work (accordion) ---------- */
.more { padding: 60px 0 60px; }
.more .sec-head { margin-bottom: 72px; }
.list { border-top: 1px solid var(--line-soft); }
.row { border-bottom: 1px solid var(--line-soft); }
.row-head { width: 100%; display: grid; grid-template-columns: 320px minmax(0, 1fr) 360px 40px; gap: 40px; align-items: center; padding: 24px 16px; background: transparent; border: 0; color: inherit; text-align: left; cursor: pointer; transition: background .4s ease; }
@media (hover: hover) and (pointer: fine) {
  .row-head:hover { background: var(--surface); }
}
.slot { position: relative; display: block; width: 320px; aspect-ratio: 16 / 9; }
.thumb { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.thumb.vertical { aspect-ratio: 9 / 16; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-title { font-size: clamp(20px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.row-cat { font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-3); }
.plus { width: 22px; height: 22px; justify-self: end; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.row.open .plus { transform: rotate(45deg); }
.panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1); }
.row.open .panel { grid-template-rows: 1fr; }
.panel > div { overflow: hidden; }
.list { overflow-anchor: none; } /* keep the browser from adjusting scroll on its own */
.row.no-anim .panel { transition: none; }
.panel-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding: 16px 16px 56px; }
.panel .media { max-width: none; }
.panel .media.vertical { width: calc(min(70vh, 640px) * 9 / 16); max-width: 100%; height: auto; aspect-ratio: 9 / 16; margin: 0 auto; flex: none; background: transparent; }
.panel .media.vertical img { object-fit: cover; }
.panel-media { display: flex; flex-direction: column; gap: 32px; }
.panel-media .wrapmedia { display: flex; justify-content: center; }
.process { display: flex; flex-direction: column; gap: 10px; }
.process img { width: 100%; max-width: 863px; border-radius: 6px; }
.process span, .meta dt { font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-3); }
.process em { font-style: normal; font-size: 14px; color: var(--text-2); }
.panel-copy { display: flex; flex-direction: column; gap: 24px; }
.panel-copy .tagline { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; }
.panel-copy .desc { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.meta div { display: flex; flex-direction: column; gap: 6px; }
.meta dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* ---------- Next: SERVICES ---------- */
.next { padding: 20px 0 80px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.next span { font-size: 15px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; }
.next a { display: flex; align-items: center; gap: 24px; }
.next a::before, .next a::after { content: ""; width: 64px; height: 1px; background: var(--line); }
.next .word { font-family: var(--font-key); font-weight: 700; font-size: clamp(56px, 7.6vw, 109px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; transition: color .3s ease; }
.next a:hover .word, .next a:focus-visible .word, .next a:active .word { color: var(--coral); }

/* ---------- Contact ---------- */
.contact { padding: 40px 0 110px; }
.contact .sec-head { gap: 56px; }
.contact .stack { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.btn-mint { display: inline-flex; padding: 16px 28px; border-radius: 999px; background: var(--mint); color: #111211; font-size: 16px; font-weight: 600; }
.btn-mint:hover { background: #E6FDE1; box-shadow: 0 0 28px rgba(212,251,204,.35); }

.cta-card { position: relative; overflow: hidden; border-radius: 10px; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px); background: radial-gradient(ellipse 60% 120% at 100% 100%, #26402A 0%, #161B16 50%, #131413 85%); display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.cta-copy { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.cta-copy h2 { margin: 0; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.cta-copy p { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #B8B9B4; }
.cta-card .btn-mint { white-space: nowrap; }
.cta-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-copy { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(212,251,204,.45); background: transparent; color: var(--mint); font: 600 16px var(--font); cursor: pointer; transition: transform 160ms ease-out, background .2s ease, border-color .2s ease; }
.btn-copy:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn-copy:hover { background: rgba(212,251,204,.1); border-color: var(--mint); } }
.contact:has(.cta-card) { padding: 80px 0 160px; }
body[data-page="home"] .contact:has(.cta-card) { padding: 0 0 100px; }

/* ---------- Footer ---------- */
.footer { padding: 0 0 48px; }
/* Centered, and sized to the available width so it never gets cut (the word is ~8.9em wide) */
.footer .wordmark { text-align: center; font-size: min(136px, calc((100vw - 2 * var(--pad)) / 9)); line-height: .85; letter-spacing: -.03em; color: #1D1E1C; white-space: nowrap; overflow: hidden; }
.footer .row-f { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 32px; margin-top: 40px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--text-3); }
/* Footer: the brand line sits in the exact center, location left, email right */
.footer .row-f > :first-child { order: 2; text-align: center; }
.footer .row-f > :nth-child(2) { order: 1; justify-self: start; }
.footer .row-f > :nth-child(3) { order: 3; justify-self: end; }
.footer a:hover { color: var(--mint); }

/* ---------- Services page ---------- */
.svc-hero { position: relative; overflow: hidden; padding-top: 200px; padding-bottom: 80px; }
.svc-hero .copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 32px; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both; }
.svc-hero h1 { margin: 0; font-size: clamp(30px, 7.2vw, 108px); line-height: .98; letter-spacing: -.025em; }
.svc-hero h1 span { display: block; white-space: nowrap; }
.svc-hero .lead { margin: 0; max-width: 920px; /* the Spanish lead fits one line on desktop */ font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; color: var(--text-2); }
.svc-hero figure { position: relative; width: 86%; margin: -40px auto 0; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) .3s both; }
.svc-hero figure img { width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%); }
.svc-hero figcaption { position: absolute; right: 0; bottom: 24px; font-size: 13px; color: var(--text-3); }
.svc-sec { padding-top: 40px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 56px; }
.tools { border-top: 1px solid var(--line-soft); }
.tool { display: grid; grid-template-columns: 80px 56px 340px minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.tool .n { font-size: 15px; color: var(--text-3); }
.tool img { width: 40px; height: 40px; object-fit: contain; }
.tool .name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.tool .role { font-size: 16px; color: var(--text-2); }
.pill { justify-self: end; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; padding: 6px 12px; border: 1px solid #333432; border-radius: 999px; color: var(--text-2); white-space: nowrap; }
.pill.main { border-color: var(--mint); color: var(--mint); }
.svc-list { border-top: 1px solid var(--line-soft); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, .8fr); gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.svc h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; }
.svc p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.svc .formats { font-size: 14px; color: var(--text-3); text-align: right; }
.inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.inc { padding: 40px; border: 1px solid var(--line-soft); border-radius: 20px; display: flex; flex-direction: column; gap: 16px; }
.inc h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--blue); }
.inc p, .step p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.inc .hl, .step .hl, .terms .hl { color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.step .n { font-size: 15px; color: var(--text-3); }
.step h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--green); }
.terms-box { margin-top: 40px; padding: 40px; border-radius: 20px; background: var(--surface); }
.terms-box .label { font-size: 13px; color: #B8B9B4; padding: 0; }
.terms { margin: 0; font-size: 20px; line-height: 1.55; color: #D9D9D5; }

/* ---------- About page ---------- */
.ab-hero { padding: 180px 0 120px; }
.ab-grid { display: grid; grid-template-columns: minmax(0, 800px) 400px; gap: 80px; justify-content: center; align-items: start; }
/* CV-style profile column: the portrait, then the quick facts under it */
.ab-side { display: flex; flex-direction: column; gap: 48px; margin-top: 40px; }
.ab-side .portrait { margin: 0; }
.ab-facts { display: flex; flex-direction: column; gap: 20px; }
.ab-facts h2 { margin: 0; padding-top: 0; line-height: 1.2; } /* same .label style as "My story" */
.ab-facts .kv { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.ab-facts .kv .v { font-size: 16px; }
.ab-facts .v a:hover { color: var(--mint); }
.ab-copy { display: flex; flex-direction: column; gap: 44px; padding-top: 40px; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both; }
.ab-copy h1 { margin: 0; font-size: clamp(40px, 8.4vw, 112px); line-height: .9; letter-spacing: -.03em; white-space: nowrap; }
.ab-copy h1:lang(es) { line-height: 1.02; } /* the accent on EDICIÓN must not touch line 1 */
.ab-statement { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.1; font-weight: 300; letter-spacing: -.015em; color: var(--text-hi); }
.ab-story { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
.ab-text { display: flex; flex-direction: column; gap: 1em; }
.ab-story .ab-text p { color: var(--text-hi); }
/* Paragraph 3: the lead, then the definition set apart by a green rule (term, source smaller in italics, meaning) */
.ab-story .ab-text p.ab-flow { color: var(--gray); } /* quieter than the rest of the story */
.ab-flow .flow-lead { display: block; }
.ab-flow .flow-block { display: block; margin-top: .5em; padding-left: 20px; border-left: 2px solid var(--green); }
.ab-flow .flow-line { display: block; font-size: 1.15em; line-height: 1.3; }
.ab-flow em { font-style: italic; }
.ab-flow .flow-source { display: block; margin-top: .25em; font-size: .85em; font-style: italic; }
.ab-flow .flow-def { display: block; margin-top: .7em; }
.ab-story p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; font-weight: 600; letter-spacing: -.015em; color: var(--gray); }
.portrait { position: relative; margin: 40px 0 0; width: 100%; max-width: 400px; aspect-ratio: 400 / 557; overflow: hidden; animation: reveal 1.6s cubic-bezier(.6,0,.2,1) .3s both; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 50%, rgba(0,0,0,.25) 100%); }
.portrait figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-size: 13px; color: var(--text); }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.kv .k { font-size: 15px; color: var(--text-3); }
.kv .k.strong { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.kv .v { font-size: 18px; line-height: 1.5; }
.kv .v.dim { color: var(--text-2); }

/* ---------- Video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; background: rgba(5,6,5,.92); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal .frame { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; }
.modal.vertical .frame { width: auto; height: min(88vh, 100%); aspect-ratio: 9 / 16; }
.modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal .close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(236,236,232,.4); background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.modal .close:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero-hoodie { animation-name: riseX; }
@keyframes riseX { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drift { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(18px,-140px); opacity: 0; } }
@keyframes blurIn { from { opacity: 0; filter: blur(24px); transform: scale(1.04); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(63,212,122,.55); } 50% { opacity: .45; box-shadow: 0 0 0 5px rgba(63,212,122,0); } }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .row-head { grid-template-columns: 240px minmax(0, 1fr) 220px 32px; gap: 28px; }
  .slot { width: 240px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
}
@media (max-width: 900px) {
  .split, .split.wide, .split.wider { grid-template-columns: 1fr; gap: 20px; }
  .panel-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc { grid-template-columns: 1fr; gap: 12px; }
  .svc .formats { text-align: left; }
  .inc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tool { grid-template-columns: 40px 44px minmax(0, 1fr) 120px; }
  .tool .role { grid-column: 3 / -1; grid-row: 2; }
  .ab-grid { grid-template-columns: 1fr; }
  .portrait { margin: 0 auto; }
  .ab-side { margin-top: 0; width: 100%; max-width: 400px; justify-self: center; }
}
@media (max-width: 680px) {
  .nav { height: 72px; }
  .nav .links { gap: 18px; }
  .nl { font-size: 13px; }
  .nav .logo { font-size: 15px; }
  .hero-copy { bottom: 150px; }
  .avail { left: var(--pad); right: auto; bottom: 104px; }
  .band { padding: 96px 0; } .band.first { padding-top: 120px; }
  .about-card { padding: 32px 24px; border-radius: 20px; }
  .row-head { grid-template-columns: 112px minmax(0, 1fr) 24px; gap: 16px; padding: 16px 0; }
  .row-cat { display: none; }
  .slot { width: 112px; }
  .steps { grid-template-columns: 1fr; }
  .ab-story { grid-template-columns: 1fr; gap: 12px; }
  .kv { grid-template-columns: 110px minmax(0, 1fr); }
  .next a::before, .next a::after { width: 28px; }
}
/* Small phones: the big NEXT word and the email button fit the screen */
@media (max-width: 380px) {
  .ab-facts .kv { grid-template-columns: 1fr; gap: 2px; } /* label above value so the email fits */
  .statement:not(.xl) { font-size: 40px; } /* so "Misma obsesión." fits one line at 320px */
  .next .word { font-size: clamp(36px, 12vw, 56px); }
  .next a::before, .next a::after { width: 16px; }
  .cta-card .btn-mint { white-space: normal; overflow-wrap: anywhere; font-size: 15px; padding: 14px 20px; }
}
/* Touch: 44px tap areas without changing how anything looks. Each ::after
   extends the hit area past the visible element (sized from the 375px layout,
   where nav links are 17px tall and EN/ES are 35x27). */
@media (pointer: coarse) {
  a, button { touch-action: manipulation; }
}
/* Phones: menu and EN/ES in one row, every tap target at least 44 x 44 */
@media (max-width: 680px) {
  .nav .links { gap: 4px; }
  .nl { min-height: 44px; min-width: 44px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; white-space: nowrap; }
  .nav .logo { min-height: 44px; display: inline-flex; align-items: center; }
  .lang a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .footer .row-f a, .cta-card .btn-mint { min-height: 44px; display: inline-flex; align-items: center; }
  .footer .row-f { grid-template-columns: 1fr; justify-items: center; gap: 4px; text-align: center; }
  .footer .row-f > :nth-child(2), .footer .row-f > :nth-child(3) { justify-self: center; }
  .ab-facts .v a { min-height: 44px; display: inline-flex; align-items: center; }
  .next a { min-height: 44px; }
}
/* Below 520px the logo and the Contact label do not fit next to the Spanish menu */
@media (max-width: 519px) { .nav .logo { display: none; } .nav .links { gap: 0; } .nl { padding: 0 6px; }
  /* Contact becomes an envelope icon; its label stays for screen readers */
  .nl-c .nl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nl-icon { display: block; } }
/* Very small phones: the language switch shows only the other language */
@media (max-width: 390px) { .lang a[aria-current="page"] { display: none; } }

@media (max-width: 340px) { .nl { padding: 0 4px; font-size: 11px; } }
/* ---------- Motion (emil-design-eng): UI under 300ms, hero under 1.2s ---------- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }

.hero-word { animation-duration: 1.2s; }
.hero-hoodie, .hero-copy, .avail, .scroll-cue { animation-duration: .7s; animation-timing-function: var(--ease-out); }
.hero-hoodie { animation-delay: 0s; } .hero-copy { animation-delay: .12s; } .avail { animation-delay: .18s; } .scroll-cue { animation-delay: .24s; }
.hero-hoodie img { animation-delay: .7s; }
/* Services and About heroes use the same entrance */
.svc-hero .copy, .ab-copy { animation-duration: .7s; animation-timing-function: var(--ease-out); }
.svc-hero figure { animation-duration: .7s; animation-timing-function: var(--ease-out); animation-delay: .12s; }
.portrait { animation-duration: .7s; animation-delay: .12s; }

/* Text you read does not move; the hoodie keeps floating */
.floatcard { animation: none; }

.js .wipe { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* Press feedback */
.btn-mint, .lang a { transition: transform 160ms ease-out, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn-mint:active, .lang a:active { transform: scale(.97); }

.nl { transition-duration: .18s; }
.row-head { transition: background .2s ease; }
.plus { transition: transform .25s var(--ease-out); }
.panel { transition: grid-template-rows .35s var(--ease-out); }

/* Video modal: soft entrance, faster exit (main.js empties the iframe on close) */
.modal { display: flex; opacity: 0; visibility: hidden; transition: opacity 150ms ease-out, visibility 0s linear 150ms; }
.modal.open { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease-out), visibility 0s; }
.modal .frame { transform: scale(.96); transition: transform 150ms ease-out; }
.modal.open .frame { transform: none; transition: transform 200ms var(--ease-out); }

/* Services: on tablets and phones the timeline image no longer rides over the intro paragraph */
@media (max-width: 900px) { .svc-hero figure { margin-top: 0; width: 100%; } .svc-hero figcaption { right: var(--pad); left: var(--pad); text-align: right; } }

/* ---------- Hero on phones ---------- */
/* Portrait: OROZCO fits the width, the hoodie sits higher under it, the copy keeps
   the bottom with a soft shade behind it, and the scroll cue stays centered. */
@media (max-width: 680px) and (orientation: portrait) {
  .hero { height: 100svh; min-height: 560px; --hood: min(100vw, 46svh, 480px); --hood-bottom: 232px; }
  /* The hoodie sits on the copy and fades into it; OROZCO sits behind the hood, as on desktop */
  .hero-hoodie { bottom: var(--hood-bottom); width: var(--hood); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .hero-word { top: auto; bottom: calc(var(--hood-bottom) + var(--hood) * .878 - 30px); font-size: calc((100vw - 2 * var(--pad)) / 4.15); }
  .hero-copy { bottom: 112px; gap: 14px; }
  .hero-copy p { font-size: 18px; }
  .hero-copy::before { content: ""; position: absolute; inset: -48px -24px -24px; z-index: -1; background: radial-gradient(ellipse at 30% 60%, rgba(17,18,17,.85), rgba(17,18,17,0) 70%); }
  .avail { left: var(--pad); right: auto; bottom: 72px; }
  .scroll-cue { bottom: 14px; gap: 8px; }
  .scroll-cue::after { height: 22px; }
}
/* Landscape phones: two columns, text left and hoodie right, all in the first screen */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { height: auto; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-items: center; column-gap: 24px; padding: 72px var(--pad) 20px; }
  .hero-copy { position: relative; left: auto; bottom: auto; width: auto; gap: 12px; grid-column: 1; grid-row: 1; }
  .hero-copy h1 { font-size: clamp(30px, 5vw, 44px); }
  .hero-copy p { font-size: 16px; }
  .hero-hoodie { position: relative; left: auto; bottom: auto; transform: none; width: min(380px, 42vw, 62svh); justify-self: center; grid-column: 2; grid-row: 1 / span 2; animation-name: rise; }
  .hero-word { top: 22%; font-size: clamp(80px, 16vw, 160px); }
  .avail { position: relative; right: auto; bottom: auto; grid-column: 1; grid-row: 2; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w { opacity: 1 !important; } .js .wipe { opacity: 1; transform: none; }
}
