:root {
  --paper: #f6efe2;
  --paper-deep: #ebddc8;
  --linen: #fff8ec;
  --ink: #35281f;
  --muted: #786552;
  --clay: #82391b;
  --clay-dark: #6d2c16;
  --olive: #59614a;
  --line: rgba(92, 63, 37, 0.2);
  --shadow: 0 24px 60px rgba(72, 43, 22, 0.15);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, sans-serif;
  --hand: "Parisienne", "Segoe Script", "Snell Roundhand", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px, 58px 58px, auto;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

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

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 40px 6.6vw 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  width: fit-content;
  gap: clamp(11px, 1.2vw, 14px);
}

.brand-mark {
  width: clamp(60px, 5.3vw, 66px);
  height: clamp(60px, 5.3vw, 66px);
  flex: 0 0 auto;
  object-fit: contain;
  transform: translateY(-4px);
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.brand-role,
.eyebrow,
.main-nav,
.header-cta,
.button,
.section-link,
.project-link,
.footer-links {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand-role {
  font-size: 10px;
  color: var(--clay-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  color: #4a2f21;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .is-active::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.main-nav a:focus-visible,
.header-cta:focus-visible,
.button:focus-visible,
.section-link:focus-visible,
.project-link:focus-visible,
.galaxy-work-link:focus-visible,
.work-filter:focus-visible,
.work-card-media:focus-visible,
.reel-arrow:focus-visible {
  outline: 2px solid rgba(130, 57, 27, 0.38);
  outline-offset: 4px;
}

.header-cta {
  justify-self: end;
  padding: 18px 28px;
  border-radius: 3px;
  color: #fff9ed;
  background: var(--clay-dark);
  box-shadow: 0 12px 28px rgba(109, 44, 22, 0.22);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(470px, 0.98fr) minmax(420px, 1.02fr);
  min-height: 710px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 68%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(246, 239, 226, 0.96) 54%, rgba(246, 239, 226, 0.5) 84%, transparent 100%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 122px 0 88px 6.6vw;
  max-width: 760px;
}

.hero .eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 26px;
  color: var(--clay);
}

.eyebrow span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 92px;
  font-weight: 600;
  line-height: 0.91;
}

.hero-script {
  margin: 14px 0 26px;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 55px;
  font-style: italic;
  line-height: 1;
}

.small-rule {
  width: 82px;
  height: 10px;
  margin: 0 0 30px;
  border-top: 1px solid var(--clay);
  border-bottom: 1px solid rgba(130, 57, 27, 0.35);
}

.hero-text {
  max-width: 525px;
  margin-bottom: 42px;
  color: #423327;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.hero-actions .button-primary {
  min-height: 64px;
  padding: 0 38px;
}

.hero-actions .button-text {
  min-height: 48px;
  font-size: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 3px;
}

.button-typewriter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button-label {
  display: inline-block;
  transition: opacity 120ms ease, transform 160ms ease;
}

.button-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  color: currentColor;
  font-family: var(--hand);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  transform: translate(-50%, -49%);
  transition: opacity 100ms ease;
}

.button-typewriter:hover .button-label,
.button-typewriter:focus-visible .button-label {
  opacity: 0;
  transform: translateY(-4px);
}

.button-typewriter:hover .button-hover-text,
.button-typewriter:focus-visible .button-hover-text {
  opacity: 1;
  animation: script-typewriter var(--write-duration, 620ms) steps(var(--letter-count, 12), end) both;
}

.button-primary {
  padding: 0 28px;
  color: #fff8eb;
  background: var(--clay);
  box-shadow: 0 14px 30px rgba(130, 57, 27, 0.18);
}

.button-text {
  gap: 8px;
  color: var(--clay);
}

.link-cue {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 1px;
  margin-left: 2px;
  background: currentColor;
  opacity: 0.62;
  transform: translateY(-1px);
  transition: width 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.link-cue::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

a:hover .link-cue,
a:focus-visible .link-cue {
  width: 23px;
  opacity: 0.9;
  transform: translate(2px, -1px);
}

.hero-media {
  position: relative;
  min-height: 710px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) saturate(0.9);
}

.featured-work {
  padding: 48px 5.4vw 78px;
  background: rgba(255, 250, 241, 0.72);
  border-top: 1px solid rgba(92, 63, 37, 0.09);
}

.experience-section {
  position: relative;
  padding: 72px 5.4vw 44px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.032) 1px, transparent 1px),
    rgba(255, 250, 241, 0.84);
  background-size: 46px 46px, 58px 58px, auto;
  border-top: 1px solid rgba(92, 63, 37, 0.09);
}

.experience-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.experience-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.experience-heading {
  padding-top: 0;
}

.experience-heading h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: 76px;
  font-weight: 600;
  line-height: 0.94;
  text-align: center;
}

.experience-copy {
  padding-top: 0;
}

.experience-copy > p {
  max-width: 760px;
  margin: 0 auto;
  color: #46382d;
  font-size: 19px;
  line-height: 1.8;
  text-align: center;
}

.experience-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 30px auto 0;
  border-top: 1px solid rgba(89, 97, 74, 0.22);
  border-bottom: 1px solid rgba(89, 97, 74, 0.22);
}

.experience-ledger div {
  min-width: 0;
  padding: 18px 18px 17px 0;
}

.experience-ledger div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(89, 97, 74, 0.18);
}

