@import url("https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --canvas: #f6f1e8;
  --canvas-alt: #ece1cd;
  --surface: #fffdf9;
  --ink: #221f1c;
  --ink-soft: #55504a;
  --ink-faint: #8a8177;
  --primary: #b5502f;
  --primary-dark: #8a3c22;
  --primary-light: #e3a686;
  --secondary: #2f4858;
  --secondary-light: #4d6a78;
  --accent: #d9a441;
  --layer-deep: #262f2e;
  --layer-mid: #38504b;
  --border: rgba(34,31,28,0.12);
  --border-soft: rgba(34,31,28,0.07);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --radius-xl: 44px;
  --shadow-sm: 0 2px 6px rgba(34,31,28,.08);
  --shadow-md: 0 10px 26px rgba(34,31,28,.12), 0 3px 8px rgba(34,31,28,.08);
  --shadow-lg: 0 30px 60px rgba(34,31,28,.18), 0 10px 24px rgba(34,31,28,.12);
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Gabarito", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}

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

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

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

section { position: relative; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }


.lever {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  min-height: 48px;

  &.lever-primary {
    background: var(--primary);
    color: #fff8f2;
    box-shadow: var(--shadow-md);
    &:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  }
  &.lever-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--border);
    &:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
  }
  &.lever-text {
    background: transparent;
    color: var(--ink-soft);
    padding: 10px 12px;
    &:hover { color: var(--primary); }
  }
}


.beacon {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);

  &.beacon-solid {
    background: rgba(246,241,232,.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);

    .beacon-nav a { color: var(--ink-soft); }
    .beacon-brand span { color: var(--ink); }
    .beacon-toggle span { background: var(--ink); }
  }

  .beacon-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .beacon-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Gabarito", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    transition: opacity .3s var(--ease);
    &:hover { opacity: .8; }
  }

  .beacon-nav {
    display: flex;
    align-items: center;
    gap: 34px;

    a {
      color: rgba(255,255,255,.92);
      font-weight: 500;
      font-size: .95rem;
      position: relative;
      padding: 6px 0;
      transition: color .3s var(--ease);
      &:hover { color: var(--accent); }
      &.is-active::after {
        content: "";
        position: absolute;
        bottom: -2px; left: 0; right: 0;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
      }
    }

    .beacon-cta {
      background: var(--primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: var(--shadow-sm);
      transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
      &:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--primary-dark); }
      &::after { display: none; }
    }

    .beacon-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      display: inline-block;
      animation: pulse-dot 1.8s infinite;
    }
  }

  .beacon-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 700;
    span {
      display: block;
      width: 26px; height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
      margin: 0 auto;
    }
  }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,164,65,.6); }
  50% { box-shadow: 0 0 0 6px rgba(217,164,65,0); }
}


.drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;

  .stage-curtain {
    position: absolute;
    inset: 0;
    background: var(--layer-deep);
    clip-path: polygon(100% 0%, 100% 0%, 100% 0%, 100% 0%);
    transition: clip-path .7s var(--ease-out);
  }

  .drawer-nav {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;

    a {
      font-family: "Gabarito", sans-serif;
      font-size: 1.6rem;
      font-weight: 600;
      color: #fff8f2;
      opacity: 0;
      transform: translateY(14px);
      transition: opacity .4s var(--ease), transform .4s var(--ease);
      &:hover { color: var(--accent); }
    }
  }

  &.drawer-open {
    pointer-events: auto;
    .stage-curtain { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); }
    .drawer-nav a {
      opacity: 1;
      transform: translateY(0);
      transition-delay: .35s;
    }
    .drawer-nav a:nth-child(2) { transition-delay: .42s; }
    .drawer-nav a:nth-child(3) { transition-delay: .49s; }
    .drawer-nav a:nth-child(4) { transition-delay: .56s; }
    .drawer-nav a:nth-child(5) { transition-delay: .63s; }
  }
}

body.drawer-active { overflow: hidden; }


.pathline {
  font-size: .85rem;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 14px;
  min-height: 1.2em;
  &::after {
    content: "";
    display: inline-block;
    width: 2px; height: 1em;
    background: var(--primary);
    margin-left: 3px;
    vertical-align: middle;
    animation: blink-caret 1s step-end infinite;
  }
}
@keyframes blink-caret { 50% { opacity: 0; } }


