:root {
  --bg: #f4efe6;
  --bg-soft: #f8f4ec;
  --surface: transparent;
  --surface-strong: transparent;
  --border: transparent;
  --border-strong: transparent;
  --text: #26201b;
  --muted: #64584d;
  --accent: #a57d3d;
  --accent-soft: #efe2bf;
  --hover: #a32118;
  --shadow: none;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --content-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 16px/1.65 Georgia, "Times New Roman", Times, serif;
  background:
    radial-gradient(circle at top left, rgba(235, 220, 184, 0.35), transparent 38%),
    radial-gradient(circle at top right, rgba(163, 33, 24, 0.08), transparent 32%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 48%, #f2eadc 100%);
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--text);
  text-decoration-color: rgba(163, 33, 24, 0.35);
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: var(--hover);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(163, 33, 24, 0.45);
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(var(--content-max), calc(100% - 2rem));
  margin: 1rem auto 2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0 0.9rem;
  border-bottom: 0;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(220px, 28vw, 360px);
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font: 700 0.82rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-copy span {
  display: block;
  font-size: 0.98rem;
  color: var(--muted);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  font: 700 0.82rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-switch a[aria-current="page"] {
  color: var(--text);
  background: transparent;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--hover);
  background: transparent;
  transform: none;
}

.site-nav {
  position: relative;
  border-bottom: 0;
  background: transparent;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 700 0.95rem/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 1rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.site-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0.75rem 0;
}

.site-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  font: 700 0.92rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  color: var(--text);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav-list a[aria-current="page"],
.site-nav-list a:hover,
.site-nav-list a:focus-visible {
  color: var(--hover);
  background: transparent;
  transform: none;
}

.page {
  padding: clamp(0.5rem, 2vw, 1.5rem) 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.page-layout.has-aside {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: start;
}

.floor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.floor-grid section {
  min-width: 0;
}

.aside-panel {
  position: sticky;
  top: 1rem;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.aside-panel h2,
.aside-panel h3 {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.subnav {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.subnav a {
  display: block;
  padding: 0.15rem 0;
  border-radius: 0;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.subnav a[aria-current="page"],
.subnav a:hover,
.subnav a:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--hover);
}

.content-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy {
  min-width: 0;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.eyebrow {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font: 700 0.78rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-media {
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
}

.float-right {
  float: right;
  width: min(40%, 360px);
  margin: 0 0 1rem 1.5rem;
}

.float-right img {
  width: 100%;
  border-radius: 0;
}

.callout {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.callout strong,
.accent-text {
  color: var(--hover);
}

.link-list,
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.feature-list li,
.link-list li {
  position: relative;
  padding-left: 1rem;
}

.feature-list li::before,
.link-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 0;
  background: var(--accent);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--hover);
}

.cta-link::after {
  content: "→";
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.page-gallery .gallery-grid {
  margin-top: 1.25rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.gallery-item img {
  display: block;
  width: 100%;
}

.gallery-item.is-portrait img {
  aspect-ratio: 250 / 372;
  object-fit: cover;
}

.gallery-item.is-landscape img {
  aspect-ratio: 250 / 164;
  object-fit: cover;
}

.gallery-item.is-contain img {
  aspect-ratio: 530 / 385;
  object-fit: contain;
  background: transparent;
}

.gallery-item.is-wide img {
  aspect-ratio: 504 / 334;
  object-fit: cover;
}

.documents {
  display: grid;
  gap: 0.75rem;
}

.document-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.document-card strong {
  color: var(--hover);
}

section[id] {
  scroll-margin-top: 1rem;
}

.site-footer {
  padding: 1rem 0 1.25rem;
  border-top: 0;
  color: var(--muted);
  font: 400 0.92rem/1.5 Arial, Helvetica, sans-serif;
  background: transparent;
}

.site-footer p {
  margin: 0;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(29, 21, 16, 0.84);
}

.site-modal[hidden] {
  display: none;
}

.site-modal__dialog {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 2rem);
  padding: 0.85rem;
  border-radius: 0;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.site-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(39, 32, 27, 0.88);
  color: #fff;
  cursor: pointer;
}

.site-modal__figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.site-modal__figure img {
  display: block;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: 0;
}

.site-modal__figure figcaption {
  color: var(--muted);
  font: 400 0.95rem/1.4 Arial, Helvetica, sans-serif;
}

.site-modal__figure figcaption:empty {
  display: none;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .language-switch {
    justify-self: start;
  }

  .hero-grid,
  .page-layout.has-aside,
  .floor-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 0;
    height: auto;
    object-fit: contain;
  }

  .aside-panel {
    position: static;
  }

  .float-right {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    width: min(260px, 74vw);
  }

  .language-switch {
    justify-self: end;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-media a {
    pointer-events: none;
    cursor: default;
  }

  .hero-media img {
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: 52vh;
    object-fit: cover;
  }

  .site-shell {
    width: min(var(--content-max), calc(100% - 1rem));
    margin: 0.5rem auto 1rem;
    border-radius: 0;
  }

  .site-header,
  .page,
  .site-footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
    width: auto;
    margin: 0 auto;
  }

  .site-nav-list {
    display: none;
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .site-nav[data-open="true"] .site-nav-list {
    display: grid;
  }

  .site-nav-list a {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .language-switch {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
}
