/*
  GAIETY media + atelier layer
  The NovaChain design-system grammar is translated into watchmaking language:
  precision grids, instrument frames, reference labels, restrained depth and light.
*/

:root {
  --atelier-gold: #c7a765;
  --atelier-gold-soft: rgba(199, 167, 101, .34);
  --atelier-green: #006039;
  --atelier-deep: #04291d;
  --atelier-ink: #101512;
  --atelier-line: rgba(16, 21, 18, .14);
  --atelier-line-light: rgba(255, 255, 255, .17);
  --atelier-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --atelier-ease: cubic-bezier(.25, 1, .5, 1);
}

/* Media placement */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.025);
  filter: saturate(.78) contrast(1.08) brightness(.82);
  animation: gaiety-video-in 1.25s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes gaiety-video-in {
  from { opacity: .35; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1.025); }
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,.48), transparent 31%, rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.1) 66%, transparent),
    radial-gradient(circle at 67% 49%, transparent 0 19%, rgba(0,0,0,.16) 52%, rgba(0,0,0,.34) 100%);
}

.cinematic-inner > img {
  object-position: 50% 50%;
  filter: saturate(.82) contrast(1.08) brightness(.92);
}

.media-card.tall img { object-position: 50% 50%; }

.offer-image { background: #101412; }
.offer-image img {
  object-position: 50% 50%;
  filter: saturate(.86) contrast(1.06) brightness(.95);
}

.media-card img,
.cinematic-inner > img,
.offer-image img,
.hero-video { background: #141816; }

/* Precision header */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header.is-solid {
  border-bottom-color: rgba(0,96,57,.13);
}

.brand strong {
  letter-spacing: .22em;
}

.header-actions::before {
  content: "REF. GC-01";
  font-family: var(--atelier-mono);
  font-size: .53rem;
  letter-spacing: .12em;
  opacity: .48;
}

.header-buy {
  position: relative;
  overflow: hidden;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.28), transparent 67%);
  transform: translateX(-130%);
  transition: transform .8s var(--atelier-ease);
}

.header-buy:hover::before { transform: translateX(130%); }