.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
  overflow: hidden;
  isolation: isolate;

  .stage-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    img { width: 100%; height: 100%; object-fit: cover; }
  }
  .stage-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(38,29,24,.78) 0%, rgba(38,29,24,.62) 45%, rgba(34,31,28,.9) 100%);
  }
  .stage-aperture {
    position: absolute;
    right: -80px; top: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .14;
    z-index: -1;
  }

  .stage-inner {
    display: grid;
    grid-template-columns: 1.15fr .95fr;
    gap: 56px;
    align-items: center;
    width: 100%;
  }

  .stage-copy {
    color: #fdf8f2;

    .stage-kicker {
      display: inline-block;
      font-size: .8rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
    }
    h1 {
      font-size: clamp(2.4rem, 4.6vw, 3.9rem);
      margin-bottom: 22px;
      color: #fff;
    }
    .stage-lead {
      font-size: 1.08rem;
      color: rgba(255,250,244,.86);
      max-width: 540px;
      margin-bottom: 34px;
    }
    .stage-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      .lever-ghost { color: #fff; border-color: rgba(255,255,255,.35); &:hover { border-color: var(--accent); color: var(--accent); } }
    }
  }

  .stage-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;

    .spotlight-head {
      margin-bottom: 20px;
      .spotlight-tag {
        display: inline-block;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--primary);
        background: rgba(181,80,47,.1);
        padding: 5px 12px;
        border-radius: 20px;
        margin-bottom: 12px;
      }
      h2 { font-size: 1.35rem; }
    }

    .spotlight-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 24px;

      li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        i { color: var(--primary); font-size: 1.05rem; margin-top: 3px; width: 20px; }
        strong { display: block; font-family: "Gabarito", sans-serif; font-size: .96rem; margin-bottom: 2px; }
        span { font-size: .87rem; color: var(--ink-soft); }
      }
    }

    .spotlight-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      span {
        font-size: .78rem;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 20px;
        background: var(--canvas-alt);
        color: var(--secondary);
      }
    }
  }
}


.substage {
  position: relative;
  padding: 168px 0 90px;
  background: var(--secondary);
  color: #fff;
  overflow: hidden;

  .substage-aperture {
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .28;
  }
  .substage-aperture-alt {
    position: absolute;
    bottom: -90px; left: -60px;
    top: auto; right: auto;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .22;
  }

  h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
  .substage-lead { color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.02rem; }
  .pathline { color: rgba(255,255,255,.65); &::after { background: var(--accent); } }
}
.substage-thanks { padding-bottom: 60px; }
.substage-legal { padding-bottom: 60px; }


.gallery {
  padding: 110px 0;
  position: relative;
  overflow: hidden;

  .gallery-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
    h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
    .gallery-sub { color: var(--ink-soft); font-size: 1rem; }
  }
}

.gallery-cutout {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.gallery-cutout-a { width: 420px; height: 420px; left: -160px; top: 10%; background: var(--layer-mid); opacity: .08; }
.gallery-cutout-b { width: 320px; height: 320px; right: -120px; bottom: 5%; background: var(--primary); opacity: .07; }

.gallery-intro {
  .gallery-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .gallery-intro-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    clip-path: polygon(6% 0, 100% 0, 100% 94%, 0 100%);
    img { width: 100%; height: 420px; object-fit: cover; }
  }
  .gallery-intro-copy {
    h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 20px; }
    p { color: var(--ink-soft); margin-bottom: 16px; }
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }

.plaque {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);

  &:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

  .plaque-media {
    height: 200px;
    overflow: hidden;
    img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  }
  &:hover .plaque-media img { transform: scale(1.06); }

  .plaque-body {
    padding: 26px 24px 28px;
    position: relative;
    .plaque-num {
      position: absolute;
      top: -34px; right: 22px;
      font-family: "Gabarito", sans-serif;
      font-weight: 800;
      font-size: 2.1rem;
      color: var(--surface);
      -webkit-text-stroke: 1.5px var(--primary-light);
    }
    h3 { font-size: 1.15rem; margin-bottom: 10px; }
    p { color: var(--ink-soft); font-size: .93rem; }
  }
}

.plaque-plain {
  padding: 32px 26px;
  text-align: left;
  i { font-size: 1.6rem; color: var(--primary); margin-bottom: 16px; display: inline-block; }
  h3 { font-size: 1.1rem; margin-bottom: 10px; }
  p { color: var(--ink-soft); font-size: .93rem; }
  &:hover { transform: translateY(-6px); }
}

