/* ============ THE LANE EDIT — base styles ============ */

:root {
  /* Default palette: Warm cream + camel + deep espresso */
  --bg: #F5EFE6;
  --bg-alt: #EDE4D5;
  --ink: #3A2E26;
  --ink-soft: #6B5A4D;
  --camel: #B89878;
  --camel-deep: #9C7E5E;
  --line: rgba(58, 46, 38, 0.14);
  --line-soft: rgba(58, 46, 38, 0.08);
  --paper: #FBF7F0;

  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* Palette variants */
[data-palette="ivory-rose"] {
  --bg: #F7F2EC;
  --bg-alt: #EFE4DB;
  --ink: #3D2B2B;
  --ink-soft: #6F5959;
  --camel: #C4A89A;
  --camel-deep: #A6857A;
  --paper: #FCF8F3;
  --line: rgba(61, 43, 43, 0.14);
  --line-soft: rgba(61, 43, 43, 0.08);
}
[data-palette="bone-sage"] {
  --bg: #F2EFE6;
  --bg-alt: #E6E3D7;
  --ink: #2E322B;
  --ink-soft: #5C6256;
  --camel: #A8A88E;
  --camel-deep: #8A8A6F;
  --paper: #F8F6EE;
  --line: rgba(46, 50, 43, 0.14);
  --line-soft: rgba(46, 50, 43, 0.08);
}
[data-palette="champagne-noir"] {
  --bg: #F4EFE5;
  --bg-alt: #E8E1D2;
  --ink: #1F1B17;
  --ink-soft: #565049;
  --camel: #C9B796;
  --camel-deep: #A89878;
  --paper: #FAF6EC;
  --line: rgba(31, 27, 23, 0.16);
  --line-soft: rgba(31, 27, 23, 0.08);
}

/* Type pairings */
[data-type="all-serif"] {
  --sans: 'EB Garamond', Georgia, serif;
}
[data-type="modern-sans"] {
  --serif: 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}
[data-type="editorial-mix"] {
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--camel); color: var(--paper); }

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

/* Display type */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--camel-deep);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 52ch;
}

/* Section rhythm */
section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.section-marker .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--camel-deep);
}
.section-marker .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--camel-deep); border-color: var(--camel-deep); }
.btn .arr { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn:hover .arr { transform: translateX(4px); }

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

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  transition: gap 0.3s ease;
}
.link-line:hover { gap: 16px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Image placeholder — abstract editorial SVG compositions */
.imgph {
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.imgph[data-img="portrait"]    { background-image: url('images/look-blue-coat-duomo.jpg'); background-position: 50% 35%; }
.imgph[data-img="silk"]        { background-image: url('images/look-white-jumpsuit.jpg'); background-position: 50% 50%; }
.imgph[data-img="garment"]     { background-image: url('images/look-blazer-bag.jpg'); background-position: 50% 35%; }
.imgph[data-img="stilllife"]   { background-image: url('images/look-peach-sleeve.jpg'); background-position: 50% 50%; }
.imgph[data-img="eveningwear"] { background-image: url('images/portrait-cream-chandelier.jpg'); background-position: 50% 18%; }
.imgph[data-img="look-two"]    { background-image: url('images/look-camel-coat.jpg'); background-position: 50% 30%; }

/* Tweak the split hero — needs to fade into the dark scene */
.hero--split .imgph[data-img]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,24,18,0.25) 0%, rgba(31,24,18,0.7) 100%);
}
.imgph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 14px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.4s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.imgph:hover::after { opacity: 0.7; }