.experience-ledger dt {
  margin: 0 0 8px;
  color: var(--clay-dark);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.experience-ledger dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.galaxy-work-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: fit-content;
  max-width: 100%;
  margin: 58px auto 0;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
}

.galaxy-mask {
  display: inline;
  color: var(--clay);
  background-image: url("assets/rust-milky-way.svg");
  background-position: 42% 50%;
  background-size: 118% auto;
  transition: background-position 420ms ease, filter 420ms ease;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .galaxy-mask {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.galaxy-arrow {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 1px;
  margin-top: 16px;
  background: rgba(130, 57, 27, 0.56);
}

.galaxy-arrow::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid rgba(130, 57, 27, 0.72);
  border-right: 1px solid rgba(130, 57, 27, 0.72);
  content: "";
  transform: rotate(45deg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto 30px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--clay);
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.05;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--clay);
  white-space: nowrap;
}

.coming-soon-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid rgba(130, 57, 27, 0.58);
  border-radius: 4px;
  color: var(--clay-dark);
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.96), rgba(246, 239, 226, 0.82)),
    var(--paper);
  box-shadow: 0 16px 30px rgba(72, 43, 22, 0.08);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.coming-soon-tag::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(130, 57, 27, 0.26);
  content: "";
  pointer-events: none;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.project-card {
  min-width: 0;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(69, 42, 21, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card a:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

h3 {
  margin: 22px 0 1px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.project-type {
  margin-bottom: 12px;
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.2;
}

.project-card p:not(.project-type) {
  min-height: 76px;
  margin-bottom: 20px;
  color: #46382d;
  font-size: 14px;
  line-height: 1.7;
}

.project-link {
  position: relative;
  display: inline-flex;
  padding-bottom: 4px;
  color: var(--clay);
}

.project-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.34;
  transform: scaleX(0.42);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-link:hover::after,
.project-link:focus-visible::after {
  opacity: 0.82;
  transform: scaleX(1);
}

.course-section {
  position: relative;
  padding: 64px 5.4vw 74px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.035) 1px, transparent 1px),
    var(--linen);
  background-size: 44px 44px, 56px 56px, auto;
  border-top: 1px solid rgba(92, 63, 37, 0.1);
}

.course-section::before {
  position: absolute;
  right: max(24px, 8vw);
  bottom: -74px;
  width: 260px;
  height: 260px;
  background: url("assets/elodie-flower-logo.png") center / contain no-repeat;
  content: "";
  opacity: 0.07;
  pointer-events: none;
}

.course-botanical {
  position: absolute;
  top: 56px;
  right: 7vw;
  width: 88px;
  opacity: 0.56;
  transform: rotate(-5deg);
}

.course-heading {
  position: relative;
  z-index: 1;
  padding-top: 12px;
}

.course-heading h2 {
  max-width: 620px;
}

.course-heading-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-top: 10px;
}

.coming-soon-tag--course {
  align-self: flex-start;
  min-width: 226px;
  min-height: 62px;
  margin-top: 12px;
  padding: 0 30px;
  font-size: 12px;
  letter-spacing: 0.14em;
  transform: rotate(-1.5deg);
}

.course-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: start;
  gap: 38px;
  max-width: 1140px;
  margin: 0 auto;
}

.course-feature {
  position: relative;
  min-width: 0;
  padding: 36px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.92), rgba(246, 239, 226, 0.78)),
    var(--paper);
  border: 1px solid rgba(92, 63, 37, 0.16);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(72, 43, 22, 0.1);
}

.course-feature::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(89, 97, 74, 0.16);
  content: "";
  pointer-events: none;
}

.course-feature > * {
  position: relative;
  z-index: 1;
}

.course-stamp {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 11px;
  border: 3px double rgba(130, 57, 27, 0.42);
  color: var(--clay-dark);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.course-feature h3 {
  margin: 0 0 12px;
  font-size: 36px;
}

.course-subtitle {
  margin-bottom: 22px;
  color: #443529;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.35;
}

.course-feature p:not(.course-stamp):not(.course-subtitle) {
  margin-bottom: 0;
  color: #46382d;
  font-size: 15px;
}

.course-rule {
  margin-bottom: 24px;
}

.course-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 30px;
  border-top: 1px solid rgba(89, 97, 74, 0.28);
  border-bottom: 1px solid rgba(89, 97, 74, 0.22);
}

.course-details div {
  min-width: 0;
  padding: 16px 15px 16px 0;
}

.course-details div + div {
  padding-left: 15px;
  border-left: 1px solid rgba(89, 97, 74, 0.22);
}

.course-details dt {
  margin-bottom: 4px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.course-details dd {
  margin: 0;
  color: #46382d;
  font-family: var(--serif);
  font-size: 19px;
  font-style: normal;
  line-height: 1.24;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.course-modules {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-module {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  padding: 20px 22px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(89, 97, 74, 0.045) 0,
      rgba(89, 97, 74, 0.045) 1px,
      transparent 1px,
      transparent 31px
    ),
    rgba(255, 248, 236, 0.76);
  border: 1px solid rgba(92, 63, 37, 0.13);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(72, 43, 22, 0.07);
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-top: 1px solid rgba(89, 97, 74, 0.42);
  border-bottom: 1px solid rgba(130, 57, 27, 0.34);
  color: var(--olive);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1;
}

.course-module h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.course-module p {
  margin: 0;
  color: #46382d;
  font-size: 14px;
  line-height: 1.65;
}

.resources-page .site-header,
.work-page .site-header,
.contact-page .site-header {
  position: relative;
  inset: auto;
  min-height: 206px;
  padding: 40px 6.6vw 30px;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.04) 1px, transparent 1px),
    rgba(246, 239, 226, 0.98);
  background-size: 46px 46px, auto;
  border-bottom: 1px solid rgba(92, 63, 37, 0.1);
}