.plaque-newsletter {
  grid-column: span 1;
  .newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    input {
      flex: 1;
      min-width: 140px;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      font-family: inherit;
      font-size: .9rem;
      transition: border-color .3s var(--ease);
      &:focus { outline: none; border-color: var(--primary); }
    }
  }
  .newsletter-note { margin-top: 10px; font-size: .82rem; color: var(--secondary); }
}

.plaque-person {
  text-align: center;
  padding-bottom: 30px;
  .plaque-media-round {
    height: auto;
    padding: 30px 30px 0;
    img { border-radius: 50%; width: 132px; height: 132px; object-fit: cover; margin: 0 auto; box-shadow: var(--shadow-md); }
  }
  .plaque-body { padding-top: 18px; }
  .plaque-role { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
}

.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; z-index: 1; }


.stage-band {
  background: var(--layer-deep);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;

  .stage-band-cutout {
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: var(--canvas);
    opacity: .05;
    left: -180px; bottom: -180px;
  }

  .stage-band-inner { position: relative; z-index: 1; }
  .stage-band-copy {
    max-width: 640px;
    margin-bottom: 56px;
    .eyebrow { color: var(--accent); }
    h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
    p { color: rgba(255,255,255,.78); margin-bottom: 26px; }
  }

  .stage-band-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
  }
  .stage-band-steps-2 { grid-template-columns: repeat(4, 1fr); }

  .shelf-step {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    transition: transform .4s var(--ease), background .4s var(--ease);
    &:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
    span { font-family: "Gabarito", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--accent); display: block; margin-bottom: 12px; }
    h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
    p { color: rgba(255,255,255,.7); font-size: .87rem; }
  }
}


.gallery-process {
  .process-list { display: flex; flex-direction: column; gap: 90px; position: relative; z-index: 1; }
  .process-row {
    display: grid;
    grid-template-columns: 90px 1fr 1.3fr;
    gap: 36px;
    align-items: center;
    &.process-row-rev { grid-template-columns: 90px 1.3fr 1fr; .process-media { order: 2; } .process-copy { order: 1; } }
    .process-num {
      font-family: "Gabarito", sans-serif;
      font-weight: 800;
      font-size: 2.6rem;
      color: var(--primary-light);
    }
    .process-media {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      clip-path: polygon(0 0, 100% 0, 100% 92%, 8% 100%);
      img { width: 100%; height: 260px; object-fit: cover; }
    }
    .process-copy {
      h2 { font-size: 1.5rem; margin-bottom: 14px; }
      p { color: var(--ink-soft); }
    }
  }
}


.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.accordion-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .35s var(--ease);
  &:hover { box-shadow: var(--shadow-md); }
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  min-height: 48px;
  i { transition: transform .4s var(--ease); color: var(--primary); flex-shrink: 0; }
  &[aria-expanded="true"] i { transform: rotate(45deg); }
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
  p { padding: 0 26px 24px; color: var(--ink-soft); font-size: .95rem; }
}
.gallery-faq-more { text-align: center; margin-top: 40px; position: relative; z-index: 1; }


.gallery-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.gallery-location-copy {
  h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 18px; }
  p { color: var(--ink-soft); margin-bottom: 24px; }
  .location-facts {
    list-style: none;
    margin-bottom: 28px;
    li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .95rem; color: var(--ink-soft); i { color: var(--primary); width: 18px; } a:hover { color: var(--primary); } }
  }
}
.gallery-location-map {
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}


.gallery-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery-map {
  padding-top: 0;
  padding-bottom: 110px;
  .map-frame { height: 400px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
}


.wizard-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  .wizard-dot {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--canvas-alt);
    color: var(--ink-faint);
    font-weight: 700;
    font-size: .85rem;
    transition: background .4s var(--ease), color .4s var(--ease);
    &.is-active { background: var(--primary); color: #fff; }
    &.is-done { background: var(--secondary); color: #fff; }
  }
  &::after { content: ""; }
}
.wizard-track { position: relative; overflow: hidden; }
.wizard-pane {
  display: none;
  animation: fadeSlide .5s var(--ease-out);
  h3 { margin-bottom: 20px; font-size: 1.2rem; }
  label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
  input, select, textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: .95rem;
    margin-bottom: 20px;
    background: var(--canvas);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
    min-height: 48px;
    &:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(181,80,47,.12); }
  }
  textarea { min-height: 120px; resize: vertical; }
  &.is-active { display: block; }
}
@keyframes fadeSlide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.wizard-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: .85rem;
  color: var(--ink-soft);
  input { width: auto; min-height: auto; margin: 3px 0 0; }
  a { color: var(--primary); text-decoration: underline; }
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}


