:root {
  --content-width: 1180px;
  --page-gutter: clamp(24px, 4vw, 56px);
  --section-label-width: 205px;
  --section-gap: clamp(48px, 5vw, 70px);
  --blue: #003366;
  --blue-2: #0d5a91;
  --blue-pale: #eef5fa;
  --blue-mid: #8fb9d8;
  --orange: #ff8800;
  --ink: #17212b;
  --muted: #667482;
  --white: #ffffff;
  --line: rgba(0, 51, 102, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2));
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(0, 51, 102, .08);
  backdrop-filter: blur(8px);
}

.wordmark {
  font:700 23px/1 "Manrope",sans-serif;
  letter-spacing:-.06em;
  color:var(--orange);
}

.wordmark span { color: var(--orange); }

nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

nav a {
  position: relative;
  transition: color .2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--orange);
}

nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--orange);
  transition: .25s;
}

nav a:hover::after { right: 0; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: var(--section-gap);
  min-height: auto;
  padding: 92px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)) 28px;
  background: var(--blue);
  color: var(--white);
  text-align: left;
}

.hero-copy {
  width: 100%;
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font: 600 clamp(28px, 3.2vw, 42px)/1.08 "Manrope", sans-serif;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.hero-lead {
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(14px, 1.15vw, 17px);
  white-space: nowrap;
}

.hero-lead span { color: rgba(255, 255, 255, .45); }

.intro-stage {
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 480px);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#flash-container {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
}

ruffle-player {
  width: 100%;
  height: 100%;
  background: transparent;
}

.intro-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.intro-fallback strong {
  color: var(--white);
  font: 600 clamp(60px, 9vw, 110px)/1 "Manrope", sans-serif;
  letter-spacing: -.085em;
}

.intro-fallback small {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* Shared numbered sections */
.section {
  display: grid;
  grid-template-columns: var(--section-label-width) minmax(0, 1fr);
  gap: var(--section-gap);
  width: 100%;
  padding: 90px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2));
  border-top: 1px solid var(--line);
}

.section-label {
  padding-top: 8px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-content {
  width: 100%;
  min-width: 0;
}

/* About */
.about { background: var(--white); }

.about h2 {
  width: 100%;
  max-width: 100%;
  margin: 0 0 30px;
  color: var(--blue);
  font: 600 clamp(31px, 2.25vw, 35px)/1.08 "Manrope", sans-serif;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.large-text {
  width: 100%;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.48;
  letter-spacing: -.018em;
}

.about .section-content > p:last-child {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* Beyond work */
.beyond {
  align-items: center;
  background: var(--blue-pale);
  color: var(--ink);
}

.beyond .section-label {
  padding-top: 0;
  color: var(--orange);
}

.interests {
  margin: 0;
  color: var(--blue);
  font: 500 18px/1.6 "Manrope", sans-serif;
  letter-spacing: -.02em;
}

/* Contact */
.contact {
  align-items: start;
  background: #b7d4e7;
  color: var(--blue);
}

.contact .section-label { color: var(--orange); }

.eyebrow {
  margin: 8px 0 17px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  min-width: 310px;
  margin-top: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(0, 51, 102, .24);
  border-radius: 10px;
}

.email-text {
  margin: 0;
  color: var(--blue);
  font: 600 18px/1.4 "Manrope", sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.contact-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(0, 51, 102, .22);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(0, 51, 102, .22);
  border-radius: 7px;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--orange);
  background: rgba(255, 255, 255, .48);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.location {
  margin: 18px 0 0;
  color: rgba(0, 51, 102, .72);
}

/* Quote and dance canon, positioned after Contact */
.movement {
  padding: 72px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2));
  background: var(--blue);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.movement-inner {
  display: grid;
  grid-template-columns: var(--section-label-width) minmax(0, 1fr) 257px;
  gap: var(--section-gap);
  align-items: center;
}

.movement-heading { grid-column: 2; }

.movement blockquote {
  max-width: 650px;
  margin: 0;
}

.movement blockquote p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .96);
  font-family: "Nothing You Could Do", cursive;
  font-size: clamp(31px, 2.25vw, 38px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
}

.movement blockquote cite {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: none;
}

.dance-grid {
  grid-column: 3;
  display: grid;
  grid-template: repeat(3, 83px) / repeat(3, 83px);
  gap: 4px;
  width: 257px;
  justify-content: end;
}

.dance-cell {
  width: 83px;
  height: 83px;
  overflow: hidden;
  background: rgba(255, 255, 255, .035);
}

.dance-cell ruffle-player {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* Footer */
footer {
  padding: 0 max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)) 30px;
  background: var(--blue);
  color: rgba(255,255,255,.62);
  text-align:center;
  border-top:1px solid rgba(255,255,255,.16);
}