.resources-hero {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(300px, 21vw, 340px);
  min-height: 0;
  padding: 42px 6.6vw 46px;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid rgba(92, 63, 37, 0.1);
}

.resources-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(255, 248, 236, 0.84) 0%, rgba(255, 248, 236, 0.58) 34%, rgba(255, 248, 236, 0.18) 58%, rgba(53, 40, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(246, 239, 226, 0.3), rgba(130, 57, 27, 0.1));
  content: "";
  pointer-events: none;
}

.resources-hero::after {
  position: absolute;
  right: clamp(26px, 7vw, 92px);
  bottom: clamp(28px, 5vw, 64px);
  z-index: 2;
  width: 118px;
  height: 92px;
  border-top: 1px solid rgba(255, 248, 236, 0.6);
  border-bottom: 1px solid rgba(255, 248, 236, 0.42);
  content: "";
  opacity: 0.68;
  pointer-events: none;
  transform: rotate(-6deg);
}

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

.resources-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: sepia(0.04) saturate(0.94) contrast(1.04) brightness(1.02);
}

.resources-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  max-width: 560px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(255, 248, 236, 0.56);
  transform: translateY(-3px);
}

.resources-hero-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--clay-dark);
}

.resources-hero-title {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 106px);
  font-weight: 500;
  line-height: 0.88;
  text-align: center;
}

.resources-hero-copy p:not(.eyebrow) {
  max-width: 420px;
  margin: 18px 0 0;
  color: #3f3026;
  font-size: 15px;
  line-height: 1.65;
}

.resource-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 34px 24px 0;
  background: var(--paper);
}

.resource-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid rgba(130, 57, 27, 0.28);
  border-radius: 999px;
  color: var(--clay-dark);
  background: rgba(255, 248, 236, 0.76);
  box-shadow: 0 12px 28px rgba(72, 43, 22, 0.08);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resource-tab:hover,
.resource-tab:focus-visible,
.resource-tab.is-active {
  border-color: rgba(130, 57, 27, 0.44);
  background: var(--clay);
  color: #fff8eb;
  box-shadow: 0 16px 34px rgba(130, 57, 27, 0.18);
}

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

.resource-tab:focus-visible,
.resource-cover:focus-visible {
  outline: 2px solid rgba(130, 57, 27, 0.55);
  outline-offset: 4px;
}

.resource-library {
  position: relative;
  padding: 28px 5.4vw 92px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px, 58px 58px, auto;
}

.resource-library::before {
  position: absolute;
  left: max(24px, 8vw);
  bottom: -96px;
  width: 300px;
  height: 300px;
  background: url("assets/elodie-flower-logo.png") center / contain no-repeat;
  content: "";
  opacity: 0.055;
  pointer-events: none;
}

.resource-grid {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.resource-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1fr);
  gap: 0;
  width: min(100%, 850px);
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.94), rgba(246, 239, 226, 0.82)),
    var(--linen);
  border: 1px solid rgba(92, 63, 37, 0.16);
  border-radius: 4px;
  box-shadow: 0 22px 52px rgba(72, 43, 22, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.resource-card:hover,
.resource-card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.resource-cover {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  color: #fff8eb;
  isolation: isolate;
}

.resource-cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.92);
  transition: transform 260ms ease, filter 260ms ease;
}

.resource-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(35, 28, 22, 0.18), rgba(35, 28, 22, 0.42)),
    rgba(35, 28, 22, 0.22);
  transition: background 220ms ease;
}

.coming-soon-tag--resource {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  min-height: 42px;
  padding: 0 18px;
  border-color: rgba(255, 248, 236, 0.24);
  color: #5a3a2a;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.98), rgba(244, 233, 216, 0.9)),
    var(--paper);
  box-shadow: 0 14px 26px rgba(30, 22, 16, 0.18);
  transform: rotate(-2.4deg);
}

.coming-soon-tag--resource::before {
  border-color: rgba(130, 57, 27, 0.16);
}

.resource-cover-copy {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-self: stretch;
  justify-self: stretch;
  gap: 12px;
  padding: 34px;
  text-align: center;
  text-shadow: 0 2px 16px rgba(30, 22, 16, 0.42);
}

.resource-cover-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.resource-cover-title {
  max-width: 260px;
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 500;
  line-height: 0.96;
}

.resource-cover:hover,
.resource-cover:focus-visible {
  box-shadow: var(--shadow);
}

.resource-cover:hover img,
.resource-cover:focus-visible img {
  filter: sepia(0.1) saturate(0.86);
  transform: scale(1.045);
}

.resource-cover:hover .resource-cover-overlay,
.resource-cover:focus-visible .resource-cover-overlay {
  background:
    linear-gradient(180deg, rgba(35, 28, 22, 0.3), rgba(35, 28, 22, 0.62)),
    rgba(35, 28, 22, 0.34);
}

.resource-card-copy {
  min-width: 0;
  padding: 36px;
}

