@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..600&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0c;
  --panel: #121216;
  --panel-2: #19191e;
  --gold: #e8a33d;
  --gold-2: #f3c77a;
  --gold-soft: rgba(232,163,61,.12);
  --gold-line: rgba(232,163,61,.26);
  --text: #f4efe6;
  --dim: #aaa49b;
  --faint: #6b665f;
  --whats: #3dd68c;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Sora', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }

/* ---------- Texture ---------- */
body::before {
  content: ''; position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(0,0)} }

.glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.glow.g1 { width: 520px; height: 520px; top: -180px; left: -200px; background: radial-gradient(circle, rgba(232,163,61,.28), transparent 70%); animation: drift 24s ease-in-out infinite; }
.glow.g2 { width: 460px; height: 460px; top: 1400px; right: -220px; background: radial-gradient(circle, rgba(232,163,61,.16), transparent 70%); animation: drift 28s ease-in-out infinite reverse; }
.glow.g3 { width: 460px; height: 460px; top: 3200px; left: -220px; background: radial-gradient(circle, rgba(243,199,122,.12), transparent 70%); animation: drift 32s ease-in-out infinite; }
@keyframes drift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-24px)} }

.page { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; padding-bottom: 90px; }

/* ---------- Top bar (sub-pages) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(10,10,12,.92), rgba(10,10,12,.6));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,163,61,.08);
}
.topbar .back {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-size: 13px; font-weight: 500;
}
.topbar .back .circ {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold-line); display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.topbar .back svg { width: 15px; height: 15px; color: var(--gold); }
.topbar .mini-logo { width: 46px; opacity: .9; }
@media (hover:hover) { .topbar .back:hover .circ { background: var(--gold-soft); transform: translateX(-3px); } }

/* ---------- Chips (highlighted labels with icon box) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 6px 20px 6px 6px; border-radius: 999px; line-height: 1;
  border: 1px solid var(--gold-line);
  background: linear-gradient(90deg, rgba(232,163,61,.14), rgba(232,163,61,.03));
  color: var(--gold-2); font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.chip .ic {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  display: grid; place-items: center; color: #1a1206;
  box-shadow: 0 4px 14px -4px rgba(232,163,61,.6);
}
.chip .ic svg { width: 16px; height: 16px; }

/* ---------- Page intro ---------- */
.intro { padding: 48px 28px 0; text-align: center; max-width: 540px; margin: 0 auto; }
.intro h1 {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(34px, 9vw, 50px); line-height: 1.1; letter-spacing: -.015em;
  margin: 28px auto 0; max-width: 520px;
}
.intro .lead {
  font-family: 'Fraunces', serif; font-weight: 350; font-size: 20px; line-height: 1.5;
  color: var(--text); opacity: .85; margin: 22px auto 0; max-width: 460px;
}
.intro .body { font-size: 15px; line-height: 1.8; color: var(--dim); margin: 22px auto 0; max-width: 460px; }

.features { display: grid; gap: 12px; margin: 36px auto 0; max-width: 460px; text-align: left; }
.feat {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border-radius: 16px; border: 1px solid rgba(232,163,61,.14);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.feat .ic { width: 42px; height: 42px; min-width: 42px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold); }
.feat .ic svg { width: 20px; height: 20px; }
.feat span { font-size: 14px; line-height: 1.5; color: var(--text); }
@media (hover:hover) { .feat:hover { border-color: var(--gold-line); transform: translateX(4px); } }

