/* ============ Tokens ============ */
:root {
  --cream: #F3EEE5;
  --cream-alt: #EFE8DB;
  --paper: #FBF8F1;
  --charcoal: #26221E;
  --charcoal-deep: #1C1915;
  --ink: #2A2621;
  --text-700: #413B33;
  --text-600: #4A443C;
  --text-600b: #5A5349;
  --muted: #8C8072;
  --brick: #9E4A32;
  --brick-hover: #853A25;
  --brick-hover-light: #B5573C;
  --terracotta: #D98A6A;
  --cream-text: #F6F0E4;
  --cream-text-2: #E9D9CB;
  --cream-text-3: #E4DAC9;
  --body-on-dark: #CDC2B1;
  --muted-on-dark: #A99C8B;
  --muted-on-dark-2: #B4A996;
  --border-light: rgba(38, 34, 30, 0.12);
  --border-light-strong: rgba(38, 34, 30, 0.16);
  --border-dark: rgba(233, 217, 203, 0.14);
  --border-dark-strong: rgba(233, 217, 203, 0.18);

  --max-width: 1240px;
  --gutter: 40px;
  --section-pad: clamp(84px, 10vw, 148px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Spectral', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
input, textarea, button { font-family: inherit; }
input:focus, textarea:focus { outline: none; }
section { scroll-margin-top: 80px; }
::selection { background: var(--brick); color: var(--paper); }
a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow .rule {
  width: 40px;
  height: 2px;
  display: block;
}
.eyebrow .rule.brick { background: var(--brick); }
.eyebrow .rule.terracotta { background: var(--terracotta); }
.eyebrow span.label {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow .label.brick { color: var(--brick); }
.eyebrow .label.terracotta { color: var(--terracotta); }

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============ Nav ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  z-index: 50;
  display: flex;
  align-items: center;
}
.site-nav .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.nav-brand .name {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-brand .place {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--brick);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-600);
  text-decoration: none;
}
.nav-cta {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  background: var(--brick);
  padding: 11px 20px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brick-hover); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 94vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--charcoal);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.28) 0%, rgba(20,17,14,0.05) 34%, rgba(20,17,14,0.30) 66%, rgba(20,17,14,0.82) 100%);
}
.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 40px 68px;
}
.hero-content .wrap { padding: 0; max-width: var(--max-width); margin: 0 auto; }
.hero .eyebrow .label { color: var(--cream-text-2); }
.hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  color: var(--cream-text);
  margin: 0;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero .subhead {
  font-family: 'Spectral', serif;
  font-weight: 300;
  color: var(--cream-text-3);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.5;
  margin: 26px 0 34px;
  max-width: 44ch;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  background: var(--brick);
  padding: 17px 34px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--brick-hover); }
.btn-outline {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-text);
  text-decoration: none;
  border: 1px solid rgba(246, 240, 228, 0.55);
  padding: 16px 34px;
  font-weight: 500;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(246, 240, 228, 0.1); }

/* ============ Stat strip ============ */
.stat-strip {
  background: var(--charcoal);
  border-top: 1px solid var(--border-dark);
}
.stat-strip .wrap {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat .value {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--cream-text);
}
.stat .label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ============ Section base ============ */
.section { padding: var(--section-pad) 40px; }
.section.on-dark { background: var(--charcoal); }
.section.on-cream-alt { background: var(--cream-alt); }
.section-head { max-width: 60ch; margin-bottom: clamp(44px, 6vw, 64px); }
.section-head.narrow { max-width: 56ch; }
h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--ink);
}
h2:last-child { margin-bottom: 0; }
.on-dark h2 { color: var(--cream-text); }
.section-head.narrow h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; }
#architecture h2 { margin-bottom: 20px; }
.gallery-head h2 { line-height: 1.04; }
.body-lg {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.72;
  color: var(--text-700);
  margin: 0 0 22px;
}
.body-lg:last-child { margin-bottom: 0; }
.on-dark .body-lg { color: var(--body-on-dark); font-weight: 300; }

/* ============ Overview ============ */
.overview .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

/* ============ Architecture ============ */
.architecture-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.feature-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-dark);
}
.feature-tile {
  background: var(--charcoal);
  padding: 26px 24px 30px;
}
.feature-tile .num {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--terracotta);
}
.feature-tile h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--cream-text);
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.feature-tile p {
  font-family: 'Spectral', serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted-on-dark-2);
  margin: 0;
}
.arch-hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.arch-detail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 2px;
  background: var(--border-dark);
}
.arch-detail-row img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