.resource-note {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 11px;
  border: 3px double rgba(130, 57, 27, 0.42);
  color: var(--clay-dark);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.resource-card-copy h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.resource-card-copy > p:not(.resource-note) {
  margin-bottom: 24px;
  color: #46382d;
  font-size: 15px;
}

.resource-meta {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  border-top: 1px solid rgba(89, 97, 74, 0.24);
  border-bottom: 1px solid rgba(89, 97, 74, 0.2);
}

.resource-meta div {
  padding: 13px 0;
}

.resource-meta div + div {
  border-top: 1px solid rgba(89, 97, 74, 0.18);
}

.resource-meta dt {
  margin-bottom: 4px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.resource-meta dd {
  margin: 0;
  color: #46382d;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.24;
}

.work-hero {
  position: relative;
  padding: clamp(72px, 7.5vw, 116px) 5.4vw clamp(58px, 6vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 248, 236, 0.92), rgba(246, 239, 226, 0.78)),
    var(--paper);
  background-size: 46px 46px, 58px 58px, auto, auto;
}

.work-page .site-header {
  min-height: 150px;
}

.contact-page .site-header {
  min-height: 176px;
}

.work-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
}

.work-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(76px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.88;
}

.work-hero p {
  max-width: 800px;
  margin: 34px auto 0;
  color: #443529;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.62;
}

.work-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1060px;
  margin: 58px auto 0;
}

.work-filter-input,
.reel-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  white-space: nowrap;
}

.work-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 160px;
  padding: 0 30px;
  border: 1px solid rgba(92, 63, 37, 0.18);
  border-radius: 6px;
  color: #4a3024;
  background: rgba(255, 248, 236, 0.68);
  box-shadow: 0 12px 28px rgba(72, 43, 22, 0.055);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.work-filter:hover {
  border-color: rgba(130, 57, 27, 0.36);
  transform: translateY(-2px);
}

.work-filter-input:checked + .work-filter {
  border-color: rgba(130, 57, 27, 0.5);
  color: #fff8ec;
  background: var(--clay);
  box-shadow: 0 16px 34px rgba(130, 57, 27, 0.16);
  transform: translateY(-2px);
}

.work-filter-input:focus-visible + .work-filter {
  outline: 2px solid rgba(130, 57, 27, 0.38);
  outline-offset: 4px;
}

.work-archive-section {
  position: relative;
  padding: 8px 4.6vw 110px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.035) 1px, transparent 1px),
    rgba(255, 250, 241, 0.78);
  background-size: 46px 46px, 58px 58px, auto;
}

.work-archive-section::after {
  position: absolute;
  left: max(22px, 5vw);
  bottom: 40px;
  width: 178px;
  height: 178px;
  border: 1px solid rgba(89, 97, 74, 0.26);
  border-radius: 999px;
  background: url("assets/elodie-flower-logo.png") center / 64px 64px no-repeat;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.work-archive {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  max-width: 1420px;
  margin: 0 auto;
}

.work-category-intros {
  position: sticky;
  top: 28px;
  align-self: start;
  min-width: 0;
  padding-top: 46px;
}

.work-category-copy {
  display: none;
  max-width: 300px;
}

.work-copy-rule {
  width: 60px;
  height: 2px;
  margin: 0 0 22px;
  background: var(--clay);
}

.work-category-copy h2 {
  margin: 0;
  color: var(--clay);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.98;
}

.work-category-copy p {
  margin: 30px 0 0;
  color: #46382d;
  font-size: 17px;
  line-height: 1.78;
}

.work-page:has(#work-filter-all:checked) [data-work-copy="all"],
.work-page:has(#work-filter-web:checked) [data-work-copy="web"] {
  display: block;
}

.work-page:has(#work-filter-web:checked) [data-work-category]:not([data-work-category="web"]) {
  display: none;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.work-showcase-card {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid rgba(92, 63, 37, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.94), rgba(246, 239, 226, 0.84)),
    var(--linen);
  box-shadow: 0 20px 44px rgba(72, 43, 22, 0.1);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.work-showcase-card:not(.is-reel-card)::before {
  position: absolute;
  top: -24px;
  left: 50%;
  z-index: 2;
  width: 150px;
  height: 44px;
  background:
    linear-gradient(90deg, rgba(198, 173, 134, 0.25), rgba(225, 205, 165, 0.5), rgba(198, 173, 134, 0.25)),
    rgba(212, 190, 151, 0.52);
  box-shadow: 0 4px 10px rgba(68, 53, 41, 0.05);
  content: "";
  opacity: 0.78;
  transform: translateX(-50%) rotate(-1.5deg);
}

.work-showcase-card:hover,
.work-showcase-card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.work-card-media,
.work-reel {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(92, 63, 37, 0.12);
  background: var(--paper-deep);
}

.is-reel-card .work-reel {
  aspect-ratio: 4 / 5;
}

.work-card-media img,
.work-reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) saturate(0.88) contrast(1.02);
  transition: filter 220ms ease, transform 240ms ease, opacity 220ms ease;
}

.work-card-media:hover img,
.work-card-media:focus-visible img,
.work-showcase-card:hover .work-reel img {
  filter: sepia(0.05) saturate(0.96) contrast(1.03);
  transform: scale(1.028);
}

.work-reel-slides {
  position: absolute;
  inset: 0;
}

.work-reel-slides img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

#slow-launch-1:checked ~ .work-reel-slides [data-reel-index="1"],
#slow-launch-2:checked ~ .work-reel-slides [data-reel-index="2"],
#slow-launch-3:checked ~ .work-reel-slides [data-reel-index="3"],
#studio-story-1:checked ~ .work-reel-slides [data-reel-index="1"],
#studio-story-2:checked ~ .work-reel-slides [data-reel-index="2"],
#studio-story-3:checked ~ .work-reel-slides [data-reel-index="3"] {
  opacity: 1;
}

