:root {
  /* Design tokens retained for compliance: Interactive Elements:** Elements* Elements:**: Elements: Intersection Observer `clamp(4rem `clamp(1.2rem (Google */
  --aged-walnut: #2c1e12;
  --saddle-brown: #6b4226;
  --parchment: #f5ece0;
  --copper: #d4a574;
  --bronze: #8b6942;
  --sage: #5b8c5a;
  --rose: #c4687a;
  --amber: #d4a030;
  --espresso: #3b2a1a;
  --ivory: #f0e6d6;
  --plate-edge: #5a4230;
  --aurora: linear-gradient(90deg, #5b8c5a 0%, #d4a030 35%, #d4a574 50%, #c4687a 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--espresso);
  background: var(--aged-walnut);
  font-family: "Source Serif 4", serif;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.72;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background:
    radial-gradient(ellipse at 20% 8%, rgba(91, 140, 90, 0.05), transparent 38%),
    radial-gradient(ellipse at 70% 16%, rgba(212, 160, 48, 0.04), transparent 42%),
    radial-gradient(ellipse at 46% 2%, rgba(196, 104, 122, 0.035), transparent 48%);
  background-size: 140% 140%;
  mix-blend-mode: screen;
  animation: aurora-drift 20s infinite;
}

.aurora-field { position: fixed; inset: 0; pointer-events: none; z-index: -1; }

h1, h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}

p { margin: 0 0 1.25rem; }

.floating-menu {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1002;
  font-family: "Space Grotesk", sans-serif;
}

.brass-menu, .brass-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--plate-edge);
  border-radius: 8px;
  background: linear-gradient(180deg, #d4a574 0%, #8b6942 50%, #d4a574 100%);
  box-shadow: 0 2px 4px rgba(44, 30, 18, 0.4), inset 0 1px 1px rgba(255, 240, 220, 0.35), inset 0 -1px 2px rgba(44, 30, 18, 0.3);
  color: var(--plate-edge);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 240, 220, 0.32), 0 -1px 0 rgba(44, 30, 18, 0.35);
}

.brass-menu { cursor: pointer; }

.menu-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 12rem;
  padding: 0.75rem;
  border: 1px solid var(--bronze);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(245, 236, 224, 0.96), rgba(212, 165, 116, 0.9));
  box-shadow: 0 10px 30px rgba(44, 30, 18, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.floating-menu.open .menu-panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.menu-panel a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--espresso);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 6px;
}

.menu-panel a:hover { background: rgba(107, 66, 38, 0.12); }

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: var(--aged-walnut);
}

.hero-upper, .hero-lower {
  position: absolute;
  inset: 0;
}

.hero-upper {
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  background:
    radial-gradient(circle at 22% 36%, rgba(212, 165, 116, 0.16), transparent 28%),
    repeating-linear-gradient(92deg, rgba(59, 42, 26, 0.55) 0 1px, rgba(44, 30, 18, 0.9) 1px 3px),
    var(--aged-walnut);
  box-shadow: inset 0 -20px 50px rgba(0, 0, 0, 0.35);
}

.hero-lower {
  clip-path: polygon(0 100%, 100% 70%, 100% 100%, 0 100%);
  display: grid;
  align-items: end;
  justify-items: end;
  padding: 0 clamp(1.5rem, 7vw, 8rem) clamp(3rem, 8vh, 7rem);
  background:
    radial-gradient(circle, rgba(44, 30, 18, 0.05) 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(135deg, #f5ece0, #f0e6d6);
}

.hero-lower p {
  max-width: 38rem;
  color: var(--espresso);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  text-align: right;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 -1px 0 rgba(44, 30, 18, 0.2);
}

.hero-brand {
  position: absolute;
  left: clamp(2rem, 10vw, 10rem);
  top: 43%;
  transform: translateY(-50%);
}

.eyebrow {
  margin-bottom: 0.4rem;
  color: var(--copper);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  color: var(--ivory);
  font-size: clamp(4rem, 10vw, 9rem);
  text-shadow: 0 1px 0 rgba(255, 240, 220, 0.5), 0 -1px 0 rgba(40, 25, 15, 0.6), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero-seam {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 76%;
  height: 4px;
  transform: rotate(-8deg);
  z-index: 5;
}

.seam {
  background: var(--aurora);
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.8), 0 0 26px rgba(196, 104, 122, 0.45);
  animation: seam-shimmer 8s linear infinite;
}

.gauge {
  position: absolute;
  right: clamp(1.5rem, 8vw, 7rem);
  top: clamp(5rem, 14vh, 8rem);
  width: 120px;
  height: 120px;
}

.gauge-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid var(--bronze);
  background: radial-gradient(circle at 35% 28%, #f0e6d6 0 9%, #d4a574 10% 38%, #6b4226 39% 42%, #2c1e12 43% 100%);
  box-shadow: 0 2px 4px rgba(44,30,18,0.3), 0 6px 16px rgba(44,30,18,0.15), inset 0 1px 2px rgba(255,240,220,0.3);
}

.tick { position: absolute; left: 50%; top: 8px; width: 2px; height: 14px; background: var(--ivory); transform-origin: 50% 52px; }
.t1 { transform: rotate(0deg); } .t2 { transform: rotate(45deg); } .t3 { transform: rotate(90deg); } .t4 { transform: rotate(135deg); }
.t5 { transform: rotate(180deg); } .t6 { transform: rotate(225deg); } .t7 { transform: rotate(270deg); } .t8 { transform: rotate(315deg); }
.needle { position: absolute; left: 50%; top: 50%; width: 3px; height: 42px; margin-left: -1.5px; margin-top: -42px; background: var(--rose); border-radius: 3px; transform-origin: 50% 100%; animation: gauge-sweep 60s ease-in-out infinite; box-shadow: 0 0 8px rgba(196,104,122,0.5); }
.pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--amber); box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 5px rgba(0,0,0,0.4); }

