/* Локальные шрифты: сайт не обращается к сторонним серверам при загрузке страниц. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-400-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Шрифтовая пара: Cormorant Garamond + Manrope — архитектурная элегантность и техническая ясность. */
:root {
  --navy: #1c2a44;
  --navy-deep: #121d31;
  --navy-soft: #2b3b5a;
  --milk: #f8f5e9;
  --milk-soft: #eee9dc;
  --paper: #fffdf6;
  --ink: #172034;
  --ink-soft: #5f6570;
  --white: #ffffff;
  --line-light: rgba(248, 245, 233, 0.22);
  --line-dark: rgba(28, 42, 68, 0.18);
  --glass: rgba(248, 245, 233, 0.82);
  --glass-strong: rgba(248, 245, 233, 0.94);
  --shadow: 0 24px 80px rgba(7, 15, 31, 0.18);
  --error: #a13d32;
  --success: #2f6352;
  --sidebar: 168px;
  --content-max: 1260px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --section-y: clamp(5rem, 9vw, 9rem);
  --page-x: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--milk);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--milk);
  color: var(--navy);
  transform: translateY(-150%);
}

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

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3.25rem, 6vw, 6.7rem); }
h2 { font-size: clamp(3rem, 5.5vw, 6rem); }
h3 { font-size: clamp(1.8rem, 2.5vw, 2.65rem); }
em { font-weight: 400; }

main, .footer { margin-left: var(--sidebar); }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.4rem 2.1rem;
  background: var(--navy);
  color: var(--milk);
}

.brand { display: block; width: 100%; }
.brand svg { display: block; width: 100%; height: auto; }

.side-nav {
  display: grid;
  gap: 1rem;
  margin-block: auto;
}

.side-nav a {
  position: relative;
  text-decoration: none;
  color: var(--milk-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  transition: color 220ms ease, transform 220ms ease;
}

.side-nav a::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 220ms ease;
}

.side-nav a:hover,
.side-nav a[aria-current="true"] { color: var(--white); transform: translateX(0.4rem); }
.side-nav a[aria-current="true"]::before { width: 1rem; }

.side-signature { display: grid; color: var(--milk-soft); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.45; }
.side-signature small { margin-top: 1.15rem; letter-spacing: 0.18em; }

.mobile-header { display: none; }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media { object-fit: cover; object-position: center; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(9, 16, 28, 0.3), rgba(9, 16, 28, 0.02) 45%, rgba(9, 16, 28, 0.12)); }

