/* =============================================
   LINKED AND LIBERATED — Design System
   The Midnight Rope Palette
   Walnut · Midnight · Brass · Bone · Cool Gray · Linen · Shibari Red
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@400;500;600&display=swap');

:root {
  /* Variable names preserved for backward compatibility with inline page styles.
     Values updated to the Midnight Rope palette. */
  --walnut: #5B4030;          /* DARK WALNUT — wood elements, headings, dark sections */
  --walnut-deep: #1A140F;     /* MIDNIGHT — deepest dark, footer */
  --chartreuse: #C8A871;      /* AGED BRASS — primary accent (was chartreuse) */
  --chartreuse-dim: #A88A55;  /* AGED BRASS deepened — for italic headings & accent text */
  --cream: #F0EBE1;           /* BONE WHITE — main background, light text on dark */
  --cream-warm: #D8C8A9;      /* LINEN — alternate section bg, warm card */
  --iron: #1A140F;            /* MIDNIGHT — body text */
  --iron-soft: #6B5A4A;       /* warm soft brown — secondary text */
  --stone: #C8C5BD;           /* COOL GRAY — anchor neutral */
  --stone-light: #D8D5CD;     /* COOL GRAY light — subtle backgrounds */

  /* The deliberate accent — used in three places only:
     ::selection · footer top strip · placeholder photo labels */
  --shibari: #B82011;         /* SHIBARI RED — restraint */

  --font-display: 'Cormorant Garamond', 'Garamond', serif;
  --font-sans: 'Libre Baskerville', Georgia, serif;
  --font-mono: 'Cinzel', 'Trajan Pro', serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1280px;
  --gutter: clamp(1.5rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--iron);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* DELIBERATE OBJECT #1 — selection highlight */
::selection { background: var(--shibari); color: var(--cream); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--walnut);
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-style: italic;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.005em;
}

h4 {
  font-size: 1.2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--walnut);
}

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--walnut);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.2rem;
  height: 1px;
  background: var(--walnut);
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.4;
  color: var(--walnut);
  max-width: 38em;
}

a { color: var(--walnut); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--chartreuse-dim); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem var(--gutter);
  background: rgba(244, 235, 216, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 36, 24, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--walnut);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-brand span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--iron-soft);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.nav-links a {
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--chartreuse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--walnut); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.6rem 1rem;
  background: var(--walnut);
  color: var(--cream);
  border: 1px solid var(--walnut);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--walnut);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--walnut);
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 1.5rem var(--gutter);
    gap: 1rem;
    border-bottom: 1px solid rgba(58, 36, 24, 0.1);
  }
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-divider hr {
  flex: 1;
  border: none;
  height: 1px;
  background: var(--walnut);
  opacity: 0.2;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  border: 1px solid var(--walnut);
  background: var(--walnut);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn:hover {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--walnut);
  gap: 1rem;
}
.btn-outline {
  background: transparent;
  color: var(--walnut);
}
.btn-outline:hover { background: var(--walnut); color: var(--cream); }

.btn-chart {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--walnut);
}
.btn-chart:hover { background: var(--walnut); border-color: var(--walnut); color: var(--cream); }

/* ===== FOOTER ===== */
footer {
  background: var(--walnut);
  color: var(--cream);
  padding: 4rem 0 1.5rem;
  position: relative;
  margin-top: 5rem;
}
/* DELIBERATE OBJECT #2 — Shibari red strip across the top of the footer */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--shibari);
}
footer h4 {
  color: var(--chartreuse);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--chartreuse);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--cream); font-size: 0.92rem; opacity: 0.85; }
.footer-grid a:hover { color: var(--chartreuse); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(244, 235, 216, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== COMMON COMPONENTS ===== */
.card {
  background: var(--cream-warm);
  border: 1px solid rgba(58, 36, 24, 0.1);
  padding: 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
}
.card:hover {
  border-color: var(--walnut);
  transform: translateY(-3px);
}
.card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--iron-soft);
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--walnut);
  color: var(--walnut);
  border-radius: 999px;
  background: transparent;
}
.tag-chart { border-color: var(--chartreuse-dim); background: var(--chartreuse); color: var(--walnut); }

/* ===== REVEAL ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 1s var(--ease-out) both; }

/* Image placeholder */
.img-placeholder {
  background: var(--stone);
  border: 1.5px dashed rgba(58, 36, 24, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iron-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
/* DELIBERATE OBJECT #3 — placeholder "BRAND IMAGE" labels mark unfinished work */
.img-placeholder::after {
  content: 'BRAND IMAGE';
  position: absolute;
  bottom: 1rem; right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--shibari);
  opacity: 0.55;
}
.img-placeholder.tall { aspect-ratio: 3/4; }
.img-placeholder.wide { aspect-ratio: 16/9; }
.img-placeholder.square { aspect-ratio: 1/1; }
Update to Midnight Rope palette and serif typography
