:root {
  --ink: #18201d;
  --muted: #66716b;
  --paper: #fffdf8;
  --cream: #f4efe5;
  --sage: #687b70;
  --deep-sage: #32483e;
  --brass: #b88943;
  --brass-light: #e8d6b8;
  --line: rgba(24, 32, 29, 0.14);
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(42, 49, 44, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 1000;
  background: transparent;
}
.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brass);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 18px clamp(22px, 4vw, 64px);
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(24, 32, 29, 0.05);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  color: var(--paper);
  background: var(--deep-sage);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
}
.brand-name { max-width: 260px; line-height: 1.15; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  padding: 10px 16px;
  color: var(--paper);
  background: var(--deep-sage);
  border-radius: 999px;
}
.menu-toggle { display: none; }

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-block: clamp(72px, 10vw, 130px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.project-intro h2,
.future-heading h2,
.instructor-copy h2,
.details-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: .98;
}
.hero h1 { font-size: clamp(54px, 7vw, 94px); max-width: 850px; }
.hero h1 em { color: var(--deep-sage); font-weight: 500; }
.hero-intro {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--deep-sage); box-shadow: 0 14px 30px rgba(50,72,62,.18); }
.text-link { text-decoration: none; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }

.hero-visual { position: relative; min-height: 540px; }
.canvas-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.canvas-card-main {
  inset: 34px 20px 44px 54px;
  padding: 34px;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(145deg, rgba(50,72,62,.96), rgba(77,98,86,.94));
  border-radius: var(--radius-lg);
  transform: rotate(-2deg);
}
.canvas-label { font-family: var(--serif); font-size: 30px; max-width: 260px; display: block; line-height: 1.05; }
.canvas-lines { display: grid; gap: 12px; width: 52%; margin-top: 44px; }
.canvas-lines span { display: block; height: 1px; background: rgba(255,255,255,.42); }
.canvas-lines span:nth-child(2) { width: 75%; }
.canvas-lines span:nth-child(3) { width: 48%; }
.canvas-type { position: absolute; right: 34px; bottom: 22px; font-family: var(--serif); font-size: 150px; line-height: 1; opacity: .9; }
.canvas-grid { position: absolute; right: 34px; top: 34px; display: grid; grid-template-columns: repeat(2, 16px); gap: 7px; }
.canvas-grid span { width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; }
.canvas-card-small { display: grid; place-items: center; width: 160px; height: 116px; border-radius: 24px; font-family: var(--serif); font-size: 23px; }
.card-one { left: 0; bottom: 12px; background: rgba(244,239,229,.96); transform: rotate(5deg); }
.card-two { right: 0; top: 0; color: var(--paper); background: rgba(184,137,67,.94); transform: rotate(7deg); }
.orbit { position: absolute; border: 1px solid rgba(184,137,67,.38); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 280px; height: 280px; right: -80px; bottom: -36px; }
.orbit-two { width: 150px; height: 150px; left: -20px; top: 50px; }

.statement-strip {
  padding: 28px 24px;
  color: var(--paper);
  background: var(--deep-sage);
  text-align: center;
}
.statement-strip p { width: min(900px, 100%); margin: 0 auto; font-family: var(--serif); font-size: clamp(24px, 3.2vw, 38px); line-height: 1.15; }

.split-section,
.future-grid,
.instructor-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}
.split-section { padding-block: clamp(90px, 12vw, 160px); }
.section-heading h2,
.project-intro h2,
.future-heading h2,
.instructor-copy h2,
.details-card h2 { font-size: clamp(42px, 5vw, 68px); }
.section-copy { color: var(--muted); font-size: 19px; }
.section-copy p { margin: 0 0 22px; }

