/* =========================================================
   PT Bangun Nusantara Perkasa — main stylesheet
   Palette taken from the company profile & shield logo.
   ========================================================= */

:root {
  /* colour */
  --obsidian: #0E0D0B;      /* page background */
  --gunmetal: #17150F;      /* raised surfaces */
  --bronze:   #211A0D;      /* product panel (profile's brown panels) */
  --gold:     #F2B705;      /* shield gold */
  --gold-deep:#B8860B;
  --brass:    #F6D77A;      /* light gold for text on dark */
  --bone:     #ECE7DC;      /* body text */
  --ash:      #A39D90;      /* secondary text */
  --hair:     rgba(236, 231, 220, .12);
  --line:     rgba(242, 183, 5, .32);

  /* type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* layout */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --section-y: clamp(80px, 11vw, 144px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */

.h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

/* Section rule: name of the section + hairline, like a map legend */
.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold);
}
.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--hair) 40%, var(--hair));
  order: 1;
}
.section-rule__meta {
  order: 2;
  color: var(--ash);
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }

.btn--gold {
  background: var(--gold);
  color: var(--obsidian);
}
.btn--gold:hover { background: var(--brass); }

.btn--ghost {
  border-color: rgba(236, 231, 220, .45);
  color: #fff;
  background: rgba(14, 13, 11, .25);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--brass); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, height .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(14, 13, 11, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--hair);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__mark { width: 38px; height: auto; }
.brand__name {
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(236, 231, 220, .82);
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after,
.main-nav a:hover::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bone);
  white-space: nowrap;
}
.header-phone svg {
  width: 16px; height: 16px;
  fill: none; stroke: var(--gold); stroke-width: 1.6;
}
.header-phone:hover { color: var(--brass); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(236, 231, 220, .35);
  border-radius: 2px;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 18px; }
.menu-toggle__bars span {
  display: block; height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, transparent 0 72%, rgba(242,183,5,.12) 72% 72.4%, transparent 72.4% 76%, rgba(242,183,5,.25) 76% 76.2%, transparent 76.2%),
    var(--obsidian);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li + li { border-top: 1px solid var(--hair); }
.mobile-menu nav a {
  display: block;
  padding: 16px 0;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.mobile-menu nav a:active,
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu__contact {
  display: grid;
  gap: 6px;
  padding-top: 32px;
  color: var(--ash);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--obsidian);
}

.hero__media,
.hero__shade,
.hero__frame { position: absolute; inset: 0; }

.hero__media { z-index: -3; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(14,13,11,.75) 0%, rgba(14,13,11,0) 22%),
    linear-gradient(0deg, rgba(14,13,11,.96) 0%, rgba(14,13,11,.7) 32%, rgba(14,13,11,0) 64%),
    linear-gradient(90deg, rgba(14,13,11,.7) 0%, rgba(14,13,11,0) 60%);
}

/* Viewfinder corners */
.hero__frame {
  z-index: -1;
  inset: calc(var(--header-h) + 8px) var(--gutter) 22px;
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 28px; height: 28px;
  border: 0 solid var(--gold);
  opacity: .9;
}
.corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.hero__content {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: clamp(32px, 5vh, 56px);
}

.hero__kicker {
  margin-bottom: 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--brass);
}