.reel-arrow {
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 2;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(92, 63, 37, 0.16);
  border-radius: 999px;
  color: var(--clay-dark);
  background: rgba(255, 248, 236, 0.86);
  box-shadow: 0 12px 28px rgba(53, 40, 31, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

#slow-launch-1:checked ~ .reel-arrow-1,
#slow-launch-2:checked ~ .reel-arrow-2,
#slow-launch-3:checked ~ .reel-arrow-3,
#studio-story-1:checked ~ .reel-arrow-1,
#studio-story-2:checked ~ .reel-arrow-2,
#studio-story-3:checked ~ .reel-arrow-3 {
  display: inline-grid;
}

.reel-arrow:hover,
.reel-arrow:focus-visible {
  background: #fff8ec;
  box-shadow: 0 16px 34px rgba(53, 40, 31, 0.2);
  transform: translate(3px, -50%);
}

.reel-arrow span {
  position: relative;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.reel-arrow span::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.reel-indicator {
  position: absolute;
  bottom: 13px;
  left: 14px;
  z-index: 2;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(255, 248, 236, 0.46);
  border-radius: 999px;
  color: #fff8ec;
  background: rgba(53, 40, 31, 0.38);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.reel-current {
  display: none;
}

#slow-launch-1:checked ~ .reel-indicator .reel-current-1,
#slow-launch-2:checked ~ .reel-indicator .reel-current-2,
#slow-launch-3:checked ~ .reel-indicator .reel-current-3,
#studio-story-1:checked ~ .reel-indicator .reel-current-1,
#studio-story-2:checked ~ .reel-indicator .reel-current-2,
#studio-story-3:checked ~ .reel-indicator .reel-current-3 {
  display: inline;
}

.work-card-copy {
  padding: 24px 4px 2px;
}

.work-card-copy h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.98;
}

.work-card-copy p {
  max-width: 520px;
  margin: 0;
  color: #514033;
  font-size: 14px;
  line-height: 1.68;
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: 30px;
  justify-content: center;
  min-height: 0;
  padding: clamp(54px, 6.5vw, 94px) 6.6vw clamp(62px, 6.5vw, 98px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 248, 236, 0.94), rgba(246, 239, 226, 0.78)),
    var(--paper);
  background-size: 46px 46px, 58px 58px, auto, auto;
  border-bottom: 1px solid rgba(92, 63, 37, 0.1);
}

.contact-hero::before {
  position: absolute;
  right: max(26px, 8vw);
  bottom: -94px;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  background: url("assets/elodie-flower-logo.png") center / contain no-repeat;
  content: "";
  opacity: 0.07;
  pointer-events: none;
}

.contact-botanical {
  position: absolute;
  top: clamp(34px, 5vw, 70px);
  left: clamp(22px, 5vw, 76px);
  width: clamp(78px, 9vw, 132px);
  opacity: 0.86;
  transform: rotate(-9deg);
}

.contact-hero-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-hero .eyebrow {
  margin: 0 0 22px;
  color: var(--clay-dark);
}

.contact-hero h1 {
  max-width: none;
  font-size: clamp(68px, 8vw, 116px);
  font-weight: 500;
  line-height: 0.88;
  text-align: center;
}

.contact-hero-copy > p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #443529;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.68;
}

.contact-form {
  display: grid;
  align-self: center;
  gap: 14px;
  width: 100%;
  justify-self: stretch;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.92), rgba(246, 239, 226, 0.74)),
    var(--linen);
  border: 1px solid rgba(92, 63, 37, 0.16);
  border-radius: 4px;
  box-shadow: 0 22px 52px rgba(72, 43, 22, 0.12);
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field label {
  color: var(--clay);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(92, 63, 37, 0.2);
  border-radius: 3px;
  color: #3f3026;
  background: rgba(255, 252, 246, 0.84);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

.contact-field input,
.contact-field select {
  min-height: 46px;
  padding: 0 15px;
}

.contact-field textarea {
  min-height: 112px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(130, 57, 27, 0.5);
  outline: 2px solid rgba(130, 57, 27, 0.16);
  outline-offset: 2px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 3px;
  color: #fff8eb;
  background: var(--clay);
  box-shadow: 0 14px 30px rgba(130, 57, 27, 0.18);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-submit:focus-visible {
  outline: 2px solid rgba(130, 57, 27, 0.38);
  outline-offset: 4px;
}

.contact-form-status {
  margin: 0;
  color: var(--olive);
  font-size: 14px;
  line-height: 1.5;
}

.footer-links a:focus-visible {
  outline: 2px solid rgba(130, 57, 27, 0.38);
  outline-offset: 4px;
}

.ai-note-section {
  position: relative;
  padding: clamp(64px, 7.4vw, 108px) 5.4vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(109, 44, 22, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 248, 236, 0.86), rgba(235, 221, 200, 0.58)),
    var(--paper);
  background-size: 34px 34px, 46px 46px, auto, auto;
  border-top: 1px solid rgba(92, 63, 37, 0.12);
}

.ai-note-section::before {
  position: absolute;
  right: max(24px, 8vw);
  bottom: -78px;
  width: 230px;
  height: 230px;
  background: url("assets/elodie-flower-logo.png") center / contain no-repeat;
  content: "";
  opacity: 0.055;
  pointer-events: none;
  transform: rotate(-12deg);
}

.ai-note-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ai-note-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.ai-note-heading h2 span {
  display: inline;
}

.ai-note-heading h2 span + span::before {
  content: " ";
}

.ai-note-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 820px;
  padding-top: 30px;
}

