/* ===================================================================
   CY GROUP — SIGNATURE TIME
   Tokens: near-black ink, antique gold, warm cream, deep navy accent
=================================================================== */
:root {
  --ink: #0a0908;
  --panel: #131110;
  --panel-2: #1b1815;
  --cream: #f2ece0;
  --cream-dim: #cfc6b4;
  --gold: #c8a24b;
  --gold-bright: #e7c877;
  --navy: #10182a;
  --line: rgba(200, 162, 75, 0.28);
  --line-soft: rgba(242, 236, 224, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

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

.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.section-title.center { text-align: center; }
.section-sub { color: var(--cream-dim); max-width: 560px; margin: 0 auto 48px; text-align: center; font-size: 17px; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #171410; font-weight: 500; }
.btn-gold:hover { background: linear-gradient(135deg, #f0d896, var(--gold-bright)); }
.btn-outline { border-color: var(--line); color: var(--cream); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 9, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word strong { font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em; color: var(--cream); }
.brand-word em { font-style: normal; font-size: 11px; letter-spacing: 0.12em; color: var(--gold); }
.site-nav { display: flex; gap: 34px; font-size: 14px; }
.site-nav a { color: var(--cream-dim); transition: color 0.2s; }
.site-nav a:hover { color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 70% 40%, black 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, black 0%, transparent 68%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.2) 0%, var(--ink) 96%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.08; margin-bottom: 22px; }
.hero-sub { font-size: 18px; color: var(--cream-dim); max-width: 480px; margin-bottom: 34px; }

/* ---------- story ---------- */
.story { padding: 120px 0; background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.story-image img { border: 1px solid var(--line); }
.story-copy h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.story-copy p { color: var(--cream-dim); margin: 0 0 18px; font-size: 16px; max-width: 62ch; }

/* ---------- collections ---------- */
.collections { padding: 130px 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.product-card {
  background: var(--ink);
  padding: 40px 40px 34px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: background 0.25s ease;
}
.product-card:hover { background: var(--panel-2); }
.product-card .tag-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.gender-tag { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); border: 1px solid var(--line); padding: 4px 10px; border-radius: 20px; }
.edition-tag { font-size: 12px; color: var(--cream-dim); }
.product-card .product-image { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 26px; border: 1px solid var(--line-soft); }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-card h3 { font-size: 28px; margin-bottom: 6px; }
.product-card .tagline { color: var(--cream-dim); font-size: 15px; margin-bottom: 20px; min-height: 44px; }
.product-card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.price { font-family: var(--serif); font-size: 24px; color: var(--gold-bright); }
.price::before { content: "₹"; font-size: 17px; margin-right: 2px; }
.view-link { font-size: 14px; letter-spacing: 0.04em; color: var(--cream); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ---------- terms ---------- */
.terms { padding: 120px 0 140px; background: var(--panel); border-top: 1px solid var(--line-soft); }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.term-card { border-top: 1px solid var(--gold); padding-top: 22px; }
.term-card h3 { font-size: 21px; margin-bottom: 12px; }
.term-card p { color: var(--cream-dim); font-size: 15px; margin: 0; }

/* ---------- contact ---------- */
.contact { padding: 130px 0; text-align: center; }
.contact-mark { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; margin: 0 auto 26px; border: 1px solid var(--line); }
.contact h2 { font-size: clamp(26px, 3.4vw, 36px); max-width: 560px; margin: 0 auto 12px; }
.contact p { color: var(--cream-dim); margin-bottom: 30px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 30px 0 50px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--cream-dim); }
.admin-link { opacity: 0.45; transition: opacity 0.2s; }
.admin-link:hover { opacity: 1; color: var(--gold); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 5, 4, 0.82); backdrop-filter: blur(3px); }
.modal-panel {
  position: relative; z-index: 2;
  max-width: 920px; margin: 4vh auto; max-height: 92vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line);
}
.checkout-panel { max-width: 480px; }
.modal-close {
  position: absolute; top: 16px; right: 20px; z-index: 3;
  background: none; border: none; color: var(--cream); font-size: 28px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--gold-bright); }

.product-panel-inner { display: grid; grid-template-columns: 1fr 1fr; }
.product-panel-media { background: var(--ink); padding: 30px; display: flex; align-items: center; }
.product-panel-media img, .product-panel-media video { width: 100%; border: 1px solid var(--line-soft); }
.product-panel-body { padding: 46px 42px; }
.product-panel-body .gender-tag { margin-bottom: 18px; display: inline-block; }
.product-panel-body h2 { font-size: 32px; margin-bottom: 8px; }
.product-panel-body .tagline { color: var(--gold-bright); font-size: 16px; margin-bottom: 22px; }
.product-panel-body .description { color: var(--cream-dim); font-size: 15px; margin-bottom: 26px; }
.product-panel-body .price { display: block; font-size: 30px; margin-bottom: 22px; }
.notice-box { border: 1px solid var(--line); padding: 16px 18px; font-size: 13.5px; color: var(--cream-dim); margin-bottom: 26px; }
.notice-box li { margin-bottom: 6px; }
.notice-box ul { margin: 0; padding-left: 18px; }

/* ---------- checkout form ---------- */
.checkout-content-pad { padding: 46px 40px; }
.checkout-content-pad h2 { font-size: 26px; margin-bottom: 6px; }
.checkout-content-pad .sub { color: var(--cream-dim); font-size: 14px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; letter-spacing: 0.04em; color: var(--cream-dim); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-soft); color: var(--cream);
  padding: 12px 14px; font-family: var(--sans); font-size: 15px; border-radius: 2px;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 70px; }
.form-error { color: #e2896f; font-size: 13.5px; margin-bottom: 16px; display: none; }
.form-error.show { display: block; }
.confirm-screen { text-align: center; padding: 20px 10px; }
.confirm-screen .glyph { font-family: var(--serif); font-size: 44px; color: var(--gold); margin-bottom: 14px; }
.confirm-screen h2 { margin-bottom: 12px; }
.confirm-screen p { color: var(--cream-dim); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-panel-inner { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .product-card { padding: 28px 24px; }
  .product-panel-body { padding: 32px 26px; }
}

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