/* Fundación Somos Arte — landing page
   Layout: cream editorial page, organic brand blobs, two-tone headlines like the decks. */
:root {
  --cream: #FBF7EF;
  --sand: #F3EADA;
  --night: #141A38;
  --navy: #1E2449;
  --ink: #454B6E;
  --muted: #6B7086;
  --blue: #2189CB;
  --sky: #38A1DC;
  --pink: #CC2B73;
  --orange: #E89A2C;
  --amber: #9A5A08;
  --line: #E6DCC9;
  --radius: 22px;
  --wrap: 1160px;
  --font: 'Outfit', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; line-height: 1.04; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); }
.two-tone .a { color: var(--blue); display: block; }
.two-tone .b { color: var(--pink); display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-family: var(--font); font-size: 17px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #B42262; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 239, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 43px; }
.brand b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; display: block; line-height: 1.1; }
.brand small { font-size: 13px; color: var(--muted); display: block; line-height: 1.2; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--sand); }
.lang { font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; white-space: nowrap; }
.lang:hover { border-color: var(--navy); }
@media (max-width: 920px) { .nav { display: none; } }
@media (max-width: 480px) { .brand small { display: none; } .head-row { gap: 10px; } .head-row .btn { padding: 8px 14px; } }

/* hero */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 800; margin-top: 18px; }
.hero p.lead { font-size: clamp(19px, 2vw, 23px); color: var(--ink); margin-top: 22px; max-width: 30ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--sky); display: inline-block; flex: none; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.hero-art .blob { position: absolute; inset: 0; border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%; overflow: hidden; box-shadow: 0 0 0 10px var(--cream), 0 0 0 18px var(--orange); }
.hero-art .blob img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .badge { position: absolute; left: -6%; bottom: 8%; display: block; text-decoration: none; background: var(--night); color: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 14px 30px rgba(20, 26, 56, .25); transition: transform .15s ease; }
a.badge:hover { transform: translateY(-2px); }
.hero-art .badge b { display: block; font-size: 22px; font-weight: 700; color: var(--orange); line-height: 1.1; }
.hero-art .badge span { font-size: 15px; font-weight: 500; display: block; }
.hero-art .badge em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--sky); display: block; margin-top: 4px; }
.spark { position: absolute; display: block; pointer-events: none; }
.corner-blob { position: absolute; z-index: -1; pointer-events: none; }
@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .corner-blob { width: 34vw !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-art { max-width: 420px; }
  .hero-art .badge { left: 0; }
}

/* sections */
section.block { padding: 88px 0; position: relative; }
section.block.sand { background: var(--sand); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; }
.sec-head p { font-size: 19px; color: var(--ink); max-width: 60ch; }
.wave { display: block; width: 100%; height: 60px; }
@media (max-width: 640px) { section.block { padding: 64px 0; } }

/* programs */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.program { display: grid; gap: 14px; align-content: start; }
.program .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.program .ph img { width: 100%; height: 100%; object-fit: cover; }
.program h3 { font-size: 26px; font-weight: 700; margin-top: 4px; }
.program p { color: var(--ink); }
.program:nth-child(1) h3 { color: var(--blue); }
.program:nth-child(2) h3 { color: var(--pink); }
.program:nth-child(3) h3 { color: var(--amber); }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; gap: 36px; } .program .ph { aspect-ratio: 16 / 10; } }

/* event */
.quote { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: #fff; border-radius: var(--radius); padding: 28px 30px; max-width: 900px; }
.quote svg { width: 44px; height: 44px; }
.quote p { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; color: var(--navy); font-weight: 500; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--pink); font-size: 16px; }
.days { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.day { background: #fff; border-radius: 20px; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.day .tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 10px; }
.day .num { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.day h4 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 700; color: var(--navy); }
.day p { font-size: 15px; line-height: 1.45; color: var(--ink); }
.day .time { margin-top: auto; align-self: flex-start; max-width: 100%; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--sand); border-radius: 999px; padding: 4px 9px; }
.day.c1 .tag { background: var(--blue); } .day.c1 .num { color: var(--blue); }
.day.c2 .tag { background: var(--pink); } .day.c2 .num { color: var(--pink); }
.day.c3 .tag { background: var(--orange); color: var(--night); } .day.c3 .num { color: var(--amber); }
@media (max-width: 1080px) { .days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); gap: 12px; margin-left: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px))); padding: 0 max(20px, env(safe-area-inset-right, 0px)) 8px max(20px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 74%; scroll-snap-align: start; }
}

