:root {
  color-scheme: dark;
  --ink: #12091e;
  --ink-soft: #1b1027;
  --cream: #f6f0e7;
  --muted: #c3b9c9;
  --gold: #e7bb5c;
  --gold-light: #f4d98d;
  --line: rgba(231, 187, 92, .35);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); line-height: 1.65; }
a { color: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .7rem 1rem; background: var(--gold-light); color: #1d1326; }
.skip-link:focus { top: 1rem; }
.topbar { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.3rem clamp(1.1rem, 5vw, 5rem); border-bottom: 1px solid rgba(255,255,255,.12); }
.wordmark { display: flex; align-items: center; gap: .7rem; color: var(--cream); text-decoration: none; }
.wordmark-symbol { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.1rem; }
.wordmark strong, .wordmark small { display: block; letter-spacing: .17em; }
.wordmark strong { font-size: .78rem; }
.wordmark small { margin-top: .15rem; color: #c9bdce; font-size: .55rem; }
.topbar nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.topbar nav a { color: #eee8f0; font-size: .74rem; text-decoration: none; }
.topbar nav a:hover, .topbar nav a:focus-visible, .text-link:hover { color: var(--gold-light); }

.hero { position: relative; display: flex; align-items: center; min-height: min(820px, 100svh); padding: 9rem clamp(1.25rem, 9vw, 9rem) 6rem; isolation: isolate; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; z-index: -1; inset: 0; }
.hero-image { background: url('kintsugi/assets/img/autora-800.webp') 72% 32% / cover no-repeat; filter: saturate(.75); }
.hero-shade { background: linear-gradient(90deg, rgba(18,9,30,.97) 0%, rgba(18,9,30,.83) 44%, rgba(18,9,30,.16) 100%), linear-gradient(0deg, rgba(18,9,30,.75), transparent 55%); }
.hero-copy { max-width: 760px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: .69rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: .75rem 0 1.5rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(4.6rem, 12vw, 9.5rem); font-weight: 400; letter-spacing: -.045em; line-height: .82; }
.hero h1 em, .manifesto h2 em, .work h2 em, .catalog-heading h2 em, .closing em { color: var(--gold); font-style: italic; }
.hero-text { max-width: 550px; color: #eee8f0; font-size: clamp(.98rem, 1.5vw, 1.15rem); }
.button { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: .9rem 1.3rem; border-radius: 99px; font-size: .76rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #201425; }
.hero-caption { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: 2rem; color: rgba(255,255,255,.75); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

.work, .manifesto { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.work { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); padding: clamp(5rem, 10vw, 8rem) 0; border-bottom: 1px solid var(--line); }
.work-cover { display: grid; place-items: center; }
.work-cover img { width: min(100%, 380px); height: auto; box-shadow: 0 2rem 5rem rgba(0,0,0,.5); }
.work h2, .manifesto h2, .catalog-heading h2 { margin: 0 0 1.4rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.work-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1rem; }
.publication-status { display: flex; align-items: center; gap: .6rem; margin-top: 1.8rem !important; color: var(--gold-light) !important; font-size: .75rem !important; letter-spacing: .06em; text-transform: uppercase; }
.publication-status span { width: .48rem; height: .48rem; border-radius: 50%; background: var(--gold); }
.text-link { display: inline-block; margin-top: .6rem; color: var(--cream); font-size: .8rem; text-decoration: none; }
.text-link span { color: var(--gold); }

.catalog { padding: clamp(5rem, 10vw, 8rem) max(1.5rem, calc((100% - 1120px) / 2)); background: var(--ink-soft); border-bottom: 1px solid var(--line); }
.catalog-heading { display: grid; grid-template-columns: .75fr 1fr 1fr; align-items: end; gap: 1.5rem 3rem; margin-bottom: 3rem; }
.catalog-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.catalog-heading h2 { margin: 0; }
.catalog-heading > p:last-child { max-width: 390px; margin: 0; color: var(--muted); font-size: .9rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.catalog-card { position: relative; display: flex; min-height: 250px; flex-direction: column; justify-content: flex-end; padding: 1.6rem; overflow: hidden; border: 1px solid rgba(231,187,92,.27); background: linear-gradient(145deg, rgba(83,57,84,.68), rgba(27,16,39,.96)); }
.catalog-card::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold); content: ''; opacity: .8; }
.catalog-card--epifania { background: linear-gradient(145deg, rgba(96,68,63,.66), rgba(27,16,39,.96)); }
.catalog-card--malquevi { background: linear-gradient(145deg, rgba(44,62,65,.76), rgba(27,16,39,.96)); }
.catalog-card .eyebrow { margin: 0 0 .7rem; font-size: .58rem; }
.catalog-card h3 { max-width: 340px; margin: 0 0 1.1rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 400; line-height: 1.12; }
.catalog-index { position: absolute; top: 1.1rem; right: 1.3rem; color: rgba(246,240,231,.45); font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; }
.catalog-status { color: var(--gold-light); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }

.manifesto { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; padding: clamp(5rem, 11vw, 9rem) 0; }
.section-kicker { padding-top: .5rem; }
.manifesto h2 { margin-bottom: 1.4rem; }
.manifesto p { max-width: 650px; color: var(--muted); font-size: 1rem; }
.closing { padding: clamp(4rem, 9vw, 7rem) 1.5rem; text-align: center; background: radial-gradient(ellipse at center, rgba(231,187,92,.1), transparent 60%), var(--ink-soft); border-block: 1px solid var(--line); }
.closing p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; }
.button-outline { border: 1px solid var(--gold); color: var(--gold-light); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem clamp(1.2rem, 5vw, 5rem); color: #bcb2c2; font-size: .7rem; }
.footer > a:not(.wordmark) { text-decoration: none; }
.footer > a:not(.wordmark):hover { color: var(--gold); }

@media (max-width: 760px) {
  .topbar { align-items: flex-start; }
  .topbar nav { gap: .8rem; }
  .topbar nav a { font-size: .66rem; }
  .hero { min-height: 760px; min-height: 90svh; padding-top: 8rem; }
  .hero-image { background-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(18,9,30,.93), rgba(18,9,30,.42)), linear-gradient(0deg, rgba(18,9,30,.82), transparent 70%); }
  .hero-caption { left: 1.25rem; right: auto; max-width: 80%; }
  .work, .manifesto { grid-template-columns: 1fr; width: calc(100% - 2.5rem); }
  .work { gap: 2.5rem; }
  .work-cover img { width: min(80%, 340px); }
  .catalog { padding-inline: 1.25rem; }
  .catalog-heading { grid-template-columns: 1fr; gap: .8rem; }
  .catalog-heading .eyebrow { grid-column: auto; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 210px; }
  .manifesto { gap: 1.5rem; }
  .footer { flex-wrap: wrap; }
  .footer > span:last-child { width: 100%; }
}

@media (max-width: 460px) {
  .topbar { padding: 1rem; }
  .wordmark { gap: .45rem; }
  .wordmark-symbol { width: 2rem; height: 2rem; }
  .topbar nav { gap: .55rem; padding-top: .45rem; }
  .topbar nav a { font-size: .59rem; }
  .hero h1 { font-size: clamp(4rem, 17vw, 5.2rem); }
}

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