/* Nikasa — single-page editorial layout */

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

:root {
  --ink: #14161a;
  --ink-soft: #3d424a;
  --paper: #f6f4ef;
  --paper-dark: #e8e4db;
  --accent: #8b6914;
  --accent-soft: rgba(139, 105, 20, 0.12);
  --veil: linear-gradient(
    120deg,
    rgba(14, 16, 20, 0.82) 0%,
    rgba(14, 16, 20, 0.35) 55%,
    rgba(14, 16, 20, 0.2) 100%
  );
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --space: clamp(1rem, 3vw, 2.5rem);
  --max: 68rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
}

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

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.skip:focus {
  left: var(--space);
  top: var(--space);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.inner {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: var(--space) 0;
  color: var(--paper);
}

.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: inherit;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--paper);
  opacity: 0.92;
}

.tagline {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: var(--veil);
}

.hero__content {
  position: relative;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(6rem, 18vh, 10rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.75);
}

.hero .eyebrow {
  color: rgba(246, 244, 239, 0.8);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.lede {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(246, 244, 239, 0.88);
}

/* Sections */

.section {
  padding: clamp(4rem, 12vw, 8rem) 0;
}

.spotlight {
  background: var(--paper);
  border-block: 1px solid rgba(20, 22, 26, 0.06);
}

.grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1.35fr 1fr;
    gap: 4rem;
  }
}

.spotlight h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.spotlight p {
  margin: 0 0 1rem;
}

.spotlight p:last-child {
  margin-bottom: 0;
}

.eyebrow--accent {
  color: var(--accent);
}

.spotlight__panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 105, 20, 0.2);
}

.aside-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.checks {
  margin: 0;
  padding-left: 1.1rem;
}

.checks li {
  margin-bottom: 0.65rem;
  padding-inline-start: 0.35rem;
}

.checks li:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* Pillars */

.pillars {
  background: var(--paper-dark);
}

.pillar-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 700px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pillar {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid rgba(20, 22, 26, 0.07);
}

.pillar h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.pillar p {
  margin: 0;
}

/* Closure */

.closure {
  text-align: center;
  padding-bottom: clamp(5rem, 14vw, 10rem);
}

.closure__inner {
  max-width: 42rem;
}

.quote {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}

.closure__contact {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.closure__contact .label {
  font-weight: 600;
  color: var(--ink);
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(20, 22, 26, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark--footer {
  font-size: 1.35rem;
  color: var(--ink);
}

.footer-note {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.75;
}