.learning-section { padding-block: clamp(90px, 12vw, 150px); background: var(--cream); }
.section-heading.centered { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.section-heading.centered > p:last-child { color: var(--muted); font-size: 18px; }
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.learning-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,253,248,.78);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.learning-card:hover { transform: translateY(-6px); background: var(--paper); box-shadow: 0 22px 45px rgba(24,32,29,.08); }
.card-number { display: inline-block; color: var(--brass); font-weight: 700; letter-spacing: .1em; }
.learning-card h3 { margin: 58px 0 12px; font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.learning-card p { margin: 0; color: var(--muted); }

.project-section { padding-block: clamp(90px, 12vw, 160px); }
.project-intro { max-width: 820px; margin-bottom: 56px; }
.project-intro > p:last-child { max-width: 720px; color: var(--muted); font-size: 18px; }
.project-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.05;
}
.project-card-large { grid-column: span 2; min-height: 360px; display: block; padding: 34px; color: var(--paper); background: var(--deep-sage); }
.project-tag { color: var(--brass-light); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-card-large h3 { max-width: 580px; margin: 100px 0 18px; font-size: clamp(36px, 4vw, 54px); font-weight: 500; line-height: 1; }
.project-card-large p { max-width: 600px; margin: 0; color: rgba(255,253,248,.72); font-family: var(--sans); font-size: 17px; }

.future-section { padding-block: clamp(90px, 12vw, 150px); background: #16231d; color: var(--paper); }
.future-copy { color: rgba(255,253,248,.72); font-size: 19px; }
.future-copy p { margin: 0 0 22px; }

.fit-section { padding-block: clamp(90px, 12vw, 150px); }
.fit-section > .section-heading { max-width: 700px; margin-bottom: 50px; }
.fit-list { border-top: 1px solid var(--line); }
.fit-list article { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.fit-list h3 { margin: 0; font-family: var(--serif); font-size: 30px; }
.fit-list p { margin: 0; color: var(--muted); font-size: 17px; }

.instructor-section { padding-block: clamp(90px, 12vw, 150px); background: var(--cream); }
.instructor-kicker {
  position: sticky;
  top: 120px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: var(--paper);
  background: linear-gradient(145deg, var(--deep-sage), #52685b);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.instructor-kicker span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.instructor-kicker strong { font-family: var(--serif); font-size: clamp(90px, 12vw, 160px); font-weight: 500; line-height: .7; letter-spacing: -.08em; }
.instructor-lead { color: var(--deep-sage) !important; font-family: var(--serif); font-size: 26px !important; line-height: 1.15; }
.instructor-copy > p { color: var(--muted); font-size: 18px; }

.details-section { padding-block: clamp(90px, 12vw, 150px) 50px; }
.details-card { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 25px 70px rgba(24,32,29,.07); }
.course-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0; }
.course-details div { padding: 24px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.course-details div:nth-child(3n) { border-right: 0; }
.course-details dt { margin-bottom: 8px; color: var(--brass); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.course-details dd { margin: 0; font-weight: 600; }
.materials-block { margin-top: 42px; padding: 30px; background: var(--cream); border-radius: var(--radius-md); }
.materials-block h3 { margin-top: 0; font-family: var(--serif); font-size: 30px; }
.materials-block ul { margin-bottom: 0; padding-left: 20px; color: var(--muted); }

.description-section { padding-bottom: clamp(90px, 12vw, 150px); }
.description-card { max-width: 950px; padding: 34px; border-left: 4px solid var(--brass); background: var(--cream); }
.description-card > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(22px, 4vw, 64px);
  color: rgba(255,253,248,.72);
  background: var(--deep-sage);
}
.site-footer p { margin: 0 0 5px; color: var(--paper); font-weight: 700; }
.site-footer a { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.65,.3,1), transform .8s cubic-bezier(.2,.65,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 980px) {
  .brand-name { display: none; }
  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 76px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 18px; }
  .site-nav .nav-cta { padding: 12px 16px; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-visual { min-height: 500px; }
  .split-section, .future-grid, .instructor-grid { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: repeat(2, 1fr); }
  .project-board { grid-template-columns: repeat(2, 1fr); }
  .project-card-large { grid-column: span 2; }
  .instructor-kicker { position: relative; top: auto; min-height: 300px; }
  .course-details { grid-template-columns: repeat(2, 1fr); }
  .course-details div:nth-child(3n) { border-right: 1px solid var(--line); }
  .course-details div:nth-child(2n) { border-right: 0; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { padding-inline: 18px; }
  .hero { padding-block: 58px 80px; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 420px; }
  .canvas-card-main { inset: 36px 8px 42px 26px; }
  .canvas-card-small { width: 130px; height: 92px; }
  .canvas-type { font-size: 110px; }
  .learning-grid, .project-board, .course-details { grid-template-columns: 1fr; }
  .project-card-large { grid-column: span 1; }
  .course-details div, .course-details div:nth-child(3n), .course-details div:nth-child(2n) { border-right: 0; }
  .fit-list article { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

/* Refined July 2026 layout adjustments */
.brand-mark { gap: 0; }
.brand-name {
  max-width: none;
  font-size: clamp(13px, 1.35vw, 17px);
  white-space: nowrap;
}

.hero-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
}
.editorial-illustration {
  width: min(100%, 590px);
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(41, 48, 43, .12));
  transform: rotate(1.2deg);
}
.illustration-paper { fill: #f5efe3; stroke: rgba(24,32,29,.15); stroke-width: 2; }
.illustration-board { fill: #fffdf8; stroke: #32483e; stroke-width: 3; }
.illustration-block { fill: #b88943; opacity: .86; }
.illustration-note { fill: #dfe4dc; stroke: #32483e; stroke-width: 2; }
.illustration-line { fill: #8c9690; opacity: .62; }
.illustration-line.strong { fill: #32483e; opacity: .9; }
.illustration-rule { fill: none; stroke: #b88943; stroke-width: 2; opacity: .55; }
.illustration-rule.dark { stroke: #32483e; opacity: .75; }
.illustration-aa { fill: #18201d; font-family: var(--serif); font-size: 64px; }
.illustration-circle { fill: none; stroke: #32483e; stroke-width: 3; }
.illustration-pencil { fill: #b88943; stroke: #32483e; stroke-width: 2; }
.illustration-pencil-tip { fill: #32483e; }
.illustration-sketch { fill: none; stroke: #66716b; stroke-width: 2; stroke-linecap: round; opacity: .42; }
.illustration-dot { fill: #32483e; }
.illustration-dot.small { fill: #b88943; }
.illustration-caption {
  position: absolute;
  right: 6%;
  bottom: 5%;
  margin: 0;
  padding: 9px 14px;
  color: var(--paper);
  background: var(--deep-sage);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 14px 30px rgba(50,72,62,.15);
}

.section-heading.centered {
  max-width: 1120px;
  margin-bottom: 64px;
}
.section-heading.centered .balanced-heading {
  max-width: 1080px;
  margin-inline: auto;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  text-wrap: balance;
}
.balanced-heading span,
.balanced-support span { white-space: nowrap; }
.section-heading.centered .balanced-support {
  max-width: 960px;
  margin: 34px auto 0;
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.5;
  text-wrap: balance;
}

.project-board { grid-template-columns: repeat(3, 1fr); }
.project-card-large {
  grid-column: 1 / -1;
  min-height: 320px;
}
.project-card-large h3 {
  max-width: 760px;
  margin-top: 72px;
}
.project-card { min-height: 180px; }

.fit-section > .section-heading { max-width: 1040px; }
.fit-section .section-heading h2 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
}
.keep-together { white-space: nowrap; }

.instructor-grid { display: block; }
.instructor-wrap {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}
.instructor-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .93;
}
.instructor-lead {
  max-width: 580px;
  margin: 30px 0 0;
  color: var(--deep-sage) !important;
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 29px) !important;
  line-height: 1.18;
}
.instructor-body > p {
  color: var(--muted);
  font-size: 18px;
}
.experience-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 38px;
}
.experience-row div {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.experience-row strong {
  color: var(--deep-sage);
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 76px);
  font-weight: 500;
  line-height: .8;
}
.experience-row span {
  max-width: 180px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.details-card .course-title {
  font-size: clamp(34px, 4.25vw, 58px);
  white-space: nowrap;
}
.course-details dd { line-height: 1.4; }

.description-card {
  width: 100%;
  max-width: none;
  padding: clamp(30px, 4vw, 48px);
}

@media (max-width: 1100px) {
  .balanced-heading span,
  .balanced-support span { white-space: normal; }
  .details-card .course-title { white-space: normal; }
}

@media (max-width: 980px) {
  .brand-name { display: inline-block; max-width: 300px; white-space: normal; }
  .instructor-wrap { grid-template-columns: 1fr; }
  .project-card-large { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand-name { max-width: 220px; font-size: 12px; }
  .hero-visual { min-height: 410px; }
  .illustration-caption { right: 2%; bottom: 2%; }
  .section-heading.centered .balanced-heading,
  .fit-section .section-heading h2 { font-size: clamp(42px, 13vw, 62px); }
  .project-board { grid-template-columns: 1fr; }
  .project-card-large { grid-column: span 1; }
  .experience-row { grid-template-columns: 1fr 1fr; }
  .keep-together { white-space: normal; }
}


/* Version 3 — final art-direction refinements */
.hero-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.principle-deck {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1 / .94;
  isolation: isolate;
}
.principle-card {
  --rotation: 0deg;
  --x: 0px;
  --y: 0px;
  position: absolute;
  width: clamp(150px, 26vw, 215px);
  aspect-ratio: .76;
  display: flex;
  flex-direction: column;
  padding: 18px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,253,248,.94), rgba(246,240,228,.96)),
    repeating-linear-gradient(0deg, rgba(50,72,62,.025) 0 1px, transparent 1px 4px);
  border: 1px solid rgba(24,32,29,.16);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(30,40,35,.14);
  transform: translate(var(--x), var(--y)) rotate(var(--rotation));
  transform-origin: 50% 80%;
  opacity: 0;
  transition: opacity .65s ease, transform .8s cubic-bezier(.2,.75,.22,1), box-shadow .3s ease;
  transition-delay: calc(var(--order) * 85ms);
}
.hero-visual.is-visible .principle-card {
  opacity: 1;
  transform: translate(var(--x), var(--y)) rotate(var(--rotation));
}
.principle-card:hover {
  z-index: 20;
  box-shadow: 0 30px 64px rgba(30,40,35,.2);
}
.card-typography { --x: 4px; --y: 92px; --rotation: -9deg; z-index: 3; }
.card-color { --x: 138px; --y: 20px; --rotation: 4deg; z-index: 6; }
.card-contrast { --x: 292px; --y: 72px; --rotation: 9deg; z-index: 4; }
.card-hierarchy { --x: 54px; --y: 245px; --rotation: -3deg; z-index: 8; }
.card-alignment { --x: 211px; --y: 202px; --rotation: 2deg; z-index: 9; }
.card-spacing { --x: 356px; --y: 248px; --rotation: 7deg; z-index: 7; }
.card-layout { --x: 119px; --y: 352px; --rotation: -6deg; z-index: 10; }
.card-composition { --x: 286px; --y: 348px; --rotation: 4deg; z-index: 11; }
.principle-index { color: var(--brass); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.principle-name { margin-top: 7px; font-family: var(--serif); font-size: clamp(18px, 2vw, 25px); line-height: 1; }
.type-sample { margin-top: auto; font-family: var(--serif); font-size: 68px; font-weight: 500; line-height: .85; }
.mini-rule { display: block; height: 2px; margin-top: 7px; background: var(--deep-sage); opacity: .7; }
.mini-rule.wide { width: 82%; }
.mini-rule.mid { width: 60%; }
.mini-rule.short { width: 38%; }
.swatch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; }
.swatch-row i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--deep-sage); }
.swatch-row i:nth-child(2) { background: var(--brass); }
.swatch-row i:nth-child(3) { background: #d8d1c4; border: 1px solid var(--line); }
.mini-caption { margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.3; letter-spacing: .04em; }
.contrast-demo { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border: 1px solid var(--ink); }
.contrast-demo i { display: block; aspect-ratio: 1; background: var(--ink); }
.contrast-demo i:last-child { background: var(--paper); }
.hierarchy-demo { display: flex; flex-direction: column; margin-top: auto; }
.hierarchy-demo b { font-family: var(--serif); font-size: 36px; line-height: .95; }
.hierarchy-demo span { margin-top: 9px; font-size: 13px; font-weight: 700; }
.hierarchy-demo small { margin-top: 7px; color: var(--muted); font-size: 9px; }
.alignment-demo { display: grid; gap: 8px; margin-top: auto; }
.alignment-demo i { display: block; height: 7px; background: var(--deep-sage); }
.alignment-demo i:nth-child(1) { width: 88%; }
.alignment-demo i:nth-child(2) { width: 62%; }
.alignment-demo i:nth-child(3) { width: 76%; }
.alignment-demo i:nth-child(4) { width: 46%; }
.spacing-demo { display: flex; justify-content: space-between; align-items: end; margin-top: auto; }
.spacing-demo i { width: 24%; aspect-ratio: 1; background: var(--brass); border-radius: 3px; }
.spacing-demo i:nth-child(2) { margin-inline: 9%; }
.layout-demo { display: grid; grid-template-columns: .8fr 1.2fr; grid-template-rows: .65fr 1fr; gap: 7px; margin-top: auto; }
.layout-demo i { min-height: 36px; border: 1px solid var(--deep-sage); background: rgba(50,72,62,.08); }
.layout-demo i:first-child { grid-column: 1 / -1; }
.composition-demo { position: relative; flex: 1; margin-top: 20px; border: 1px solid var(--line); }
.composition-demo i { position: absolute; display: block; border-radius: 50%; }
.composition-demo i:nth-child(1) { width: 54px; height: 54px; left: 17%; top: 18%; background: var(--deep-sage); }
.composition-demo i:nth-child(2) { width: 30px; height: 30px; right: 16%; top: 27%; background: var(--brass); }
.composition-demo i:nth-child(3) { width: 78px; height: 2px; left: 30%; bottom: 18%; background: var(--ink); border-radius: 0; transform: rotate(-18deg); }

.section-heading.centered .balanced-heading {
  max-width: 980px;
  text-align: center;
}
.balanced-heading .heading-break { display: inline-block; margin-top: .32em; }
.section-heading.centered .balanced-support {
  max-width: 900px;
  text-align: center;
}
.project-intro {
  max-width: none;
  text-align: center;
}
.project-intro h2,
.project-intro > p:last-child {
  max-width: 100%;
  margin-inline: auto;
}
.project-intro > p:last-child { width: min(900px, 100%); }
.project-card {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.project-card-large {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.project-card-large h3 {
  max-width: 880px;
  margin: 56px auto 18px;
}
.project-card-large p {
  max-width: 820px;
  margin-inline: auto;
}
.instructor-heading h2 { font-size: clamp(42px, 4.7vw, 64px); }
.experience-row span { max-width: 220px; }
.details-card .course-title { font-size: clamp(30px, 3.5vw, 48px); }

@media (max-width: 980px) {
  .hero-visual { min-height: 600px; }
  .principle-deck { width: min(100%, 600px); transform: scale(.94); transform-origin: center top; }
}
@media (max-width: 700px) {
  .hero-visual { min-height: 500px; }
  .principle-deck { width: 520px; transform: scale(.68); transform-origin: top center; }
  .illustration-caption { bottom: 3%; right: 50%; transform: translateX(50%); white-space: nowrap; }
  .section-heading.centered .balanced-heading { font-size: clamp(40px, 12vw, 56px); }
  .balanced-heading .heading-break { margin-top: .42em; }
  .section-heading.centered .balanced-support br { display: none; }
  .project-intro { text-align: left; }
  .project-intro h2, .project-intro > p:last-child { max-width: none; }
  .project-card-large h3 { margin-top: 36px; }
  .experience-row { grid-template-columns: 1fr; }
  .details-card .course-title { font-size: clamp(30px, 9vw, 42px); }
}
@media (max-width: 420px) {
  .hero-visual { min-height: 440px; }
  .principle-deck { transform: scale(.58); }
  .brand-name { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .principle-card { opacity: 1; transition: none; }
}


/* Version 3.1 — art-direction typography and card refinements */
.hero-principle-note {
  margin: 20px 0 0;
  color: var(--deep-sage);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Make the reference cards read as solid, premium printed stock. */
.principle-card {
  background-color: #fffaf0;
  background-image:
    repeating-linear-gradient(0deg, rgba(50,72,62,.018) 0 1px, transparent 1px 4px);
  border-color: rgba(24,32,29,.19);
  box-shadow: 0 24px 54px rgba(30,40,35,.18);
}

/* Reduce the largest editorial statements slightly so they feel composed, not loud. */
.statement-strip p {
  font-size: clamp(22px, 2.8vw, 34px);
}

.section-heading h2,
.future-heading h2 {
  font-size: clamp(40px, 4.7vw, 64px);
}

.section-heading.centered .balanced-heading {
  font-size: clamp(45px, 5.45vw, 74px);
}

.project-card-large h3 {
  font-size: clamp(34px, 3.7vw, 50px);
}

.fit-section .section-heading h2 {
  font-size: clamp(45px, 5.45vw, 74px);
}

.portfolio-copy-line {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .hero-principle-note {
    margin-top: 16px;
    font-size: 11px;
  }

  .section-heading.centered .balanced-heading,
  .fit-section .section-heading h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .section-heading h2,
  .future-heading h2 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .portfolio-copy-line {
    white-space: normal;
  }

  .project-card-large p br {
    display: none;
  }
}


/* Cloudflare-ready interaction refinements */
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--deep-sage);
  background: var(--brass-light);
  outline: none;
}

/* Keep the principle cards fully opaque across browsers. */
.principle-card {
  background: #fffaf0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(50, 72, 62, 0.018) 0 1px,
    rgba(255, 250, 240, 0) 1px 4px
  );
  opacity: 0;
}
.hero-visual.is-visible .principle-card,
.no-js .principle-card {
  opacity: 1;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  color: var(--paper);
  background: var(--deep-sage);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 16px 38px rgba(24, 32, 29, 0.18);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease, color .2s ease;
}
.back-to-top span {
  font-size: 21px;
  line-height: 1;
  transform: translateY(-1px);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--deep-sage);
  background: var(--brass-light);
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 0;
    bottom: 22px;
    width: 42px;
    height: 48px;
    border-radius: 12px 0 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}
