/* =========================================================
   Time & Tether — Obsidian & Champagne
   ========================================================= */

:root {
  --obsidian: #0B0B0C;
  --charcoal: #141416;
  --charcoal-2: #1A1A1D;
  --alabaster: #F5F3EF;
  --silver: #A1A1AA;
  --champagne: #C5A880;
  --champagne-hi: #D8C09C;
  --champagne-dim: rgba(197, 168, 128, 0.14);
  --line: rgba(245, 243, 239, 0.08);
  --line-gold: rgba(197, 168, 128, 0.28);
  --whatsapp: #25D366;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--alabaster);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--champagne); color: var(--obsidian); }

:focus-visible { outline: 1px solid var(--champagne); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--champagne); color: var(--obsidian); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.1; letter-spacing: -0.005em; font-variant-numeric: lining-nums; text-wrap: balance; }
p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--gold { background: var(--champagne); color: var(--obsidian); }
.btn--gold:hover { background: var(--champagne-hi); box-shadow: 0 10px 30px -10px rgba(197,168,128,.55); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--alabaster); border-color: var(--line-gold); }
.btn--ghost:hover { border-color: var(--champagne); color: var(--champagne-hi); background: rgba(197,168,128,.06); }
.btn--whatsapp { background: transparent; color: var(--alabaster); border-color: rgba(37,211,102,.45); }
.btn--whatsapp svg { color: var(--whatsapp); }
.btn--whatsapp:hover { background: rgba(37,211,102,.1); border-color: var(--whatsapp); transform: translateY(-1px); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Navigation (glass) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: height .4s var(--ease);
}
/* glass layer lives on a pseudo-element so the fixed mobile menu is not trapped by backdrop-filter */
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(11, 11, 12, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled { --nav-h: 66px; }
.nav.is-scrolled::before { background: rgba(11, 11, 12, 0.72); border-bottom-color: var(--line); }
.nav__inner {
  position: relative; height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand img { height: 50px; width: auto; transition: height .4s var(--ease); }
.nav.is-scrolled .nav__brand img { height: 44px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  font-size: 13.5px; font-weight: 400; letter-spacing: 0.06em; color: var(--silver);
  position: relative; padding: 6px 0; transition: color .3s var(--ease);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--alabaster); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 140px;
  overflow: hidden; isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--obsidian) url("../assets/hero-bg.jpg") center center / cover no-repeat;
  transform-origin: center center;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* soft vignette to frame the type */
    radial-gradient(ellipse 85% 70% at 50% 45%, rgba(11,11,12,0) 0%, rgba(11,11,12,.38) 100%),
    /* blend into the page below */
    linear-gradient(to bottom, rgba(11,11,12,0) 78%, var(--obsidian) 100%),
    /* main luxury overlay */
    linear-gradient(to bottom, rgba(11,11,12,0.55), rgba(11,11,12,0.88));
}
.hero__content { max-width: 880px; }
.hero__logo {
  width: min(400px, 74vw); height: auto; margin: 0 auto 36px;
  opacity: 0; animation: rise 1.4s var(--ease) .4s forwards;
}
.hero__title {
  font-size: clamp(2.9rem, 7.4vw, 6.4rem); font-weight: 300; font-style: italic;
  line-height: 1.02; letter-spacing: -0.015em; color: var(--alabaster); text-wrap: balance;
  text-shadow: 0 2px 30px rgba(11,11,12,.55);
  opacity: 0; animation: rise 1.4s var(--ease) .75s forwards;
}
.hero__sub {
  max-width: 34em; margin: 26px auto 0; color: rgba(245,243,239,.86); text-shadow: 0 1px 16px rgba(11,11,12,.6);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  opacity: 0; animation: rise 1.4s var(--ease) 1s forwards;
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px;
  opacity: 0; animation: rise 1.4s var(--ease) 1.2s forwards;
}
.hero__areas {
  position: absolute; left: 0; right: 0; bottom: 34px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px;
  list-style: none; margin: 0; padding: 0 var(--gutter);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne);
  opacity: 0; animation: fadeIn 1.6s var(--ease) 1.6s forwards;
}
.hero__areas li + li::before {
  content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 26px; vertical-align: middle;
  background: var(--champagne); transform: rotate(45deg) translateY(-2px);
}
/* the tether: a fine gold thread dropping from the hero into the page */
.hero__tether {
  position: absolute; left: 50%; bottom: -1px; width: 30px; height: 44px; transform: translateX(-50%);
  display: none;
}
.hero__tether span {
  position: absolute; left: 50%; top: 0; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--champagne));
  transform-origin: top; transform: scaleY(0); animation: drawDown 1.6s var(--ease) 1.8s forwards;
}
.hero__tether span::after {
  content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px;
  border: 1px solid var(--champagne); transform: rotate(45deg); background: var(--obsidian);
}

