:root {
  --ink: #141017;
  --ink-soft: #3e3541;
  --porcelain: #f7f3ec;
  --paper: #fffaf1;
  --purple: #35124c;
  --purple-deep: #180722;
  --gold: #caa24a;
  --gold-light: #ead59d;
  --earth: #6f4d32;
  --clay: #b56441;
  --teal: #245c63;
  --line: rgba(20, 16, 23, 0.14);
  --shadow: 0 24px 70px rgba(24, 7, 34, 0.2);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(24, 7, 34, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(234, 213, 157, 0.72);
  background: linear-gradient(135deg, var(--gold), #f4df9d 42%, var(--earth));
  color: var(--purple-deep);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.03rem;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 6vw, 88px) 76px;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.hero-media img:first-child {
  grid-row: span 2;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 4, 22, 0.82), rgba(15, 4, 22, 0.6) 45%, rgba(15, 4, 22, 0.2)),
    linear-gradient(0deg, rgba(15, 4, 22, 0.88), rgba(15, 4, 22, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8.5vw, 7.7rem);
}

h2 {
  font-size: clamp(2rem, 4.7vw, 4.85rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 665px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 14px;
}

.path-card {
  min-height: 156px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(234, 213, 157, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

.path-card span,
.path-card em,
.path-card strong {
  display: block;
}

.path-card span {
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.path-card strong {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.path-card em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 700;
}

.hero-next {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 24px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

section {
  scroll-margin-top: 86px;
}

.intro-band,
.competition-band,
.gallery-section,
.contact-section,
.split-section,
.legacy-section {
  padding: clamp(76px, 10vw, 134px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading p,
.split-copy p,
.legacy-content p,
.contact-copy p {
  max-width: 670px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillar-grid article {
  min-height: 290px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.pillar-grid span {
  color: var(--clay);
  font-weight: 900;
}

.pillar-grid h3 {
  margin-top: 82px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.pillar-grid p {
  color: var(--ink-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.split-section.exposure {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.88fr);
  background: var(--paper);
}

.split-copy p {
  margin: 24px 0 0;
}

.method-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.method-flow span {
  padding: 10px 14px;
  border: 1px solid rgba(53, 18, 76, 0.18);
  background: #fff;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.image-stack {
  display: grid;
  grid-template-columns: 0.88fr 0.72fr;
  align-items: end;
  gap: 16px;
}

.image-stack img,
.portrait-panel img,
.competition-grid img,
.gallery-grid img,
.legacy-visual img {
  height: 100%;
  object-fit: cover;
}

.image-stack img:first-child {
  min-height: 430px;
  box-shadow: var(--shadow);
}

.image-stack img:last-child {
  min-height: 320px;
  margin-top: 70px;
}

.competition-band {
  background: #19111d;
  color: #fff;
}

.competition-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.competition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.competition-grid figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
}

.competition-grid img {
  aspect-ratio: 1.24 / 1;
}

.competition-grid figcaption {
  padding: 16px 18px 18px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-panel {
  height: min(720px, 82vh);
  min-height: 440px;
  box-shadow: var(--shadow);
}

.detail-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 700;
}

.detail-list li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.legacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 7, 34, 0.96), rgba(53, 18, 76, 0.9)),
    #24102f;
}

.legacy-content p {
  color: rgba(255, 255, 255, 0.75);
}

.legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: var(--purple-deep);
}

.button.secondary {
  border-color: rgba(53, 18, 76, 0.22);
  background: transparent;
  color: currentColor;
}

.legacy-section .button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.legacy-visual {
  position: relative;
  min-height: 460px;
}

.blueprint {
  position: absolute;
  inset: 0 18% 16% 0;
  border: 1px solid rgba(234, 213, 157, 0.42);
  background:
    linear-gradient(rgba(234, 213, 157, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 213, 157, 0.14) 1px, transparent 1px),
    rgba(36, 92, 99, 0.25);
  background-size: 36px 36px;
}

.blueprint span {
  position: absolute;
  border: 1px solid rgba(234, 213, 157, 0.56);
}

.blueprint span:nth-child(1) {
  inset: 58px auto auto 42px;
  width: 42%;
  height: 35%;
}

.blueprint span:nth-child(2) {
  right: 42px;
  bottom: 44px;
  width: 38%;
  height: 42%;
}

.blueprint span:nth-child(3) {
  left: 36%;
  top: 28%;
  width: 1px;
  height: 56%;
}

.blueprint span:nth-child(4) {
  left: 42px;
  right: 42px;
  top: 56%;
  height: 1px;
}

.legacy-visual img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 56%;
  border: 8px solid var(--purple-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}

.gallery-grid img {
  min-height: 0;
}

.gallery-grid img:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid img:nth-child(2) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(3) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid img:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(5) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 4;
  grid-row: span 2;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 80px);
  align-items: start;
}

.privacy-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.application-form {
  padding: clamp(20px, 4vw, 38px);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-progress {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.form-progress span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.form-progress .active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

legend {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
}

.choice-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.choice-card + .choice-card {
  margin-top: 10px;
}

.choice-card:has(input:checked) {
  border-color: rgba(202, 162, 74, 0.86);
  background: rgba(202, 162, 74, 0.11);
}

.choice-card input {
  margin-top: 5px;
  accent-color: var(--purple);
}

.choice-card strong,
.choice-card em {
  display: block;
}

.choice-card em {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: normal;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 126px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(202, 162, 74, 0.52);
  outline-offset: 1px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.checkbox-group label {
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.checkbox-group input {
  width: auto;
  min-height: 0;
  margin: 0 8px 0 0;
  accent-color: var(--purple);
}

.legacy-fields {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.form-controls .button[disabled] {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.form-message {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 6vw, 88px);
  background: var(--purple-deep);
  color: #fff;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.64);
}

.site-footer a {
  color: var(--gold-light);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(24, 7, 34, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media img:not(:first-child) {
    display: none;
  }

  .pillar-grid,
  .competition-grid,
  .split-section,
  .split-section.exposure,
  .legacy-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait-panel {
    order: 2;
    height: 620px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-grid img:nth-child(n) {
    grid-column: span 3;
    grid-row: span 2;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 94svh;
    padding: 112px 18px 58px;
  }

  .hero-actions,
  .field-grid,
  .checkbox-group,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 128px;
  }

  .intro-band,
  .competition-band,
  .gallery-section,
  .contact-section,
  .split-section,
  .legacy-section {
    padding: 64px 18px;
  }

  .pillar-grid article {
    min-height: 230px;
    padding: 24px;
  }

  .pillar-grid h3 {
    margin-top: 42px;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child,
  .image-stack img:last-child {
    min-height: 300px;
    margin: 0;
  }

  .portrait-panel {
    height: auto;
    min-height: 0;
  }

  .portrait-panel img {
    height: auto;
  }

  .legacy-visual {
    min-height: 360px;
  }

  .legacy-visual img {
    width: 68%;
    height: 48%;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-grid img {
    height: auto;
    margin-top: 12px;
  }

  .form-controls {
    flex-direction: column;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 18px;
  }
}
