:root {
  --bg: #f2f6f7;
  --surface: #ffffff;
  --surface-alt: #e4edef;
  --text: #10222a;
  --text-muted: #48606a;
  --border: rgba(16, 34, 42, 0.12);
  --accent: #125e6e;
  --accent-2: #c2803d;
  --secondary: #1a3a45;
  --on-accent: #ffffff;
  --dark: #0c1c23;
  --radius: 10px;
  --radius-pill: 999px;
  --font-heading: Optima, Candara, "Segoe UI", sans-serif;
  --font-body: Georgia, serif;
  --content-max: 1400px;
  --section-pad: 136px;
  --header-h: 88px;
  --header-h-shrunk: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: -1.4px;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--text);
}

h1 {
  font-size: clamp(46px, 8vw, 90px);
  line-height: 1.0;
}

h2 {
  font-size: clamp(30px, 5.2vw, 52px);
}

h3 {
  font-size: clamp(22px, 3vw, 28px);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.container {
  width: min(100% - 48px, var(--content-max));
  margin-inline: auto;
}

.band {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--bg), var(--surface-alt));
}

.band--alt {
  background: linear-gradient(180deg, var(--surface-alt), var(--bg));
}

.band--surface {
  background: var(--surface);
}

.band--dark {
  background: var(--dark);
  color: var(--on-accent);
}

.band--dark h2,
.band--dark p {
  color: var(--on-accent);
}

.band--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
  height: var(--header-h);
}

.site-header.is-scrolled {
  background: rgba(242, 246, 247, 0.96);
  height: var(--header-h-shrunk);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 48px, var(--content-max));
  margin-inline: auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--block {
  width: 100%;
}

.independence {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 0 0 48px;
  max-width: 72ch;
}

.page-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, var(--surface-alt), var(--bg));
}

.page-hero .independence {
  margin-top: 32px;
  margin-bottom: 0;
}

.quiet-hero {
  padding: calc(var(--section-pad) * 0.85) 0 var(--section-pad);
  background: var(--surface-alt);
}

.quiet-hero__rule {
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
  border: 0;
}

.quiet-hero .kicker {
  margin-bottom: 1.4rem;
}

.quiet-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.2rem;
  margin-inline: 0;
}

.quiet-hero__lead {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.category-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
}

.category-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .category-card__media img {
  transform: scale(1.02);
}

.category-card__body {
  padding: 32px 28px 36px;
}

.category-card__body h3 {
  margin-bottom: 0.5em;
}

.category-card__body p {
  color: var(--text-muted);
  margin-bottom: 1.2em;
}

.category-card__link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--accent);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quote-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  background: var(--surface);
}

.quote-card blockquote {
  margin: 0 0 1.4em;
  font-size: 1.05rem;
  color: var(--text);
}

.quote-card cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: left;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.step h3 {
  margin-bottom: 0.5em;
}

.step p {
  color: var(--text-muted);
  margin: 0;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.photo-strip figure {
  margin: 0;
}

.photo-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.35s ease;
}

.photo-strip figure:hover img {
  transform: scale(1.02);
}