@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes drawDown { to { transform: scaleY(1); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 300; margin-bottom: 18px;
}
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 1px; margin-top: 22px; background: var(--champagne);
}
.section-head p { color: var(--silver); font-size: 1.04rem; max-width: 38em; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div:first-child { max-width: 440px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: rgba(245,243,239,.86); font-size: 15px; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px;
  border: 1px solid var(--champagne); transform: rotate(45deg);
}
.ticks li.muted { color: var(--silver); font-style: normal; }
.ticks li.muted::before { border-color: var(--silver); }

/* ---------- Media + branded placeholder ---------- */
.media {
  position: relative; margin: 0; overflow: hidden; background: var(--charcoal);
  border-radius: var(--radius-m);
}
.media::before {
  /* luxury placeholder until a photo loads */
  content: "T&T"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem);
  color: rgba(197,168,128,.55); letter-spacing: .02em;
  background:
    radial-gradient(circle at 50% 42%, rgba(197,168,128,.16), transparent 58%),
    repeating-linear-gradient(135deg, rgba(245,243,239,.018) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1B1B1E, #0F0F11);
}
.media::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--silver);
}
.media img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.media.is-loaded img { opacity: 1; }
.media.is-loaded::after { display: none; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 48px); align-items: start; }
.service__media { aspect-ratio: 4 / 5; margin-bottom: 30px; }
.service__media::after { bottom: 22px; }
.service:hover .service__media img { transform: scale(1.04); }
.service h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 12px; }
.service > p { color: var(--silver); margin-bottom: 22px; font-size: 15px; }

/* ---------- Portfolio ---------- */
.portfolio { background: linear-gradient(180deg, var(--obsidian), #0E0E10 50%, var(--obsidian)); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  background: transparent; border: 1px solid var(--line); color: var(--silver);
  border-radius: 999px; padding: 10px 18px; font-size: 13px; letter-spacing: .03em; cursor: pointer; white-space: nowrap;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--alabaster); border-color: var(--line-gold); }
