/* =========================================================
   TUSHUSTY — Brand Site Styles
   Design tokens: warm ivory / espresso / terracotta
   Fonts: Playfair Display (display) + Jost (body), self-hosted
   ========================================================= */

:root {
  --bg: #FBF7F1;
  --bg-alt: #F3ECE1;
  --bg-deep: #2E2620;
  --ink: #2B241E;
  --ink-soft: #6F6358;
  --ink-faint: #9A8D80;
  --accent: #9B4A32;
  --accent-dark: #7E3A26;
  --accent-soft: #F0E3D8;
  --line: #E6DBCB;
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 10px rgba(43, 36, 30, 0.06);
  --shadow-md: 0 12px 34px rgba(43, 36, 30, 0.10);
  --radius: 14px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 640px;
  margin-top: 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 30px;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-alt);
}
.hero-img {
  width: 100%;
  height: auto;
}

/* ---------- Intro ---------- */
.intro {
  padding: 92px 0 72px;
  text-align: center;
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- Section shared ---------- */
.collection-section {
  padding: 84px 0;
}
.collection-section.alt {
  background: var(--bg-alt);
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Collections index ---------- */
.collection-index {
  padding: 20px 0 96px;
  text-align: center;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
  text-align: left;
}
.index-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.index-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.index-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.index-card-body {
  padding: 18px 20px 22px;
}
.index-card-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.index-card-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--white);
}
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 20px 0;
}
.product-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 20px 0;
}

/* ---------- Wedding layout ---------- */
.wedding-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: start;
}
.wedding-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.wedding-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.wedding-feature.small img {
  aspect-ratio: 4 / 3.4;
}
.wedding-feature figcaption {
  padding: 14px 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-display);
}
.wedding-side {
  display: grid;
  gap: 26px;
}

/* ---------- Story ---------- */
.story {
  padding: 96px 0;
  background: var(--bg-deep);
  color: #EFE7DC;
}
.story .eyebrow { color: #D9A08C; }
.story .section-title { color: #F7F1E9; }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-media {
  position: relative;
}
.story-figure {
  border-radius: var(--radius);
  overflow: hidden;
}
.story-figure img {
  width: 100%;
}
.story-figure.main img {
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.story-figure.sub {
  position: absolute;
  right: -14px;
  bottom: -30px;
  width: 46%;
  border: 6px solid var(--bg-deep);
}
.story-figure.sub img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.story-copy p {
  color: #D8CEC1;
  margin-bottom: 16px;
}
.story-points {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.story-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #EFE7DC;
  font-size: 0.98rem;
}
.story-points li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

/* ---------- Features ---------- */
.features {
  padding: 96px 0;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  text-align: left;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.feature p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.cta .display {
  color: var(--white);
}
.cta p {
  color: #F4DED3;
  margin: 14px 0 30px;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #241D18;
  color: #C9BEB2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 28px 44px;
}
.footer-brand .brand-name {
  color: #F7F1E9;
  font-size: 1.4rem;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.92rem;
  max-width: 320px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #C9BEB2;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: #F7F1E9; }
.footer-contact p {
  font-size: 0.95rem;
}
.footer-contact a {
  color: #F7F1E9;
  border-bottom: 1px solid rgba(247, 241, 233, 0.3);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: #9A8D80;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .wedding-layout { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 28px 18px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .site-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 540px) {
  .index-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 20px; }
  .story-figure.sub { position: static; width: 100%; border: none; margin-top: 14px; }
  .intro { padding: 64px 0 48px; }
  .collection-section { padding: 60px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}
