/*
Theme Name: REIKO AKAO Theme
Theme URI: https://reikoakao.com
Author: REIKO AKAO
Description: Editorial brand and story experience for REIKO AKAO.
Version: 0.1.3
Text Domain: reiko-akao
*/

:root {
  --paper: #f5efe4;
  --paper-deep: #e7dccd;
  --ink: #0c0b0a;
  --ink-soft: #292520;
  --ash: #756e65;
  --line: rgba(12, 11, 10, .16);
  --night: #07111d;
  --blue: #0b1f35;
  --oxblood: #6c161d;
  --skin: #a99683;
  --white: #fffaf2;
  --shadow: 0 30px 90px rgba(12, 11, 10, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: var(--oxblood);
  color: var(--white);
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .7), rgba(245, 239, 228, 1) 24%),
    var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 17, 29, .72), rgba(7, 17, 29, .06));
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .28em;
}

.brand-mark span + span {
  color: rgba(255, 250, 242, .68);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: .78;
  transition: opacity .2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.language-switcher {
  justify-self: end;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 242, .28);
  background: rgba(12, 11, 10, .22);
  backdrop-filter: blur(18px);
}

.language-switcher button {
  border: 0;
  min-width: 48px;
  padding: 9px 11px;
  background: transparent;
  color: rgba(255, 250, 242, .72);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--white);
  color: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(18px, 1fr) minmax(0, 1180px) minmax(18px, 1fr);
  align-items: center;
  isolation: isolate;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--night);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 54%, rgba(7, 17, 29, .08), rgba(7, 17, 29, .54) 46%, rgba(7, 17, 29, .9) 100%),
    linear-gradient(90deg, rgba(7, 17, 29, .94) 0%, rgba(7, 17, 29, .72) 36%, rgba(7, 17, 29, .28) 74%),
    linear-gradient(180deg, rgba(7, 17, 29, .38), rgba(7, 17, 29, .8));
}

.hero-copy {
  grid-column: 2;
  width: min(760px, 100%);
  padding: 150px 0 100px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: rgba(255, 250, 242, .68);
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(56px, 8vw, 116px);
  line-height: .95;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1.02;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 590px;
  margin-top: 30px;
  color: rgba(255, 250, 242, .76);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.hero-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 242, .42);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-actions a:first-child {
  background: var(--white);
  color: var(--ink);
}

.hero-note {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 250, 242, .62);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ambient-orbit {
  position: absolute;
  right: 12vw;
  bottom: 18vh;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 250, 242, .08);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(108, 22, 29, .2);
  opacity: .35;
  animation: traceBreath 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes traceBreath {
  0%, 100% {
    transform: scale(.96);
    opacity: .18;
  }

  50% {
    transform: scale(1.08);
    opacity: .42;
  }
}

.manifesto-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(90px, 13vw, 170px) 0 clamp(72px, 10vw, 132px);
}

.manifesto-band h2 {
  max-width: 1060px;
}

.manifesto-band p {
  max-width: 740px;
  margin-top: 28px;
  color: var(--ash);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.split-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .86fr 1fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: 50px 0 clamp(90px, 12vw, 160px);
}

.image-panel {
  min-height: 640px;
  background: var(--paper-deep);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  filter: saturate(.88) contrast(.98);
}

.text-panel {
  max-width: 610px;
}

.text-panel p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--ash);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.78;
}

.quote-line {
  margin-top: 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.28;
}

.fragments-section {
  padding: clamp(78px, 11vw, 140px) clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

.section-heading {
  width: min(1100px, 100%);
  margin: 0 auto 46px;
}

.fragments-section .eyebrow {
  color: var(--skin);
}

.fragment-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(245, 239, 228, .18);
  border-left: 1px solid rgba(245, 239, 228, .18);
}

.fragment-grid article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 26px;
  border-right: 1px solid rgba(245, 239, 228, .18);
  border-bottom: 1px solid rgba(245, 239, 228, .18);
}

.fragment-grid span {
  color: var(--skin);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.fragment-grid p {
  color: rgba(245, 239, 228, .82);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.32;
}

.night-desk {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 7vw, 92px);
  padding: clamp(86px, 12vw, 160px) 0;
}

.night-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 26px;
  color: var(--ash);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.78;
}

.question-stack {
  display: grid;
  gap: 12px;
  align-content: center;
}

.question-stack p {
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .48);
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(24px, 2.9vw, 42px);
  line-height: 1.18;
}

.city-section {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, 1180px) minmax(20px, 1fr);
  align-items: end;
  padding: 92px 0;
  color: var(--white);
  isolation: isolate;
}