.photo-strip figcaption {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-split__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.closing-cta {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.closing-cta h2 {
  margin-bottom: 0.6em;
}

.closing-cta p {
  color: var(--text-muted);
  margin: 0;
}

.catalog-rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.catalog-row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.catalog-row:hover {
  transform: translateY(-2px);
}

.catalog-row--flip {
  grid-template-columns: 1fr 40%;
}

.catalog-row--flip .catalog-row__media {
  order: 2;
}

.catalog-row--flip .catalog-row__body {
  order: 1;
}

.catalog-row__media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.catalog-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.catalog-row:hover .catalog-row__media img {
  transform: scale(1.02);
}

.catalog-row__body {
  padding: 40px 40px 40px 0;
}

.catalog-row--flip .catalog-row__body {
  padding: 40px 0 40px 40px;
}

.catalog-row__meta {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.8em;
}

.catalog-row__meta strong {
  color: var(--text);
  font-weight: 600;
}

.catalog-row__body h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 0.5em;
}

.catalog-row__body p {
  color: var(--text-muted);
  margin-bottom: 1.6em;
}

.masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.masonry-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.masonry-card:hover {
  transform: translateY(-2px);
}

.masonry-card--image-bottom {
  flex-direction: column-reverse;
}

.masonry-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.masonry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.masonry-card:hover .masonry-card__media img {
  transform: scale(1.02);
}

.masonry-card__body {
  padding: 36px 32px 40px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.masonry-card__meta {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.6em;
  flex: 0 0 auto;
}

.masonry-card__body h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 0.5em;
}

.masonry-card__body p:not(.masonry-card__meta) {
  color: var(--text-muted);
  margin-bottom: 1.6em;
  flex: 1;
}

.catalog-close {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  max-width: 68ch;
}

.editorial-stack section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.editorial-stack section:last-child {
  border-bottom: 0;
}

.editorial-stack .num-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.editorial-stack h2 {
  margin-bottom: 1rem;
}

.editorial-stack p {
  color: var(--text-muted);
  max-width: 75ch;
}

.lead-large {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: -0.8px;
  max-width: 42ch;
  margin: 0 0 72px;
  color: var(--text);
}

.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}

.two-col-text section h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 0.8em;
}

.two-col-text section p {
  color: var(--text-muted);
}

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-wrap > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.agree-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0;
}

.agree-row input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.agree-row label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-error {
  color: #8b2e2e;
  font-size: 14px;
  margin-top: 8px;
}

.contact-email-line {
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
}

.contact-email-line a {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.confirm-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
}

.confirm-panel h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 0.6em;
}

.confirm-panel p {
  color: var(--text-muted);
  margin-bottom: 1.2em;
}

.legal-body {
  max-width: 78ch;
}

.legal-body h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

.legal-body h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
}

.legal-body ul {
  padding-left: 1.2em;
  margin: 0 0 1.2em;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 640px;
}

.sitemap-list li {
  border-bottom: 1px solid var(--border);
}

.sitemap-list a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: -0.4px;
  text-decoration: none;
  color: var(--text);
}

.sitemap-list a:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  margin-top: 0;
}

.footer-band {
  width: min(100% - 48px, var(--content-max));
  margin-inline: auto;
  padding: 48px 0;
}

.footer-band + .footer-band {
  border-top: 1px solid var(--border);
}

.footer-brand-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand-row .brand {
  margin-bottom: 0;
}

.footer-blurb {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-mail {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: -0.6px;
  text-decoration: none;
  color: var(--accent);
  margin-bottom: 32px;
}

.footer-bottom {
  text-align: center;
}

.footer-independence {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 70ch;
  margin: 0 auto 24px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 12px;
}

.footer-consent {
  margin: 0 0 20px;
}

.footer-consent button {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-requisites {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  left: 24px;
  bottom: 24px;
  width: min(400px, calc(100% - 32px));
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(16, 34, 42, 0.18);
}

.consent-banner::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner__copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.consent-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 18px;
}

.consent-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.consent-cat input {
  width: 16px;
  height: 16px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-actions .btn {
  flex: 1 1 auto;
  padding: 12px 16px;
  font-size: 12px;
}

.consent-actions .btn--accept {
  order: -1;
}

.consent-policy {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  :root {
    --section-pad: 100px;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .two-col-text {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .container,
  .site-header__inner,
  .footer-band {
    width: min(100% - 32px, var(--content-max));
  }

  .catalog-row,
  .catalog-row--flip {
    grid-template-columns: 1fr;
  }

  .catalog-row--flip .catalog-row__media,
  .catalog-row--flip .catalog-row__body {
    order: unset;
  }

  .catalog-row__body,
  .catalog-row--flip .catalog-row__body {
    padding: 28px;
  }

  .masonry {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps::before {
    display: none;
  }

  .photo-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
  }

  .photo-strip figure {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .photo-strip img {
    height: 220px;
  }

  .about-split__cols {
    grid-template-columns: 1fr;
  }

  .footer-brand-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .consent-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
  }

  .consent-actions {
    flex-direction: column;
  }

  .consent-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 64px;
    --header-h: 72px;
  }

  body {
    font-size: 16px;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .brand img {
    width: 28px;
    height: 36px;
  }
}