.hero-topline {
  position: absolute;
  z-index: 2;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ghost-button {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--line-light);
  border-radius: 99px;
  background: rgba(18, 29, 49, 0.18);
  color: var(--white);
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  backdrop-filter: blur(10px);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: 2rem;
  bottom: 1.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(58%, 760px);
  min-height: 58%;
  padding: clamp(2.5rem, 5vw, 5.5rem);
  color: var(--ink);
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-index {
  margin-bottom: 2rem;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card h1 { margin-bottom: 1.6rem; }
.hero-lead { max-width: 36rem; margin-bottom: 2.2rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-deep); }
.button-line { border-color: var(--line-dark); background: transparent; color: var(--navy); }
.button-line:hover { background: var(--paper); }
.button-light { background: var(--milk); color: var(--navy); }
.button-light:hover { background: var(--white); }
.button-outline-light { border-color: var(--line-light); background: transparent; color: var(--white); }
.button-outline-light:hover { background: var(--line-light); }

.edition-strip {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem var(--page-x);
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section { padding: var(--section-y) var(--page-x); }
.section > * { width: min(100%, var(--content-max)); margin-inline: auto; }
.section-index { color: var(--ink-soft); }
.section-dark { background: var(--navy); color: var(--milk); }
.section-dark .section-index { color: var(--milk-soft); }

.intro-grid,
.split-heading,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.intro-grid h2,
.section-heading h2,
.faq-layout h2 { margin-bottom: 0; }

.intro-copy p,
.section-heading > div > p,
.section-heading > p {
  max-width: 34rem;
  color: var(--ink-soft);
}

.section-dark .section-heading p { color: var(--milk-soft); }

.arrow-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: min(100%, 260px);
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.honesty-note {
  padding-left: 1rem;
  border-left: 1px solid currentColor;
  font-size: 0.78rem;
  opacity: 0.82;
}

.dark-note { color: var(--ink-soft); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3.5rem; }

.filter {
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: var(--milk);
  cursor: pointer;
  font-size: 0.76rem;
}

.filter:hover,
.filter.is-active { background: var(--milk); color: var(--navy); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.mobile-catalog-title,
.mobile-catalog-cta { display: none; }

.catalog-card {
  position: relative;
  min-width: 0;
  background: var(--navy);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.catalog-card[hidden] { display: none; }
.catalog-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.catalog-card-media[role="button"] { cursor: pointer; }
.catalog-card-media[role="button"]:focus-visible { outline: 3px solid var(--milk); outline-offset: -4px; }
.catalog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.catalog-photo-count {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(5, 25, 45, 0.8);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.catalog-card:hover .catalog-card-media img { transform: scale(1.025); }
.catalog-card.is-placeholder .catalog-card-media {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(248, 245, 233, 0.08), rgba(248, 245, 233, 0.025));
}
.catalog-placeholder { width: 100%; height: 100%; }
.catalog-card-body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.catalog-card .card-kicker { color: var(--milk-soft); font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; }
.catalog-card h3 { margin: 0.7rem 0 1rem; color: var(--milk); }
.catalog-card p { max-width: 38rem; color: var(--milk-soft); font-size: 0.9rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.card-bottom span { font-size: 0.7rem; color: var(--milk-soft); }
.card-bottom button { border: 0; background: transparent; color: var(--milk); cursor: pointer; font-size: 0.78rem; }
.card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.45rem; }
.card-actions button { min-height: 44px; padding: 0.45rem 0.7rem; }
.card-actions .catalog-calc-button { border: 1px solid var(--line-light); border-radius: 999px; }

.calculator-section { background: var(--milk-soft); }
.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  margin-top: clamp(3rem, 6vw, 6rem);
  border: 1px solid var(--line-dark);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 1.2rem;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label,
.thickness-field legend,
.extras-field legend {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.field input[aria-invalid="true"] { border-color: var(--error); }
.field small { display: block; margin-top: 0.55rem; color: var(--ink-soft); font-size: 0.7rem; }
.field-error { display: block; min-height: 1.25rem; margin-top: 0.35rem; color: var(--error); font-size: 0.72rem; }
.thickness-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.thickness-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.thickness-option { position: relative; }
.thickness-option input { position: absolute; opacity: 0; pointer-events: none; }
.thickness-option label {
  min-height: 84px;
  display: grid;
  place-items: center;
  gap: 0.1rem;
  padding: 0.8rem;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.thickness-option strong { font-weight: 500; }
.thickness-option small { color: inherit; opacity: 0.72; }
.thickness-option input:checked + label { border-color: var(--navy); background: var(--navy); color: var(--white); }
.thickness-option input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 3px; }
.installment-choice {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 72px;
  padding: 1rem;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.installment-choice input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--navy); }
.installment-choice span { display: grid; gap: 0.2rem; }
.installment-choice strong { font-size: 0.88rem; }
.installment-choice small { color: var(--ink-soft); font-size: 0.72rem; }
.installment-choice:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.installment-choice:has(input:checked) small { color: inherit; opacity: 0.78; }
.installment-choice:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 3px; }
.installment-choice.is-disabled { cursor: not-allowed; opacity: 0.52; }
.extras-field { margin: 0; padding: 0; border: 0; }
.extras-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.extra-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 74px;
  padding: 0.9rem;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.extra-choice input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--navy); }
.extra-choice span { display: grid; gap: 0.2rem; }
.extra-choice strong { font-size: 0.82rem; }
.extra-choice small { color: var(--ink-soft); font-size: 0.68rem; line-height: 1.35; }
.extra-choice:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.extra-choice:has(input:checked) small { color: inherit; opacity: 0.78; }
.extra-choice:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 3px; }
.extra-choice.is-disabled { cursor: not-allowed; opacity: 0.52; }
.formula-note { padding-top: 1rem; border-top: 1px solid var(--line-dark); color: var(--ink-soft); font-size: 0.75rem; }

.calculator-result {
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--navy);
  color: var(--milk);
}