.hero__title {
  font-size: clamp(2.2rem, 1.65rem + 2.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: #fff;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
@media (min-width: 900px) {
  .hero__title .line > span { white-space: nowrap; }
}

.hero__lead {
  max-width: 54ch;
  margin: 28px 0 0;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  color: rgba(236, 231, 220, .88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Reel: chapter bar for the background video */
.reel {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding-bottom: 44px;
}
.reel__toggle {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-top: 2px;
  background: transparent;
  border: 1px solid rgba(236,231,220,.35);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s;
}
.reel__toggle:hover { border-color: var(--gold); }
.reel__toggle svg { width: 16px; height: 16px; fill: #fff; }
.reel__toggle .i-play { display: none; }
.reel.is-paused .reel__toggle .i-play { display: block; }
.reel.is-paused .reel__toggle .i-pause { display: none; }

.reel__body { flex: 1; min-width: 0; }
.reel__now { display: none; margin: 0 0 4px; }
.reel__now .reel__cat { color: var(--gold); }
.reel__now .reel__desc { color: #fff; }

.reel__chapters {
  display: flex;
  gap: 6px;
  min-width: 0;
}
.reel__chapters li { min-width: 0; }
/* widths follow each chapter's running time */
.reel__chapters li:nth-child(1) { flex: 11.9 1 0; }
.reel__chapters li:nth-child(2) { flex: 16.2 1 0; }
.reel__chapters li:nth-child(3) { flex: 10.4 1 0; }
.reel__chapters li:nth-child(4) { flex: 7.1 1 0; }
.reel__chapters li:nth-child(5) { flex: 11.1 1 0; }
.reel__chapters li:nth-child(6) { flex: 9.6 1 0; }

.reel__chapters button {
  display: block;
  width: 100%;
  padding: 0 0 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.reel__track {
  display: block;
  height: 2px;
  margin-bottom: 12px;
  background: rgba(236,231,220,.22);
  overflow: hidden;
}
.reel__fill {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.reel__cat,
.reel__desc {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color .3s;
}
.reel__cat { font-size: .8rem; font-weight: 700; color: rgba(236,231,220,.55); }
.reel__desc { font-size: .8rem; color: rgba(236,231,220,.4); }
.reel__chapters button:hover .reel__cat,
.reel__chapters li.is-active .reel__cat { color: var(--gold); }
.reel__chapters button:hover .reel__desc,
.reel__chapters li.is-active .reel__desc { color: #fff; }

/* One orchestrated load moment: corners close in, headline rises */
.js .corner { transition: transform 1.1s var(--ease), opacity 1.1s; }
.js:not(.is-loaded) .corner { opacity: 0; }
.js:not(.is-loaded) .corner--tl { transform: translate(-24px, -24px); }
.js:not(.is-loaded) .corner--tr { transform: translate(24px, -24px); }
.js:not(.is-loaded) .corner--bl { transform: translate(-24px, 24px); }
.js:not(.is-loaded) .corner--br { transform: translate(24px, 24px); }

.js .hero__title .line > span { transition: transform .9s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js:not(.is-loaded) .hero__title .line > span { transform: translateY(105%); }

.js .hero__kicker,
.js .hero__lead,
.js .hero__actions,
.js .reel { transition: opacity .8s .35s; }
.js:not(.is-loaded) .hero__kicker,
.js:not(.is-loaded) .hero__lead,
.js:not(.is-loaded) .hero__actions,
.js:not(.is-loaded) .reel { opacity: 0; }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: var(--section-y);
}

/* About */
.about__intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.about__intro .h2 { max-width: 16ch; }
.about__text p { color: rgba(236,231,220,.82); max-width: 52ch; }
.about__text p:last-child { margin-bottom: 0; }

.about__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px 64px;
  align-items: start;
}

.bracketed { position: relative; margin: 0; }
.bracketed::before,
.bracketed::after {
  content: "";
  position: absolute;
  width: 32px; height: 32px;
  border: 0 solid var(--gold);
  z-index: 1;
  pointer-events: none;
}
.bracketed::before { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.bracketed::after  { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }

.about__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}

.about__pillars { margin: 0; }
.pillar {
  padding: 24px 0;
  border-top: 1px solid var(--hair);
}
.pillar:first-child { padding-top: 0; border-top: 0; }
.pillar dt {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--gold);
}
.pillar dd { margin: 0; color: rgba(236,231,220,.82); }
.pillar dd ul { display: grid; gap: 8px; }
.pillar dd li { position: relative; padding-left: 20px; }
.pillar dd li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 8px; height: 2px;
  background: var(--gold);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--hair);
}
.stats li {
  padding: 28px 24px 0 0;
}
.stats li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.stats strong {
  display: block;
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}
.stats span {
  display: block;
  max-width: 24ch;
  margin-top: 10px;
  font-size: .95rem;
  color: var(--ash);
}

/* Products */
.products {
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(242,183,5,.08), transparent 60%),
    linear-gradient(180deg, var(--bronze), #15110A 70%, var(--obsidian));
  overflow: hidden;
}
.bevel {
  position: absolute;
  width: clamp(160px, 26vw, 380px);
  height: auto;
  pointer-events: none;
}
.bevel--tr { top: 0; right: 0; }
.bevel path { fill: none; }

.products__head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.products__head p { margin: 0; color: rgba(236,231,220,.8); max-width: 50ch; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);          /* hairlines between tiles */
  border: 1px solid var(--hair);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #120F09;
  transition: background-color .3s;
}
.product::before {                  /* gold top edge, Milrem-style */
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.product:hover,
.product:focus-within { background: #1A150C; }
.product:hover::before,
.product:focus-within::before { transform: scaleX(1); }

.product__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: radial-gradient(60% 55% at 50% 60%, rgba(242,183,5,.16), rgba(242,183,5,0) 70%);
}
.product__media img {
  position: absolute;
  top: 28px; left: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 40px);
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.55));
  transition: transform .5s var(--ease);
}
.product:hover .product__media img { transform: scale(1.04); }
#kategori-drone .product__media img { filter: drop-shadow(0 0 1px rgba(246,215,122,.35)) drop-shadow(0 18px 24px rgba(0,0,0,.55)); }

.product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 24px 26px;
}
.product h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
}
.product p {
  flex: 1;
  font-size: .925rem;
  line-height: 1.6;
  color: var(--ash);
}
.product__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: .875rem;
  font-weight: 700;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.product__link:hover { color: var(--brass); border-color: var(--brass); }

/* Why us */
.why__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px 96px;
  align-items: start;
}
.why__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why__intro .h2 { max-width: 12ch; }
.why__intro p { margin-top: 24px; max-width: 42ch; color: rgba(236,231,220,.8); }
.why__map { margin-top: 40px; width: 100%; max-width: 460px; opacity: .85; }

.why__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--hair);
}
.why__list li:first-child { padding-top: 8px; border-top: 0; }
.why__icon {
  width: 48px; height: 48px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why__list h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}
