@charset 'UTF-8';

:root {
  --blue: #2f5fd8;
  --blue-deep: #1d3c8f;
  --blue-soft: #e6ecfb;
  --ink: #1c2230;
  --ink-soft: #545b6b;
  --paper: #f7f4ee;
  --paper-warm: #efe9de;
  --line: rgba(28, 34, 48, 0.14);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 em, h2 em { font-style: italic; color: var(--blue); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--paper); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.logo span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.menu-toggle.open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.menu {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  padding: 1rem 1.4rem 1.6rem;
}
.menu.open { display: flex; }
.menu a {
  text-decoration: none;
  padding: 0.8rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.menu a:hover { color: var(--blue); }
.menu .menu-cta { color: var(--blue); font-weight: 600; border-bottom: 0; }

/* Hero */
.hero { padding: 3.5rem 0 4.5rem; }

.hero-grid { display: grid; gap: 3rem; }

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  margin-bottom: 1.6rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-art { margin: 0; }
.hero-art img {
  width: 100%;
  border: 12px solid #fff;
  box-shadow: 0 30px 60px -30px rgba(28, 34, 48, 0.45);
}
.hero-art figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.hero-art strong { font-weight: 600; color: var(--ink); }

/* Story */
.story {
  background: var(--paper-warm);
  padding: 5rem 0;
}

.story-grid { display: grid; gap: 2.5rem; }

.story h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 14ch; }

.story-body p { margin: 0 0 1.4rem; max-width: 38rem; }

.dropcap::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.4rem;
  line-height: 0.85;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--blue);
}

.story blockquote {
  margin: 2.4rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--blue-deep);
  max-width: 30rem;
}

/* Series */
.series { padding: 5rem 0 3rem; }

.section-head { margin-bottom: 3rem; max-width: 44rem; }
.section-head h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 1.2rem; }
.section-intro { color: var(--ink-soft); margin: 0; }

.series-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.series-list li { border-bottom: 1px solid var(--line); }
.series-list a {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  grid-template-areas: 'num title arrow' '. desc desc';
  align-items: baseline;
  column-gap: 0.8rem;
  padding: 1.4rem 0;
  text-decoration: none;
  transition: padding 0.3s ease, color 0.3s ease;
}
.series-list .num { grid-area: num; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.08em; }
.series-list .title { grid-area: title; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.series-list .desc { grid-area: desc; color: var(--ink-soft); font-size: 0.98rem; margin-top: 0.3rem; }
.series-list .arrow { grid-area: arrow; color: var(--blue); font-size: 1.3rem; transition: transform 0.3s ease; }
.series-list a:hover { color: var(--blue); }
.series-list a:hover .arrow { transform: translateX(6px); }

/* Gallery */
.gallery { padding: 3rem 0 5rem; }

.room {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.8rem;
}

.room-head .num {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.room-head h3 { font-size: 2.3rem; margin-bottom: 0.6rem; }
.room-head p { margin: 0; color: var(--ink-soft); max-width: 22rem; }

.works {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.work {
  margin: 0;
  background: #fff;
  padding: 10px;
  box-shadow: 0 18px 40px -28px rgba(28, 34, 48, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.work img { width: 100%; height: auto; cursor: zoom-in; }
.work:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -26px rgba(47, 95, 216, 0.45);
}

.works-small .work { max-width: 360px; }

/* Contact */
.contact {
  background: var(--blue);
  color: #fff;
  padding: 5rem 0;
}
.contact .eyebrow { color: rgba(255, 255, 255, 0.75); }
.contact h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 1.4rem; max-width: 16ch; }
.contact-text p { color: rgba(255, 255, 255, 0.88); max-width: 34rem; margin: 0 0 2rem; }

.contact-grid { display: grid; gap: 3rem; }

.contact-card {
  font-style: normal;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.contact-row .label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.contact-row a, .contact-row span:last-child {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
  text-decoration: none;
}
.contact-row a { background: linear-gradient(#fff, #fff) left bottom / 0 1px no-repeat; transition: background-size 0.3s ease; }
.contact-row a:hover { background-size: 100% 1px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 2rem; }
.footer-logo { font-family: var(--serif); font-size: 1.8rem; color: #fff; margin: 0; }
.footer-tag { margin: 0.3rem 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.footer-nav a, .footer-meta a { text-decoration: none; color: #fff; transition: color 0.2s ease; }
.footer-nav a:hover, .footer-meta a:hover { color: #9db5f0; }
.footer-meta p { margin: 0 0 0.3rem; }
.footer-meta a { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 24, 34, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border: 10px solid #fff;
}
.lightbox figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 1rem;
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { color: #9db5f0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.contact :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* Tablet */
@media (min-width: 640px) {
  .works { grid-template-columns: 1fr 1fr; }
  .works .work:nth-child(2) { margin-top: 3rem; }
  .series-list a {
    grid-template-columns: 3.5rem 14rem 1fr auto;
    grid-template-areas: 'num title desc arrow';
  }
  .series-list .desc { margin-top: 0; }
  .series-list a:hover { padding-left: 0.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 960px) {
  .wrap { padding: 0 2.5rem; }
  .menu-toggle { display: none; }
  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.2rem;
    padding: 0;
    background: none;
    border: 0;
  }
  .menu a { border: 0; padding: 0; font-size: 0.95rem; position: relative; }
  .menu a:not(.menu-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width 0.3s ease;
  }
  .menu a:not(.menu-cta):hover::after { width: 100%; }
  .menu .menu-cta {
    border: 1px solid var(--blue);
    padding: 0.55rem 1.1rem;
    transition: background 0.25s ease, color 0.25s ease;
  }
  .menu .menu-cta:hover { background: var(--blue); color: #fff; }

  .hero { padding: 5.5rem 0 7rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 5rem; }

  .story { padding: 7rem 0; }
  .story-grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
  .story-head { position: sticky; top: 120px; align-self: start; }

  .series { padding: 7rem 0 4rem; }

  .room { grid-template-columns: 17rem 1fr; gap: 4rem; padding: 4.5rem 0; }
  .room-head { position: sticky; top: 110px; align-self: start; }
  .works { gap: 2.5rem; }
  .works .work:nth-child(2) { margin-top: 5rem; }

  .contact { padding: 7rem 0; }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: end; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

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