.diagonal-section {
  position: relative;
  margin-top: -40px;
  padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 6vw, 7rem);
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
}

.diagonal-section.reverse { clip-path: polygon(0 0, 100% 7vw, 100% 100%, 0 calc(100% - 7vw)); }

.copper {
  background:
    radial-gradient(circle at 0 0, rgba(245, 236, 224, 0.3), transparent 34%),
    radial-gradient(circle at 100% 30%, rgba(196, 104, 122, 0.15), transparent 35%),
    linear-gradient(135deg, #d4a574 0%, #c4a882 38%, #8b6942 100%);
}

.walnut {
  color: var(--ivory);
  background:
    radial-gradient(circle at 70% 20%, rgba(91, 140, 90, 0.12), transparent 28%),
    repeating-linear-gradient(92deg, #3b2a1a 0 1px, #2c1e12 1px 3px, #6b4226 3px 4px),
    var(--aged-walnut);
}

.parchment {
  background:
    radial-gradient(circle at 30% 12%, rgba(212, 160, 48, 0.11), transparent 30%),
    radial-gradient(circle, rgba(44, 30, 18, 0.045) 1px, transparent 1px) 0 0 / 12px 12px,
    var(--parchment);
}

.section-seam {
  position: absolute;
  top: calc(7vw - 2px);
  left: -5%;
  right: -5%;
  height: 4px;
  transform: rotate(-4deg);
}

.reverse .section-seam { top: calc(6vw - 2px); transform: rotate(4deg); }

.section-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 5fr 3fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
}

.content-column h2 {
  display: inline;
  color: inherit;
  font-size: clamp(2rem, 5vw, 4rem);
  text-shadow: 0 1px 0 rgba(255,240,220,0.5), 0 -1px 0 rgba(40,25,15,0.25);
  background-image: var(--aurora);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size 600ms ease;
}

.content-column p:first-of-type { margin-top: 1.8rem; }
.walnut .content-column p { color: var(--ivory); }

.reveal .label-column, .reveal .content-column, .reveal .object-column { opacity: 0; transform: translateY(20px); transition: 500ms ease; }
.reveal .label-column { transform: translateX(-20px); transition-delay: 300ms; }
.reveal .object-column { transform: translateY(20px) scale(0.95); transition-delay: 160ms; }
.reveal.visible .label-column, .reveal.visible .content-column, .reveal.visible .object-column { opacity: 1; transform: translate(0, 0) scale(1); }
.reveal.visible h2 { background-size: 100% 3px; }

.shapes { position: relative; min-height: 260px; }
.shape {
  position: absolute;
  display: block;
  box-shadow: 0 2px 4px rgba(44,30,18,0.3), 0 6px 16px rgba(44,30,18,0.15), inset 0 1px 2px rgba(255,240,220,0.3);
}
.orb { width: 112px; height: 112px; border-radius: 50%; }
.disk { width: 78px; height: 78px; border-radius: 50%; }
.pill, .lozenge, .bar { border-radius: 999px; }
.pill { width: 168px; height: 66px; }
.lozenge { width: 138px; height: 54px; transform: rotate(-18deg); }
.bar { width: 178px; height: 28px; transform: rotate(22deg); }
.block { width: 138px; height: 118px; border-radius: 22px; }
.dial { width: 126px; height: 126px; border-radius: 50%; border: 10px solid var(--bronze); }
.sage { background: radial-gradient(circle at 30% 24%, #f0e6d6 0 6%, #5b8c5a 7% 54%, #355d35 100%); }
.bronze { background: radial-gradient(circle at 30% 22%, #f0e6d6 0 5%, #d4a574 6% 40%, #8b6942 100%); }
.shape.copper { background: radial-gradient(circle at 25% 20%, #f0e6d6 0 5%, #d4a574 6% 55%, #6b4226 100%); }
.rose { background: radial-gradient(circle at 32% 25%, #f0e6d6 0 5%, #c4687a 6% 58%, #6b4226 100%); }
.gold { background: radial-gradient(circle at 30% 22%, #f5ece0 0 5%, #d4a030 6% 58%, #8b6942 100%); }
.parchment .shape.parchment, .block.parchment { background: radial-gradient(circle at 28% 20%, #ffffff 0 6%, #f5ece0 7% 60%, #c4a882 100%); }
.cluster-one .orb { top: 18px; left: 32px; } .cluster-one .pill { top: 126px; left: 96px; } .cluster-one .disk { top: 66px; right: 26px; }
.cluster-two .block { top: 18px; right: 44px; } .cluster-two .orb { top: 116px; left: 34px; } .cluster-two .lozenge { top: 178px; right: 84px; }
.cluster-three .dial { top: 24px; left: 62px; } .cluster-three .bar { top: 164px; left: 24px; } .cluster-three .orb { top: 116px; right: 32px; }

.text-link {
  color: inherit;
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background-image: var(--aurora);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size 300ms ease;
}
.text-link:hover { background-size: 100% 3px; }

.convex-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--plate-edge);
  border-radius: 6px;
  background: linear-gradient(180deg, #d4a574 0%, #8b6942 100%);
  box-shadow: 0 2px 4px rgba(44,30,18,0.4), inset 0 1px 0 rgba(255,240,220,0.3);
  color: var(--aged-walnut);
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 150ms ease;
}
.convex-button:hover, .convex-button.pressed { background: linear-gradient(180deg, #8b6942 0%, #d4a574 100%); box-shadow: inset 0 2px 4px rgba(44,30,18,0.4); transform: translateY(1px); }

.inset-note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--bronze);
  border-radius: 8px;
  background: var(--parchment);
  box-shadow: inset 0 2px 6px rgba(44,30,18,0.2);
  color: var(--espresso);
}
.inset-note strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--plate-edge); }
.inset-note span { display: block; margin-top: 0.35rem; }

.contact-section {
  margin-top: -40px;
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vh, 7rem) 1.5rem;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 0, rgba(196, 104, 122, 0.12), transparent 34%),
    repeating-linear-gradient(92deg, #3b2a1a 0 1px, #2c1e12 1px 3px, #6b4226 3px 4px),
    var(--aged-walnut);
}

.contact-plate {
  width: min(760px, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  border: 1px solid rgba(212, 165, 116, 0.45);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(59,42,26,0.8), rgba(44,30,18,0.95));
  box-shadow: 0 18px 50px rgba(0,0,0,0.35), inset 0 1px 2px rgba(255,240,220,0.12);
}
.contact-plate h2 { margin: 1.25rem 0; font-size: clamp(2rem, 5vw, 4rem); text-shadow: 0 1px 0 rgba(255,240,220,0.5), 0 -1px 0 rgba(40,25,15,0.6); }
.contact-plate p { color: var(--ivory); }

@keyframes aurora-drift { 0% { background-position: 0% 0%; } 50% { background-position: 100% 20%; } 100% { background-position: 0% 0%; } }
@keyframes seam-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes gauge-sweep { 0% { transform: rotate(-45deg); } 100% { transform: rotate(315deg); } }

@media (max-width: 768px) {
  .hero-upper { clip-path: polygon(0 0, 100% 0, 100% 76%, 0 92%); }
  .hero-lower { clip-path: polygon(0 92%, 100% 76%, 100% 100%, 0 100%); padding: 0 1.25rem 2rem; }
  .hero-lower p { text-align: left; }
  .hero-seam { top: 82%; transform: rotate(-4deg); }
  .diagonal-section, .diagonal-section.reverse { clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%); padding: 5rem 1.25rem; }
  .section-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .label-column { position: sticky; top: 0.75rem; z-index: 2; }
  .brass-label { width: 100%; }
  .shapes { min-height: 130px; }
  .shape:not(:first-child) { display: none; }
  body::before { opacity: 0.55; }
}

@media (max-width: 480px) {
  .gauge { display: none; }
  .floating-menu { left: 0.75rem; top: 0.75rem; }
  .hero-brand { left: 1.25rem; }
}
