﻿@font-face { font-family: AtelierSans; src: url('assets/Jost.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: AtelierSerif; src: url('assets/BodoniModa.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }
/* ---------------------------------------------------------------------
   Praycious Jewels — marketing site
   Palette and type intentionally match the Flutter app (main.dart) so the
   brand feels continuous across app, web, and counter.
   --------------------------------------------------------------------- */

:root {
  --cream: #F7F6F2;
  --ink: #153C33;
  --ink-soft: #657168;
  --gold: #365C4D;
  --gold-deep: #153C33;
  --gold-pale: #EDF0E9;
  --teal: #153C33;
  --line: #DDE1D8;
  --near-black: #153C33;
  --cream-on-dark: #CDD8CC;

  --serif: 'AtelierSerif', Georgia, serif;
  --sans: 'AtelierSans', -apple-system, BlinkMacSystemFont, sans-serif;

  --content-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 0.4em 0;
  font-weight: 500;
}

p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover { background: #17544e; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Header + rate strip ---------- */

.site-header { background: var(--near-black); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  gap: 24px;
}

.wordmark {
  display: inline-block;
  text-decoration: none;
}
.wordmark-img { height: 34px; width: auto; display: block; }
.footer-wordmark-img { height: 30px; width: auto; margin-bottom: 8px; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: #E7DFCF;
  text-decoration: none;
  font-size: 0.92rem;
}
.main-nav a:hover { color: var(--cream-on-dark); }

.nav-cta {
  background: var(--cream-on-dark);
  color: var(--near-black);
  padding: 9px 18px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: #fff; }

.rate-strip {
  background: #0A1F1E;
  border-top: 1px solid rgba(243, 209, 138, 0.15);
}
.rate-strip-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 9px 28px;
  overflow-x: auto;
  font-variant-numeric: tabular-nums;
}
.rate-label {
  color: #8A8378;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.rate-value {
  color: #D8CDB4;
  font-size: 0.82rem;
  flex-shrink: 0;
}

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

.hero {
  background: var(--near-black);
  padding: 90px 0 110px;
}
.hero-inner { max-width: 720px; }
.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-on-dark);
  font-size: 1rem;
  margin: 0 0 18px 0;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero-title em { color: var(--cream-on-dark); font-style: italic; }
.hero-sub { color: #C9C2B3; max-width: 52ch; font-size: 1.05rem; }

/* ---------- Custom design (USP section) ---------- */

.custom { padding: 90px 0; background: #fff; }
.custom .section-sub { max-width: 60ch; }
.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  margin-top: 40px;
}
.custom-step {
  border-top: 2px solid var(--teal);
  padding-top: 16px;
}
.custom-step-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 6px;
}
.custom-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.custom-step p { font-size: 0.92rem; }
.custom-cta { margin-top: 46px; }

/* ---------- Heritage ---------- */

.heritage { padding: 90px 0; }
.heritage-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.heritage-figure {
  border: 1px solid var(--line);
  border-radius: 3px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--gold-pale), var(--cream));
}
.heritage-figure-year {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--gold-deep);
}
.heritage-copy h2 { font-size: 1.9rem; max-width: 18ch; }
.heritage-copy p { max-width: 58ch; }

/* ---------- Collections ---------- */

.collections { padding: 90px 0; background: #fff; }
.section-title { font-size: 1.9rem; }
.section-sub { margin-bottom: 44px; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}
.collection-card h3 { font-size: 1.15rem; margin-top: 16px; margin-bottom: 8px; }
.collection-card p { font-size: 0.92rem; }

.collection-photo {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--gold-pale);
  position: relative;
}
.collection-photo::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
  color: var(--gold-deep);
}

/* ---------- Trust ---------- */

.trust { padding: 90px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.trust-item {
  border-top: 2px solid var(--gold);
  padding-top: 16px;
}
.trust-item h3 { font-size: 1.05rem; }
.trust-item p { font-size: 0.92rem; }

/* ---------- Visit ---------- */

.visit { padding: 90px 0; background: var(--gold-pale); }
.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.visit-details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px;
}
.visit-details h3 { font-size: 1.05rem; margin-bottom: 8px; }
.visit-details p { font-size: 0.92rem; margin: 0; }

/* ---------- App promo ---------- */