.filter.is-active { background: var(--champagne); border-color: var(--champagne); color: var(--obsidian); font-weight: 500; }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; grid-auto-flow: dense; gap: 14px;
}
.tile { border-radius: var(--radius-s); cursor: default; }
.tile.is-loaded { cursor: zoom-in; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile.is-hidden { display: none; }
.tile.is-entering { animation: tileIn .6s var(--ease) both; }
.tile figcaption, .tile .tile__cap {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(11,11,12,.85));
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--alabaster);
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.tile.is-loaded:hover img { transform: scale(1.05); }
.tile.is-loaded:hover .tile__cap, .tile.is-loaded:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile::before { font-size: 2.4rem; }
.tile.is-loaded { box-shadow: inset 0 0 0 1px transparent; }
.tile.is-loaded:hover { box-shadow: 0 0 0 1px var(--line-gold); }
@keyframes tileIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(8, 8, 9, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 70px 80px; opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: var(--radius-s); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lightbox__figure figcaption { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--silver); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(20,20,22,.6); border: 1px solid var(--line-gold); color: var(--alabaster);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--champagne); color: var(--obsidian); border-color: var(--champagne); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Photobooth showcase ---------- */
.showcase { padding-bottom: clamp(40px, 6vw, 80px); }
.showcase__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.showcase__visual { position: relative; aspect-ratio: 1 / 1.04; margin-bottom: 28px; }
.frame {
  position: absolute; padding: 10px; border-radius: 8px;
  border: 1px solid rgba(197,168,128,.7);
  background: linear-gradient(160deg, #1D1B18, var(--charcoal));
}
.frame__img { border-radius: 3px; }
.frame__img img { transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.frame:hover .frame__img img { transform: scale(1.035); }
.frame--tall { left: 0; top: 0; width: 55%; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.frame--tall .frame__img { aspect-ratio: 3 / 4; }
.frame--tall .frame__img img { object-position: 50% 45%; }
/* a fine offset line behind the first frame */
.frame--tall::before {
  content: ""; position: absolute; inset: 26px -26px -26px 26px; z-index: -1;
  border: 1px solid var(--line-gold); border-radius: 10px; pointer-events: none;
}
.frame--wide {
  right: 0; bottom: 0; width: 72%; z-index: 2;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 0 8px var(--obsidian);
}
.frame--wide .frame__img { aspect-ratio: 3 / 2; }

.glass-badge {
  position: absolute; z-index: 3; margin: 0;
  display: inline-flex; align-items: center; gap: 10px; max-width: 340px; text-wrap: balance;
  padding: 11px 18px; border-radius: 14px;
  background: rgba(20, 20, 22, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(197, 168, 128, 0.45);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(245,243,239,.08);
  font-size: 12.5px; font-weight: 500; line-height: 1.45; letter-spacing: .02em; color: var(--alabaster);
  animation: badgeFloat 7s ease-in-out infinite;
}
.glass-badge__mark { flex: none; width: 7px; height: 7px; background: var(--champagne); transform: rotate(45deg); }
.glass-badge--a { top: 28px; left: -22px; }
.glass-badge--b { bottom: -24px; left: 28px; animation-delay: -3.5s; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.showcase__copy h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 300; margin-bottom: 22px; }
.showcase__copy h2::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 22px; background: var(--champagne); }
.showcase__copy p { color: var(--silver); font-size: 1.02rem; max-width: 34em; }
.showcase__copy p + p { margin-top: 16px; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Packages ---------- */
.group-title {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--champagne); margin: 0 0 26px; display: flex; align-items: center; gap: 18px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 26px;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 38px 32px 32px;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.tier:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.tier .ticks { flex: 1; }
.tier--featured {
  background: linear-gradient(180deg, #1A1815 0%, var(--charcoal) 55%);
  border-color: rgba(197,168,128,.55);
  box-shadow: 0 40px 80px -40px rgba(197,168,128,.25);
}
.tier--featured:hover { border-color: var(--champagne); }
.tier__badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--champagne); color: var(--obsidian);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.tier__badge--quiet { background: var(--obsidian); color: var(--champagne); border: 1px solid var(--line-gold); }
.tier__head h4 { font-size: 1.95rem; font-weight: 400; margin-bottom: 10px; }
.tier__for { color: var(--silver); font-size: 14px; line-height: 1.6; }
.tier__price { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier__price .amount { font-family: var(--sans); font-weight: 300; font-size: 2.9rem; line-height: 1; letter-spacing: -.02em; color: var(--alabaster); }
.tier__price .amount small { font-size: 1rem; color: var(--silver); margin-left: 4px; letter-spacing: 0; }
.tier__price .note { font-size: 13px; color: var(--champagne); line-height: 1.5; }

.corporate {
  margin: 26px 0 clamp(70px, 9vw, 110px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--radius-l);
  border: 1px dashed var(--line-gold); background: rgba(197,168,128,.035);
}
.corporate h4 { font-size: 1.6rem; margin-bottom: 6px; }
.corporate p { color: var(--silver); font-size: 15px; max-width: 56ch; }

.photo-pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.photo-pkg {
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 36px 32px;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.photo-pkg:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.photo-pkg__top { width: 100%; }
.photo-pkg h4 { font-size: 1.95rem; margin-bottom: 14px; }
.photo-pkg .tier__price { border-bottom: 0; padding-bottom: 0; }
.photo-pkg .ticks { width: 100%; }
.photo-pkg > .btn { margin-top: auto; }
.ticks--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* ---------- Quote calculator ---------- */
.quote { background: radial-gradient(ellipse 60% 50% at 85% 35%, rgba(197,168,128,.06), transparent 70%), var(--obsidian); }
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.calc__controls { display: grid; gap: 18px; }
.calc__group {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--charcoal);
  padding: 26px 28px 28px; min-width: 0;
}
.calc__group[hidden] { display: none; }
.calc__group legend {
  float: left; width: 100%; padding: 0; margin-bottom: 18px;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--alabaster);
}
.calc__group legend + * { clear: both; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: var(--obsidian); border-radius: 999px; border: 1px solid var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: grid; place-items: center; text-align: center; min-height: 46px; padding: 6px 10px; border-radius: 999px;
  font-size: 14px; color: var(--silver); cursor: pointer; transition: all .35s var(--ease); line-height: 1.25;
}
.segmented span:hover { color: var(--alabaster); }
.segmented input:checked + span { background: var(--champagne); color: var(--obsidian); font-weight: 500; }
.segmented input:focus-visible + span { outline: 1px solid var(--champagne); outline-offset: 2px; }

.tier-pick { display: grid; gap: 10px; }
.pick { position: relative; cursor: pointer; display: block; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__body {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "meta price"; align-items: center; column-gap: 16px;
  padding: 16px 20px 16px 50px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--obsidian);
  position: relative; transition: all .3s var(--ease);
}
.pick__body::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; border: 1px solid var(--silver); transition: all .3s var(--ease);
}
.pick:hover .pick__body { border-color: var(--line-gold); }
.pick input:checked + .pick__body { border-color: var(--champagne); background: rgba(197,168,128,.06); }
.pick input:checked + .pick__body::before { border-color: var(--champagne); box-shadow: inset 0 0 0 3px var(--obsidian); background: var(--champagne); }
.pick input:focus-visible + .pick__body { outline: 1px solid var(--champagne); outline-offset: 2px; }
.pick__name { grid-area: name; font-weight: 500; font-size: 15px; }
.pick__meta { grid-area: meta; font-size: 13px; color: var(--silver); }
.pick__price { grid-area: price; font-size: 1.15rem; font-weight: 400; color: var(--champagne); text-align: right; }
.pick__price s { color: var(--silver); font-size: .85rem; margin-right: 6px; }

.range__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.range__value { font-size: 15px; color: var(--silver); }
.range__value strong { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; color: var(--alabaster); margin-right: 6px; }
.range__rate, .stepper__rate { font-size: 13px; color: var(--champagne); }
.range__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--silver); margin-top: 8px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer;
  --pct: 0%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--champagne) var(--pct), rgba(245,243,239,.14) var(--pct));
}
input[type="range"]::-moz-range-track { height: 2px; background: rgba(245,243,239,.14); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--champagne); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%;
  background: var(--obsidian); border: 1px solid var(--champagne); box-shadow: inset 0 0 0 5px var(--champagne);
  transition: transform .2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--obsidian); border: 1px solid var(--champagne); box-shadow: inset 0 0 0 5px var(--champagne);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.stepper { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stepper__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-gold); background: var(--obsidian);
  color: var(--alabaster); font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: all .3s var(--ease);
}
.stepper__btn:hover:not(:disabled) { background: var(--champagne); color: var(--obsidian); border-color: var(--champagne); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { font-variant-numeric: lining-nums; min-width: 96px; text-align: center; font-family: var(--serif); font-size: 1.6rem; }
.stepper__rate { margin-left: auto; }

.calc__summary {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: linear-gradient(180deg, #1A1815, var(--charcoal) 40%);
  border: 1px solid var(--line-gold); border-radius: var(--radius-l); padding: 32px 30px 30px;
}
.calc__summary h3 { font-size: 1.8rem; margin-bottom: 22px; }
.lines { list-style: none; margin: 0 0 8px; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lines li span:first-child { color: rgba(245,243,239,.88); }
.lines li small { display: block; color: var(--silver); font-size: 12.5px; margin-top: 2px; }
.lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines li.saving span:last-child { color: var(--champagne); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0 18px; }
.total span { font-size: 14px; color: var(--silver); }
.total strong { font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.02em; color: var(--champagne); font-variant-numeric: tabular-nums; }
.total strong.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--champagne-hi); } }
.fine { font-size: 12.5px; color: var(--silver); line-height: 1.6; margin-bottom: 22px; }

