/* ============================================================
   fotohinc.com — shared design system
   Per Fotoh-Inc-Public-Website-Spec-v1 Amendment A (2026-05-13)
   Palette: navy #0A0E1A, gold #D4AF37, cream #FAF5E8, white
   Type: Inter (body), Playfair Display (headlines), Amiri (Arabic)
   ============================================================ */
:root {
  --navy: #0A0E1A;
  --navy-soft: #141A2E;
  --navy-ink: #1A2238;
  --gold: #D4AF37;
  --gold-light: #E5C97F;
  --gold-dark: #A8861C;
  --cream: #FAF5E8;
  --cream-soft: #FDFAF1;
  --white: #FFFFFF;
  --ink: #0A0E1A;
  --ink-soft: #4A5060;
  --ink-muted: #7A8090;
  --border: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.45);
  --red: #B83A26;
  --green: #1F5C3D;
  --shadow-sm: 0 1px 3px rgba(10, 14, 26, 0.06), 0 1px 2px rgba(10, 14, 26, 0.04);
  --shadow: 0 4px 12px rgba(10, 14, 26, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 14, 26, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 700; }

p { margin-bottom: 1em; color: var(--ink-soft); }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--gold); }

.arabic { font-family: 'Amiri', 'Scheherazade New', serif; direction: rtl; font-size: 1.15em; }

/* ===== Layout ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header.site {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(250, 245, 232, 0.95);
  backdrop-filter: blur(14px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand .inc { color: var(--gold-dark); font-size: 13px; font-weight: 500; margin-left: 6px; font-family: 'Inter', sans-serif; letter-spacing: 0.04em; }
nav.primary { display: flex; gap: 24px; align-items: center; }
nav.primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
nav.primary a:hover { color: var(--navy); }
nav.primary a.cta {
  background: var(--navy);
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
nav.primary a.cta:hover { background: var(--navy-soft); color: var(--gold-light); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; transition: 0.2s; }

@media (max-width: 820px) {
  nav.primary { display: none; position: absolute; top: 64px; right: 16px; background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); flex-direction: column; gap: 14px; min-width: 200px; border: 1px solid var(--border); }
  nav.primary.open { display: flex; }
  .hamburger { display: block; }
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .gold { color: var(--gold-dark); font-style: italic; }
.hero .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.18s;
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-soft); color: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--cream); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--navy); }

/* ===== Sections ===== */
section { padding: 64px 0; }
section.alt { background: var(--white); }
section.dark { background: var(--navy); color: var(--cream); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--cream); }
section.dark p { color: rgba(250, 245, 232, 0.75); }
section .section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
section .section-head h2 { margin-bottom: 14px; }
section .section-head p { font-size: 1.05rem; }

/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card .number {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; flex: 1; }
.card a.more { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 14px; }
.card a.more::after { content: " →"; color: var(--gold-dark); }
.card a.more:hover { color: var(--gold-dark); }

/* ===== Product detail page ===== */
.product-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-ink) 100%);
  color: var(--cream);
  padding: 80px 0 64px;
}
.product-hero .eyebrow { background: rgba(212, 175, 55, 0.18); color: var(--gold-light); }
.product-hero h1 { color: var(--cream); margin-bottom: 16px; }
.product-hero .tagline { font-size: 1.15rem; color: rgba(250, 245, 232, 0.75); max-width: 720px; margin: 0 auto 28px; line-height: 1.55; text-align: center; }
.product-hero { text-align: center; }
.product-content { padding: 56px 0; }
.product-content h2 { margin: 36px 0 14px; }
.product-content h3 { margin: 22px 0 10px; }
.product-content ul { margin: 12px 0 18px 22px; }
.product-content li { margin-bottom: 6px; color: var(--ink-soft); }
.status-pill {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(31, 92, 61, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== Store ===== */
.sku-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
}
.sku-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sku-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 12px;
}
.sku-card .price small { font-size: 14px; color: var(--ink-muted); font-weight: 500; font-family: 'Inter', sans-serif; }
.sku-card .preorder-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 100px;
  text-transform: uppercase;
}

/* ===== Forms ===== */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-help { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.form-success {
  background: rgba(31, 92, 61, 0.08);
  color: var(--green);
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
  display: none;
}
.form-error {
  background: rgba(184, 58, 38, 0.08);
  color: var(--red);
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
  display: none;
}

/* ===== Sponsor tier cards ===== */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 32px; }
.tier-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.2s;
}
.tier-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tier-card.featured { border-color: var(--gold); background: linear-gradient(180deg, var(--white) 0%, var(--cream-soft) 100%); }
.tier-card .term { font-size: 14px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.tier-card .amount { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; color: var(--navy); }
.tier-card .desc { font-size: 14px; color: var(--ink-soft); margin: 12px 0 20px; }

/* ===== About / Founder ===== */
.founder-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg);
}
.founder-portrait svg { width: 90px; height: 90px; color: var(--gold-light); }
.credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin: 8px 6px;
}

/* ===== Footer ===== */
footer.site {
  background: var(--navy);
  color: rgba(250, 245, 232, 0.7);
  padding: 56px 0 28px;
  margin-top: 64px;
}
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
footer.site h4 { color: var(--gold-light); font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
footer.site a { color: rgba(250, 245, 232, 0.7); display: block; padding: 4px 0; font-size: 14px; }
footer.site a:hover { color: var(--gold-light); }
footer.site .brand { color: var(--cream); }
footer.site .brand .inc { color: var(--gold-light); }
footer.site .verse { font-size: 13px; color: rgba(250, 245, 232, 0.55); max-width: 360px; line-height: 1.55; margin-top: 14px; font-style: italic; }
footer.site .bottom { border-top: 1px solid rgba(212, 175, 55, 0.2); padding-top: 22px; margin-top: 36px; text-align: center; font-size: 13px; color: rgba(250, 245, 232, 0.5); }
footer.site .bottom a { display: inline-block; padding: 0; }
@media (max-width: 760px) {
  footer.site .wrap { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.gold-rule { width: 60px; height: 3px; background: var(--gold); margin: 16px auto; border-radius: 100px; }
.flex { display: flex; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ===== Cart ===== */
.cart-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cart-row .qty { padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 6px; width: 70px; }
.cart-row .remove { background: none; border: 0; color: var(--red); cursor: pointer; font-size: 13px; }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.cart-summary .total { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--navy); }

/* ===== Press cards ===== */
.fact { background: var(--cream-soft); border-left: 3px solid var(--gold); padding: 14px 18px; margin: 10px 0; border-radius: 0 8px 8px 0; }
.fact strong { color: var(--navy); }