.app-promo { padding: 90px 0; background: var(--near-black); }
.app-promo h2, .app-promo p { color: #fff; }
.app-promo p { color: #C9C2B3; }
.app-promo-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.app-promo-actions { display: flex; flex-direction: column; gap: 12px; }
.app-promo .btn-ghost { border-color: #6B6558; color: #fff; }
.app-promo .btn-ghost:hover { background: #fff; color: var(--near-black); }

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

.site-footer { background: var(--near-black); padding: 50px 0 26px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-wordmark { display: block; margin-bottom: 8px; }
.footer-grid p { color: #8A8378; margin: 0; font-size: 0.88rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #C9C2B3; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cream-on-dark); }
.footer-bottom { padding-top: 20px; }
.footer-bottom p { color: #6B6558; font-size: 0.8rem; margin: 0; }

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

@media (max-width: 780px) {
  .main-nav { display: none; }
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-figure { max-width: 160px; }
  .visit-grid, .app-promo-inner { grid-template-columns: 1fr; }
}

/* Atelier: spacious editorial layout with restrained perspective. */
:root { --content-width: 1280px; }
html { scroll-padding-top: 24px; }
body { overflow-x: clip; }
::selection { background: #e2c384; color: #102b2a; }
a:focus-visible, button:focus-visible { outline: 2px solid #b48d46; outline-offset: 6px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.header-row { padding-top: 25px; padding-bottom: 25px; }
.wordmark-img { height: 30px; }
.main-nav a { font-size: .8rem; }
.nav-cta { background: transparent; color: #f3d18a; border: 1px solid #6a7057; padding: 10px 22px; border-radius: 0; }
.nav-cta:hover { color: var(--near-black); }
.rate-strip-inner { justify-content: center; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 0; background: #102b2a; }
.hero-halo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 30%, #365d493b, transparent 65%); }
.hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 75px; }
.hero-inner { padding: 0; max-width: none; padding-bottom: 35px; }
.hero-kicker { font-family: var(--sans); font-style: normal; letter-spacing: .24em; font-size: .65rem; margin-bottom: 30px; }
.hero-title { font-size: clamp(3.8rem, 6.8vw, 6.5rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.04; margin-bottom: 28px; }
.hero-title em { font-weight: 500; }
.hero-sub { font-size: .98rem; line-height: 1.9; max-width: 40ch; }
.btn { border-radius: 0; font-size: .8rem; padding: 16px 23px; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.hero .btn-primary { background: #e9cc92; color: #102b2a; }
.hero .btn-primary:hover { background: #f6dfaf; }
.hero .btn-ghost { color: #f4eee2; border-color: #71817a; }
.hero .btn-ghost:hover { background: #f4eee2; color: #102b2a; }
.hero .btn-primary span { margin-left: 18px; }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 48px; font-size: .58rem; letter-spacing: .2em; color: #b9b9a3; }
.note-line { width: 35px; height: 1px; background: #ac9461; }
.hero-art { position: relative; padding: 20px 16px 40px; transform-style: preserve-3d; }
[data-tilt] { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease-out; }
.hero-jewel { position: relative; margin: 0; height: clamp(380px, 39vw, 530px); border-radius: 48% 48% 3px 3px; overflow: hidden; background: linear-gradient(145deg, #cebea4, #486052); box-shadow: 0 35px 65px #0004; transform: translateZ(22px); }
.hero-jewel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, #051c1bce); pointer-events: none; }
.hero-jewel img { width: 100%; height: 100%; object-fit: cover; }
.hero-jewel figcaption { position: absolute; left: 30px; bottom: 28px; right: 20px; z-index: 1; color: #fff9ed; }
.hero-jewel figcaption span { display: block; }
.hero-jewel figcaption span:first-child { font-size: .6rem; letter-spacing: .22em; margin-bottom: 8px; }
.hero-jewel figcaption span:last-child { font-family: var(--serif); font-size: 1.5rem; }
.art-orbit { position: absolute; inset: -2px 0 62px; border: 1px solid #bfaa6a66; border-radius: 49% 49% 3px 3px; transform: rotate(6deg) translateZ(-10px); }
.atelier-seal { position: absolute; top: 50px; right: -20px; width: 96px; height: 96px; border-radius: 50%; background: #e7cc96; color: #193a31; display: grid; align-content: center; text-align: center; font-family: var(--serif); font-size: 2.5rem; box-shadow: 0 10px 25px #0002; transform: translateZ(45px) rotate(10deg); }
.atelier-seal span { font-family: var(--sans); font-size: .38rem; letter-spacing: .12em; }
.art-index { display: block; margin-top: 20px; text-align: right; letter-spacing: .2em; font-size: .55rem; color: #bbc3ac; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; margin-top: 38px; border-top: 1px solid #ffffff20; color: #b6c0b4; font-size: .7rem; }
.hero-bottom a { text-decoration: none; }
.hero-bottom a span { margin-left: 18px; }
.custom, .collections, .trust, .heritage, .visit, .app-promo { padding-top: 105px; padding-bottom: 105px; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -.035em; max-width: 25ch; line-height: 1.2; }
.section-sub { line-height: 1.8; font-size: .93rem; }
.custom-grid { gap: 28px; counter-reset: steps; }
.custom-step { border-top: 1px solid #cbbb9a; padding-top: 22px; }
.custom-step-num { font-size: 2.2rem; font-style: italic; color: #a48a53; margin-bottom: 22px; }
.custom-step h3, .trust-item h3 { font-size: 1.18rem; }
.custom-step p, .trust-item p, .collection-card p { line-height: 1.8; color: #6e6c63; font-size: .85rem; }
.heritage-grid { grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.heritage-figure { min-height: 320px; aspect-ratio: auto; border-radius: 150px 150px 0 0; background: radial-gradient(ellipse at center, #e4d2ab, #f3eee5 70%); }
.heritage-figure-year { font-size: clamp(4rem, 8vw, 7rem); font-style: italic; letter-spacing: -.07em; }
.heritage-copy h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -.04em; line-height: 1.2; }
.heritage-copy p { font-size: .9rem; line-height: 1.9; }
.collection-grid { gap: 22px; }
.collection-photo { overflow: hidden; border: 0; border-radius: 110px 110px 2px 2px; background: linear-gradient(140deg, #e7ddc9, #abaf9e); }
.collection-photo::after { content: none; }
.collection-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.collection-card:hover img { transform: scale(1.045); }
.collection-card h3 { margin-top: 22px; font-size: 1.4rem; }
.collection-arrow { position: absolute; right: 14px; bottom: 14px; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; background: #fff9eddd; color: #102b2a; }
.trust { background: #ede8dc; }
.trust-item { border-top-width: 1px; }
.visit-details { border-radius: 0; padding: 35px; box-shadow: 12px 12px 0 #d7c9ab50; }
.visit-contact { display: inline-block; color: var(--teal); margin-top: 22px; font-size: .85rem; text-underline-offset: 5px; }
.visit-contact span { margin-left: 10px; }
.footer-links { flex-wrap: wrap; }
.app-promo h2, .visit h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.25; }
.footer-bottom p { color: #aaa99a; }
.footer-grid p { color: #b7b5a6; }
.reveal { opacity: 0; translate: 0 22px; transition: opacity .65s ease var(--reveal-delay, 0ms), translate .65s cubic-bezier(.2,.65,.3,1) var(--reveal-delay, 0ms), transform .35s ease-out; }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.image-unavailable { background: linear-gradient(140deg, #d6c49c, #274d43); }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner { animation: atelier-enter .85s both; }
  .hero-art { animation: atelier-enter 1s .12s both; }
  @keyframes atelier-enter { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 1000px) {
  .hero-layout { gap: 35px; }
  .hero-title { font-size: 4.4rem; }
  .main-nav { gap: 16px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .header-row { flex-wrap: wrap; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
  .wordmark { margin-right: auto; }
  .wordmark-img { height: 25px; }
  .nav-cta { font-size: .72rem; padding: 9px 12px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid #ffffff35; color: white; order: 2; }
  .menu-toggle span { height: 1px; width: 18px; background: currentColor; }
  .main-nav { display: none; order: 3; width: 100%; padding: 15px 0 5px; flex-wrap: wrap; gap: 8px 24px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .rate-strip-inner { justify-content: flex-start; }
  .hero { padding-top: 45px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { font-size: clamp(3.8rem, 12vw, 5.3rem); }
  .hero-inner { padding-bottom: 0; }
  .hero-sub { max-width: 48ch; }
  .hero-note { margin-top: 30px; }
  .hero-art { max-width: 440px; width: 100%; margin: 12px auto 0; }
  .hero-jewel { height: 410px; }
  .atelier-seal { right: 0; }
  .hero-bottom { margin-top: 10px; font-size: .6rem; }
  .hero-bottom > span { max-width: 150px; }
  .custom, .collections, .trust, .heritage, .visit, .app-promo { padding-top: 65px; padding-bottom: 65px; }
  .heritage-grid { grid-template-columns: 1fr; gap: 35px; }
  .heritage-figure { max-width: none; min-height: 240px; }
  .custom-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .collection-card h3 { font-size: 1.2rem; }
  .collection-photo { border-radius: 80px 80px 2px 2px; }
}
@media (max-width: 400px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .wordmark-img { height: 20px; }
  .header-row { gap: 10px; }
  .hero-jewel { height: 340px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .custom-grid, .trust-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; }
  [data-tilt] { transform: none; }
  .btn:hover, .collection-card:hover img { transform: none; }
}

/* The same atelier language as the app; no remote font dependency. */
h1, h2, h3 { font-weight: 400; }
.hero-jewel img { object-position: center; }
.design-story { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); margin-top: 64px; margin-bottom: 48px; }
.story-art { position: relative; min-width: 0; background: #edf0e9; }
.story-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.study-caption { position: absolute; bottom: 18px; left: 18px; right: 18px; width: fit-content; padding: 8px 12px; font-size: 10px; letter-spacing: 1.3px; background: #fefdf9; }
.eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--teal); }
.story-content h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.12; max-width: 12ch; }
.story-content p { line-height: 1.7; }
.story-steps { margin: 26px 0; }
.story-steps button { display: flex; align-items: center; gap: 22px; width: 100%; min-height: 58px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-soft); font: inherit; text-align: left; cursor: pointer; }
.story-steps button span:first-child { font-size: 12px; }
.story-steps button span:last-child { margin-left: auto; }
.story-steps button[aria-pressed="true"] { color: var(--teal); font-weight: 500; border-bottom-color: var(--teal); }
.story-steps button:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
@media(max-width: 700px) { .design-story { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; } .story-content h2 { max-width: 20ch; } }