.foundation {
  background: var(--layer-deep);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;

  .foundation-cutout {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .1;
    right: -140px; top: -140px;
  }

  .foundation-inner {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
  }

  .foundation-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    transition: transform .4s var(--ease), background .4s var(--ease);
    &:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }

    h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
    a { display: block; color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 12px; transition: color .3s var(--ease); &:hover { color: var(--accent); } }
    p { color: rgba(255,255,255,.72); font-size: .9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
    i { color: var(--accent); width: 16px; }
  }

  .foundation-brand {
    color: #fff;
    margin-bottom: 16px;
    span { font-size: 1.15rem; }
  }
  .foundation-about p { color: rgba(255,255,255,.7); font-size: .92rem; display: block; }

  .foundation-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px;
    text-align: center;
    p { color: rgba(255,255,255,.55); font-size: .82rem; }
  }
}


.legal-wrap { padding: 70px 0 120px; }
.legal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
.drawer-toc {
  position: sticky;
  top: 110px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);

  .drawer-toc-toggle { display: none; }

  .drawer-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    a {
      display: block;
      padding: 9px 12px;
      border-radius: var(--radius-sm);
      font-size: .87rem;
      color: var(--ink-soft);
      transition: background .3s var(--ease), color .3s var(--ease);
      &:hover { background: var(--canvas-alt); color: var(--primary); }
      &.is-active { background: var(--primary); color: #fff; }
    }
  }
}
.legal-content {
  section { margin-bottom: 44px; scroll-margin-top: 110px; }
  h2 { font-size: 1.3rem; margin-bottom: 14px; }
  p { color: var(--ink-soft); margin-bottom: 12px; font-size: .96rem; }
}


.thanks-back { text-align: center; margin-top: 46px; }


.cookie-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  z-index: 900;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .5s var(--ease-out);

  &.is-visible { transform: translateY(0); opacity: 1; }
  &.is-hiding { transform: translateY(140%); opacity: 0; }

  .cookie-card-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(181,80,47,.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .cookie-card-title { font-family: "Gabarito", sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
  .cookie-card-text { font-size: .87rem; color: var(--ink-soft); margin-bottom: 18px; }

  .cookie-card-toggles {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    label { display: flex; justify-content: space-between; align-items: center; font-size: .87rem; color: var(--ink-soft); }
    &.is-open { display: flex; }
  }

  .cookie-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    .lever { width: 100%; justify-content: center; padding: 12px 20px; font-size: .87rem; }
  }
}


@media (max-width: 1024px) {
  .stage-inner { grid-template-columns: 1fr; }
  .stage-card { max-width: 480px; }
  .gallery-grid-4, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .stage-band-steps, .stage-band-steps-2 { grid-template-columns: repeat(2, 1fr); }
  .gallery-intro-grid, .gallery-location-grid, .gallery-contact-grid { grid-template-columns: 1fr; }
  .process-row, .process-row.process-row-rev { grid-template-columns: 60px 1fr; }
  .process-row .process-media, .process-row.process-row-rev .process-media { order: 1; grid-column: span 2; }
  .process-row .process-copy, .process-row.process-row-rev .process-copy { order: 2; grid-column: span 2; }
  .legal-grid { grid-template-columns: 1fr; }
  .drawer-toc { position: static; }
}

@media (max-width: 860px) {
  .beacon-nav { display: none; }
  .beacon-toggle { display: flex; }
  .foundation-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .stage { padding: 140px 0 90px; }
  .gallery { padding: 80px 0; }
  .stage-band { padding: 80px 0; }
  .gallery-grid-3, .gallery-grid-2 { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid-4, .shelf { grid-template-columns: 1fr; }
  .stage-band-steps, .stage-band-steps-2 { grid-template-columns: 1fr; }
  .foundation-inner { grid-template-columns: 1fr; }
  .contact-card { padding: 26px; }
  .wizard-actions { flex-direction: column-reverse; align-items: stretch; .lever { width: 100%; justify-content: center; } }
  .drawer-toc .drawer-toc-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    font-family: "Gabarito", sans-serif;
    font-weight: 600;
    padding: 6px;
    cursor: pointer;
    i { transition: transform .3s var(--ease); }
  }
  .drawer-toc .drawer-toc-list { display: none; margin-top: 12px; }
  .drawer-toc.is-open .drawer-toc-list { display: flex; }
  .drawer-toc.is-open .drawer-toc-toggle i { transform: rotate(180deg); }
  .cookie-card { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}