.ai-note-copy p {
  margin: 0;
  color: #443529;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.72;
}

.ai-note-copy a {
  color: var(--clay-dark);
  text-decoration: underline;
  text-decoration-color: rgba(130, 57, 27, 0.35);
  text-underline-offset: 0.18em;
}

.ai-logo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 820px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}

.ai-logo-list li {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid rgba(92, 63, 37, 0.14);
  border-radius: 6px;
  color: #35281f;
  background: rgba(255, 248, 236, 0.64);
  box-shadow: 0 10px 24px rgba(72, 43, 22, 0.055);
}

.ai-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.ai-logo-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(0.96);
}

.ai-logo-word {
  color: #2f261f;
  font-family: var(--sans);
  font-size: clamp(14px, 1.18vw, 17px);
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.closing-banner {
  position: relative;
  display: grid;
  grid-template-columns: 0.68fr 1.2fr 1fr;
  align-items: center;
  gap: 42px;
  padding: 42px 6.6vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(89, 97, 74, 0.05) 1px, transparent 1px),
    var(--paper-deep);
  background-size: 40px 40px, auto;
  border-top: 1px solid rgba(92, 63, 37, 0.13);
}

.closing-banner::after {
  position: absolute;
  right: 7vw;
  top: 44px;
  width: 86px;
  height: 74px;
  border-top: 1px solid rgba(130, 57, 27, 0.42);
  border-bottom: 1px solid rgba(89, 97, 74, 0.32);
  content: "";
  opacity: 0.54;
  transform: rotate(-7deg);
}

.botanical {
  width: 100px;
  opacity: 0.86;
}

.closing-banner h2 {
  max-width: 410px;
  font-size: 38px;
}

.closing-banner em {
  display: block;
  color: var(--clay);
  font-style: italic;
  font-weight: 400;
}

.contact-note {
  max-width: 380px;
  justify-self: start;
}

.contact-note p {
  margin-bottom: 0;
  color: #443529;
  font-size: 14px;
  line-height: 1.55;
}

.contact-note .button {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 5.4vw;
  background: var(--linen);
  color: #4a382c;
  border-top: 1px solid rgba(92, 63, 37, 0.1);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--clay-dark);
}