.why__list p { margin: 0; max-width: 56ch; color: var(--ash); }

/* Clients */
.clients { background: var(--gunmetal); border-block: 1px solid var(--hair); }
.clients__quote { margin: 0 0 clamp(48px, 7vw, 88px); }
.clients__quote p {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: pretty;
}
.clients__quote p::before { content: "\201C"; color: var(--gold); }
.clients__quote p::after  { content: "\201D"; color: var(--gold); }

.client-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair);
}
.client-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px 16px 8px;
  text-align: center;
}
.client-list li + li { border-left: 1px solid var(--hair); }
.client-list img {
  height: clamp(88px, 9vw, 120px);
  width: auto;
  object-fit: contain;
}
.client-list span { font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--ash); }

/* Contact */
.contact { overflow: hidden; }
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--obsidian) 0%, rgba(14,13,11,.55) 30%, rgba(14,13,11,.75) 70%, var(--obsidian) 100%),
    url("../img/kontak-bg.jpg") right center / cover no-repeat;
  opacity: .9;
}
.contact { isolation: isolate; }

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px 96px;
  align-items: start;
}
.contact__lead { margin: 24px 0 40px; max-width: 36ch; color: rgba(236,231,220,.82); }

.contact-list { display: grid; gap: 28px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list svg {
  width: 44px; height: 44px;
  padding: 11px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linejoin: round;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.contact-list__label { display: block; font-size: .85rem; font-weight: 600; color: var(--ash); }
.contact-list a { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brass); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  padding: clamp(24px, 3.5vw, 44px);
  background: rgba(23, 21, 15, .82);
  border: 1px solid var(--hair);
  backdrop-filter: blur(8px);
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--bone); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  background: rgba(14,13,11,.7);
  border: 1px solid rgba(236,231,220,.2);
  border-radius: 2px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B705' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field select option { background: var(--gunmetal); color: #fff; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(14,13,11,.9);
}
.field.has-error input,
.field.has-error textarea { border-color: #E5664A; }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.contact-form__note { margin: 0; flex: 1 1 240px; font-size: .85rem; color: var(--ash); }
.contact-form__note.is-error { color: #F09A84; }

.map {
  margin-top: clamp(56px, 8vw, 96px);
}
.map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 34vw, 420px);
  border: 0;
  filter: grayscale(1) invert(.92) sepia(.35) hue-rotate(5deg) contrast(.95);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 96px);
  background: #0A0907;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { width: 112px; }
.site-footer__name { margin: 0 0 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.site-footer__motto { margin: 0; color: var(--ash); }
.site-footer__col h2 {
  margin-bottom: 18px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
}
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { color: var(--bone); }
.site-footer__col a:hover { color: var(--brass); }
.site-footer__addr { color: var(--ash); max-width: 34ch; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--hair);
  font-size: .85rem;
  color: var(--ash);
}
.site-footer__bottom p { margin: 0; }
.to-top { font-weight: 600; color: var(--bone); }
.to-top:hover { color: var(--brass); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .header-phone { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .main-nav,
  .site-header__actions .btn { display: none; }
  .site-header__actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }

  .about__intro,
  .about__grid,
  .products__head,
  .why__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .why__intro { position: static; }
  .why__map { max-width: 380px; }

  .client-list { grid-template-columns: repeat(3, 1fr); }
  .client-list li:nth-child(4) { border-left: 0; }
  .client-list li:nth-child(n+4) { border-top: 1px solid var(--hair); }

  /* reel: one live caption above the tracks */
  .reel__now { display: block; }
  .reel__chapters .reel__cat,
  .reel__chapters .reel__desc { display: none; }
  .reel__track { margin-bottom: 0; }
  .reel__chapters button { padding: 10px 0; }
  .reel { padding-bottom: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__name { font-size: .7rem; }
  .menu-toggle__label { display: none; }
  .menu-toggle { padding: 0 12px; }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(14,13,11,.7) 0%, rgba(14,13,11,0) 18%),
      linear-gradient(0deg, rgba(14,13,11,.97) 0%, rgba(14,13,11,.8) 42%, rgba(14,13,11,.15) 72%, rgba(14,13,11,0) 100%);
  }
  .hero__content { padding-top: calc(var(--header-h) + 40px); }
  .hero__title { max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__frame { inset: calc(var(--header-h) + 4px) 12px 12px; }
  .corner { width: 20px; height: 20px; }

  .stats { grid-template-columns: 1fr; }
  .stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .stats li { padding: 22px 0; }

  /* product tiles: swipeable row */
  .product-grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    background: none;
    border: 0;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product {
    flex: 0 0 82%;
    scroll-snap-align: start;
    border: 1px solid var(--hair);
  }

  .why__list li { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }

  .client-list { grid-template-columns: repeat(2, 1fr); }
  .client-list li { border-left: 0 !important; border-top: 1px solid var(--hair); }
  .client-list li:nth-child(even) { border-left: 1px solid var(--hair) !important; }
  .client-list li:first-child { border-top: 0; }
  .client-list li:nth-child(2) { border-top: 0; }
  .client-list li:last-child { grid-column: 1 / -1; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }

  .site-footer__top { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
  }
}
