:root {
  --sky-deep: #6ea8d6;
  --sky: #8ec4ea;
  --sky-soft: #c5e3f6;
  --cloud: #f4f9fd;
  --paper: rgba(255, 252, 248, 0.72);
  --ink: #1c2a3d;
  --ink-soft: #3d5168;
  --navy: #2c4a6e;
  --gold: #c9a44a;
  --gold-bright: #e8d08a;
  --gold-deep: #9a7b2e;
  --tie: #b4232c;
  --line: rgba(44, 74, 110, 0.16);
  --shadow: 0 24px 60px rgba(28, 42, 61, 0.16);
  --display: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.65;
  background: var(--sky);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 80% 8%, rgba(255, 255, 255, 0.55), transparent 55%),
    radial-gradient(900px 500px at 12% 88%, rgba(201, 164, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #b9dcf4 0%, #8ec4ea 42%, #7eb6e3 100%);
  animation: sky-shift 22s ease-in-out infinite alternate;
}

.sun-haze {
  position: absolute;
  width: 42vw;
  height: 42vw;
  top: -8%;
  right: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 230, 0.7) 0%, rgba(232, 208, 138, 0.18) 38%, transparent 70%);
  animation: haze-pulse 10s ease-in-out infinite;
}

.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.05) 70%);
}

.cloud-a {
  width: 48vw;
  height: 22vw;
  top: 8%;
  left: -8%;
  animation: drift 38s linear infinite;
}

.cloud-b {
  width: 36vw;
  height: 16vw;
  top: 28%;
  right: -10%;
  animation: drift-rev 46s linear infinite;
}

.cloud-c {
  width: 54vw;
  height: 20vw;
  bottom: 12%;
  left: 10%;
  opacity: 0.7;
  animation: drift 52s linear infinite;
}

.cloud-d {
  width: 28vw;
  height: 12vw;
  top: 58%;
  right: 18%;
  opacity: 0.55;
  animation: drift-rev 34s linear infinite;
}

.houndstooth {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath fill='%231c2a3d' d='M0 0h8l6 6-6 6H0V0zm14 14h8l6 6-6 6h-8l6-6-6-6z'/%3E%3C/svg%3E");
  background-size: 28px 28px;
  animation: tooth-shift 40s linear infinite;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(44, 74, 110, 0.16) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

#atelier-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cursor-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 208, 138, 0.22), transparent 68%);
  transform: translate(-200px, -200px);
  transition: transform 0.12s linear;
}

.side-rail {
  position: fixed;
  top: 50%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--navy);
  opacity: 0.55;
}

.side-rail.left { left: 18px; }
.side-rail.right { right: 18px; }

.side-rail i {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 7vw 0;
  transition: padding 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(44, 74, 110, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-frame {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 74, 0.14);
}

.brand-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-copy small {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-social,
.footer-social {
  display: flex;
  gap: 8px;
}

.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.icon-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(25%) sepia(18%) saturate(1200%) hue-rotate(178deg);
}

.icon-link:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 8px 18px rgba(44, 74, 110, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(40deg);
}

.nav-toggle.is-open span:nth-child(2) { opacity: 0; }

.nav-toggle.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-40deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  padding: 40px 7vw 0;
  display: flex;
  flex-direction: column;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 18px;
  fill: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  animation: twinkle 3.4s ease-in-out infinite;
}

.spark-1 { top: 12%; left: 18%; width: 14px; }
.spark-2 { top: 22%; right: 16%; animation-delay: 0.8s; }
.spark-3 { bottom: 28%; left: 10%; width: 10px; animation-delay: 1.4s; }
.spark-4 { top: 38%; left: 46%; width: 12px; animation-delay: 2s; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  flex: 1;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--navy);
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 74, 0.18);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.kicker-line {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.wordmark {
  margin: 22px 0 8px;
}

.wordmark-rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.star-rule {
  position: relative;
  margin-top: 8px;
}

.star-rule svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  fill: #fff;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 8px white);
  animation: twinkle 2.8s ease-in-out infinite;
}

.wordmark h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(4.4rem, 9vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #f7fbff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(44, 74, 110, 0.16);
  background: linear-gradient(180deg, #ffffff 10%, #e8eef6 48%, #c9d6e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.wordmark h1 .line {
  display: block;
  animation: title-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wordmark h1 .line:nth-child(2) {
  animation-delay: 0.12s;
}

.wordmark h1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 64%);
  mix-blend-mode: screen;
  animation: foil 5.5s ease-in-out infinite;
  pointer-events: none;
}

.ticker {
  margin: 16px 0 10px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
}

.lede {
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 1.28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a220f;
  box-shadow: 0 10px 24px rgba(201, 164, 74, 0.28);
}

.btn-gold img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(18%) saturate(800%) hue-rotate(10deg);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--navy);
}

.btn-ghost img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(18%) saturate(1200%) hue-rotate(178deg);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(44, 74, 110, 0.16);
}

.ca-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding: 12px 12px 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.ca-meta {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

#contract-address {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  min-width: 72px;
  height: 38px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy-btn.copied {
  background: var(--gold-deep);
}

.hero-portrait {
  display: grid;
  place-items: center;
  perspective: 980px;
}

.portrait-stage {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: float-portrait 6.5s ease-in-out infinite;
}

.orbit-ring,
.orbit-ring.delay {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(201, 164, 74, 0.45);
  animation: spin 28s linear infinite;
}

.orbit-ring.delay {
  inset: -16%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.28);
  animation-duration: 40s;
  animation-direction: reverse;
}