.calculator-result .eyebrow { color: var(--milk-soft); }
.result-total { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3.4rem, 6vw, 5.7rem); line-height: 1; letter-spacing: -0.04em; }
.result-summary { color: var(--milk-soft); font-size: 0.8rem; }
.price-breakdown { margin: 2.5rem 0 1.5rem; }
.price-breakdown > div { display: flex; justify-content: space-between; gap: 2rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line-light); }
.price-breakdown > div[hidden] { display: none; }
.price-breakdown dt { color: var(--milk-soft); }
.price-breakdown dd { margin: 0; font-weight: 600; text-align: right; }
.result-disclaimer { color: var(--milk-soft); font-size: 0.76rem; }
.result-error { min-height: 1.4rem; color: var(--milk); font-size: 0.78rem; }
.result-actions { display: grid; gap: 0.7rem; margin-top: 1.3rem; }
.copy-status { min-height: 1.3rem; margin: 0.7rem 0 0; color: var(--milk-soft); font-size: 0.72rem; }
.result-actions button:disabled { cursor: not-allowed; opacity: 0.45; transform: none; }

.projects-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: repeat(2, clamp(280px, 29vw, 420px));
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.project-card { position: relative; min-height: 270px; overflow: hidden; cursor: pointer; }
.project-card:first-child { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.project-card:hover img { transform: scale(1.025); }
.project-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9, 16, 28, 0.78)); }
.project-card-content { position: absolute; z-index: 1; inset: auto 0 0; padding: clamp(1.4rem, 3vw, 2.5rem); color: var(--white); }
.project-card h3 { margin-bottom: 0.45rem; }
.project-card p { margin-bottom: 0; font-size: 0.74rem; }
.project-card button { position: absolute; z-index: 2; right: 1.5rem; top: 1.5rem; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; background: rgba(18, 29, 49, 0.2); color: var(--white); cursor: pointer; backdrop-filter: blur(8px); }
.project-card:nth-child(n + 4) { min-height: 320px; }

.principles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.principles-grid article { min-height: 320px; padding: 2rem 1.5rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.principles-grid span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; color: var(--milk-soft); }
.principles-grid h3 { margin: 5rem 0 1rem; font-size: 2rem; line-height: 1; }
.principles-grid p { color: var(--milk-soft); font-size: 0.82rem; }

.process-list { margin-top: 4rem; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.process-list li { display: grid; grid-template-columns: 0.25fr 1fr; gap: 3rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line-dark); }
.process-list > li > span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; color: var(--ink-soft); }
.process-list h3 { margin: 0 0 0.5rem; font-size: clamp(2rem, 3vw, 3rem); }
.process-list p { max-width: 42rem; margin-bottom: 0; color: var(--ink-soft); }

.reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.reviews-heading h2 { margin-bottom: 0; }
.reviews-controls { display: flex; gap: 0.6rem; }
.reviews-controls button { width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.reviews-controls button:disabled { cursor: default; opacity: 0.35; }
.reviews-grid { display: flex; gap: 1rem; margin-top: 2.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.review-card { flex: 0 0 calc((100% - 2rem) / 3); min-width: 260px; padding: 2rem; border: 1px solid var(--line-dark); scroll-snap-align: start; }
.review-card blockquote { margin: 0 0 2rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; line-height: 1.15; }

.faq-layout { align-items: start; }
.accordion { border-top: 1px solid var(--line-dark); }
.accordion details { border-bottom: 1px solid var(--line-dark); }
.accordion summary { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; font-weight: 400; line-height: 0.8; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { max-width: 46rem; padding: 0 2rem 1.5rem 0; color: var(--ink-soft); font-size: 0.9rem; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  background: var(--navy);
  color: var(--milk);
}

.contact-copy { padding: var(--section-y) var(--page-x); }
.contact-copy h2 { margin-bottom: 2rem; }
.contact-copy > p { max-width: 40rem; color: var(--milk-soft); }
.contact-panel { display: flex; flex-direction: column; justify-content: center; padding: var(--section-y) clamp(2rem, 5vw, 5rem); border-left: 1px solid var(--line-light); background: var(--navy-deep); }
.contact-list { display: grid; }
.contact-item { padding: 1.4rem 0; border-bottom: 1px solid var(--line-light); }
.contact-label { display: block; margin-bottom: 0.45rem; color: var(--milk-soft); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-phone { display: block; margin-bottom: 0.8rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); text-decoration: none; line-height: 1; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.contact-actions a, .instagram-link { font-size: 0.76rem; color: var(--milk-soft); }
.instagram-link { margin-top: 2rem; }

.footer {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding: 3.5rem var(--page-x);
  background: var(--navy-deep);
  color: var(--milk-soft);
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
}

.footer-brand svg { display: block; width: 150px; }
.footer-links { display: grid; gap: 0.5rem; }
.footer small { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }

.mobile-actions { display: none; }

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: calc(var(--sidebar) + 1rem);
  bottom: 1rem;
  width: min(560px, calc(100vw - var(--sidebar) - 2rem));
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.72rem; }
.cookie-banner button { min-height: 42px; padding: 0.55rem 1rem; border: 0; background: var(--navy); color: var(--white); cursor: pointer; }

dialog {
  width: min(680px, calc(100% - 2rem));
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(7, 15, 31, 0.72); backdrop-filter: blur(4px); }
.contact-dialog { padding: clamp(2rem, 5vw, 4rem); }
.dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 1.5rem; }
.dialog-options { display: grid; gap: 0.6rem; }
.dialog-options button { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line-dark); background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.project-dialog { width: min(960px, calc(100% - 2rem)); grid-template-columns: 1.1fr 0.9fr; max-width: 960px; max-height: calc(100dvh - 2rem); overflow-x: hidden; overflow-y: auto; }
.project-dialog[open] { display: grid; }
.project-dialog > img { width: 100%; height: 100%; min-height: 520px; object-fit: contain; background: var(--navy-deep); }
.project-dialog-content { align-self: center; min-width: 0; padding: clamp(2rem, 4vw, 3rem); }
.project-dialog-content h2 { max-width: 100%; font-size: clamp(2.8rem, 4vw, 4rem); overflow-wrap: normal; }
.project-dialog-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 0.8rem; margin-top: 2rem; }
.project-dialog-controls button { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.05rem; }
.project-dialog-controls button:disabled { cursor: default; opacity: 0.35; }
.project-dialog-controls span { text-align: center; font-size: 0.72rem; letter-spacing: 0.12em; }

.noscript { position: fixed; z-index: 200; inset: auto 1rem 1rem; padding: 1rem; background: var(--paper); border: 1px solid var(--error); color: var(--ink); }

.legal-page { background: var(--paper); }
.legal-page main { width: min(920px, calc(100% - 2rem)); min-width: 0; margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.legal-page h1 { max-width: 100%; margin-bottom: 1.5rem; color: var(--navy); overflow-wrap: anywhere; }
.legal-page h2 { margin: 3rem 0 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.legal-page p, .legal-page li { max-width: 75ch; overflow-wrap: anywhere; }
.legal-page ul, .legal-page ol { max-width: 100%; padding-left: 1.25rem; }
.legal-page .legal-back { display: inline-block; margin-bottom: 3rem; }
.legal-page .legal-alert { padding: 1rem 1.2rem; border-left: 3px solid var(--navy); background: var(--milk); }
.legal-page code { padding: 0.1rem 0.3rem; background: var(--milk-soft); overflow-wrap: anywhere; word-break: break-word; }
.legal-placeholder { color: #9a3f37; text-decoration: underline dotted; text-underline-offset: 0.2em; }

.reveal { animation: heroReveal 900ms var(--ease) both; }
.scroll-reveal { opacity: 1; transform: none; transition: transform 650ms var(--ease); }
.scroll-reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  :root { --sidebar: 144px; }
  .hero-card { width: 64%; }
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles-grid article { min-height: 280px; }
  .principles-grid h3 { margin-top: 3.5rem; }
}

@media (max-width: 900px) {
  :root { --sidebar: 0px; }
  html { scroll-padding-top: 76px; }
  main, .footer { margin-left: 0; }
  .sidebar { display: none; }
  .menu-toggle,
  .mobile-menu a,
  .mobile-menu button,
  .button,
  .arrow-link,
  .filter,
  .card-bottom button,
  .project-card button,
  .dialog-close,
  .dialog-options button,
  .project-dialog-controls button,
  .cookie-banner button,
  .cookie-banner a,
  .mobile-catalog-cta,
  .contact-actions a,
  .footer a,
  summary,
  input,
  select,
  .thickness-option label,
  .installment-choice {
    min-width: 44px;
    min-height: 44px;
  }
  .extra-choice,
  .reviews-controls button {
    min-width: 44px;
    min-height: 44px;
  }
  .mobile-menu a,
  .mobile-menu button,
  .arrow-link,
  .contact-actions a,
  .footer a { display: inline-flex; align-items: center; }
  .cookie-banner a { display: inline-flex; align-items: center; }
  .field > label,
  .contact-phone { min-height: 44px; display: flex; align-items: center; }
  .mobile-header {
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.1rem;
    background: var(--navy);
    color: var(--milk);
    border-bottom: 1px solid var(--line-light);
  }
  .mobile-brand { width: 150px; height: 54px; }
  .mobile-brand svg { display: block; width: 100%; height: 100%; }
  .menu-toggle { position: relative; z-index: 2; width: 46px; height: 46px; border: 1px solid var(--line-light); border-radius: 50%; background: transparent; color: var(--milk); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform 220ms ease, top 220ms ease; }
  .menu-toggle span:nth-child(2) { top: 18px; }
  .menu-toggle span:nth-child(3) { top: 26px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 76px 0 0;
    display: grid;
    align-content: center;
    gap: 1.4rem;
    padding: 2rem;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a, .mobile-menu .text-link { border: 0; background: transparent; color: var(--milk); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.3rem, 9vw, 4.2rem); text-align: left; text-decoration: none; cursor: pointer; }
  .mobile-menu .text-link { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-light); font-family: "Manrope", Arial, sans-serif; font-size: 0.9rem; }
  .hero { min-height: max(693px, calc(100svh - 66px - env(safe-area-inset-bottom))); padding-top: 76px; }
  .hero-media, .hero-shade { top: 76px; height: calc(100% - 76px); }
  .hero-media { object-position: 46% center; }
  .hero-topline { top: 98px; left: 1.2rem; right: 1.2rem; }
  .hero-topline .ghost-button { display: none; }
  .hero-card { width: calc(100% - 1.25rem); right: 0; min-height: auto; padding: 2.2rem 1.35rem 2.5rem; background: var(--glass-strong); }
  .hero-card .eyebrow { margin-bottom: 1.1rem; }
  .hero-card h1 { margin-bottom: 1rem; font-size: clamp(3rem, 13vw, 4.8rem); }
  .hero-card .hero-lead { margin-bottom: 1.25rem; line-height: 1.5; }
  .hero-caption { left: 1.25rem; bottom: 28rem; max-width: 11rem; font-size: 0.58rem; }
  .edition-strip { padding-inline: 1.2rem; }
  .intro-grid, .split-heading, .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { align-items: start; }
  .calculator-shell { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-card, .project-card:first-child { grid-row: auto; min-height: 420px; }
  .process-list li { grid-template-columns: 70px 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-panel { border-left: 0; border-top: 1px solid var(--line-light); }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer > p { grid-column: 1 / -1; }
  .cookie-banner { left: 1rem; bottom: calc(74px + env(safe-area-inset-bottom)); width: calc(100vw - 2rem); }
  .project-dialog[open] { grid-template-columns: 1fr; }
  .project-dialog > img { min-height: 280px; max-height: 46vh; }
  .project-dialog-content { padding: 1.6rem 1.35rem 1.4rem; }
  .project-dialog-controls { margin-top: 1.25rem; }
  .mobile-actions {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: var(--navy-deep);
    border-top: 1px solid var(--line-light);
  }
  .mobile-actions a, .mobile-actions button { min-height: 48px; display: grid; place-items: center; border: 0; background: var(--milk); color: var(--navy); text-decoration: none; font-size: 0.76rem; font-weight: 600; cursor: pointer; }
  .mobile-actions button { background: var(--navy-soft); color: var(--white); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  :root { --section-y: 4.5rem; --page-x: 1.15rem; }
  body { padding-bottom: 0; font-size: 16px; }
  .mobile-actions { display: none !important; }
  .mobile-header {
    height: 76px;
    padding: 0.7rem 1.25rem;
    background: linear-gradient(120deg, #061d35, #07304b 62%, #041b31);
  }
  .mobile-brand { width: 132px; height: 48px; }
  .menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 0;
  }
  .menu-toggle span:not(.sr-only) { left: 7px; right: 7px; height: 3px; border-radius: 3px; }
  .menu-toggle span:nth-child(2) { top: 16px; }
  .menu-toggle span:nth-child(3) { top: 29px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2),
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; }
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 76px;
    background: linear-gradient(145deg, #061d35, #07304b 55%, #04192d);
  }
  .hero-media {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: clamp(300px, 88vw, 365px);
    object-fit: cover;
    object-position: center 56%;
    transform: none;
  }
  .hero-shade,
  .hero-topline,
  .hero-caption { display: none; }
  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    width: 100%;
    min-height: 0;
    margin-top: -44px;
    padding: 2.75rem 1.25rem 2.4rem;
    color: var(--milk);
    background: linear-gradient(145deg, #061d35, #07304b 55%, #04192d);
    border: 0;
    border-radius: 26px 26px 0 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .hero-card .eyebrow { display: none; }
  .hero-card h1 {
    margin-bottom: 0.9rem;
    color: #fff;
    font-size: clamp(3.1rem, 15vw, 4.3rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
  }
  .hero-card .hero-lead {
    max-width: 33rem;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.55;
  }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; min-height: 56px; }
  .hero-actions .button-dark { background: var(--milk); color: #07213a; }
  .hero-actions .button-line { display: none; }
  .edition-strip,
  .intro { display: none; }
  .catalog-section {
    padding: 0 1rem 2.6rem;
    background: linear-gradient(145deg, #061d35, #07304b 55%, #04192d);
  }
  .catalog-section > .section-index,
  .catalog-section > .section-heading,
  .catalog-filters { display: none; }
  .mobile-catalog-title {
    display: block;
    margin: 0 auto 1rem;
    color: var(--white);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0;
    background: transparent;
    border: 0;
  }
  .catalog-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: #f6f1e8;
    box-shadow: 0 16px 30px rgba(1, 11, 23, 0.22);
  }
  .catalog-card-media { aspect-ratio: 1.08 / 1; }
  .catalog-card-media img {
    object-position: center;
    filter: saturate(0.82) contrast(1.06) brightness(0.94) sepia(0.08);
  }
  .catalog-card-body { padding: 0.9rem 0.55rem 1rem; }
  .catalog-card .card-kicker,
  .catalog-card-body > p,
  .catalog-card .card-bottom { display: none; }
  .catalog-card h3 {
    margin: 0;
    color: #08223d;
    font-size: clamp(1.38rem, 7vw, 1.82rem);
    line-height: 1;
    text-align: center;
    letter-spacing: -0.03em;
  }
  .mobile-catalog-cta {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem auto 0;
    padding: 0.95rem 1.3rem;
    border-radius: 14px;
    background: #f6f1e8;
    color: #08223d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
  }
  .mobile-catalog-cta span { font-size: 2rem; font-weight: 400; line-height: 1; }
  .calculator-form { grid-template-columns: 1fr; padding: 1.35rem; }
  .field-wide { grid-column: auto; }
  .thickness-options { grid-template-columns: 1fr; }
  .extras-options { grid-template-columns: 1fr; }
  .thickness-option label { min-height: 64px; display: flex; justify-content: space-between; }
  .calculator-result { padding: 1.5rem 1.35rem 2rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { min-height: 230px; }
  .principles-grid h3 { margin-top: 2.5rem; }
  .process-list li { grid-template-columns: 46px 1fr; gap: 1rem; }
  .project-card, .project-card:first-child { min-height: 340px; }
  .reviews-heading { align-items: center; gap: 1rem; }
  .reviews-controls button { width: 46px; height: 46px; }
  .review-card { flex-basis: calc(100% - 1.5rem); }
  .review-card { padding: 1.5rem 1.35rem; }
  .review-card blockquote { font-size: 1.65rem; }
  .footer { grid-template-columns: 1fr; }
  .footer > * { grid-column: auto; }
  .footer small { grid-column: 1; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .contact-phone { font-size: 2.45rem; }
  .legal-page h1 { font-size: clamp(2.65rem, 14vw, 4rem); line-height: 0.98; }
  .legal-page .eyebrow { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
