/* ==========================================================
   الشركة الحديثة لصناعة الاثاث — Luxury showroom editorial
   Palette: warm ivory canvas, espresso ink, brass accent
   ========================================================== */

:root {
  --ivory: #f4eee3;
  --ivory-2: #ece4d4;
  --paper: #faf6ee;
  --ink: #241c12;
  --ink-soft: #4c4234;
  --brass: #a9813f;
  --brass-deep: #8a672e;
  --espresso: #1d160e;
  --espresso-2: #2a2116;
  --line: rgba(36, 28, 18, .16);
  --line-light: rgba(244, 238, 227, .22);
  --font-display: "El Messiri", sans-serif;
  --font-body: "Almarai", sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ============ Typography ============ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.5; }

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }

h1 em, h2 em {
  font-style: normal;
  color: var(--brass);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brass-deep);
  margin-bottom: 14px;
}

.kicker .num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brass);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.kicker.light { color: #cfa96a; }
.kicker.light .num { border-color: var(--line-light); background: transparent; }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lead { color: var(--ink-soft); margin-top: 14px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  cursor: pointer;
}

.btn-solid {
  background: var(--brass);
  color: #fff;
  box-shadow: 0 10px 30px rgba(169, 129, 63, .35);
}
.btn-solid:hover { background: var(--brass-deep); transform: translateY(-3px); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }

.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 18px 0;
}

.site-header.scrolled {
  background: rgba(29, 22, 14, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--brass);
  color: #fff;
  border-radius: 12px 12px 12px 2px;
  box-shadow: 0 6px 18px rgba(169, 129, 63, .4);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; }
.brand-text small { font-size: .74rem; opacity: .8; letter-spacing: .06em; }

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

.main-nav a {
  color: rgba(255, 255, 255, .85);
  font-size: .92rem;
  font-weight: 700;
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--brass);
  color: #fff !important;
  padding: 9px 24px !important;
  border-radius: 999px;
  transition: background .3s;
}
.nav-cta:hover { background: var(--brass); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all .3s var(--ease);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-media img { animation: heroZoom 14s var(--ease) forwards; }

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(200deg, rgba(29, 22, 14, .25) 0%, rgba(29, 22, 14, .68) 62%, rgba(29, 22, 14, .9) 100%),
    linear-gradient(to left, rgba(29, 22, 14, .55), transparent 55%);
}

.hero-content {
  padding-top: 120px;
  padding-bottom: 90px;
  max-width: 1180px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  color: #d8b271;
  margin-bottom: 22px;
}
.hero-eyebrow .line { width: 56px; height: 1px; background: #d8b271; display: inline-block; }

.hero h1 { max-width: 760px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }

.hero-lead {
  max-width: 600px;
  margin-top: 22px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .88);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-side {
  position: absolute;
  inset-inline-start: 26px;
  bottom: 120px;
  writing-mode: vertical-rl;
  font-size: .72rem;
  letter-spacing: .35em;
  color: rgba(255, 255, 255, .45);
  z-index: 2;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--brass);
  animation: scrollHint 1.8s infinite var(--ease);
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ Marquee ============ */
.marquee {
  background: var(--espresso);
  color: var(--ivory);
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(169, 129, 63, .4);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  white-space: nowrap;
}
.marquee-track i { color: var(--brass); font-style: normal; font-size: .8rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ============ About ============ */
.about { background: var(--ivory); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-copy p { color: var(--ink-soft); margin-top: 16px; }
.about-copy p strong { color: var(--ink); }
.about-copy h2 { margin-bottom: 10px; }

.about-media { position: relative; }

.frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.frame:hover img { transform: scale(1.045); }

.stat-card {
  position: absolute;
  bottom: -34px;
  inset-inline-start: -20px;
  background: var(--espresso);
  color: var(--ivory);
  padding: 26px 36px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(29, 22, 14, .35);
  border-inline-start: 3px solid var(--brass);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--brass);
}
.stat-label { font-size: .82rem; letter-spacing: .06em; opacity: .85; }

/* ============ Vision ============ */
.vision {
  background: var(--espresso);
  color: var(--ivory);
  overflow: hidden;
}
.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(169, 129, 63, .16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(169, 129, 63, .1), transparent 60%);
}

.vision .container { position: relative; }

.vision-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.vision-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  color: rgba(244, 238, 227, .82);
  max-width: 980px;
}
.vision-cols p {
  padding-top: 24px;
  border-top: 1px solid rgba(169, 129, 63, .4);
}

.vision-ornament {
  position: absolute;
  top: -10px;
  inset-inline-end: 0;
  font-size: 8rem;
  color: rgba(169, 129, 63, .14);
  line-height: 1;
  user-select: none;
}

/* ============ Fields ============ */
.fields { background: var(--paper); }

.field-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.field-row:last-child { border-bottom: 1px solid var(--line); }
.field-row.alt .field-media { order: 2; }
.field-row.alt .field-copy { order: 1; }

.field-media { aspect-ratio: 16 / 10; }
.field-media.portrait { aspect-ratio: 16 / 10; }
.field-media img { width: 100%; height: 100%; object-fit: cover; }

.field-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.field-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.field-copy p { color: var(--ink-soft); margin-top: 12px; }

.office-panel {
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background:
    linear-gradient(160deg, var(--espresso-2), var(--espresso)),
    var(--espresso);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.office-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(169, 129, 63, .08) 0 1px, transparent 1px 18px);
}
.office-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(169, 129, 63, .35);
  border-radius: 2px;
}
.office-glyph {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--brass);
}
.office-sub { color: rgba(244, 238, 227, .6); font-size: .9rem; letter-spacing: .1em; }