/* Hero becomes an instrument face rather than a plain full-bleed video */
.hero {
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  inset: 0;
  opacity: .34;
  background:
    radial-gradient(circle at 67% 49%, transparent 0 15.8%, rgba(255,255,255,.22) 16%, transparent 16.35%),
    radial-gradient(circle at 67% 49%, transparent 0 23.8%, rgba(199,167,101,.25) 24%, transparent 24.25%),
    radial-gradient(circle at 67% 49%, transparent 0 34.8%, rgba(255,255,255,.11) 35%, transparent 35.18%),
    repeating-conic-gradient(from 0deg at 67% 49%, rgba(255,255,255,.28) 0 .25deg, transparent .25deg 6deg);
  -webkit-mask-image: radial-gradient(circle at 67% 49%, transparent 0 14%, #000 16% 36%, transparent 39%);
  mask-image: radial-gradient(circle at 67% 49%, transparent 0 14%, #000 16% 36%, transparent 39%);
}

.hero::after {
  z-index: 2;
  inset: 96px clamp(22px, 3.2vw, 58px) 30px;
  opacity: .74;
  background:
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/1px 24px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right top/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right top/1px 24px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left bottom/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left bottom/1px 24px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/1px 24px no-repeat;
}

.hero-copy {
  padding-left: clamp(20px, 2.2vw, 36px);
  border-left: 1px solid rgba(199,167,101,.75);
  text-shadow: 0 2px 34px rgba(0,0,0,.42);
}

.hero-copy::before {
  content: "GAIETY / CLASSIC / QUARTZ / 35–41 MM";
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,.62);
  font-family: var(--atelier-mono);
  font-size: clamp(.5rem, .65vw, .62rem);
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #e7d2a2;
}

.hero h1 {
  max-width: 850px;
  text-shadow: 0 10px 50px rgba(0,0,0,.28);
}

.scroll-cue {
  font-family: var(--atelier-mono);
  letter-spacing: .14em;
}

.scroll-cue i {
  border-color: rgba(199,167,101,.7);
  background: rgba(5,18,13,.22);
  backdrop-filter: blur(8px);
}

/* Shared editorial section system */
.intro,
.story,
.specs,
.promise,
.faq,
footer {
  position: relative;
  isolation: isolate;
}

.intro::after,
.story::after,
.specs::after,
.promise::after,
.faq::after,
footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, transparent calc(33.333% - .5px), rgba(0,96,57,.07) calc(33.333% - .5px), rgba(0,96,57,.07) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
    linear-gradient(to right, transparent calc(66.666% - .5px), rgba(0,96,57,.07) calc(66.666% - .5px), rgba(0,96,57,.07) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
    repeating-linear-gradient(-45deg, transparent 0 11px, rgba(0,0,0,.018) 11px 12px);
}

.intro::before,
.story::before,
.specs::before,
.promise::before,
.faq::before {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: clamp(22px,5vw,80px);
  color: rgba(0,96,57,.64);
  font-family: var(--atelier-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.intro::before { content: "01 / PRESENÇA"; }
.story::before { content: "03 / COMPOSIÇÃO"; }
.specs::before { content: "04 / ESPECIFICAÇÕES"; }
.promise::before { content: "06 / COMPRA CONSCIENTE"; }
.faq::before { content: "07 / PERGUNTAS ESSENCIAIS"; color: rgba(199,167,101,.72); }

.intro .two-columns,
.specs .two-columns {
  position: relative;
  padding-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid rgba(0,96,57,.16);
}

.intro .two-columns::before,
.specs .two-columns::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 84px;
  height: 1px;
  background: var(--atelier-gold);
}

.intro-copy {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(0,96,57,.12);
  background: rgba(255,255,255,.42);
  box-shadow: inset 0 1px rgba(255,255,255,.8), 0 25px 70px -55px rgba(0,61,40,.55);
}

.intro-copy::before {
  content: "INTENT / FORM / PRESENCE";
  position: absolute;
  right: 18px;
  top: 14px;
  color: rgba(0,96,57,.38);
  font-family: var(--atelier-mono);
  font-size: .48rem;
  letter-spacing: .12em;
}

/* Cinematic design study */
.cinematic-inner::before,
.cinematic-inner::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.cinematic-inner::before {
  inset: clamp(24px,3vw,48px);
  opacity: .74;
  background:
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/30px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/1px 30px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right top/30px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right top/1px 30px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left bottom/30px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left bottom/1px 30px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/30px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/1px 30px no-repeat;
}

.cinematic-inner::after {
  right: clamp(30px,6vw,95px);
  top: 50%;
  width: clamp(150px,20vw,310px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 38px rgba(255,255,255,.025),
    0 0 0 39px rgba(199,167,101,.11),
    inset 0 0 80px rgba(0,0,0,.22);
}

.cinematic-copy {
  z-index: 3;
  padding: clamp(28px,4vw,52px);
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(4,14,10,.62), rgba(4,14,10,.22));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 30px 90px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.cinematic-copy::before {
  content: "02 / DESIGN STUDY / ROMAN DIAL";
  display: block;
  margin-bottom: 19px;
  color: rgba(199,167,101,.78);
  font-family: var(--atelier-mono);
  font-size: .53rem;
  letter-spacing: .15em;
}

/* Bento becomes a restrained holodex */
.bento {
  perspective: 1300px;
  padding: 16px;
  border: 1px solid rgba(0,96,57,.1);
  background:
    linear-gradient(rgba(0,96,57,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,96,57,.035) 1px, transparent 1px);
  background-size: 80px 80px;
}

.media-card,
.text-card {
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px rgba(255,255,255,.13),
    inset 0 0 36px rgba(0,0,0,.08),
    0 28px 70px -48px rgba(0,35,22,.8);
}

.media-card::before,
.text-card::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 12px;
  pointer-events: none;
  opacity: .66;
  background:
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/15px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/1px 15px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/15px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/1px 15px no-repeat;
}

.media-card::after,
.text-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(118deg, transparent 26%, rgba(255,255,255,.13), transparent 62%);
  transform: translateX(-55%);
  transition: opacity .35s ease, transform 1.1s var(--atelier-ease);
}

.media-card:hover::after,
.text-card:hover::after {
  opacity: 1;
  transform: translateX(55%);
}

.green-card {
  background:
    radial-gradient(circle at 82% 12%, rgba(199,167,101,.18), transparent 28%),
    linear-gradient(145deg, #00653d, #003d28);
}

.cream-card {
  background:
    radial-gradient(circle at 85% 8%, rgba(0,96,57,.09), transparent 31%),
    linear-gradient(145deg, #f6f2e9, #e9e3d8);
}

.text-card > span,
.card-caption small {
  font-family: var(--atelier-mono);
  letter-spacing: .14em;
}

.card-caption {
  padding-left: 15px;
  border-left: 1px solid var(--atelier-gold);
}

/* Technical ticker inspired by the DS information rail */
.marquee {
  padding: 15px 0;
  border-top: 1px solid rgba(199,167,101,.34);
  border-bottom: 1px solid rgba(199,167,101,.24);
  background: #05261b;
}

.marquee > div {
  gap: 42px;
  animation-duration: 29s;
  font-family: var(--atelier-mono);
  font-size: .62rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.marquee i {
  color: var(--atelier-gold);
  font-size: .55rem;
}

/* Specification ledger */
.spec-list {
  counter-reset: gaiety-spec;
  border-top: 1px solid rgba(0,96,57,.18);
}

.spec-list > div {
  counter-increment: gaiety-spec;
  grid-template-columns: 38px 1fr 1fr;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  transition: background .35s ease, padding .35s var(--atelier-ease);
}

.spec-list > div::before {
  content: counter(gaiety-spec, decimal-leading-zero);
  color: rgba(0,96,57,.45);
  font-family: var(--atelier-mono);
  font-size: .55rem;
  letter-spacing: .08em;
}

.spec-list > div:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: rgba(0,96,57,.035);
}

.spec-list dt,
.spec-list dd { position: relative; z-index: 1; }

.water-alert {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199,167,101,.26);
  background:
    radial-gradient(circle at 8% 50%, rgba(199,167,101,.12), transparent 23%),
    linear-gradient(145deg, #073627, #032118);
  box-shadow:
    inset 0 1px rgba(255,255,255,.08),
    inset 0 0 50px rgba(0,0,0,.18),
    0 35px 80px -55px rgba(0,0,0,.8);
}

.water-alert::before {
  content: "WATER RESISTANCE / OPERATING LIMIT";
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(199,167,101,.55);
  font-family: var(--atelier-mono);
  font-size: .48rem;
  letter-spacing: .13em;
}

.water-alert > strong {
  color: var(--atelier-gold);
  text-shadow: 0 0 34px rgba(199,167,101,.18);
}

/* Offer as the final product dossier */
.offer {
  position: relative;
  isolation: isolate;
}

.offer::after {
  content: "05 / AQUISIÇÃO";
  position: absolute;
  z-index: 5;
  top: 96px;
  right: clamp(28px,5vw,82px);
  color: rgba(0,96,57,.55);
  font-family: var(--atelier-mono);
  font-size: .56rem;
  letter-spacing: .16em;
}

.offer-image::before,
.offer-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.offer-image::before {
  inset: clamp(18px,3vw,42px);
  background:
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left top/1px 24px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right top/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right top/1px 24px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left bottom/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) left bottom/1px 24px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/24px 1px no-repeat,
    linear-gradient(var(--atelier-gold),var(--atelier-gold)) right bottom/1px 24px no-repeat;
}

.offer-image::after {
  content: "PRODUCT VIEW / GAIETY CLASSIC / REF. GC-01";
  left: clamp(30px,4vw,62px);
  bottom: clamp(30px,4vw,58px);
  color: rgba(255,255,255,.7);
  font-family: var(--atelier-mono);
  font-size: .5rem;
  letter-spacing: .15em;
}

.offer-copy {
  position: relative;
  background:
    linear-gradient(rgba(0,96,57,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,96,57,.045) 1px, transparent 1px),
    #fff;
  background-size: 80px 80px;
  border-left: 1px solid rgba(0,96,57,.12);
}

.offer-copy::before {
  content: "PRODUCT DOSSIER / EDITION 01";
  display: block;
  width: max-content;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(0,96,57,.2);
  color: rgba(0,96,57,.62);
  font-family: var(--atelier-mono);
  font-size: .48rem;
  letter-spacing: .14em;
  background: rgba(255,255,255,.58);
}

.price {
  padding: 24px 0;
  border-top: 1px solid rgba(0,96,57,.16);
  border-bottom: 1px solid rgba(0,96,57,.16);
}

.price strong {
  color: var(--atelier-deep);
  text-shadow: 0 1px #fff;
}

.buy-button {
  position: relative;
  overflow: hidden;
  min-height: 64px;
  border: 1px solid rgba(199,167,101,.45);
  background: linear-gradient(135deg, #006039, #00452d);
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: inset 0 1px rgba(255,255,255,.14), 0 18px 35px -25px rgba(0,96,57,.9);
}

.buy-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 30%, rgba(255,255,255,.27), transparent 66%);
  transform: translateX(-130%);
  transition: transform .9s var(--atelier-ease);
}

.buy-button::after {
  content: "→";
  position: absolute;
  right: 23px;
  font-size: 1.1rem;
  transition: transform .35s var(--atelier-ease);
}

.buy-button:hover {
  background: linear-gradient(135deg, #007248, #00452d);
}

.buy-button:hover::before { transform: translateX(130%); }
.buy-button:hover::after { transform: translateX(5px); }

/* Promise and FAQ */
.promise {
  background:
    radial-gradient(circle at 50% 45%, rgba(199,167,101,.11), transparent 32%),
    var(--cream);
}

.promise-copy {
  position: relative;
  padding: clamp(45px,7vw,88px) clamp(22px,6vw,75px);
  border-top: 1px solid rgba(0,96,57,.15);
  border-bottom: 1px solid rgba(0,96,57,.15);
}

.promise-copy::before,
.promise-copy::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
}

.promise-copy::before {
  left: 0;
  top: 0;
  border-left: 1px solid var(--atelier-gold);
  border-top: 1px solid var(--atelier-gold);
}

.promise-copy::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--atelier-gold);
  border-bottom: 1px solid var(--atelier-gold);
}

