/* ---------- Tokens ---------- */
:root {
  --cream: #f6efe4;
  --clay: #c17a4f;
  --clay-dark: #a5613a;
  --brown: #4a372c;
  --sage: #8a9a6b;
  --blush: #e8c9a8;
  --white: #fffaf3;

  --font-display: "Fraunces", serif;
  --font-body: "Karla", sans-serif;

  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  line-height: 1.6;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--brown);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }

em {
  font-style: italic;
  color: var(--clay-dark);
}

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 14px;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 239, 228, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74, 55, 44, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--brown);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brown);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.nav a:hover { border-color: var(--clay); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 60px;
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 75%);
}

.hero-inner {
  max-width: 640px;
  text-align: left;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 520px;
  color: #5c4636;
}

.btn {
  display: inline-block;
  background: var(--clay);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-family: var(--font-body);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--clay-dark);
  transform: translateY(-1px);
}

/* signature stitch divider */
.stitch-divider {
  display: block;
  width: 100%;
  height: 28px;
  margin-top: 20px;
}
.stitch-divider path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.55;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 70px 0 80px;
}

.section-sub {
  color: #6b5443;
  margin-bottom: 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  border: 1px solid rgba(74, 55, 44, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(74, 55, 44, 0.12);
}

.card-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--blush);
}

.card-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 4px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b5443;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--brown);
  color: var(--cream);
  padding: 70px 0;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 { color: var(--cream); }
.contact .eyebrow { color: var(--blush); }
.contact-inner p { color: #e0d3c4; }

.contact-links {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid var(--blush);
  cursor: pointer;
  font-size: 0.98rem;
  font-family: var(--font-body);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-outline:hover {
  background: rgba(232, 201, 168, 0.15);
  transform: translateY(-1px);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(74, 55, 44, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox figure {
  margin: 0;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.lightbox-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--blush);
}

.lightbox-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #6b5443;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .nav {
    gap: 16px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}