/* ---------- Galleries & social hub ---------- */
.hub { padding-top: 0; }
.hub__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px; border: 1px solid var(--line-gold);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(197,168,128,.16), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(197,168,128,.08), transparent 45%),
    var(--charcoal);
  padding: clamp(40px, 6vw, 80px);
}
.hub__mark {
  position: absolute; z-index: -1; right: -6%; top: 50%; width: 52%; max-width: 640px; transform: translateY(-50%);
  opacity: .07; mix-blend-mode: screen; pointer-events: none;
}
.hub__head { max-width: 620px; margin-bottom: 46px; }
.hub__head h2 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 300; margin-bottom: 14px; }
.hub__head p { color: var(--silver); }
.hub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hub__item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 6px 34px 6px 0; }
.hub__item + .hub__item { padding-left: 34px; border-left: 1px solid var(--line); }
.hub__item .icon { width: 28px; height: 28px; fill: var(--champagne); color: var(--champagne); margin-bottom: 4px; }
.hub__item h3 { font-size: 1.6rem; }
.hub__item p { color: var(--silver); font-size: 14.5px; flex: 1; margin-bottom: 8px; }

/* ---------- Inquiry ---------- */
.inquire { padding-top: clamp(40px, 6vw, 70px); }
.inquire__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.inquire__intro h2 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 300; margin-bottom: 20px; }
.inquire__intro h2::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 22px; background: var(--champagne); }
.inquire__intro > p { color: var(--silver); margin-bottom: 36px; max-width: 32em; }
.contact { margin: 0; display: grid; gap: 22px; }
.contact div { border-top: 1px solid var(--line); padding-top: 16px; }
.contact dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; }
.contact dd { margin: 0; font-size: 15.5px; }
.contact a { transition: color .3s var(--ease); }
.contact a:hover { color: var(--champagne); }

