/* Helena Jewelry — announcement page.
   Design tokens mirror the main shop so the two read as one brand. */

:root {
  --bg: #faf7f2;
  --bg-soft: #f3ede4;
  --text: #1c1c1c;
  --muted: #6b6560;
  --gold: #b8956a;
  --gold-dark: #8f7048;
  --border: #e8dfd3;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  --shell: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout rules below set `display`, which would otherwise beat the attribute. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Language switch
   -------------------------------------------------------------------------- */

.lang-switch {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-btn:hover,
.lang-btn.is-active {
  color: var(--text);
}

.lang-sep {
  color: var(--border);
  font-size: 0.65rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 96px 24px 88px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 8%, rgba(184, 149, 106, 0.16), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--bg) 55%, var(--bg-soft) 100%);
}

/* Hairline frame, a nod to the boxes the pieces ship in. */
.hero::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(184, 149, 106, 0.22);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.hero-monogram {
  width: clamp(96px, 14vw, 140px);
  height: auto;
  margin: 0 auto 22px;
  display: block;
}

.wordmark {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

.tagline {
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  font-weight: 400;
  line-height: 1.08;
}

.hero-text {
  margin: 0 auto 40px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Countdown ---------------------------------------------------------------- */

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 36px;
}

.countdown-unit {
  flex: 0 1 108px;
  padding: 18px 8px 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.countdown-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown-done {
  margin: 0 0 32px;
  font-size: 0.95rem;
}

.text-link {
  color: var(--gold-dark);
  text-underline-offset: 4px;
}

/* Signup ------------------------------------------------------------------- */

.signup {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 14px;
}

.signup-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-right: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
}

.signup-input::placeholder {
  color: #a9a29a;
}

.signup-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Off-screen rather than display:none so bots still fill it in. */
.signup-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn {
  padding: 15px 30px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #faf7f2;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover:not(:disabled) {
  background: transparent;
  color: var(--text);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.signup-note {
  min-height: 1.3em;
  margin: 0 0 10px;
  font-size: 0.82rem;
}

.signup-note.is-error {
  color: #a4443c;
}

.signup-note.is-success {
  color: var(--gold-dark);
}

.signup-consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.hero-scroll {
  position: absolute;
  bottom: 46px;
  left: 50%;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, var(--gold));
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 88px 24px;
}

.section-head {
  margin-bottom: 44px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

/* Brand plate -------------------------------------------------------------- */

.brand-plate {
  display: flex;
  justify-content: center;
  padding: 72px 24px 0;
}

/* Whichever section ends the page keeps its distance from the footer. */
main > section:last-child {
  padding-bottom: 88px;
}

.brand-plate img {
  display: block;
  width: 100%;
  max-width: 760px;
  border: 1px solid var(--border);
}

/* Contact ------------------------------------------------------------------ */

.contact {
  display: grid;
  gap: 40px;
  justify-items: center;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 64px;
  margin: 0;
  text-align: center;
}

.contact-list dt {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.contact-list a:hover {
  border-color: var(--gold);
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.social a {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social a:hover {
  color: var(--text);
}

/* Footer ------------------------------------------------------------------- */

.footer {
  padding: 40px 24px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-mark {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {
  .lang-switch {
    top: 16px;
    right: 18px;
  }

  .hero {
    min-height: auto;
    padding: 84px 20px 64px;
  }

  .hero::before {
    inset: 12px;
  }

  .section {
    padding: 60px 20px;
  }

  .countdown {
    flex-wrap: wrap;
    gap: 10px;
  }

  .countdown-unit {
    flex: 1 1 calc(50% - 5px);
  }

  .signup {
    flex-direction: column;
    gap: 10px;
  }

  .signup-input {
    border-right: 1px solid var(--border);
  }

  .contact-list {
    gap: 22px 36px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .lang-btn {
    transition: none;
  }
}
