:root {
  --ink: #111b1c;
  --ink-2: #182627;
  --paper: #f4efe5;
  --paper-2: #fffdf7;
  --sage: #d5e4d2;
  --mint: #b8d8bd;
  --coral: #b45534;
  --coral-text: #a64126;
  --coral-bright: #f09370;
  --coral-dark: #94422a;
  --sage-deep: #2e6a53;
  --muted: #5a6a67;
  --line: rgba(17, 27, 28, 0.17);
  --line-light: rgba(255, 253, 247, 0.2);
  --focus: #2e6a53;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --shadow-card: 0 28px 60px -34px rgba(0, 0, 0, 0.48);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: var(--coral);
  color: var(--ink);
}

html {
  scrollbar-color: #9caf9b var(--paper);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: #9caf9b;
}

input,
select,
textarea {
  caret-color: var(--sage-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.reading-room :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--mint);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-180%);
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
.brand {
  font-family: var(--serif);
}

h1 {
  max-width: 15ch;
  font-size: clamp(3.05rem, 12.3vw, 4.7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 8.2vw, 3.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

em {
  font-style: italic;
  color: var(--sage-deep);
}

h2 em {
  font-style: normal;
}

.section-intro {
  max-width: 34rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 229, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-logo {
  width: auto;
  height: 2rem;
  flex: 0 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
}

.top-nav a:not(.nav-cta) {
  display: none;
  min-height: 2.5rem;
  align-items: center;
}

.top-nav a:not(.nav-cta):hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}

.nav-cta:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--paper-2);
  box-shadow: 0 14px 30px -22px rgba(180, 85, 52, 0.9);
}

.button-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-1px);
}

.button-arrow {
  font-size: 1.15em;
  line-height: 1;
  transition: transform 160ms ease;
}

.button-primary:hover .button-arrow {
  transform: translate(2px, 2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 700;
}

.text-link:hover {
  color: var(--sage-deep);
}

.light-link {
  margin-top: 1.4rem;
  color: var(--mint);
}

.light-link:hover {
  color: var(--paper-2);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.35rem 0 3.5rem;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(17, 27, 28, 0.8), rgba(17, 27, 28, 0.86) 55%, rgba(17, 27, 28, 0.62)),
    url("assets/hero-desk.webp");
  background-position: center 55%;
  background-size: cover;
  color: var(--paper-2);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.4rem;
}

.hero-copy {
  max-width: 43rem;
}

.hero-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(184, 216, 189, 0.32);
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-index {
  margin-top: 1.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(17, 27, 28, 0.18);
  background: var(--paper-2);
  color: var(--ink);
}