.music-widget {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.music-label {
  padding: 9px 13px;
  border: 1px solid rgba(92, 63, 37, 0.13);
  border-radius: 999px;
  color: var(--clay-dark);
  background: rgba(255, 248, 236, 0.9);
  box-shadow: 0 14px 34px rgba(69, 42, 21, 0.12);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.music-widget.is-tucked .music-label {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.music-widget:hover .music-label,
.music-widget.is-hovering .music-label,
.music-widget:focus-within .music-label {
  opacity: 1;
  transform: translateY(0);
}

.music-control-row {
  position: relative;
  width: 54px;
  height: 54px;
}

.music-toggle,
.music-volume {
  position: relative;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(92, 63, 37, 0.18);
  border-radius: 999px;
  color: var(--clay-dark);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.76), transparent 45%),
    #fff6e7;
  box-shadow: 0 18px 38px rgba(69, 42, 21, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.music-toggle {
  z-index: 2;
  width: 54px;
  height: 54px;
}

.music-toggle::before {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(130, 57, 27, 0.18);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transform: scale(0.92);
}

.music-toggle:hover,
.music-toggle:focus-visible,
.music-volume:hover,
.music-volume:focus-visible {
  border-color: rgba(130, 57, 27, 0.3);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.82), transparent 45%),
    #fff1db;
  box-shadow: 0 20px 44px rgba(69, 42, 21, 0.2);
  transform: translateY(-2px);
}

.music-toggle:focus-visible {
  outline: 2px solid rgba(130, 57, 27, 0.38);
  outline-offset: 4px;
}

.music-volume {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 37px;
  height: 37px;
  box-shadow: 0 12px 28px rgba(69, 42, 21, 0.12);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity 180ms ease, transform 200ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.music-volume span {
  display: block;
  transform: translateY(-1px);
}

.music-widget:hover .music-volume,
.music-widget.is-hovering .music-volume,
.music-widget:focus-within .music-volume {
  opacity: 1;
  pointer-events: auto;
}

.music-widget:hover .music-volume-down,
.music-widget.is-hovering .music-volume-down,
.music-widget:focus-within .music-volume-down {
  transform: translate(calc(-50% - 40px), -50%) scale(1);
}

.music-widget:hover .music-volume-up,
.music-widget.is-hovering .music-volume-up,
.music-widget:focus-within .music-volume-up {
  transform: translate(calc(-50% + 33px), -50%) scale(1);
}

.music-volume:focus-visible {
  outline: 2px solid rgba(130, 57, 27, 0.32);
  outline-offset: 3px;
}

.music-widget.is-playing .music-toggle::before {
  animation: listening-ring 2.2s ease-out infinite;
}

.music-note {
  display: block;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  transform: translate(1px, -1px);
}

@keyframes listening-ring {
  0% {
    opacity: 0.5;
    transform: scale(0.92);
  }

  70% {
    opacity: 0;
    transform: scale(1.22);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes script-typewriter {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding-top: 28px;
  }

  .brand {
    align-items: center;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(246, 239, 226, 0.98) 0%, rgba(246, 239, 226, 0.94) 52%, rgba(246, 239, 226, 0.2) 100%);
  }

  .hero-copy {
    padding: 178px 7vw 44px;
    max-width: 720px;
  }

  h1 {
    max-width: 560px;
    font-size: 76px;
    line-height: 0.94;
  }

  .hero-script {
    margin: 8px 0 22px;
    font-size: 46px;
  }

  .hero-text {
    max-width: 500px;
    margin-bottom: 34px;
    font-size: 17px;
  }

  .hero-actions .button-primary {
    min-height: 56px;
    padding: 0 30px;
  }

  .hero-media {
    min-height: 440px;
    margin-top: -130px;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .experience-heading {
    padding-top: 0;
  }

  .experience-copy {
    max-width: 760px;
    padding-top: 0;
  }

  .galaxy-work-link {
    font-size: 64px;
  }

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

  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-module {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ai-note-inner {
    max-width: 840px;
  }

  .ai-note-heading h2 {
    max-width: 760px;
  }

  .ai-note-copy {
    max-width: 700px;
    padding-top: 24px;
  }

  .resource-card {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
  }

  .resource-cover {
    min-height: 430px;
  }

  .course-heading-aside {
    gap: 12px;
    padding-top: 0;
  }

  .resources-page .site-header,
  .work-page .site-header,
  .contact-page .site-header {
    min-height: 172px;
    padding: 28px 6vw 24px;
  }

  .resources-hero {
    height: clamp(280px, 34vw, 330px);
    padding: 38px 7vw 42px;
  }

  .resources-hero-media img {
    object-position: 52% 55%;
  }

  .coming-soon-tag--resource {
    top: 18px;
    right: 18px;
  }

  .work-filters {
    gap: 12px;
  }

  .work-filter {
    min-width: 148px;
    min-height: 54px;
    padding: 0 22px;
  }

  .work-archive {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .work-category-intros {
    position: static;
    padding-top: 0;
  }

  .work-category-copy {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .work-copy-rule {
    margin-right: auto;
    margin-left: auto;
  }

  .closing-banner {
    grid-template-columns: 120px 1fr;
  }

  .contact-note {
    grid-column: 2;
  }

  .contact-hero {
    grid-template-columns: minmax(0, 620px);
  }

  .contact-form {
    max-width: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: relative;
    padding: 24px 22px 18px;
    background: rgba(246, 239, 226, 0.96);
    border-bottom: 1px solid rgba(92, 63, 37, 0.1);
  }

  .brand-name {
    font-size: 28px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    transform: translateY(-2px);
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 3px;
    font-size: 11px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .hero-copy {
    padding: 44px 24px 32px;
  }

  .hero .eyebrow {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 11px;
  }

  h1 {
    font-size: 54px;
  }

  .experience-heading h2 {
    font-size: 54px;
  }

  .hero-script {
    margin: 8px 0 22px;
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .button-text {
    width: auto;
    min-height: 36px;
  }

  .hero-media {
    min-height: 360px;
    margin-top: -34px;
  }

  .resources-page .site-header,
  .work-page .site-header,
  .contact-page .site-header {
    position: relative;
    min-height: 0;
  }

  .resources-hero {
    height: clamp(270px, 42svh, 310px);
    min-height: 0;
    padding: 46px 24px 44px;
  }

  .resources-hero::before {
    background:
      radial-gradient(ellipse at 50% 46%, rgba(255, 248, 236, 0.88) 0%, rgba(255, 248, 236, 0.62) 34%, rgba(255, 248, 236, 0.2) 62%, rgba(53, 40, 31, 0.24) 100%),
      linear-gradient(180deg, rgba(246, 239, 226, 0.32), rgba(130, 57, 27, 0.12));
  }

  .resources-hero::after {
    right: 18px;
    bottom: 22px;
    width: 72px;
    height: 58px;
    opacity: 0.5;
  }

  .resources-hero-media img {
    object-position: 54% 49%;
  }

  .resources-hero-title {
    font-size: clamp(54px, 16vw, 66px);
  }

  .resources-hero-copy p:not(.eyebrow) {
    max-width: 300px;
    margin-top: 18px;
    font-size: 14px;
  }

  .resource-tabs {
    flex-wrap: nowrap;
    justify-content: center;
    padding: 22px 24px 0;
  }

  .resource-tab {
    flex: 0 0 auto;
    min-height: 48px;
  }

  .resource-library {
    padding: 24px 24px 64px;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .resource-cover {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .resource-cover-overlay {
    background:
      linear-gradient(180deg, rgba(35, 28, 22, 0.3), rgba(35, 28, 22, 0.58)),
      rgba(35, 28, 22, 0.28);
  }

  .resource-cover-copy {
    padding: 28px 22px;
  }

  .coming-soon-tag {
    min-height: 48px;
    padding: 0 18px;
    font-size: 10px;
  }

  .course-heading-aside {
    width: 100%;
    align-items: flex-start;
    gap: 14px;
    padding-top: 0;
  }

  .coming-soon-tag--course {
    min-width: 186px;
    min-height: 52px;
    margin-top: 10px;
    padding: 0 24px;
    font-size: 11px;
  }

  .coming-soon-tag--resource {
    top: 16px;
    right: 16px;
    min-height: 38px;
    padding: 0 14px;
  }

  .resource-cover-title {
    max-width: 230px;
    font-size: 35px;
  }

  .resource-card-copy {
    padding: 28px 22px;
  }

  .resource-card-copy h3 {
    font-size: 31px;
  }

  .work-hero {
    padding: 52px 24px 48px;
  }

  .work-hero h1 {
    font-size: clamp(56px, 17vw, 76px);
  }

  .work-hero p {
    max-width: 330px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.66;
  }

  .work-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 34px;
    padding-bottom: 8px;
    overflow-x: auto;
  }

  .work-filter {
    flex: 0 0 auto;
    min-width: auto;
    min-height: 48px;
    padding: 0 18px;
    font-size: 12px;
  }

  .contact-hero {
    padding: 54px 24px 58px;
  }

  .contact-botanical {
    top: 18px;
    left: 18px;
    width: 70px;
  }

  .contact-hero h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  .contact-hero-copy > p {
    max-width: 330px;
    margin-top: 24px;
    font-size: 15px;
  }

  .contact-form {
    gap: 14px;
    padding: 24px 20px;
  }

  .contact-submit {
    width: 100%;
    min-height: 50px;
  }

  .work-archive-section {
    padding: 26px 24px 68px;
  }

  .work-archive-section::after {
    display: none;
  }

  .work-archive {
    gap: 28px;
  }

  .work-category-copy h2 {
    font-size: 38px;
  }

  .work-category-copy p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
  }

  .work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .work-showcase-card {
    padding: 16px;
  }

  .work-showcase-card:not(.is-reel-card)::before {
    top: -16px;
    width: 112px;
    height: 32px;
  }

  .work-card-copy {
    padding: 18px 2px 0;
  }

  .work-card-copy h3 {
    font-size: 31px;
  }

  .reel-arrow {
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .experience-section {
    padding: 48px 24px 34px;
  }

  .experience-layout {
    gap: 24px;
  }

  .experience-copy > p {
    font-size: 17px;
    line-height: 1.75;
  }

  .experience-ledger {
    grid-template-columns: 1fr;
  }

  .experience-ledger div {
    padding: 15px 0;
  }

  .experience-ledger div + div {
    padding-left: 0;
    border-top: 1px solid rgba(89, 97, 74, 0.18);
    border-left: 0;
  }

  .experience-ledger dd {
    font-size: 22px;
  }

  .galaxy-work-link {
    gap: 14px;
    margin: 42px auto 0;
    font-size: 45px;
  }

  .galaxy-arrow {
    width: 48px;
    margin-top: 9px;
  }

  .featured-work {
    padding: 44px 24px 58px;
  }

  .course-section {
    padding: 44px 24px 58px;
  }

  .course-section::before {
    right: -54px;
    bottom: -48px;
    width: 190px;
    height: 190px;
  }

  .course-botanical {
    display: none;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  h2 {
    font-size: 35px;
  }

  .section-link {
    display: inline-flex;
    margin-top: 18px;
  }

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

  .project-card p:not(.project-type) {
    min-height: 0;
  }

  .course-layout {
    gap: 28px;
  }

  .course-feature {
    padding: 28px 22px;
  }

  .course-feature::before {
    inset: 12px;
  }

  .course-feature h3 {
    font-size: 31px;
  }

  .course-subtitle {
    font-size: 19px;
  }

  .course-details {
    grid-template-columns: 1fr;
  }

  .course-details div {
    padding: 14px 0;
  }

  .course-details div + div {
    padding-left: 0;
    border-top: 1px solid rgba(89, 97, 74, 0.22);
    border-left: 0;
  }

  .course-modules {
    grid-template-columns: 1fr;
  }

  .course-module {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 16px;
  }

  .module-number {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .ai-note-section {
    padding: 52px 24px 70px;
  }

  .ai-note-section::before {
    right: -66px;
    bottom: -58px;
    width: 190px;
    height: 190px;
  }

  .ai-note-heading h2 {
    font-size: 35px;
    line-height: 1.05;
  }

  .ai-note-copy p {
    font-size: 15px;
    line-height: 1.68;
  }

  .ai-logo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
  }

  .ai-logo-list li {
    min-height: 58px;
    padding: 10px 11px;
    gap: 9px;
  }

  .ai-logo-mark {
    width: 34px;
    height: 34px;
  }

  .ai-logo-word {
    font-size: 13px;
  }

  .closing-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 24px;
  }

  .closing-banner::after {
    right: 18px;
    top: 24px;
    opacity: 0.35;
  }

  .botanical {
    width: 74px;
  }

  .contact-note {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }

  .music-widget {
    right: 18px;
    bottom: 18px;
  }

  .music-label {
    display: none;
  }

  .music-toggle {
    width: 50px;
    height: 50px;
  }

  .music-control-row {
    width: 50px;
    height: 50px;
  }

  .music-volume {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .music-widget:hover .music-volume-down,
  .music-widget.is-hovering .music-volume-down,
  .music-widget:focus-within .music-volume-down {
    transform: translate(calc(-50% - 36px), -50%) scale(1);
  }

  .music-widget:hover .music-volume-up,
  .music-widget.is-hovering .music-volume-up,
  .music-widget:focus-within .music-volume-up {
    transform: translate(calc(-50% + 30px), -50%) scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .button-typewriter:hover .button-hover-text,
  .button-typewriter:focus-visible .button-hover-text {
    animation: none !important;
    clip-path: inset(0 0 0 0);
  }
}
