:root {
  --paper: #F4ECDD;
  --paper-2: #EBDFC9;
  --ink: #22201C;
  --ink-soft: #5E564B;
  --terracotta: #B4532A;
  --ochre: #D79A2B;
  --azul: #24527A;
  --verde: #2F6A55;
  --line: #DDCDB0;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' fill='%23F4ECDD'/%3E%3Cg fill='%2324527A'%3E%3Cpath d='M24 6c4 6 4 12 0 18-4-6-4-12 0-18zM24 42c-4-6-4-12 0-18 4 6 4 12 0 18zM6 24c6-4 12-4 18 0-6 4-12 4-18 0zM42 24c-6 4-12 4-18 0 6-4 12-4 18 0z'/%3E%3Ccircle cx='24' cy='24' r='3.2' fill='%23D79A2B'/%3E%3Cpath d='M0 0h7L0 7zM48 0h-7l7 7zM0 48h7l-7-7zM48 48h-7l7-7z'/%3E%3C/g%3E%3Crect x='.5' y='.5' width='47' height='47' fill='none' stroke='%2324527A' stroke-opacity='.25'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 .6em; font-variation-settings: "SOFT" 50; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--terracotta); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-color: var(--terracotta); text-underline-offset: 3px; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244,236,221,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; }
.brand-name small { font-family: "Instrument Sans", sans-serif; font-size: .62rem; letter-spacing: .18em; color: var(--ink-soft); margin-left: 6px; vertical-align: 2px; }
.site-header nav a { color: var(--ink); text-decoration: none; margin-left: 28px; font-size: .95rem; }
.site-header nav a:hover { color: var(--terracotta); }

/* Hero */
.hero { padding: 84px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--terracotta); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 18px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 50ch; margin-bottom: 34px; }
.button { display: inline-block; background: var(--terracotta); color: #FBF5EA; font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.button:hover { background: #9C4522; transform: translateY(-1px); }
.arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px; background: var(--tile); background-size: 56px 56px; border: 10px solid var(--paper-2); outline: 2px solid var(--terracotta); outline-offset: 6px; position: relative; overflow: hidden; }
.arch::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(180,83,42,.35), transparent); }

.tiles { height: 30px; background: var(--tile); background-size: 30px 30px; border-top: 2px solid var(--azul); border-bottom: 2px solid var(--azul); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--paper-2); }
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px; border-top: 6px solid var(--terracotta); }
.card:nth-child(2) { border-top-color: var(--azul); }
.card:nth-child(3) { border-top-color: var(--verde); }
.card p { color: var(--ink-soft); margin: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 0; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 500; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 8px; }
.foot-brand p { color: var(--ink-soft); max-width: 30ch; margin-top: 14px; }
.foot-col h4 { font-family: "Instrument Sans", sans-serif; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 14px; }
.foot-col a, .foot-col span { display: block; color: var(--ink); text-decoration: none; margin-bottom: 8px; font-size: .95rem; }
.foot-col a:hover { color: var(--terracotta); }
.panorama { position: relative; margin-top: 8px; line-height: 0; }
.panorama svg, .panorama img { display: block; width: 100%; height: clamp(240px, 33vw, 470px); }
.foot-legal { position: absolute; left: 0; right: 0; bottom: 14px; line-height: 1.4; }
.foot-legal .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #EADBC2; font-size: .82rem; }
.foot-legal a { color: #EADBC2; text-decoration: none; margin-left: 18px; }
.foot-legal a:hover { color: #FFD98A; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal .updated { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero-grid, .two-col, .cards { grid-template-columns: 1fr; gap: 24px; }
  .arch { max-width: 280px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header nav { display: none; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 60px 0; }
  .foot-legal { position: static; background: #2A231E; padding: 12px 0; }
  .foot-legal a { margin: 0 16px 0 0; }
}