.hero-index-label {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.hero-index ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.hero-index li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 0.45rem;
  border-right: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-index li:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-index li > span {
  color: var(--coral-text);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  color: var(--mint);
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 253, 247, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.hero-actions .button {
  width: 100%;
}

.hero-actions .text-link {
  align-self: flex-start;
}

.hero-note {
  max-width: 33rem;
  margin-top: 1.4rem;
  color: rgba(255, 253, 247, 0.7);
  font-size: 0.75rem;
  line-height: 1.65;
}

.status-dot {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0.3rem rgba(184, 216, 189, 0.1);
}

.hero-visual {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 38rem;
  justify-self: stretch;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1.5;
  border: 1px solid rgba(184, 216, 189, 0.32);
  background: var(--ink-2);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(9, 17, 18, 0.48), transparent 48%),
    linear-gradient(90deg, rgba(46, 106, 83, 0.16), transparent 58%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.72) sepia(0.06) contrast(1.03) brightness(0.96);
}

.market-board {
  display: none;
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: 100%;
  margin-top: 0.9rem;
  padding: 1.15rem;
  border: 1px solid rgba(17, 27, 28, 0.12);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.board-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.board-title {
  max-width: 11ch;
  margin: 1.15rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.board-questions {
  margin-top: 0.95rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.board-questions li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line);
}

.board-questions li > span {
  padding-top: 0.1rem;
  color: var(--coral-text);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.board-questions strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.board-questions small {
  display: block;
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.board-caption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Shared section rhythm */

.manifesto,
.reading-room,
.fit-section,
.form-section,
.faq-section {
  padding-block: 3.25rem;
}

/* Manifesto */

.manifesto {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  gap: 2rem;
}

.manifesto-copy h2 {
  max-width: 9ch;
}

.manifesto-detail {
  display: none;
  max-width: 17rem;
  margin-top: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.manifesto-detail picture {
  display: block;
}

.manifesto-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 323;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.06) contrast(1.03);
  transition: transform 220ms ease;
}

.manifesto-detail figcaption {
  padding: 0.55rem 0.65rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.manifesto-detail:hover img,
.reading-image:hover img {
  transform: scale(1.02);
}

.principles {
  border-top: 1px solid var(--line);
}

.principles article {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  column-gap: 0.7rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.principles article > span {
  padding-top: 0.2rem;
  color: var(--coral-text);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.principles h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.principles p {
  grid-column: 2;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* Reading room */

.reading-room {
  --sage-deep: var(--mint);
  --line: var(--line-light);
  position: relative;
  overflow: hidden;
  background-color: var(--ink-2);
  background-image:
    linear-gradient(180deg, rgba(17, 27, 28, 0.84), rgba(17, 27, 28, 0.93)),
    url("assets/milan-window.webp");
  background-position: center;
  background-size: cover;
  color: var(--paper-2);
}

.reading-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.2rem;
}

.reading-copy {
  min-width: 0;
}

.reading-copy h2 {
  max-width: 9ch;
  color: var(--paper-2);
}

.reading-copy h2 em {
  color: var(--mint);
}

.reading-copy > p {
  max-width: 32rem;
  margin-top: 1.2rem;
  color: rgba(255, 253, 247, 0.7);
  font-size: 0.94rem;
  line-height: 1.72;
}

.reading-image {
  display: none;
  margin-top: 1.5rem;
  border: 1px solid var(--line-light);
  background: var(--ink);
}

.reading-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.62) sepia(0.08) contrast(1.04);
  transition: transform 300ms ease;
}

.reading-image figcaption {
  padding: 0.55rem 0.7rem;
  border-top: 1px solid var(--line-light);
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contents-block {
  min-width: 0;
}

.contents-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contents-list {
  border-top: 1px solid var(--line-light);
}

.content-row {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr) 1rem;
  gap: 0.65rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
}

.content-row > span {
  color: var(--coral-bright);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.6;
}

.content-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.content-row small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.75rem;
  line-height: 1.55;
}

.content-row > b {
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Fit */

.fit-section {
  background: var(--sage);
}

.fit-grid {
  display: grid;
  gap: 2rem;
}

.fit-intro h2 {
  max-width: 10ch;
}

.fit-intro h2 em {
  color: #245b46;
}

.fit-cards {
  display: grid;
  gap: 0.8rem;
}

.fit-card {
  padding: 1.2rem;
  border: 1px solid rgba(17, 27, 28, 0.32);
  background: rgba(255, 253, 247, 0.66);
}

.fit-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.fit-card ul {
  padding-left: 1.05rem;
}

.fit-card li {
  margin: 0.4rem 0;
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.6;
}

.fit-no {
  background: var(--ink);
  color: var(--paper-2);
  border-color: var(--ink);
}

.fit-no h3 {
  color: var(--paper-2);
}

.fit-no li {
  color: rgba(255, 253, 247, 0.78);
}

/* Guide */

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

.form-grid {
  display: grid;
  gap: 2rem;
}

.form-intro h2 {
  max-width: 9ch;
}

.form-intro > p {
  max-width: 31rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.guide-box {
  min-width: 0;
}

.form-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 28px 60px -34px rgba(17, 27, 28, 0.34);
}

.form-card label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.79rem;
  font-weight: 750;
}

.form-card input[type="email"],
.form-card select {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(17, 27, 28, 0.36);
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1rem;
  caret-color: var(--sage-deep);
}

.form-card input[type="email"]:focus,
.form-card select:focus {
  border-color: var(--sage-deep);
  outline: 2px solid rgba(46, 106, 83, 0.2);
  outline-offset: 1px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.25rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.55;
}

.consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  accent-color: var(--sage-deep);
}

.consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form-button {
  width: 100%;
  border-radius: 5px;
}

.form-message {
  min-height: 1.4em;
  margin-top: 0.8rem;
  color: var(--sage-deep);
  font-size: 0.8rem;
  line-height: 1.55;
}

.form-disclaimer {
  display: block;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

/* FAQ */

.faq-section {
  padding-bottom: 5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  gap: 1.8rem;
}

.faq-intro h2 {
  max-width: 10ch;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.9rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--coral-text);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 58ch;
  padding: 0 2rem 1rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  padding: 2.6rem 0 1.4rem;
  background: var(--ink);
  color: var(--paper-2);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand .brand {
  color: var(--paper-2);
}

.site-footer .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 28rem;
  margin-top: 0.7rem;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.76rem;
  line-height: 1.65;
}

.footer-contact {
  margin-top: 0.55rem !important;
  color: rgba(255, 253, 247, 0.52) !important;
  font-size: 0.75rem !important;
  line-height: 1.6 !important;
}

.footer-contact a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact a:hover {
  color: var(--paper-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  align-content: start;
  padding-top: 0.25rem;
}

.footer-links a {
  color: rgba(255, 253, 247, 0.88);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-note {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 247, 0.56);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* Legal pages */

.legal-page {
  width: min(calc(100% - 2.5rem), 50rem);
  margin-inline: auto;
  padding: 3.5rem 0 5rem;
}

.legal-page h1 {
  max-width: 10ch;
  font-size: clamp(2.9rem, 10vw, 4.8rem);
}

.legal-page h2 {
  max-width: 20ch;
  margin: 2.5rem 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.05;
}

.legal-page p {
  max-width: 66ch;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.legal-page p strong {
  color: var(--ink);
}

.legal-page a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-page .legal-footer-note {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

@keyframes logo-reveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.55;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@keyframes hero-bg-drift {
  from {
    background-position: center 52%;
  }
  to {
    background-position: center 60%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-logo {
    animation: logo-reveal 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-photo img {
    animation: hero-drift 20s ease-in-out infinite alternate;
  }
}

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

  .brand-logo,
  .hero-photo img {
    animation: none;
    transform: none;
  }

  .hero {
    animation: none;
  }

  .manifesto-detail img,
  .reading-image img {
    transition: none;
  }

  .button,
  .button-arrow,
  .nav-cta {
    transition: none;
  }
}


/* --- cookie consent banner --- */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#111b1c;color:#f4efe8;padding:18px 20px;box-shadow:0 -8px 24px rgba(0,0,0,.28);font-size:14px;line-height:1.5}
.cookie-banner[hidden]{display:none}
.cookie-banner a{color:inherit;text-decoration:underline}
.cookie-inner{max-width:1100px;margin:0 auto;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cookie-text{margin:0;max-width:640px}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie-btn{appearance:none;border:1px solid #f4efe8;background:transparent;color:#f4efe8;padding:10px 16px;border-radius:4px;cursor:pointer;font:inherit}
.cookie-btn--primary{background:#f4efe8;color:#111b1c}
.cookie-prefs{max-width:1100px;margin:14px auto 0;border-top:1px solid rgba(244,239,232,.25);padding-top:14px}
.cookie-row{display:flex;gap:10px;align-items:flex-start;margin:10px 0}
.cookie-row input{margin-top:3px}
@media (max-width:640px){.cookie-inner{flex-direction:column;align-items:stretch}.cookie-actions .cookie-btn{flex:1}}

.cookie-btn[data-act="reject"]{background:#f4efe8;color:#111b1c;border-color:#f4efe8}

.form-redirect-note{font-size:.85rem;opacity:.75;margin:6px 0 0}

/* --- legal pages: tables --- */
.legal-page table{width:100%;border-collapse:collapse;margin:1rem 0 1.6rem;font-size:.9rem}
.legal-page thead th{text-align:left;font-weight:600;padding:.5rem .6rem;border-bottom:2px solid rgba(17,27,28,.28);white-space:nowrap;font-size:.86rem;letter-spacing:.01em}
.legal-page tbody td{padding:.55rem .6rem;border-bottom:1px solid rgba(17,27,28,.12);vertical-align:top;color:var(--muted)}
.legal-page code{background:rgba(17,27,28,.07);padding:.1em .35em;border-radius:3px;font-size:.9em}
.legal-page table + h2{margin-top:2.2rem}
@media (max-width:640px){.legal-page table{display:block;overflow-x:auto;white-space:nowrap}}
.legal-page tbody td{padding-right:1.1rem}
.legal-page tbody td:first-child{white-space:nowrap}
.legal-page tbody td:first-child code{font-size:.85rem}
.legal-page tbody td code{color:#111b1c}
