@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Rye&display=swap');

:root {
  --ink: #17100b;
  --paper: #f6ead3;
  --cream: #fff4dc;
  --gold: #f4b52b;
  --orange: #e6541a;
  --teal: #0b7d78;
  --teal-dark: #064b49;
  --line: rgba(23, 16, 11, 0.25);
  --display: "Rye", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .1; z-index: 10; background-image: radial-gradient(circle at 20% 30%, var(--gold) 0 1px, transparent 1.5px), radial-gradient(circle at 70% 65%, var(--ink) 0 1px, transparent 1.5px); background-size: 17px 19px, 23px 29px; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--gold); padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 0 clamp(1rem, 5vw, 5rem); position: absolute; z-index: 5; width: 100%; color: var(--cream); border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--display); letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
nav a:hover { color: var(--gold); }
.language-switcher { justify-self: end; display: flex; gap: .35rem; align-items: center; }
.language-switcher button { border: 0; background: transparent; color: inherit; padding: .35rem; cursor: pointer; opacity: .55; font-weight: 700; }
.language-switcher button[aria-pressed="true"] { opacity: 1; color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }

.hero { min-height: 100svh; position: relative; isolation: isolate; display: flex; align-items: center; padding: 9rem clamp(1.3rem, 8vw, 8rem) 5rem; color: var(--cream); background: var(--ink) url('assets/huehue-banner.png') center / cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,8,4,.96) 0%, rgba(14,8,4,.75) 46%, rgba(14,8,4,.2) 76%), linear-gradient(0deg, rgba(14,8,4,.8), transparent 40%); }
.hero-copy { max-width: 760px; }
.eyebrow, .section-label { text-transform: uppercase; font-size: .76rem; letter-spacing: .16em; font-weight: 700; }
.eyebrow { color: var(--gold); margin-bottom: 1.3rem; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; line-height: .98; }
h1 { font-size: clamp(3.8rem, 9vw, 8.8rem); letter-spacing: -.045em; }
h1 span, h1 em { display: block; }
h1 em { color: var(--gold); font-style: normal; font-size: .72em; }
.hero-intro { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.7; max-width: 650px; margin: 2rem 0; color: rgba(255,244,220,.82); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.35rem; border: 2px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--orange); color: white; box-shadow: 5px 5px 0 var(--gold); }
.button-primary:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--gold); }
.button-ghost { border-color: rgba(255,255,255,.5); color: white; }
.button-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-stamp { position: absolute; right: 4vw; bottom: 3rem; transform: rotate(-4deg); border: 2px solid var(--orange); color: var(--orange); padding: .65rem .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.manifesto, .contact-section { padding: clamp(5rem, 10vw, 9rem) clamp(1.3rem, 8vw, 8rem); display: grid; grid-template-columns: .7fr 2fr 1.15fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.section-label { display: flex; align-items: center; gap: .8rem; }
.section-label span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.section-label p { margin: 0; }
.manifesto h2, .contact-section h2 { font-size: clamp(2.7rem, 5vw, 5.8rem); }
.manifesto h2 em { color: var(--orange); font-style: normal; }
.manifesto-copy > p, .contact-copy > p { line-height: 1.8; font-size: 1.08rem; max-width: 670px; }
.lesson-card { position: relative; background: var(--cream); border: 2px solid var(--ink); padding: 2rem; box-shadow: 8px 8px 0 var(--teal); transform: rotate(1deg); }
.lesson-card p { margin: 0 0 .25rem; text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; font-weight: 700; opacity: .65; }
.lesson-card strong { font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
.lesson-divider { margin: 1.2rem 0; border-top: 2px dashed var(--line); text-align: center; height: 0; }
.lesson-divider span { position: relative; top: -.8rem; background: var(--cream); padding: 0 .5rem; color: var(--orange); }
.approved { display: inline-block; margin-top: 1.8rem; color: var(--orange); border: 2px solid var(--orange); padding: .45rem .7rem; text-transform: uppercase; font-weight: 900; font-size: .68rem; transform: rotate(-3deg); }

.social-section { background: var(--teal-dark); color: var(--cream); padding: clamp(5rem, 9vw, 8rem) clamp(1.3rem, 8vw, 8rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 8rem); }
.section-label-light { color: var(--gold); }
.social-heading h2 { margin: 2rem 0; font-size: clamp(3rem, 5vw, 5.8rem); }
.social-heading > p { color: rgba(255,244,220,.74); line-height: 1.7; max-width: 520px; }
.social-grid { border-top: 1px solid rgba(255,255,255,.2); }
.social-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.4rem .6rem; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: background .2s, padding .2s; }
.social-card:hover { background: rgba(255,255,255,.07); padding-left: 1.1rem; }
.social-card[data-placeholder="true"] { cursor: not-allowed; }
.social-mark { width: 54px; height: 54px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border-radius: 50%; font-weight: 900; font-size: .75rem; }
.social-card span:nth-child(2) { display: grid; gap: .25rem; }
.social-card strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.social-card small { opacity: .65; }
.social-card b { font-size: 1.5rem; color: var(--gold); }

.contact-section { grid-template-columns: 1fr 1.1fr; background: var(--gold); }
.contact-copy .section-label { margin-bottom: 2rem; }
.contact-copy blockquote { margin: 2.5rem 0 .3rem; padding-left: 1.2rem; border-left: 4px solid var(--orange); font-family: var(--display); font-size: 1.2rem; line-height: 1.5; }
.contact-copy cite { margin-left: 1.2rem; font-style: normal; font-weight: 800; }
.contact-form { background: var(--cream); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--teal); padding: clamp(1.4rem, 4vw, 2.7rem); display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .5rem; font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: .8rem .1rem; outline: none; text-transform: none; letter-spacing: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form [aria-invalid="true"] { border-color: #b42318; }
.field-error { color: #9f1c13; font-size: .74rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.contact-form .button { justify-self: start; }
.contact-form .button:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: 3px 3px 0 var(--gold); }
.form-status { min-height: 1.2em; margin: 0; font-size: .85rem; font-weight: 700; }

footer { background: var(--ink); color: var(--cream); padding: 2rem clamp(1.3rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-size: .8rem; }
.footer-brand img { width: 34px; height: 34px; }
footer > a:last-child { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .manifesto { grid-template-columns: 1fr; }
  .social-section { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .hero-stamp { display: none; }
}

@media (max-width: 600px) {
  .site-header { height: 68px; padding-inline: 1rem; }
  .brand span { font-size: .9rem; }
  .brand img { width: 36px; height: 36px; }
  .hero { min-height: 820px; padding-inline: 1.25rem; background-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(14,8,4,.95), rgba(14,8,4,.68)), linear-gradient(0deg, rgba(14,8,4,.75), transparent); }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero-actions .button { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .social-card small { font-size: .72rem; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