.faq {
  background:
    radial-gradient(circle at 12% 22%, rgba(199,167,101,.1), transparent 26%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--deep);
  background-size: auto, 80px 80px, 80px 80px, auto;
}

.faq-list {
  border-top: 1px solid rgba(199,167,101,.28);
}

.faq-list summary {
  transition: color .28s ease, padding .35s var(--atelier-ease), background .35s ease;
}

.faq-list details:hover summary {
  padding-left: 13px;
  padding-right: 13px;
  color: #e3c98e;
  background: rgba(255,255,255,.018);
}

.faq-list summary span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199,167,101,.32);
  font-size: .9rem;
}

/* Footer as a quiet technical end plate */
footer {
  border-top: 1px solid rgba(199,167,101,.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(0,96,57,.24), transparent 42%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #061c14;
  background-size: auto, 80px 80px, 80px 80px, auto;
}

.footer-brand::before {
  content: "GAIETY WATCH STUDY / BRAZIL / 2026";
  margin-bottom: 26px;
  color: rgba(199,167,101,.55);
  font-family: var(--atelier-mono);
  font-size: .48rem;
  letter-spacing: .16em;
}

.footer-links h3,
.footer-bottom {
  font-family: var(--atelier-mono);
  letter-spacing: .11em;
}

/* Responsive restraint */
@media (max-width: 900px) {
  .hero-video { object-position: 50% 50%; }

  .cinematic-inner > img,
  .media-card.tall img,
  .offer-image img { object-position: 50% 50%; }

  .header-actions::before { display: none; }

  .hero::before {
    opacity: .18;
    background-position: center;
    -webkit-mask-image: radial-gradient(circle at 68% 42%, transparent 0 16%, #000 18% 31%, transparent 35%);
    mask-image: radial-gradient(circle at 68% 42%, transparent 0 16%, #000 18% 31%, transparent 35%);
  }

  .hero::after { inset: 88px 16px 18px; }

  .hero-copy {
    padding-left: 18px;
    border-left-color: rgba(199,167,101,.6);
  }

  .cinematic-inner::after { display: none; }

  .cinematic-copy {
    width: calc(100% - 44px);
    padding: 28px 24px;
  }

  .bento { padding: 9px; }

  .spec-list > div {
    grid-template-columns: 26px 1fr 1fr;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .water-alert::before,
  .offer::after { display: none; }

  .offer-copy { border-left: 0; }

  .intro::before,
  .story::before,
  .specs::before,
  .promise::before,
  .faq::before {
    top: 22px;
  }
}

@media (max-width: 560px) {
  .hero::before { display: none; }

  .hero-copy::before {
    max-width: 270px;
    line-height: 1.45;
  }

  .intro-copy { padding: 25px 20px; }

  .cinematic-inner::before { inset: 16px; }

  .marquee { padding: 12px 0; }
  .marquee > div { font-size: .55rem; }

  .spec-list > div {
    grid-template-columns: 24px minmax(0,1fr);
  }

  .spec-list dd {
    grid-column: 2;
    text-align: left;
    padding-top: 5px;
  }

  .offer-image::after {
    left: 28px;
    right: 28px;
    line-height: 1.5;
  }

  .promise-copy { padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; transform: none; }

  .media-card::after,
  .text-card::after,
  .buy-button::before,
  .header-buy::before { display: none; }
}
