:root {
  --ink: #14213d;
  --indigo: #183a73;
  --madder: #9f2f2f;
  --clay: #b2643c;
  --sand: #f4eadc;
  --cotton: #fffaf1;
  --charcoal: #1d1f23;
  --muted: #68707b;
  --line: rgba(20, 33, 61, 0.14);
  --shadow: 0 18px 55px rgba(16, 31, 61, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cotton);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.055;
  background-image:
    radial-gradient(circle at 20px 20px, var(--indigo) 2px, transparent 2px),
    radial-gradient(circle at 60px 60px, var(--madder) 2px, transparent 2px);
  background-size: 80px 80px;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

@media print {
  body {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 31, 61, 0.18);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(159, 47, 47, 0.8), rgba(24, 58, 115, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255, 255, 255, 0.18) 8px 10px);
  border-radius: 50%;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #3d4652;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--indigo);
  background: rgba(24, 58, 115, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  height: min(640px, calc(100vh - 150px));
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 64px 0 50px;
  color: white;
  overflow: hidden;
  background: #101f3d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 42, 0.92), rgba(12, 22, 42, 0.55) 48%, rgba(12, 22, 42, 0.18)),
    url("../img/ajrakh-hero.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(transparent, var(--cotton));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f7d9b1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  max-width: 900px;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--madder);
  color: white;
  font-weight: 900;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.section {
  padding: 82px 0;
}

.section.tight {
  padding: 54px 0;
}

.section.band {
  background: #f0e1cb;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 62px);
}

.section-head p,
.lead {
  margin: 0;
  color: #52606c;
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 25px rgba(16, 31, 61, 0.07);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: #d7c3ab;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-panel {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 58, 115, 0.92), rgba(159, 47, 47, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 26px);
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.map-panel::before {
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.map-panel::after {
  width: 18px;
  height: 18px;
  background: #fffaf1;
  box-shadow: 0 0 0 9px rgba(255, 250, 241, 0.2);
}

.map-panel span {
  position: relative;
  z-index: 1;
  max-width: 75%;
  color: white;
  text-align: center;
  font-weight: 900;
  line-height: 1.25;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.card p {
  margin: 0;
  color: #586371;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.kicker {
  margin: 0 0 12px;
  color: var(--madder);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
}

.feature p {
  color: #52606c;
  font-size: 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
}

.stat strong {
  display: block;
  color: var(--indigo);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  padding: 74px 0 58px;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.75)),
    url("../img/ajrakh-print-3.jpg") center / cover;
}

.page-hero p {
  max-width: 760px;
  color: #42505f;
  font-size: 19px;
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.timeline-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--indigo);
  color: white;
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  margin: 0;
  color: #52606c;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-link {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.article-link img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.article-link div {
  padding: 20px 22px 20px 0;
}

.article-link p {
  margin: 8px 0 0;
  color: #5d6875;
}

.product-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag,
.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(24, 58, 115, 0.08);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 900;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 25px rgba(16, 31, 61, 0.07);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d7c3ab;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-media img {
  object-position: center top;
}

.product-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--indigo);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swatch-media {
  background:
    linear-gradient(135deg, rgba(17, 26, 38, 0.28), rgba(135, 39, 39, 0.18)),
    var(--swatch) center / cover;
}

.swatch-media::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px 999px 18px 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 18px rgba(24, 58, 115, 0.18);
}

.swatch-media::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42px;
  width: 42%;
  height: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--indigo);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: #566272;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reference-list a {
  display: block;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.reference-list strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.reference-list span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.quote-band {
  position: relative;
  padding: 84px 0;
  color: white;
  background:
    linear-gradient(rgba(16, 31, 61, 0.86), rgba(16, 31, 61, 0.86)),
    url("../img/ajrakh-materials-1.jpg") center / cover;
}

.quote-band blockquote {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.18;
}

.quote-band cite {
  display: block;
  margin-top: 22px;
  color: #f4d6aa;
  font-style: normal;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 33, 61, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fffdf8;
  color: var(--charcoal);
  font: inherit;
}

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

.site-footer {
  padding: 44px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  background: #101f3d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  color: white;
}

.site-footer h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: 76px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 8px;
  }

  .section-head,
  .feature,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.two,
  .product-gallery,
  .stat-row,
  .reference-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-media img {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    height: min(620px, calc(100vh - 150px));
    min-height: 560px;
    padding: 54px 0 42px;
  }

  .section {
    padding: 58px 0;
  }

  .grid.three,
  .grid.two,
  .product-gallery,
  .stat-row,
  .reference-list {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .article-link {
    grid-template-columns: 1fr;
  }

  .article-link div {
    padding: 0 20px 20px;
  }

  .article-link img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}
