@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --paper: #F7F5F0;
  --ink: #1C1B19;
  --kurenai: #B5472B;
  --stone: #6B6459;
  --hairline: #DDD8CC;
  --paper-warm: #F1EDE3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--hairline);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.wordmark svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--kurenai); }

.wordmark-text {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav.primary-nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

nav.primary-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--kurenai);
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 72px;
  position: relative;
}

.hero .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: end;
}

.hero-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 8px;
  border-right: 1px solid var(--hairline);
  padding-right: 16px;
  height: fit-content;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--kurenai);
}

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 18px;
  color: var(--stone);
}

/* ---------- Gallery (asymmetric, ma-inspired) ---------- */

.gallery {
  padding: 40px 0 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.gallery-grid figure {
  overflow: hidden;
  background: var(--paper-warm);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.g-1 { grid-column: 1 / 8; aspect-ratio: 4 / 3; }
.g-2 { grid-column: 8 / 13; aspect-ratio: 3 / 4; margin-top: 64px; }
.g-3 { grid-column: 1 / 5; aspect-ratio: 3 / 4; }
.g-4 { grid-column: 5 / 13; aspect-ratio: 16 / 9; margin-top: -32px; }
.g-5 { grid-column: 3 / 11; aspect-ratio: 21 / 9; }

/* ---------- Divider / signature crane motif ---------- */

.crane-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 64px 0;
}

.crane-divider .line {
  height: 1px;
  background: var(--hairline);
  flex: 1;
  max-width: 220px;
}

.crane-divider svg {
  width: 40px;
  height: 40px;
  color: var(--stone);
  opacity: 0.7;
}

/* ---------- About page ---------- */

.about-hero {
  padding: 72px 0 0;
}

.about-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kurenai);
  margin-bottom: 18px;
  display: block;
}

.about-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  max-width: 16ch;
}

.about-portrait-full {
  padding: 40px 0 0;
}

.about-portrait-full img {
  width: 100%;
  display: block;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
  background: var(--paper-warm);
}

.about-body {
  padding: 48px 0 100px;
}

.about-copy {
  max-width: 68ch;
}

.about-copy p {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 26px;
  max-width: 58ch;
}

.about-copy p:first-of-type {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.about-copy .signoff {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--kurenai);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p {
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }

  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
  nav.primary-nav ul { gap: 24px; }

  .hero { padding: 56px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero-label { writing-mode: horizontal-tb; border-right: none; border-bottom: 1px solid var(--hairline); padding: 0 0 10px; }

  .gallery { padding: 24px 0 64px; }
  .gallery-grid { gap: 16px; }
  .g-1, .g-2, .g-3, .g-4, .g-5 {
    grid-column: 1 / 13;
    margin-top: 0;
    aspect-ratio: 4 / 3;
  }

  .about-hero { padding: 48px 0 0; }
  .about-portrait-full { padding: 28px 0 0; }
  .about-portrait-full img { max-height: 360px; }
  .about-body { padding: 32px 0 64px; }
  .about-copy p:first-of-type { font-size: 21px; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
