/* ============================================================
   HOUSE OF TAYLOR ADVISORY — SHOP DESIGN SYSTEM
   Matches the homepage: EB Garamond + Cormorant, ink/cream/gold
   ============================================================ */

:root {
  --gold: #B8965A;
  --gold-light: #D4AF70;
  --gold-pale: #E8D5A3;
  --gold-deep: #8B7340;
  --ink: #0D0D0D;
  --ink-soft: #1A1A1A;
  --warm-white: #FAF8F4;
  --cream: #F4F0E8;
  --muted: #6B6458;
  --rule: rgba(184,150,90,0.3);
  --border: rgba(184,150,90,0.2);

  /* aliases for compatibility with previously-built shop markup */
  --accent: #0D0D0D;
  --accent-dark: #0D0D0D;
  --accent-light: #1A1A1A;
  --shade-light: #F4F0E8;
  --shade-doc: #FAF8F4;
  --shade-callout: rgba(184,150,90,0.06);
  --shade-cream: #F4F0E8;
  --gold-soft: #E8D5A3;
  --text: #0D0D0D;
  --text-soft: #6B6458;
  --text-muted: #6B6458;
  --line: rgba(184,150,90,0.15);
  --bg: #FAF8F4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-label: 'EB Garamond', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  padding-top: 68px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 500; }

h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }

.eyebrow,
.section-label {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow-light {
  font-family: 'EB Garamond', serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

a { color: var(--ink); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold); }

p {
  font-family: 'EB Garamond', Georgia, serif;
  max-width: 60ch;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.85;
}

p.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 60ch;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-tight { padding: 50px 0; }
}

/* Header / nav matching homepage */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.site-logo img {
  height: 36px;
  width: 36px;
  display: block;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
}

@media (max-width: 768px) {
  .site-header { padding: 0 1.25rem; }
  .site-nav { gap: 1.25rem; font-size: 0.7rem; }
  .site-logo { font-size: 0.9rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--gold-pale);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--ink);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
  padding: 0.85rem 2rem;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 1.05rem 2.5rem;
  font-size: 0.82rem;
}

/* Cards */
.product-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.product-card:hover {
  background: var(--cream);
  border-color: var(--gold);
}

.product-card:hover::before { width: 100%; }

.product-card-tag {
  font-family: 'EB Garamond', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.product-card-desc {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 0;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.product-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
}

.product-card-price-free {
  font-family: 'EB Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-card-link {
  font-family: 'EB Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.product-card:hover .product-card-link { color: var(--gold); }

.divider-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 2rem 0;
}

.divider-rule.center {
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 120px 0 80px;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.page-hero h1 {
  margin: 1rem 0 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

.page-hero h1 em { font-style: italic; color: var(--gold); }

.universe-divider {
  text-align: center;
  margin: 4rem 0 3rem;
  position: relative;
}

.universe-divider-eyebrow {
  font-family: 'EB Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.universe-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  margin: 1rem 0 0.5rem;
}

.universe-subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  margin-top: 3rem;
  background: var(--border);
}

.product-grid .product-card {
  background: var(--warm-white);
}

.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(244,240,232,0.55);
  padding: 4rem 2rem 2rem;
  margin-top: 0;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 600px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.site-footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold-pale);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.site-footer-tagline {
  font-size: 0.9rem;
  color: rgba(244,240,232,0.45);
  line-height: 1.7;
  font-style: italic;
}

.site-footer h5 {
  font-family: 'EB Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer ul a {
  color: rgba(244,240,232,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--gold);
}

.site-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(184,150,90,0.15);
  font-size: 0.78rem;
  color: rgba(244,240,232,0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  .product-card { padding: 1.75rem; }
}