/* ============ Spaces banner ============ */
.spaces {
  position: relative;
  color: #fff;
  padding: clamp(90px, 12vw, 160px) 0;
  isolation: isolate;
  overflow: hidden;
}
.spaces-media, .spaces-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.spaces-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to left, rgba(29, 22, 14, .9) 20%, rgba(29, 22, 14, .55) 60%, rgba(29, 22, 14, .35));
}
.spaces-content { max-width: 1180px; }
.spaces-content h2 { max-width: 620px; }
.spaces-content > p { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, .85); }

.spaces-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  list-style: none;
}
.spaces-chips li {
  border: 1px solid rgba(216, 178, 113, .6);
  color: #e9cf9d;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  backdrop-filter: blur(3px);
}

/* ============ Why us ============ */
.why { background: var(--ivory); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.why-card {
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 34px);
  border-inline-start: 1px solid var(--line);
  position: relative;
  transition: background .4s var(--ease);
}
.why-card:first-child { border-inline-start: 0; }
.why-card:hover { background: var(--ivory-2); }

.why-num {
  font-family: var(--font-display);
  color: var(--brass);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: .93rem; }

/* ============ Gallery ============ */
.gallery { background: var(--paper); }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .86rem;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--brass); color: var(--brass-deep); }
.filter-btn.active {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 18px;
}

.g-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  animation: gIn .5s var(--ease) both;
}
.g-item.tall { grid-row: span 2; }
.g-item.hidden { display: none; }

@keyframes gIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }

.g-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(29, 22, 14, .85), transparent);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: all .45s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: none; }

/* ============ Company data ============ */
.company-data { background: var(--espresso); color: var(--ivory); }

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.data-head p { color: rgba(244, 238, 227, .7); margin-top: 8px; }

.data-list { display: flex; flex-direction: column; }

.data-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(169, 129, 63, .3);
}
.data-list > div:first-child { border-top: 1px solid rgba(169, 129, 63, .3); }

.data-list dt {
  font-weight: 800;
  color: #d8b271;
  font-size: .92rem;
}
.data-list dd { color: rgba(244, 238, 227, .92); }

/* ============ Contact ============ */
.contact { background: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info > p { color: var(--ink-soft); margin-top: 8px; }

.contact-lines { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-lines li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.c-label { font-size: .82rem; font-weight: 800; color: var(--brass-deep); min-width: 110px; }
.contact-lines a { font-weight: 700; font-size: 1.05rem; transition: color .3s; }
.contact-lines a:hover { color: var(--brass); }

.contact-media { margin-top: 34px; aspect-ratio: 16 / 10; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 30px 60px rgba(36, 28, 18, .08);
}

.contact-form label {
  display: block;
  font-weight: 800;
  font-size: .84rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .3s, box-shadow .3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 129, 63, .16);
}
.contact-form textarea { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============ CTA ============ */
.cta {
  position: relative;
  color: #fff;
  padding: clamp(100px, 14vw, 180px) 0;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.cta-media, .cta-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(29, 22, 14, .74);
}
.cta-content h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.cta-content p { max-width: 560px; margin: 18px auto 0; color: rgba(255, 255, 255, .85); }
.cta .hero-actions { justify-content: center; }

/* ============ Footer ============ */
.site-footer {
  background: var(--espresso);
  color: rgba(244, 238, 227, .8);
  padding-top: clamp(56px, 7vw, 90px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  padding-bottom: 48px;
}

.footer-brand p { margin-top: 20px; font-size: .92rem; max-width: 380px; }
.footer-brand strong { color: var(--ivory); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-display);
  color: #d8b271;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.footer-col a { font-size: .92rem; transition: color .3s; width: fit-content; }
.footer-col a:hover { color: var(--brass); }
.footer-col span { font-size: .92rem; }

.footer-bottom {
  border-top: 1px solid rgba(169, 129, 63, .25);
  padding: 22px 0;
  font-size: .82rem;
  text-align: center;
  color: rgba(244, 238, 227, .55);
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 15, 9, .93);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  gap: 16px;
}
.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lb-caption { color: var(--ivory); font-weight: 700; }

.lb-close {
  position: absolute;
  top: 22px;
  inset-inline-end: 28px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all .3s;
}
.lb-close:hover { background: var(--brass); border-color: var(--brass); }

/* ============ Reveal animations ============ */
.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-img { transform: translateY(44px); }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:nth-child(odd) { border-inline-start: 0; }
  .why-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}

@media (max-width: 880px) {
  .about-grid, .contact-grid, .data-grid { grid-template-columns: 1fr; }
  .field-row, .field-row.alt { grid-template-columns: 1fr; }
  .field-row.alt .field-media { order: 0; }
  .field-row.alt .field-copy { order: 1; }
  .vision-cols { grid-template-columns: 1fr; }
  .stat-card { inset-inline-start: 16px; bottom: -28px; padding: 20px 28px; }
  .about-media { margin-bottom: 40px; }
  .data-list > div { grid-template-columns: 1fr; gap: 4px; }
  .hero-side { display: none; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(29, 22, 14, .97);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
    z-index: -1;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; z-index: 99; }
  .main-nav a { font-size: 1.15rem; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header:has(.main-nav.open) { background: transparent; box-shadow: none; }
  .nav-toggle { position: relative; z-index: 101; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-item.tall { grid-row: span 2; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .why-card:last-child { border-bottom: 0; }
  .marquee-track span { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1; text-align: center; }
}