/* ============ Modern systems ============ */
.systems-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light-strong);
}
.systems-row .col {
  padding: 30px 24px;
  border-right: 1px solid var(--border-light);
}
.systems-row .col:first-child { padding-left: 0; }
.systems-row .col:last-child { border-right: 0; padding-right: 0; }
.systems-row .status {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
}
.systems-row h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  margin: 14px 0 8px;
}
.systems-row p {
  font-family: 'Spectral', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-600b);
  margin: 0;
}

/* ============ Setting ============ */
.setting .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.setting { padding-top: 0; }
.setting img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.setting h2 { font-size: clamp(28px, 3.4vw, 46px); margin: 0 0 20px; }
.setting .body-lg { font-size: 18px; margin: 0 0 18px; }
.setting .body-lg:nth-of-type(2) { margin-bottom: 30px; }
.setting-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-light-strong);
  padding-top: 24px;
  flex-wrap: wrap;
}
.setting-stats .value {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  display: block;
}
.setting-stats .label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ Floor plan ============ */
.floorplan-mat {
  background: var(--cream);
  padding: clamp(20px, 3vw, 44px);
  border: 1px solid var(--border-dark-strong);
}
.floorplan-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}
.floorplan-mat img {
  display: block;
  width: min(100%, 700px);
  aspect-ratio: 2388 / 2615;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  cursor: zoom-in;
}
.floorplan-caption {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
  text-align: center;
}

/* ============ Specifications ============ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light-strong);
}
.specs-grid .cell {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}
.specs-grid .cell:nth-child(3n) { border-right: 0; }
.specs-grid .cell:nth-last-child(-n+3) { border-bottom: 0; }
.specs-grid .cell .label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.specs-grid .cell .value {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.specs-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(48px, 6vw, 72px);
}
.specs-detail h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--brick);
}
.rooms-list, .features-list {
  display: flex;
  flex-direction: column;
}
.rooms-list .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(38, 34, 30, 0.1);
}
.rooms-list .row .name {
  font-family: 'Spectral', serif;
  font-size: 16.5px;
  color: var(--text-700);
}
.rooms-list .row .name .note {
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
}
.rooms-list .row .dims {
  font-family: 'Archivo', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.features-list .row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(38, 34, 30, 0.08);
}
.features-list .row .dash {
  color: var(--brick);
  font-family: 'Archivo', sans-serif;
}
.features-list .row .text {
  font-family: 'Spectral', serif;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--text-700);
}
.specs-footnote {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: clamp(32px, 4vw, 44px) 0 0;
  max-width: 78ch;
}

/* ============ Legacy ============ */
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--brick);
}
.legacy-grid .col {
  padding: 32px 28px;
  border-right: 1px solid rgba(38, 34, 30, 0.14);
}
.legacy-grid .col:first-child { padding-left: 0; }
.legacy-grid .col:last-child { border-right: 0; padding-right: 0; }
.legacy-grid .gen-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
}
.legacy-grid h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--ink);
  margin: 16px 0 4px;
  line-height: 1.15;
}
.legacy-grid .dates {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.legacy-grid p {
  font-family: 'Spectral', serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--text-600);
  margin: 0;
}

/* ============ Gallery ============ */
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(36px, 4vw, 52px);
}
.gallery-head .note {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 36ch;
}
.gallery-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}
.gallery-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--border-light-strong);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.gallery-group-head .year {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gallery-group-head .count {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gallery-grid button {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-grid button:hover img { transform: scale(1.03); }

/* ============ Inquire ============ */
.inquire .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.inquire h2 { margin: 0 0 22px; }
.inquire .body-lg { margin: 0 0 34px; max-width: 44ch; }
.address-block {
  border-top: 1px solid var(--border-dark-strong);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.address-block .label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  display: block;
  margin-bottom: 6px;
}
.address-block .value {
  font-family: 'Spectral', serif;
  font-size: 19px;
  color: var(--cream-text);
}
.map-frame {
  width: 100%;
  height: 240px;
  border: 1px solid var(--border-dark-strong);
  filter: grayscale(0.35) contrast(1.02);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  grid-column: span 2;
  align-self: start;
}
.form-flag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  display: block;
}
.form-flag .label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}
#inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
}
#inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
#inquiry-form label.full { grid-column: span 2; }
#inquiry-form .field-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
#inquiry-form .field-label .optional {
  text-transform: none;
  letter-spacing: 0;
  color: #6E655A;
  font-style: italic;
  font-family: 'Spectral', serif;
}
#inquiry-form input,
#inquiry-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(233, 217, 203, 0.34);
  padding: 9px 0;
  font-family: 'Spectral', serif;
  font-size: 17px;
  color: var(--cream-text);
}
#inquiry-form input:focus,
#inquiry-form textarea:focus {
  border-bottom-color: var(--terracotta);
}
#inquiry-form textarea { resize: vertical; }
.form-submit {
  grid-column: span 2;
  justify-self: start;
  margin-top: 8px;
  background: var(--brick);
  color: var(--paper);
  border: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 17px 40px;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--brick-hover-light); }