.city-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--night);
}

.city-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, .84), rgba(7, 17, 29, .28) 58%, rgba(7, 17, 29, .72)),
    linear-gradient(180deg, rgba(7, 17, 29, .1), rgba(7, 17, 29, .86));
}

.city-card {
  grid-column: 2;
  width: min(620px, 100%);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 250, 242, .22);
  background: rgba(7, 17, 29, .48);
  backdrop-filter: blur(20px);
}

.city-card .eyebrow {
  color: var(--skin);
}

.city-card p:not(.eyebrow) {
  margin-top: 24px;
  color: rgba(255, 250, 242, .76);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.75;
}

.story-section {
  padding: clamp(90px, 13vw, 170px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(circle at 12% 12%, rgba(108, 22, 29, .1), transparent 34%),
    linear-gradient(180deg, var(--paper), #eee3d4);
}

.story-intro {
  width: min(1040px, 100%);
  margin: 0 auto 52px;
}

.story-intro p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 26px;
  color: var(--ash);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.76;
}

.member-gateway {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.member-copy,
.auth-drawer,
.auth-card,
.member-panel {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .62);
  backdrop-filter: blur(18px);
}

.member-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: clamp(24px, 3vw, 38px);
}

.member-copy > .eyebrow,
.member-copy > h3,
.member-copy > p {
  grid-column: 1;
}

.member-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}

.member-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ash);
  font-size: 16px;
  line-height: 1.72;
}

.auth-drawer {
  grid-column: 2;
  grid-row: 1 / span 3;
  overflow: hidden;
}

.auth-drawer summary {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
  background:
    linear-gradient(135deg, rgba(12, 11, 10, .92), rgba(7, 17, 29, .82)),
    url("assets/letters-trace.png") center/cover;
  color: var(--paper);
}

.auth-drawer summary::-webkit-details-marker {
  display: none;
}

.auth-drawer summary span {
  color: rgba(245, 239, 228, .68);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.auth-drawer summary strong {
  max-width: 360px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.15;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: rgba(12, 11, 10, .16);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  background: rgba(255, 250, 242, .72);
  color: var(--ash);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-tabs button.active {
  background: var(--ink);
  color: var(--paper);
}

.auth-panels {
  display: block;
}

.auth-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 0;
  background: rgba(255, 250, 242, .74);
  backdrop-filter: none;
}

.auth-card[hidden] {
  display: none;
}

.auth-card strong {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 25px;
  font-weight: 400;
}

.auth-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(12, 11, 10, .2);
  background: rgba(255, 250, 242, .86);
  color: var(--ink);
  font: inherit;
  padding: 0 13px;
}

.auth-card button,
.member-panel button,
.story-action,
.story-reaction {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 13px;
}

.auth-card .ghost-button,
.story-action.secondary,
.story-reaction {
  background: transparent;
  color: var(--ink);
}

.story-reaction {
  border-color: rgba(12, 11, 10, .22);
  background: rgba(255, 250, 242, .62);
}

.story-reaction:disabled {
  cursor: default;
  opacity: .62;
}

.google-button {
  border-color: rgba(12, 11, 10, .34) !important;
  background: var(--white) !important;
  color: var(--ink) !important;
}

.auth-note {
  min-height: 19px;
  color: var(--oxblood);
  font-size: 12px;
  line-height: 1.45;
}

.account-note {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ash);
  font-size: 12px;
  line-height: 1.55;
}

.member-panel {
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(12, 11, 10, .16);
}

.member-panel:not([hidden]) {
  display: grid;
}

.member-panel div,
.member-panel button {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  background: rgba(255, 250, 242, .78);
}

.member-panel .member-card-main {
  background:
    linear-gradient(135deg, rgba(12, 11, 10, .92), rgba(7, 17, 29, .82)),
    url("assets/night-city.png") center/cover;
  color: var(--paper);
}

