
:root {
  --ink: #1a2233;
  --mute: #5c6a7d;
  --mist: #e8eef4;
  --navy: #243552;
  --navy-deep: #162033;
  --wool: #9a8b76;
  --line: rgba(26,34,51,.12);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(154,139,118,.18), transparent 55%),
    linear-gradient(180deg, #f3f6fa 0%, var(--mist) 40%, #eef2f7 100%);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 5vw; position: sticky; top: 0; z-index: 20;
  background: rgba(243,246,250,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-size: 1.5rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.top nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--mute); }

.hero {
  position: relative; min-height: min(88vh, 820px); display: grid; align-items: end;
  overflow: hidden; animation: wash 1.1s ease both;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,32,51,.15) 0%, rgba(22,32,51,.72) 100%);
}
.hero-copy {
  position: relative; z-index: 1; padding: clamp(2rem,6vw,4rem) 5vw;
  max-width: 38rem; color: #f4f7fb; animation: rise .9s ease .15s both;
}
.hero-copy h1 {
  font-family: var(--display); font-size: clamp(3.2rem,8vw,5.4rem);
  line-height: .92; margin: 0 0 1rem; letter-spacing: -.03em;
}
.hero-copy p { margin: 0 0 1.35rem; font-size: 1.08rem; color: rgba(244,247,251,.88); max-width: 30rem; }
.btn {
  display: inline-flex; align-items: center; padding: .85rem 1.25rem;
  background: #f4f7fb; color: var(--navy-deep); text-decoration: none; font-weight: 700; font-size: .92rem;
  border: 0; cursor: pointer;
}
.btn.light { background: #f4f7fb; color: var(--navy-deep); }
.btn:hover { filter: brightness(1.04); }

.rhythm, .shelf, .letter { padding: clamp(2.6rem,6vw,4.2rem) 5vw; }
.rhythm h2, .projects-copy h2, .shelf h2, .circle-panel h2, .letter h2 {
  font-family: var(--display); font-size: clamp(2rem,3.6vw,2.9rem); margin: 0 0 1.25rem;
}
.rhythm h2, .shelf h2, .letter h2 { text-align: center; }

.rail {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem;
}
.rail article {
  background: rgba(255,255,255,.72); border: 1px solid var(--line);
  border-radius: 2px; overflow: hidden; position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.rail article:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,32,51,.08); }
.rail span {
  position: absolute; top: .75rem; left: .75rem; z-index: 1;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.rail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rail h3 { font-family: var(--display); font-size: 1.35rem; margin: .85rem 1rem .35rem; }
.rail p { margin: 0 1rem 1.1rem; color: var(--mute); font-size: .94rem; }

.projects {
  display: grid; grid-template-columns: 1fr 1.15fr; min-height: 420px;
  background: var(--navy-deep); color: #f4f7fb;
}
.projects-copy { padding: clamp(2rem,5vw,3.5rem) 5vw; display: flex; flex-direction: column; justify-content: center; }
.projects-copy h2 { color: #f4f7fb; margin-bottom: 1rem; }
.projects-copy ol { margin: 0; padding-left: 1.15rem; color: rgba(244,247,251,.78); }
.projects-copy li { padding: .65rem 0; border-bottom: 1px solid rgba(244,247,251,.12); }
.projects-copy strong { color: #fff; }
.projects > img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.shelf-grid article { background: rgba(255,255,255,.78); border: 1px solid var(--line); }
.shelf-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shelf-grid h3 { font-family: var(--display); margin: .85rem 1rem .35rem; font-size: 1.3rem; }
.shelf-grid p { margin: 0 1rem 1rem; color: var(--mute); }

.circle { position: relative; min-height: 62vh; display: grid; align-items: center; justify-items: start; }
.circle > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.circle-panel {
  position: relative; z-index: 1; margin: 5vw; max-width: 26rem;
  background: rgba(232,238,244,.94); padding: 1.45rem; border: 1px solid var(--line);
  animation: rise .8s ease both;
}
.circle-panel h2 { font-size: 1.85rem; margin-bottom: .7rem; }
.circle-panel p { color: var(--mute); margin: 0 0 1rem; }

.letter { background: var(--navy); color: #f4f7fb; }
.letter h2 { color: #f4f7fb; }
.letter > p { color: rgba(244,247,251,.78); margin: 0; text-align: center; }
.letter form { margin: 1.1rem auto 0; display: flex; flex-wrap: wrap; gap: .5rem; max-width: 32rem; justify-content: center; }
.letter input { flex: 1 1 200px; border: 0; padding: .85rem 1rem; font: inherit; }
.letter button { border: 0; background: var(--wool); color: #fff; font-weight: 700; padding: .85rem 1.2rem; cursor: pointer; }
.form-note { flex: 1 1 100%; font-size: .85rem; margin: .25rem 0 0 !important; }
.form-note a { color: #fff; }

.foot { padding: 2rem 5vw 2.5rem; border-top: 1px solid var(--line); }
.foot strong { font-family: var(--display); font-size: 1.35rem; }
.foot p { color: var(--mute); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; margin: 1rem 0; }
.footer-legal a { text-decoration: none; color: var(--mute); font-size: .9rem; }
.fine { font-size: .85rem; }

.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 36rem; margin: 0 auto; padding: 1rem 1.1rem;
  background: #111; color: #f5f5f5; box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.cookie-banner a { color: #fff; }
.cookie-banner p { margin: 0 0 .8rem; font-size: .92rem; line-height: 1.45; color: inherit; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-btn { border: 0; padding: .65rem 1rem; cursor: pointer; font-weight: 600; background: #fff; color: #111; }
.cookie-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wash { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .top nav { display: none; }
  .rail, .projects, .shelf-grid { grid-template-columns: 1fr; }
  .projects > img { min-height: 260px; }
  .circle { min-height: 55vh; }
  .hero { min-height: 72vh; }
}