.form-confirm {
  border: 1px solid rgba(217, 138, 106, 0.5);
  padding: 48px 40px;
  text-align: left;
}
.form-confirm .rule {
  width: 44px;
  height: 2px;
  background: var(--terracotta);
  display: block;
  margin-bottom: 22px;
}
.form-confirm h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--cream-text);
  margin: 0 0 12px;
}
.form-confirm p {
  font-family: 'Spectral', serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-on-dark);
  margin: 0;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--charcoal-deep);
  padding: 48px 40px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-brand .name {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--cream-text);
}
.footer-brand .tag {
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 4px;
}
.footer-note {
  font-family: 'Spectral', serif;
  font-size: 13px;
  color: #6E655A;
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 15, 12, 0.95);
  padding: clamp(20px, 5vw, 64px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lb-btn {
  position: absolute;
  border: 0;
  background: transparent;
  color: #E9E2D4;
  font-family: 'Archivo', sans-serif;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s;
}
.lb-btn:hover { opacity: 1; }
#lb-close {
  top: 24px; right: 28px;
  width: 46px; height: 46px;
  font-size: 34px; line-height: 1;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border: 1px solid rgba(233, 226, 212, 0.35);
  background: rgba(20, 17, 14, 0.4);
  font-size: 26px; line-height: 1;
}
.lb-nav:hover { background: rgba(158, 74, 50, 0.5); }
#lb-prev { left: clamp(12px, 2.5vw, 40px); }
#lb-next { right: clamp(12px, 2.5vw, 40px); }
#lb-count {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .overview .wrap,
  .architecture-grid,
  .setting .wrap,
  .inquire .wrap,
  .specs-detail {
    grid-template-columns: 1fr;
  }
  .systems-row { grid-template-columns: repeat(2, 1fr); }
  .systems-row .col:nth-child(2n) { border-right: 0; }
  .systems-row .col:nth-child(1), .systems-row .col:nth-child(2) { padding-top: 0; }
  .systems-row .col { padding-left: 0 !important; padding-right: 24px; border-right: 1px solid var(--border-light); }
  .systems-row .col:nth-child(2n) { padding-right: 0; border-right: 0; }
  .legacy-grid { grid-template-columns: 1fr; }
  .legacy-grid .col { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid rgba(38,34,30,0.14); padding-bottom: 28px; margin-bottom: 28px; }
  .legacy-grid .col:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid .cell:nth-child(3n) { border-right: 1px solid var(--border-light); }
  .specs-grid .cell:nth-child(2n) { border-right: 0; }
  .specs-grid .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--border-light); }
  .specs-grid .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--border-light); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link, .nav-cta { width: 100%; padding: 12px 0; }
  .nav-cta { padding: 12px 20px; margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }
  .feature-tiles { grid-template-columns: 1fr; }
  .arch-detail-row { grid-template-columns: 1fr; }
  .arch-hero-img { height: 320px; }
  .setting img { height: 320px; }
  .systems-row { grid-template-columns: 1fr; border-top: 0; }
  .systems-row .col { border-right: 0 !important; border-bottom: 1px solid var(--border-light); padding: 24px 0; }
  .systems-row .col:first-child { border-top: 1px solid var(--border-light-strong); }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-grid .cell { border-right: 0 !important; }
  .specs-grid .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--border-light); }
  .specs-grid .cell:last-child { border-bottom: 0; }
  #inquiry-form { grid-template-columns: 1fr; }
  #inquiry-form label.full { grid-column: span 1; }
  .form-submit { grid-column: span 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .hero-content { padding: 0 24px 48px; }
  .lb-nav { width: 42px; height: 42px; font-size: 20px; }
}