/* ---------- Infinite marquee ---------- */
.marquee {
  margin: 70px 0 10px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee + .marquee { margin-top: 0; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 46s; }
.marquee span {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: 42px; line-height: 1.25; white-space: nowrap; padding: 0 18px;
  color: var(--text);
}
.marquee span.o { color: var(--gold); }
.marquee span.star { color: var(--gold); font-style: normal; font-size: 22px; padding: 0 4px; align-self: center; }
.marquee.small span { font-family: 'Sora', sans-serif; font-style: normal; font-size: 12px; letter-spacing: .06em; color: var(--faint); padding: 0 14px; }
.marquee.small span.star { font-size: 10px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Thread (connects sections, the "infinite" line) ---------- */
.thread { width: 1px; height: 90px; margin: 10px auto; background: linear-gradient(180deg, transparent, var(--gold), transparent); opacity: .55; }

/* ---------- Case (video + story) ---------- */
.case { margin-top: 30px; }
.media {
  position: relative; width: 100%; max-width: 480px; margin: 0 auto;
  aspect-ratio: 9 / 16; overflow: hidden; background: #060607;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
@media (min-width: 520px) { .media { border-radius: 6px; } }
.media .inner { position: absolute; inset: 0; }
.media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media[data-playing="true"] { -webkit-mask-image: none; mask-image: none; }
@media (hover:hover) { .media:not([data-playing="true"]):hover video { transform: scale(1.04); } }

.play {
  position: absolute; inset: 0; z-index: 3; border: 0; background: radial-gradient(circle at center, rgba(10,10,12,.15), rgba(10,10,12,.45));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  cursor: pointer; color: var(--text); font-family: 'Sora', sans-serif;
}
.play .ring {
  width: 78px; height: 78px; border-radius: 50%; position: relative;
  background: rgba(10,10,12,.45); border: 1.5px solid var(--gold);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: transform .5s var(--ease);
}
.play .ring::after {
  content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--gold);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.play svg { width: 24px; height: 24px; margin-left: 4px; color: var(--gold); }
.play .lbl { font-size: 12.5px; font-weight: 500; letter-spacing: .03em; color: var(--text); opacity: .85; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (hover:hover) { .play:hover .ring { transform: scale(1.1); } }
.media[data-playing="true"] .play { display: none; }

.story { max-width: 480px; margin: 0 auto; padding: 36px 28px 0; text-align: center; }
.story h2 {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: 34px; line-height: 1.12; margin: 20px 0 14px;
}
.story p { font-size: 15px; line-height: 1.8; color: var(--dim); margin: 0; }

/* ---------- Photo gallery (natural size, no crop) ---------- */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 560px; margin: 70px auto 0; padding: 0 16px; align-items: start;
}
.gallery .col { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.gallery .col.r { padding-top: 90px; }
.gallery figure { margin: 0; border-radius: 4px; overflow: hidden; position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,.35), 0 28px 50px -20px rgba(0,0,0,.85), 0 10px 20px -8px rgba(0,0,0,.6);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.gallery figure img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
@media (hover:hover) {
  .gallery figure:hover { transform: translateY(-6px); box-shadow: 0 4px 8px rgba(0,0,0,.4), 0 38px 60px -18px rgba(0,0,0,.9); }
  .gallery figure:hover img { transform: scale(1.04); }
}

/* ---------- Impact + CTA ---------- */
.impact { padding: 0 28px; margin-top: 90px; text-align: center; }
.impact p {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px, 7vw, 36px); line-height: 1.3; margin: 0 auto; max-width: 520px;
}
.impact p + p { margin-top: 14px; color: var(--dim); }

.cta {
  position: relative; overflow: hidden; margin: 64px 18px 0; padding: 44px 26px 30px;
  border-radius: 26px; text-align: center; border: 1px solid var(--gold-line);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232,163,61,.22), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 40px 80px -40px rgba(232,163,61,.35);
}
.cta h3 { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
.cta p { font-size: 14.5px; line-height: 1.65; color: var(--dim); margin: 0 auto 28px; max-width: 360px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 15px; padding: 18px 20px;
  border-radius: 16px; text-decoration: none; color: var(--text);
  border: 1px solid var(--gold-line);
  background: rgba(22,22,27,.62);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-20deg); transition: left .9s var(--ease);
}
.btn .ic { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.btn .ic svg { width: 21px; height: 21px; }
.btn .txt { flex: 1; text-align: left; }
.btn .t { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.btn .d { display: block; font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.btn .arr { color: var(--gold); transition: transform .5s var(--ease); }
.btn .arr svg { width: 18px; height: 18px; display: block; }
.btn:active { transform: scale(.975); }
.btn.wa { border-color: rgba(61,214,140,.55); background: linear-gradient(180deg, rgba(61,214,140,.16), rgba(61,214,140,.05)); }
.btn.wa .ic { background: rgba(61,214,140,.16); color: var(--whats); }
.btn.wa .arr { color: var(--whats); }
@media (hover:hover) {
  .btn:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 20px 40px -18px rgba(232,163,61,.45); }
  .btn.wa:hover { border-color: var(--whats); box-shadow: 0 20px 40px -18px rgba(61,214,140,.45); }
  .btn:hover::after { left: 130%; }
  .btn:hover .arr { transform: translateX(4px); }
}
.cta .btn { justify-content: center; }
.cta .btn .txt { flex: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 86svh; display: flex; flex-direction: column; overflow: hidden; }
.hero .bgv { position: absolute; inset: 0; z-index: 0; }
.hero .bgv video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .42; transform: scale(1.08); animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.18); } }
.hero .bgv::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,.15) 22%, rgba(10,10,12,.7) 55%, var(--bg) 92%);
}
@media (min-width: 640px) {
  .hero .bgv { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
}
.hero .content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 40px 22px 30px; }
.hero .logo { width: 92px; margin: 0 auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.hero .head { margin-top: clamp(40px, 11vh, 120px); padding: 0 6px; }
.hero h1 {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 380;
  font-size: clamp(50px, 14vw, 78px); line-height: 1; letter-spacing: -.025em; margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero .sub { font-size: 15.5px; line-height: 1.65; color: var(--dim); margin: 22px 0 0; max-width: 330px; }
.hero .stack { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ---------- Motion ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv-media { clip-path: inset(14% 0 14% 0); transition: clip-path 1.4s var(--ease); }
.rv-media .inner { transform: scale(1.14); transition: transform 1.8s var(--ease); }
.rv-media.on { clip-path: inset(0 0 0 0); }
.rv-media.on .inner { transform: scale(1); }
.rv-img img { clip-path: inset(100% 0 0 0); transform: scale(1.2); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease) !important; }
.rv-img:not(.on) { box-shadow: none !important; }
.rv-img.on img { clip-path: inset(0 0 0 0); transform: scale(1); }
@media (hover:hover) { .rv-img.on:hover img { transform: scale(1.04); } }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
[data-split].on .wi { transform: none; }

.fade-in { opacity: 0; transform: translateY(18px); animation: fadein 1s var(--ease) forwards; }
@keyframes fadein { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv-media, .rv-img img, [data-split] .wi, .fade-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .rv-media .inner, .rv-img img { transform: none !important; }
}

body { position: relative; }
.glows { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.gallery .col.r.mid { padding-top: 89%; }