.member-panel span {
  color: var(--ash);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.member-panel .member-card-main span {
  color: rgba(245, 239, 228, .68);
}

.member-panel strong {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
}

.member-panel small {
  max-width: 250px;
  color: var(--ash);
  font-size: 11px;
  line-height: 1.45;
}

.member-panel .member-card-main small {
  color: rgba(245, 239, 228, .72);
}

.member-panel button {
  background: var(--ink);
  color: var(--paper);
}

.story-workspace {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.story-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.story-form.locked {
  opacity: .72;
}

.story-form label {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.story-form input[type="text"],
.story-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 11, 10, .2);
  background: rgba(255, 250, 242, .84);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.55;
  outline: none;
  padding: 14px 15px;
}

.story-form textarea {
  min-height: 220px;
  resize: vertical;
}

.story-form input:focus,
.story-form textarea:focus {
  border-color: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(108, 22, 29, .12);
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 12px;
  line-height: 1.58;
  color: var(--ash);
  text-transform: none;
  letter-spacing: 0;
}

.consent-row input {
  margin-top: 2px;
  accent-color: var(--oxblood);
}

.story-form button {
  min-height: 52px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story-form button:disabled {
  cursor: wait;
  opacity: .58;
}

.form-note {
  color: var(--ash);
  font-size: 13px;
  line-height: 1.55;
}

.form-note.success {
  color: #365b3b;
}

.form-note.error {
  color: var(--oxblood);
}

.trap-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.published-stories {
  display: grid;
  gap: 18px;
}

.story-wall-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.story-wall-heading span {
  color: var(--ash);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.story-wall-heading strong {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
}

.story-wall {
  display: grid;
  gap: 14px;
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .66);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--oxblood);
  opacity: .72;
}

.story-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--ash);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(25px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.12;
}

.story-card p {
  margin-top: 18px;
  color: var(--ash);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.78;
}

.story-card.ghost {
  color: var(--ash);
}

.story-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.story-pagination button {
  min-height: 40px;
  min-width: 92px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.story-pagination button:disabled {
  cursor: default;
  opacity: .36;
}

.story-pagination span {
  color: var(--ash);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.story-status-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--ash);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.my-stories {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.closing-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(90px, 14vw, 180px) 0 clamp(84px, 12vw, 150px);
  text-align: center;
}

.closing-section .eyebrow {
  color: var(--ash);
}

.closing-section p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--ash);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.76;
}

.final-line {
  display: grid;
  gap: 9px;
  margin-top: 46px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-meta,
.footer-social {
  display: flex;
  align-items: center;
}

.footer-meta {
  justify-content: flex-end;
  gap: 14px;
}

.footer-social {
  gap: 8px;
}

.footer-icon-link {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(117, 110, 101, .46);
  border-radius: 50%;
  background: rgba(255, 250, 242, .28);
  color: var(--ash);
  cursor: pointer;
  transition: border-color .24s ease, color .24s ease, background .24s ease, transform .24s ease;
}

.footer-icon-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-icon-link:hover,
.footer-icon-link:focus-visible {
  border-color: rgba(108, 22, 29, .62);
  background: rgba(108, 22, 29, .08);
  color: var(--oxblood);
  transform: translateY(-1px);
  outline: none;
}

[data-lang="th"] h1,
[data-lang="th"] h2,
[data-lang="th"] .quote-line,
[data-lang="th"] .fragment-grid p,
[data-lang="th"] .question-stack p {
  font-family: Georgia, "Times New Roman", "Noto Serif Thai", serif;
}

[data-lang="th"] h1 {
  max-width: 780px;
  font-size: clamp(50px, 6.2vw, 88px);
  line-height: 1.04;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .split-section,
  .night-desk,
  .member-gateway,
  .story-workspace {
    grid-template-columns: 1fr;
  }

  .member-copy {
    grid-template-columns: 1fr;
  }

  .auth-drawer {
    grid-column: 1;
    grid-row: auto;
  }

  .member-panel:not([hidden]) {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-form {
    position: static;
  }

  .image-panel {
    min-height: 520px;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
    gap: 12px;
  }

  .brand-mark {
    gap: 6px;
    font-size: 11px;
    letter-spacing: .2em;
  }

  .language-switcher button {
    min-width: 40px;
    padding: 8px 9px;
  }

  .hero-copy {
    padding: 128px 0 104px;
  }

  h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  [data-lang="th"] h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .hero-image::after {
    background:
      linear-gradient(90deg, rgba(7, 17, 29, .9), rgba(7, 17, 29, .58)),
      linear-gradient(180deg, rgba(7, 17, 29, .34), rgba(7, 17, 29, .88));
  }

  .hero-note {
    display: grid;
    justify-content: start;
    gap: 8px;
  }

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

  .manifesto-band,
  .split-section,
  .night-desk,
  .closing-section {
    width: min(100% - 28px, 1180px);
  }

  .image-panel {
    min-height: 390px;
  }

  .fragments-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .fragment-grid {
    grid-template-columns: 1fr;
  }

  .fragment-grid article {
    min-height: 230px;
    padding: 22px;
  }

  .city-section {
    min-height: 680px;
    padding: 70px 0;
  }

  .city-card {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .footer-meta {
    justify-content: start;
  }

  .member-panel:not([hidden]) {
    grid-template-columns: 1fr;
  }
}

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