/* deck viewer */
.deck { margin-top: 64px; display: grid; gap: 18px; }
.deck-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.deck-head h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.deck-head .dl { display: flex; flex-wrap: wrap; gap: 10px; }
.viewer { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: 0 24px 50px rgba(20, 26, 56, .18); }
.viewer .stage { aspect-ratio: 16 / 9; position: relative; }
.viewer .stage img { width: 100%; height: 100%; object-fit: cover; }
.viewer .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(20, 26, 56, .2); }
.viewer .nav-btn svg { width: 24px; height: 24px; }
.viewer .prev { left: 14px; } .viewer .next { right: 14px; }
.viewer .count { position: absolute; right: 14px; bottom: 12px; background: rgba(20, 26, 56, .78); color: #fff; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 auto; width: 128px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 3px solid transparent; padding: 0; cursor: pointer; background: var(--line); }
.thumbs button[aria-current="true"] { border-color: var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .viewer .nav-btn { width: 42px; height: 42px; } .thumbs button { width: 96px; } }

/* learning center */
.center { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.center .copy { display: grid; gap: 18px; justify-items: start; }
.center .copy p { font-size: 19px; color: var(--ink); max-width: 46ch; }
.mosaic { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; aspect-ratio: 6 / 5; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.mosaic img:first-child { grid-row: span 2; border-radius: 120px 20px 20px 20px; }
@media (max-width: 860px) { .center { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* get involved */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { background: #fff; border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 12px; align-content: start; }
.way svg { width: 64px; height: 64px; }
.way h3 { font-size: 26px; font-weight: 700; }
.way p { color: var(--ink); }
.ways-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px;
  grid-template-areas: "a b b c" "a d e e" "f f g h" "i i g h"; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.more { margin-top: 24px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px;
  grid-template-areas: "a a" "b c" "d e" "f f" "g h" "i i"; } }

/* resources */
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kit-card { background: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.kit-card h3 { font-size: 22px; font-weight: 700; }
.logo-show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.logo-show div { border-radius: 16px; display: grid; place-items: center; padding: 22px; aspect-ratio: 4 / 3; }
.logo-show div:first-child { background: var(--cream); }
.logo-show div:last-child { background: var(--night); }
.logo-show img { max-height: 100%; width: auto; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sw { display: grid; gap: 6px; min-width: 0; }
.sw .chip { aspect-ratio: 1 / 1; border-radius: 14px; border: 1px solid rgba(20, 26, 56, .08); }
.sw b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.sw code { font-family: var(--font); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw button { justify-self: start; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 2px 0; cursor: pointer; }
.kit .wide { grid-column: span 2; }
.docs { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.docs img { width: 180px; border-radius: 12px; }
.docs p { color: var(--ink); }
@media (max-width: 860px) {
  .kit { grid-template-columns: minmax(0, 1fr); } .kit .wide { grid-column: auto; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs { grid-template-columns: minmax(0, 1fr); } .docs img { width: 100%; max-width: 360px; }
}

/* footer */
.foot { background: var(--night); color: #D9DDF0; padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.foot img { width: 150px; }
.foot p { font-size: 15px; }
.foot a { color: #fff; }
.foot .love { margin-top: 28px; font-size: 14px; color: #A9B0D3; }
.foot-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 14px; color: #A9B0D3; }
.foot .priv { display: inline-flex; align-items: center; gap: 7px; color: #A9B0D3; text-decoration: none; font-weight: 600; }
.foot .priv:hover { color: #fff; }
.foot .priv svg { width: 15px; height: 15px; }

/* posts on the home page */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: 0 1px 0 rgba(20, 26, 56, .04), 0 18px 40px rgba(20, 26, 56, .10); transition: transform .2s ease, box-shadow .2s ease; }
.post:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(20, 26, 56, .04), 0 26px 54px rgba(20, 26, 56, .16); }
.post-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.post-top .avatar { width: 46px; height: 46px; border-radius: 50%; padding: 6px; background: #fff; box-shadow: 0 0 0 2px var(--pink), 0 0 0 4px #fff, 0 0 0 5px var(--orange); flex: none; }
.post-top .who { min-width: 0; }
.post-top b { display: block; font-size: 16px; line-height: 1.2; }
.post-top small { display: block; font-size: 14px; color: var(--muted); line-height: 1.3; }
.post-top .kind { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px; background: var(--pink); }
.post.is-program .post-top .kind { background: var(--blue); }
.post-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post-media img { transform: scale(1.03); }
.cd { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px; background: var(--night); color: #fff; font-weight: 700; font-size: 15px; padding: 8px 15px 8px 12px; border-radius: 999px; box-shadow: 0 10px 24px rgba(20, 26, 56, .3); }
.cd::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(232, 154, 44, .7); animation: pulse 1.8s ease-out infinite; }
.cd[hidden] { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 154, 44, .7); } 70% { box-shadow: 0 0 0 10px rgba(232, 154, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 154, 44, 0); } }
.post-flag { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; padding: 8px 15px; border-radius: 999px; box-shadow: 0 10px 24px rgba(20, 26, 56, .18); }
.post-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; flex: 1; }
.post-body h3 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 800; color: var(--pink); }
.post.is-program .post-body h3 { color: var(--blue); }
.post-body p { color: var(--ink); }
.post-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.post-cta svg { width: 20px; height: 20px; color: var(--pink); transition: transform .2s ease; }
.post:hover .post-cta svg { transform: translateX(3px); }
@media (max-width: 860px) { .posts { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

.prog-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--pink); }
.prog-more svg { width: 18px; height: 18px; }

/* post pages */
.crumbs { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; padding: 6px 12px 6px 6px; border-radius: 999px; }
.crumbs:hover { background: var(--sand); }
.crumbs svg { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.chip.pink { background: var(--pink); color: #fff; border-color: transparent; }
.chip.blue { background: var(--blue); color: #fff; border-color: transparent; }
.chips .cd { position: static; box-shadow: none; font-size: 13px; letter-spacing: .04em; padding: 7px 13px 7px 11px; }
.post-hero h1 { margin-top: 14px; }
.band { position: relative; overflow: hidden; background: var(--night); color: #fff; border-radius: 28px; padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.band h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.band h2 .a { color: var(--sky); display: block; }
.band h2 .b { color: #F07AAE; display: block; }
.band p { color: #D9DDF0; margin-top: 12px; max-width: 52ch; font-size: 18px; }
.band .btns { display: flex; flex-direction: column; gap: 12px; }
.band .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.band .btn-ghost:hover { background: #fff; color: var(--night); }
.band .spark { opacity: .9; }
@media (max-width: 760px) { .band { grid-template-columns: minmax(0, 1fr); padding: 34px 24px; } .band .btns { flex-direction: row; flex-wrap: wrap; } }
.next-post { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border-radius: 22px; padding: 14px; text-decoration: none; color: var(--navy); margin-top: 28px; transition: transform .2s ease; }
.next-post:hover { transform: translateY(-2px); }
.next-post img { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.next-post small { color: var(--muted); font-size: 14px; font-weight: 600; display: block; }
.next-post b { display: block; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; line-height: 1.1; color: var(--blue); }
.next-post .go { width: 30px; height: 30px; color: var(--pink); margin-right: 10px; }
@media (max-width: 560px) { .next-post { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .next-post img { width: 96px; } .next-post .go { display: none; } }

/* PIN page */
.gate { position: relative; overflow: hidden; min-height: calc(100vh - 72px); min-height: calc(100dvh - 72px); display: grid; place-items: center; padding: 40px 20px 72px; }
.gate-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 28px; padding: 38px 30px 30px; box-shadow: 0 24px 60px rgba(20, 26, 56, .14); display: grid; gap: 12px; text-align: center; justify-items: center; }
.gate-card .mark { width: 92px; height: auto; }
.gate-card h1 { font-size: clamp(32px, 6vw, 40px); font-weight: 800; color: var(--blue); margin-top: 4px; }
.gate-card p { color: var(--ink); }
.gate form { display: grid; gap: 12px; width: 100%; margin-top: 8px; }
.gate label { position: absolute; left: -9999px; }
.pin-input { width: 100%; font-family: var(--font); font-size: 32px; font-weight: 700; letter-spacing: .45em; text-indent: .45em; text-align: center; padding: 14px 10px; border: 2px solid var(--line); border-radius: 16px; background: var(--cream); color: var(--navy); font-variant-numeric: tabular-nums; }
.pin-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33, 137, 203, .18); }
.gate .btn { justify-content: center; width: 100%; }
.gate .msg { width: 100%; color: #A61E58; font-weight: 600; font-size: 15px; line-height: 1.4; background: #FCE8F1; border-radius: 12px; padding: 10px 14px; }
.gate .back { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; margin-top: 6px; }
.gate .back:hover { color: var(--navy); }

/* private page */
.priv-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--pink); padding: 6px 11px; border-radius: 999px; }
.out { margin: 0; }
.out .btn { white-space: nowrap; }
.brand b { white-space: nowrap; }
@media (max-width: 520px) { .priv-tag { display: none; } }
@media (max-width: 480px) { .head-row .lang { padding: 8px 11px; } .out .btn { padding: 8px 12px; } }
.hello { position: relative; overflow: hidden; padding: 44px 0 24px; }
.hello-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hello h1 { font-size: clamp(58px, 8vw, 92px); font-weight: 800; color: var(--blue); letter-spacing: -0.035em; }
.hello .sub { font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; color: var(--pink); margin-top: 6px; line-height: 1.2; }
.hello .intro { font-size: clamp(18px, 1.8vw, 20px); color: var(--ink); margin-top: 18px; max-width: 54ch; }
.hello .photo { width: clamp(170px, 22vw, 250px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--cream), 0 0 0 14px var(--orange); margin: 14px; }
.hello .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .hello { padding-top: 28px; } .hello-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .hello .photo { order: -1; width: 128px; margin: 10px 14px; } }
.gc-section { padding: 18px 0 72px; }
.gc-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 44px; align-items: center; }
@media (max-width: 940px) { .gc-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* the gift card itself: sized in container units so it scales like the PDF */
.gc-wrap { container-type: inline-size; position: relative; width: 100%; max-width: 620px; aspect-ratio: 560 / 360; justify-self: center; margin: 0; }
.gc-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gc { position: absolute; left: 11.0714%; top: 11.1111%; width: 77.8571%; height: 76.1111%; border-radius: 3.2143cqw; overflow: hidden; color: #fff; box-shadow: 0 3.2143cqw 6.4286cqw rgba(21, 27, 59, .32); animation: gc-rise .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
@keyframes gc-rise { from { opacity: 0; transform: translateY(5cqw) rotate(-2deg); } to { opacity: 1; transform: none; } }
.gc-decor { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-in { position: absolute; inset: 0; padding: 3.5714cqw 4.2857cqw; display: flex; flex-direction: column; line-height: 1.2; }
.gc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gc-top img { width: 11.7857cqw; height: 13.0357cqw; }
.gc-amt { text-align: right; }
.gc-gift { font-size: 1.875cqw; font-weight: 700; letter-spacing: .4643cqw; text-transform: uppercase; color: var(--orange); }
.gc-big { font-size: 7.8571cqw; font-weight: 700; line-height: 1; margin-top: .7143cqw; letter-spacing: -.0893cqw; }
.gc-alt { font-size: 2.0536cqw; font-weight: 500; color: #B9D9EF; margin-top: .7143cqw; }
.gc-for { font-size: 2.4107cqw; font-weight: 600; margin-top: 1.7857cqw; display: flex; align-items: center; gap: 1.4286cqw; }
.gc-for svg { width: 1.6071cqw; height: 1.6071cqw; flex: none; }
.gc-num { font-size: 4.4643cqw; font-weight: 500; letter-spacing: .4286cqw; font-variant-numeric: tabular-nums; margin-top: 1.7857cqw; white-space: nowrap; }
.gc-row { display: flex; gap: 5.3571cqw; margin-top: auto; }
.gc-lab { font-size: 1.5179cqw; font-weight: 600; letter-spacing: .3214cqw; text-transform: uppercase; color: #9CCBEA; }
.gc-val { font-size: 2.5893cqw; font-weight: 600; margin-top: .3571cqw; letter-spacing: .1071cqw; font-variant-numeric: tabular-nums; }

.gc-details { background: #fff; border-radius: 24px; padding: 22px 24px 24px; box-shadow: 0 18px 40px rgba(20, 26, 56, .08); }
.gc-details h2 { font-size: 24px; font-weight: 800; color: var(--navy); }
.gc-details dl { margin: 10px 0 0; }
.gc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gc-item:last-child { border-bottom: 0; }
.gc-item dt { grid-column: 1 / -1; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gc-item dd { display: contents; }
.gc-item .v { font-size: 20px; font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gc-item button { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--blue); background: var(--cream); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.gc-item button:hover { background: var(--sand); }
.gc-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.both-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.both-col { background: #fff; border-radius: 24px; padding: 22px; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: start; }
.both-col img { width: 104px; height: 104px; border-radius: 20px; object-fit: cover; }
.both-col h3 { font-size: 23px; font-weight: 700; }
.both-col p { color: var(--ink); font-size: 16.5px; margin-top: 6px; }
.both-col:first-child h3 { color: var(--blue); }
.both-col:last-child h3 { color: var(--pink); }
.split { font-size: clamp(19px, 2vw, 22px); font-weight: 600; color: var(--navy); margin-top: 30px; max-width: 58ch; line-height: 1.45; }
.closing { margin-top: 14px; font-size: 18px; color: var(--ink); }
.sig { font-family: 'Caveat', cursive; font-size: 58px; font-weight: 700; color: var(--pink); line-height: 1; margin-top: 2px; }
.fine { margin-top: 28px; display: grid; gap: 4px; max-width: 80ch; }
.fine p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .both-grid { grid-template-columns: minmax(0, 1fr); } .both-col { grid-template-columns: 84px minmax(0, 1fr); padding: 18px; } .both-col img { width: 84px; height: 84px; } }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.lost h1 { font-size: clamp(44px, 7vw, 72px); font-weight: 800; }
.lost p { color: var(--ink); margin-top: 12px; }
.lost .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
