:root {
  --bg: #F7F8F5;
  --accent: #73C7A3;
  --accent2: #85B9E6;
  --warm: #F3C978;
  --text: #18201C;
  --muted: #69736D;
  --card: #ffffff;
  --radius: 22px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 72rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent2); text-underline-offset: 0.15em; }
a:hover { color: var(--text); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* —— Hero: full_bleed_overlay —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: var(--pad);
  padding-bottom: clamp(5rem, 12vh, 7rem);
  color: #f7faf8;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 21, 19, 0.15) 0%, rgba(17, 21, 19, 0.55) 55%, rgba(17, 21, 19, 0.82) 100%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.95;
  animation: rise 0.9s ease both;
}

.hero__tag {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  max-width: 18ch;
  animation: rise 0.9s ease 0.08s both;
}

.hero__lede {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(247, 250, 248, 0.88);
  max-width: 36ch;
  animation: rise 0.9s ease 0.16s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* —— scroll_hint nav —— */
.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: rgba(247, 250, 248, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-hint__chev {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.7; }
  50% { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img, .scroll-hint__chev, .hero__brand, .hero__tag, .hero__lede {
    animation: none !important;
  }
}

/* —— Sections —— */
.band { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.intro__inner,
.intro--center {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

.intro h2,
.band h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.intro__text,
.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro.band { padding-bottom: 1.5rem; }

/* —— vertical_timeline —— */
.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
}

.timeline__list::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding: 0 0 2.25rem 2.5rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__node {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(115, 199, 163, 0.18);
}

.timeline__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
}

.timeline__item p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— before_after screens —— */
.screens { background: linear-gradient(180deg, var(--bg), #eef6f1 40%, var(--bg)); }

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: end;
  margin-top: 2.5rem;
}

@media (max-width: 800px) {
  .before-after {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .ba-arrow { transform: rotate(90deg); }
}

.ba-panel {
  margin: 0;
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  padding: 0.85rem 0.85rem 1.1rem;
  box-shadow: 0 18px 50px rgba(24, 32, 28, 0.08);
}

.ba-panel figcaption,
.focus-shot figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
  text-align: center;
}

.ba-panel img,
.focus-shot img {
  border-radius: 18px;
  margin-inline: auto;
  width: min(100%, 280px);
  box-shadow: 0 10px 28px rgba(24, 32, 28, 0.12);
}

.ba-panel--after {
  outline: 2px solid rgba(115, 199, 163, 0.45);
}

.ba-arrow {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  align-self: center;
  padding-bottom: 3rem;
}

.focus-shot {
  margin: 3rem auto 0;
  max-width: 20rem;
  text-align: center;
}

/* —— gallery —— */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 700px) {
  .gallery__grid { grid-template-columns: 1fr; }
}

.gallery__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

/* —— accordion legal —— */
.accordion { margin-top: 2rem; max-width: 46rem; margin-inline: auto; }

.acc {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 28px rgba(24, 32, 28, 0.05);
  overflow: hidden;
}

.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
}

.acc[open] summary::after { content: "–"; }

.acc__body {
  padding: 0 1.35rem 1.4rem;
  color: var(--muted);
}

.acc__body h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 1.1rem 0 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.acc__body p { margin: 0 0 0.65rem; }

.site-foot {
  padding: 2rem 0 2.75rem;
  border-top: 1px solid rgba(24, 32, 28, 0.08);
}

.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-foot__brand {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--text);
  margin-right: auto;
}

.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