.form {
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 44px); display: grid; gap: 20px;
}
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 13px; color: var(--silver); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--obsidian); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 14px 16px; font-size: 15px; font-weight: 400; color: var(--alabaster);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(135deg, var(--champagne) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(161,161,170,.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(197,168,128,.12); }
.field.has-error input { border-color: #C9817A; }

.estimate-card {
  border: 1px solid var(--line-gold); border-radius: var(--radius-m); background: rgba(197,168,128,.05); padding: 18px 20px;
  animation: rise .6s var(--ease);
}
.estimate-card[hidden] { display: none; }
.estimate-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.estimate-card__head span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.estimate-card ul { list-style: none; margin: 0; padding: 0; }
.estimate-card li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 6px 0; color: rgba(245,243,239,.85); border-bottom: 1px solid var(--line); }
.estimate-card__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.estimate-card__total span { font-size: 13px; color: var(--silver); }
.estimate-card__total strong { font-weight: 400; font-size: 1.5rem; color: var(--champagne); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--silver); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--alabaster); }

.form__error { color: #E3A49D; font-size: 14px; }
.form__error[hidden] { display: none; }
.form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.form__note { font-size: 12.5px; color: var(--silver); text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 30px; background: #08080A; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; }
.footer__brand img { width: 260px; height: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 13px; color: var(--silver); max-width: 30ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: rgba(245,243,239,.85); }
.footer__col h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); margin-bottom: 6px; }
.footer__col a { transition: color .3s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--champagne); }
.footer__col span { color: var(--silver); line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center;
  transition: all .35s var(--ease);
}
.socials svg { width: 18px; height: 18px; fill: currentColor; color: var(--alabaster); }
.socials a:hover { background: var(--champagne); border-color: var(--champagne); transform: translateY(-2px); }
.socials a:hover svg { color: var(--obsidian); }
.footer__base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--silver);
}
.footer__base a:hover { color: var(--champagne); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(20,20,22,.8); border: 1px solid rgba(37,211,102,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 26px; height: 26px; fill: var(--whatsapp); }
.wa-float:hover { background: var(--whatsapp); }
.wa-float:hover svg { fill: #fff; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .services__grid .reveal:nth-child(2), .js .tiers .reveal:nth-child(2) { transition-delay: .12s; }
.js .services__grid .reveal:nth-child(3), .js .tiers .reveal:nth-child(3) { transition-delay: .24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 900px) {
  .hero__tether { display: block; }
  .hero__areas { bottom: 66px; }
}

@media (max-width: 1080px) {
  .nav__links { gap: 24px; }
  .tiers { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .tier--featured { order: -1; }
  .calc { grid-template-columns: 1fr; }
  .calc__summary { position: relative; top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__brand img { height: 42px; }
  .nav.is-scrolled .nav__brand img { height: 40px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; z-index: 2;
    background: transparent; border: 1px solid var(--line-gold); border-radius: 50%; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1px; background: var(--alabaster); transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(11,11,12,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; color: var(--alabaster); }
  .nav__cta { margin-top: 10px; min-height: 50px; padding: 0 34px; font-size: 14px; }

  .services__grid { grid-template-columns: 1fr; gap: 64px; max-width: 560px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
  .tile--m-single { grid-column: span 1; }
  .photo-pkgs { grid-template-columns: 1fr; }
  .hub__grid { grid-template-columns: 1fr; gap: 30px; }
  .hub__item, .hub__item + .hub__item { padding: 0; border-left: 0; }
  .hub__item + .hub__item { padding-top: 30px; border-top: 1px solid var(--line); }
  .hub__mark { width: 90%; right: -30%; top: 20%; }
  .inquire__grid { grid-template-columns: 1fr; }
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__copy { order: -1; }
  .showcase__visual { max-width: 620px; width: 100%; margin: 0 auto 30px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero { padding-bottom: 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__areas { gap: 4px 14px; font-size: 10.5px; letter-spacing: .18em; bottom: 26px; }
  .hero__areas li + li::before { margin-right: 14px; }
  .filters { width: 100%; }
  .filter { padding: 9px 14px; font-size: 12.5px; }
  .gallery { grid-auto-rows: 150px; }
  .tile--wide { grid-column: span 2; }
  .tile--m-single { grid-column: span 1; }
  .tile figcaption, .tile .tile__cap { font-size: 1rem; padding: 30px 12px 10px; }
  .tier { padding: 34px 22px 24px; }
  .tier__badge { left: 22px; }
  .corporate { padding: 24px 22px; }
  .photo-pkg { padding: 30px 22px; }
  .ticks--cols { grid-template-columns: 1fr; }
  .calc__group { padding: 22px 18px 22px; }
  .segmented { border-radius: var(--radius-m); }
  .segmented span { border-radius: 8px; font-size: 13px; min-height: 48px; }
  .pick__body { padding: 14px 14px 14px 44px; }
  .pick__body::before { left: 16px; }
  .stepper__rate { margin-left: 0; width: 100%; }
  .calc__summary { padding: 26px 20px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .form__actions { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .lightbox { padding: 64px 12px 90px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .frame { padding: 6px; }
  .frame--tall::before { inset: 14px -10px -14px 14px; }
  .frame--wide { box-shadow: 0 30px 60px -24px rgba(0,0,0,.95), 0 0 0 5px var(--obsidian); }
  .glass-badge { font-size: 11px; padding: 8px 12px; gap: 8px; max-width: 200px; border-radius: 11px; }
  .glass-badge--a { top: -16px; left: 10px; max-width: none; white-space: nowrap; }
  .showcase__visual { margin-top: 24px; }
  .glass-badge--b { bottom: -20px; left: 12px; max-width: 230px; }
  .showcase__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero__media, .glass-badge { animation: none !important; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 1081px) {
  .filters { flex: none; flex-wrap: nowrap; }
}

/* =========================================================
   Client Gallery Portal
   ========================================================= */
.portal { padding-top: 0; }
.anchor-alias { position: absolute; top: 0; }
.portal__panel { display: grid; gap: 0; }
.portal__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: end; }
.portal__head h2 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 300; margin-bottom: 14px; }
.portal__head p { color: var(--silver); max-width: 30em; }

.portal__form label {
  display: block; margin-bottom: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne);
}
.portal__field {
  display: flex; align-items: center; gap: 8px; padding: 7px;
  border: 1px solid var(--line-gold); border-radius: 999px; background: rgba(11, 11, 12, .65);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.portal__field:focus-within { border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(197, 168, 128, .12); }
.portal__field input {
  flex: 1; min-width: 0; height: 50px; padding: 0 18px;
  background: transparent; border: 0; outline: none;
  font-size: 17px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--alabaster);
}
.portal__field input::placeholder { color: rgba(161, 161, 170, .55); font-weight: 400; letter-spacing: .08em; }
.portal__field .btn { flex: none; }
.portal__field .btn:disabled { opacity: .7; cursor: progress; transform: none; }

.portal__msg { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14px; line-height: 1.55; }
.portal__msg[hidden] { display: none; }
.portal__msg--error .portal__msg-text { color: #E8B4AD; }
.portal__msg--info .portal__msg-text { color: var(--silver); }
.portal__wa {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(37, 211, 102, .5); color: var(--alabaster); font-size: 13px; font-weight: 500;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.portal__wa svg { width: 16px; height: 16px; fill: var(--whatsapp); }
.portal__wa:hover { background: rgba(37, 211, 102, .1); border-color: var(--whatsapp); }

/* smooth reveal of the unlocked card */
.portal__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.portal__reveal.is-open { grid-template-rows: 1fr; }
.portal__reveal-inner { min-height: 0; overflow: hidden; }
.portal__reveal.is-open .portal__reveal-inner { padding-top: clamp(32px, 4vw, 48px); }

.unlocked {
  display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; outline: none;
  border-radius: 20px; border: 1px solid rgba(197, 168, 128, .45);
  background: linear-gradient(140deg, rgba(197, 168, 128, .09), rgba(20, 20, 22, .55) 45%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(245, 243, 239, .07);
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease) .2s, transform .7s var(--ease) .2s;
}
.portal__reveal.is-open .unlocked { opacity: 1; transform: none; }
.unlocked:focus-visible { box-shadow: 0 0 0 1px var(--champagne), 0 40px 90px -40px rgba(0, 0, 0, .95); }
.unlocked__media { border-radius: 0; min-height: 360px; }
.unlocked__media img { position: absolute; inset: 0; }
.unlocked__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 4vw, 48px); }
.unlocked__status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne);
}
.unlocked__check {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--champagne); color: var(--obsidian); font-size: 12px; letter-spacing: 0; font-weight: 600;
}
.unlocked__title { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 300; }
.unlocked__date { color: var(--silver); font-size: 15px; }
.unlocked__actions { display: grid; gap: 10px; margin-top: 12px; }
.unlocked__actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding: 12px 22px; min-height: 54px; }
.btn--frame { background: rgba(197, 168, 128, .06); color: var(--alabaster); border-color: var(--champagne); }
.btn--frame:hover { background: rgba(197, 168, 128, .14); color: var(--champagne-hi); transform: translateY(-1px); }
.unlocked__pending { color: var(--silver); font-size: 15px; }
.unlocked__tip {
  margin-top: 6px; padding: 4px 0 4px 14px; border-left: 2px solid var(--champagne);
  font-size: 13.5px; line-height: 1.6; color: var(--silver);
}
.unlocked__tip strong { color: var(--alabaster); font-weight: 500; }
.unlocked__reset { align-self: flex-start; margin-top: 4px; }

/* public featured events */
.portal__public { margin-top: clamp(56px, 7vw, 90px); }
.portal__public[hidden] { display: none; }
.portal__public-head { max-width: 620px; margin-bottom: 28px; }
.portal__public-head h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 300; margin-bottom: 10px; }
.portal__public-head p { color: var(--silver); }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: 16px;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.feat-card .media { aspect-ratio: 4 / 3; border-radius: 0; }
.feat-card:hover .media img { transform: scale(1.04); }
.feat-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 22px 22px 24px; }
.feat-card h4 { font-size: 1.55rem; }
.feat-card__date { color: var(--silver); font-size: 13.5px; }
.feat-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }

/* social links under the portal */
.portal__social { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 6vw, 72px); padding-top: 36px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .portal__intro { grid-template-columns: 1fr; }
  .unlocked { grid-template-columns: 1fr; }
  .unlocked__media { min-height: 0; aspect-ratio: 16 / 10; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .portal__social { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .portal__panel { padding: 30px 16px 24px; border-radius: 20px; }
  .portal__head, .portal__form { padding: 0 6px; }
  .unlocked { border-radius: 16px; }
  .unlocked__body { padding: 24px 18px 22px; }
  .unlocked__actions .btn { padding: 12px 16px; }
  .portal__field { flex-direction: column; align-items: stretch; border-radius: 16px; padding: 8px; }
  .portal__field input { height: 52px; text-align: center; padding: 0 10px; }
  .portal__field .btn { width: 100%; }
  .featured-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .portal__reveal, .unlocked { transition: none; }
}