.footer-portraits {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
}

.footer-portraits img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0 20px;
  border-bottom: none;
  font-size: 12px;
  text-align: left;
}

.footer-meta a {
  justify-self:end;
  color: rgba(255,255,255,.85);
  transition: color .2s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 900px) {
  nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 92px;
    padding-bottom: 32px;
  }

  .intro-stage {
    order: -1;
    justify-self: center;
    width: min(410px, 82vw);
    margin-bottom: 18px;
  }

  .hero-copy { text-align: center; }

  .section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-label { padding-top: 0; }

  .about h2,
  .large-text {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .movement-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .movement-heading,
  .dance-grid {
    grid-column: 1;
  }

  .dance-grid {
    justify-content: start;
  }
}

@media (max-width: 700px) {
  .hero h1,
  .hero-lead {
    white-space: normal;
  }

  .about h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .large-text,
  .about .section-content > p:last-child {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .site-header { padding: 16px 20px; }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro-stage { width: min(360px, 88vw); }

  .hero h1 { font-size: 28px; }

  .section,
  .movement {
    padding: 58px 20px;
  }

  .interests { font-size: 17px; }

  .contact-card {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-divider {
    width: 100%;
    height: 1px;
  }

  .movement blockquote p { font-size: 28px; }

  .dance-grid {
    grid-template: repeat(3, 61px) / repeat(3, 61px);
    gap: 4px;
    width: 191px;
  }

  .dance-cell {
    width: 61px;
    height: 61px;
  }

  .footer-portraits img {
    width: 58px;
    height: 58px;
  }

  footer { padding: 0 20px 24px; }

  .footer-meta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


@media (max-width: 1100px) {
  .about h2 {
    font-size: clamp(29px, 3vw, 34px);
    white-space: normal;
  }
}


a:hover,
a:focus-visible {
  color: var(--orange);
}



.location{
  display:flex;
  align-items:center;
  gap:8px;
  margin:18px 0 0;
  color:rgba(0,51,102,.72);
}
.location-icon{
  width:16px;
  height:16px;
  fill:currentColor;
  flex-shrink:0;
}


/* Orange thread across the Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-thread {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-thread path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .9;
}

.hero-copy,
.intro-stage {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-thread {
    top: 7%;
    height: 72%;
  }

  .hero-thread path {
    stroke-width: 2.7;
    opacity: .82;
  }
}

@media (max-width: 560px) {
  .hero-thread {
    top: 10%;
    height: 62%;
    transform: scaleX(1.45);
    transform-origin: center;
  }

  .hero-thread path {
    stroke-width: 2.4;
    opacity: .68;
  }
}


/* Hanging intro card */
.intro-stage {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-top: 32px;
}

#flash-container {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 51, 102, .16);
  border-radius: 14px;
  box-shadow:
    0 18px 36px rgba(0, 24, 54, .24),
    0 3px 8px rgba(0, 24, 54, .18);
}

#flash-container ruffle-player {
  border-radius: inherit;
  overflow: hidden;
}

.intro-hangers {
  position: absolute;
  z-index: 3;
  top: -2px;
  left: 0;
  width: 100%;
  height: 118px;
  overflow: visible;
  pointer-events: none;
}

.hanger-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.intro-eyelet {
  position: absolute;
  z-index: 4;
  top: 110px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border: 3px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 24, 54, .28);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.intro-eyelet-left { left: 20%; }
.intro-eyelet-right { left: 80%; }

@media (max-width: 900px) {
  .intro-stage { padding-top: 26px; }
  .intro-hangers { height: 102px; }
  .intro-eyelet { top: 96px; }
}

@media (max-width: 560px) {
  .intro-stage { padding-top: 22px; }
  #flash-container { border-radius: 10px; }
  .intro-hangers { height: 88px; }
  .hanger-line { stroke-width: 2.6; }
  .intro-eyelet {
    top: 82px;
    width: 12px;
    height: 12px;
  }
}