.orbit-spark {
  position: absolute;
  inset: -8%;
  animation: spin 18s linear infinite;
}

.orbit-spark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: translateX(-50%);
  filter: drop-shadow(0 0 8px white);
}

.portrait-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 68%);
  animation: glow-breathe 4.8s ease-in-out infinite;
}

.portrait-frame {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 8px rgba(201, 164, 74, 0.18),
    0 20px 50px rgba(28, 42, 61, 0.2);
  background: #8ec4ea;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: portrait-zoom 16s ease-in-out infinite alternate;
}

.portrait-shine {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  animation: shine-sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  right: -8%;
  bottom: 8%;
  padding: 10px 14px;
  background: rgba(255, 252, 248, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  animation: caption-in 1.2s 0.4s both;
}

.portrait-caption span {
  font-family: var(--display);
  font-size: 1rem;
}

.portrait-caption em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.marquee {
  margin: 40px -7vw 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.22);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
}

.marquee-track i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.section-shell {
  width: min(1180px, calc(100% - 14vw));
  margin: 0 auto;
  padding: 110px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 48px;
}

.section-index {
  font-family: var(--display);
  font-size: 4.2rem;
  line-height: 0.8;
  color: rgba(44, 74, 110, 0.14);
  font-style: italic;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.about-frame {
  position: relative;
}

.polaroid {
  padding: 16px 16px 48px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  transition: transform 0.5s ease;
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-6px);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #8ec4ea;
}

.polaroid figcaption {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--navy);
}

.about-stamp {
  position: absolute;
  right: -12px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1.5px dashed var(--gold);
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(8deg);
  animation: stamp-bob 4s ease-in-out infinite;
}

.about-copy .drop {
  font-size: 1.42rem;
  color: var(--ink);
}

.about-copy p + p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.atelier-facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.atelier-facts li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 2px solid var(--gold);
}

.atelier-facts span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.atelier-facts strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.runway {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.runway::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: runway-draw 2.8s ease both;
}

.runway-step {
  position: relative;
  padding: 28px 20px 26px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.runway-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-deep);
}

.step-icon {
  width: 58px;
  height: 58px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.step-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(25%) sepia(18%) saturate(1200%) hue-rotate(178deg);
}

.runway-step:nth-child(1) .step-icon img,
.runway-step:nth-child(3) .step-icon img {
  filter: none;
}

.runway-step h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.runway-step p {
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.chart-frame {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  min-height: 640px;
}

.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
  background: #fff;
}

.campaign {
  margin: 0;
}

.campaign-frame {
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 0 10px rgba(255, 252, 248, 0.35),
    var(--shadow);
  background: #8ec4ea;
}

.campaign-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 22s ease-in-out infinite alternate;
}

.join-lede {
  max-width: 38ch;
  margin: 36px auto 28px;
  text-align: center;
  font-size: 1.35rem;
}

.join-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.join-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.join-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.join-card img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(25%) sepia(18%) saturate(1200%) hue-rotate(178deg);
}

.join-card:nth-child(2) img,
.join-card:nth-child(4) img {
  filter: none;
}

.join-card span {
  font-family: var(--display);
  font-size: 1.4rem;
}

.join-card small {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.site-footer {
  padding: 28px 7vw 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.footer-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-in,
.hero-copy.reveal,
.hero-portrait.reveal {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy.reveal { animation-delay: 0.1s; }
.hero-portrait.reveal { animation-delay: 0.22s; }

@keyframes sky-shift {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.04); }
}

@keyframes haze-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes drift {
  from { transform: translateX(-8%); }
  to { transform: translateX(14%); }
}

@keyframes drift-rev {
  from { transform: translateX(10%); }
  to { transform: translateX(-12%); }
}

@keyframes tooth-shift {
  from { background-position: 0 0; }
  to { background-position: 280px 140px; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(18deg); }
}

@keyframes title-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes foil {
  0%, 100% { transform: translateX(-40%); opacity: 0; }
  35% { opacity: 0.8; }
  70% { transform: translateX(40%); opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 164, 74, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(201, 164, 74, 0.08); }
}

@keyframes float-portrait {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes portrait-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes shine-sweep {
  0%, 30% { opacity: 0; transform: translateX(-20%); }
  50% { opacity: 1; }
  70%, 100% { opacity: 0; transform: translateX(20%); }
}

@keyframes caption-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes stamp-bob {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-6px); }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes runway-draw {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-layout,
  .runway,
  .join-links,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .runway,
  .join-links {
    grid-template-columns: 1fr 1fr;
  }

  .runway::before {
    display: none;
  }

  .side-rail {
    display: none;
  }
}

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

  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 7vw;
    right: 7vw;
    padding: 22px;
    border-radius: 22px;
    background: rgba(247, 251, 255, 0.96);
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .hero-grid,
  .about-layout,
  .runway,
  .join-links,
  .footer-inner,
  .atelier-facts,
  .ca-card {
    grid-template-columns: 1fr;
  }

  .wordmark h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero {
    padding-top: 20px;
  }

  .portrait-caption {
    right: 0;
  }

  .section-shell {
    width: min(1180px, calc(100% - 8vw));
    padding: 80px 0;
  }

  .chart-frame,
  .chart-frame iframe {
    min-height: 480px;
    height: 480px;
  }

  .campaign-frame {
    aspect-ratio: 3 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
