/* Fonts are self-hosted (SIL Open Font License) – no requests to Google */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/CormorantGaramond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/Montserrat.woff2") format("woff2");
}

:root {
  --bg: #f2ebe0;
  --bg-light: #f8f4ed;
  --gold: #9a7b45;
  --gold-line: rgba(154, 123, 69, 0.45);
  --gold-line-soft: rgba(154, 123, 69, 0.2);
  --ink: #352e29;
  --muted: #6e6255;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 40%, var(--bg-light) 0%, var(--bg) 72%) fixed, var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* Background film under a beige veil */
.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg) url("media/mardin-poster.jpg") center / cover no-repeat;
}
.backdrop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.3) saturate(0.8) blur(1.5px);
  transform: scale(1.03); /* hide blurred edges */
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(248, 244, 237, 0.92) 0%, rgba(242, 235, 224, 0.84) 60%, rgba(242, 235, 224, 0.88) 100%);
}

/* Double hairline frame, like an engraved card */
.frame {
  position: fixed;
  inset: 24px;
  border: 1px solid var(--gold-line);
  pointer-events: none;
  z-index: 2;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-line-soft);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 48px 40px;
}

/* ---------- Coming soon ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.emblem {
  display: block;
  width: 110px;
  height: auto;
  margin: 0 0 22px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5em;
  padding-left: 0.5em; /* balance trailing tracking */
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  margin: 0 0.1em 0 0.5em;
  color: var(--gold);
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 10vw, 116px);
  line-height: 1;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Hairlines with "Juwelier" between, as in the logo */
.rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 30px;
}
.rule span {
  display: block;
  width: 90px;
  height: 1px;
  background: var(--gold-line);
}
.rule em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
}

.tagline {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 32px);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.story {
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}
.story p { margin: 0; text-wrap: balance; }
.story span { display: block; text-wrap: balance; }
.story .story-accent {
  margin-top: 10px;
  font-style: italic;
  color: var(--gold);
}

.claim {
  margin: 26px 0 0;
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact {
  text-align: center;
  font-size: 12px;
  line-height: 2.1;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.contact p { margin: 0; }
.contact a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact a:hover,
.contact a:focus-visible { color: var(--gold); }
.contact .sep {
  display: inline-block;
  margin: 0 0.9em;
  color: var(--gold-line);
}
.contact .social { margin-top: 6px; }
.contact .ig {
  width: 13px;
  height: 13px;
  margin-right: 0.6em;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.contact .legal {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Quiet entrance */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.reveal:nth-child(2) { animation-delay: 0.1s; }
.reveal:nth-child(3) { animation-delay: 0.25s; }
.reveal:nth-child(4) { animation-delay: 0.45s; }
.reveal:nth-child(5) { animation-delay: 0.6s; }
.reveal:nth-child(6) { animation-delay: 0.8s; }
.reveal:nth-child(7) { animation-delay: 0.95s; }
.contact.reveal { animation-delay: 1.1s; }

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */

.legal-header {
  text-align: center;
  padding: 24px 0 8px;
}
.legal-header a {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-body {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 0 24px;
  font-size: 14px;
  line-height: 1.8;
}
.legal-body h1 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  text-align: center;
}
.legal-body h2 {
  margin: 36px 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
}
.legal-body p,
.legal-body ul { margin: 0 0 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body a { text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--gold); }
.legal-body .stand { margin-top: 36px; font-size: 12px; color: var(--muted); }

.legal-footer {
  text-align: center;
  padding: 16px 0 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-footer a { text-decoration: none; }
.legal-footer a:hover { color: var(--gold); }
.legal-footer .sep { margin: 0 0.9em; color: var(--gold-line); }

/* ---------- Phones: larger, easier-to-read type ---------- */

@media (max-width: 600px) {
  .frame { inset: 12px; }
  .page { padding: 36px 26px; }
  .hero { padding: 36px 0 32px; }

  .emblem { width: 92px; margin-bottom: 18px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.3em; padding-left: 0.3em; }
  .wordmark { font-size: 56px; letter-spacing: 0.12em; padding-left: 0.12em; }
  .rule { gap: 14px; margin: 18px 0 26px; }
  .rule span { width: 44px; }
  .rule em { font-size: 14px; }
  .tagline { font-size: 27px; }
  .story { margin-top: 24px; font-size: 20px; }
  .story span + span { margin-top: 6px; }
  .story .story-accent { font-size: 20px; }
  .claim { font-size: 11px; letter-spacing: 0.14em; max-width: 300px; text-wrap: balance; }
  .claim br { display: none; }

  .contact { font-size: 13.5px; letter-spacing: 0.04em; line-height: 2; }
  .contact .sep.wrap { display: block; height: 0; overflow: hidden; }
  .contact .ig { width: 14px; height: 14px; }
  .contact .legal { font-size: 11.5px; letter-spacing: 0.2em; }

  .legal-header a { font-size: 26px; }
  .legal-body { font-size: 15.5px; line-height: 1.75; }
  .legal-body h1 { font-size: 34px; }
  .legal-body h2 { font-size: 24px; }
  .legal-body .stand { font-size: 13px; }
  .legal-footer { font-size: 11.5px; letter-spacing: 0.2em; }
}
