:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #f6f5f1;
  --muted: #aaa8a1;
  --line: #262626;
  --green: #1fdf76;
  --green-dark: #0eaa51;
  --page: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.topbar {
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { display: inline-flex; gap: .45rem; align-items: baseline; letter-spacing: -.03em; font-weight: 700; }
.wordmark__last { color: var(--green); font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; }
.topbar__link { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid var(--ink); }

.hero {
  width: var(--page);
  min-height: min(72vw, 760px);
  max-height: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #171717;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.58), transparent 56%), linear-gradient(0deg, rgba(0,0,0,.62), transparent 45%); }
.hero__copy { position: absolute; top: clamp(42px, 7vw, 92px); left: clamp(24px, 6vw, 80px); }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; }
.eyebrow span { color: var(--green); padding: 0 .35rem; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 7rem); line-height: .87; letter-spacing: -.065em; max-width: 8ch; }
h1 em, .bio__lead em, .closing em { font-family: "Playfair Display", serif; color: var(--green); font-weight: 500; }
.hero__actions { position: absolute; z-index: 2; left: clamp(16px, 3vw, 42px); right: clamp(16px, 3vw, 42px); bottom: clamp(16px, 3vw, 42px); display: grid; grid-template-columns: 1fr 1.42fr; gap: 12px; }
.cta { min-height: 64px; background: var(--green); color: #04190d; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; line-height: 1.15; transition: transform .2s ease, background .2s ease; }
.cta:hover, .cta:focus-visible { background: #50ee95; transform: translateY(-3px); }

.section { width: var(--page); margin: 0 auto; padding: clamp(90px, 12vw, 170px) 0; border-bottom: 1px solid var(--line); }
.section__label { display: flex; align-items: center; gap: .8rem; margin-bottom: clamp(40px, 6vw, 78px); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--muted); }
.section__label span:first-child { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--green); border: 1px solid #295439; border-radius: 50%; }

.bio__grid { display: grid; grid-template-columns: minmax(260px, .82fr) 1.18fr; gap: clamp(46px, 9vw, 130px); align-items: start; }
.bio__portrait { margin: 0; aspect-ratio: 1 / 1.05; overflow: hidden; position: sticky; top: 30px; }
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio__content { max-width: 680px; }
.bio__more summary { cursor: pointer; color: var(--green); font-weight: 700; padding: 12px 0; width: fit-content; font-size: 1rem; }
.bio__more summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.bio__more .less-label { display: none; }
.bio__more[open] .more-label { display: none; }
.bio__more[open] .less-label { display: inline; }
.bio__more h2 { font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; margin: 1.5rem 0; }
.bio__lead { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.055em; margin: 0 0 2.25rem; }
.bio__content p:not(.bio__lead) { color: #c8c6bf; margin: 0 0 1.4rem; font-size: clamp(1rem, 1.45vw, 1.22rem); }

.connect { padding-top: 86px; padding-bottom: 86px; }
.connect .section__label { margin-bottom: 34px; }
.connect__row { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 10vw, 140px); align-items: end; }
.connect__row > p { margin: 0; color: var(--muted); max-width: 36ch; }
.socials { display: flex; flex-direction: column; }
.socials a { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 15px 0; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.socials a:last-child { border-bottom: 1px solid var(--line); }
.socials a:hover { color: var(--green); }

.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; align-items: stretch; }
.gallery__item { grid-column: span 4; border: 0; padding: 0; background: #111; overflow: hidden; cursor: zoom-in; min-height: 400px; }
.gallery__item--wide { grid-column: span 8; }
.gallery__item--tall { min-height: 650px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.gallery__item:hover img { transform: scale(1.025); filter: brightness(1.06); }

.closing { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); gap: 50px; align-items: end; }
.closing > p { margin: 0; font-size: clamp(3.3rem, 7vw, 7rem); line-height: .92; letter-spacing: -.06em; }
.cta--large { min-height: 84px; }

footer { width: var(--page); margin: 0 auto; padding: 40px 0 60px; display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; }
footer a:hover { color: var(--green); }

.lightbox { width: min(1000px, calc(100vw - 32px)); height: min(92vh, 900px); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close { position: fixed; top: 18px; right: 22px; width: 48px; height: 48px; border: 1px solid #555; background: #090909; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #f4f4ef; color: #090909; padding: 11px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s ease; z-index: 30; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  :root { --page: calc(100vw - 24px); }
  .topbar { height: 72px; }
  .hero { min-height: 72vh; }
  .hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 40%), linear-gradient(0deg, rgba(0,0,0,.78), transparent 52%); }
  .hero__copy { top: 36px; left: 22px; }
  h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .hero__actions { grid-template-columns: .9fr 1.35fr; gap: 7px; left: 9px; right: 9px; bottom: 9px; }
  .cta { min-height: 68px; padding: 12px; font-size: .79rem; }
  .bio__grid, .connect__row, .closing { grid-template-columns: 1fr; }
  .bio__portrait { position: relative; top: auto; }
  .gallery__grid { gap: 8px; }
  .gallery__item, .gallery__item--wide { grid-column: span 6; min-height: 280px; }
  .gallery__item--tall { min-height: 430px; }
  .gallery__item:first-child, .gallery__item:nth-child(5) { grid-column: span 12; }
  .closing .cta { margin-top: 8px; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* One centered contact link over the banner, shared by both pages. */
.hero__actions {
  left: 50%; right: auto; bottom: clamp(20px, 4vw, 46px);
  width: min(780px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.active-status {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0; color: #fff; font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  font-weight: 500; line-height: 1.3; text-shadow: 0 2px 12px #000;
}
.active-status__dot {
  width: 13px; height: 13px; flex: 0 0 13px; border-radius: 50%;
  background: #20dc73; box-shadow: 0 0 16px #20dc7366;
}
.hero__actions .cta {
  width: 100%; min-height: 104px; border-radius: 999px;
  background: #48a86b; color: #fff; border: 1px solid #64bd85;
  padding: 22px 28px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center;
  box-shadow: 0 8px 32px #0003;
}
.hero__actions .cta:hover { background: #3d975e; }
.hero__actions .cta:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.cta__title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; }
.cta__subtitle { font-size: clamp(.875rem, 1.6vw, 1.125rem); font-weight: 400; line-height: 1.4; }
@media (max-width: 760px) {
  .hero { min-height: max(600px, 78svh); max-height: none; }
  .hero__actions { width: calc(100% - 28px); bottom: 22px; gap: 18px; }
  .hero__actions .cta { min-height: 96px; padding: 20px 16px; }
  .cta__title { font-size: clamp(1.35rem, 6vw, 1.8rem); }
}
