/* STEEL WORKS — light editorial site */
:root {
  --bg: #f6f1e8;
  --surface: #ffffff;
  --deep: #efe6d8;
  --text: #2c241c;
  --muted: #6e645b;
  --amber: #c4891a;
  --amber-2: #a56f0e;
  --ink: #1a140e;
  --line: rgba(44, 36, 28, 0.12);
  --line-strong: rgba(44, 36, 28, 0.2);
  --wa: #25d366;
  --header-offset: 118px;
  --serif: "Poppins", "Segoe UI", sans-serif;
  --sans: "Poppins", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body.nav-open { overflow: hidden; }

.is-hidden { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color-scheme: light;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

button, input, select, textarea { font-family: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: var(--amber-2); text-underline-offset: 0.18em; }

a:hover { color: var(--amber); }

::selection { background: var(--amber); color: var(--ink); }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.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;
}

[id] { scroll-margin-top: var(--header-offset); }

input, select, textarea { scroll-margin-top: calc(var(--header-offset) + 16px); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus { top: 10px; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.band { padding: 92px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.pill {
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  padding: 7px 12px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.section-head { margin-bottom: 36px; }

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-head.center .lede { margin-inline: auto; }

.section-head .section-title { margin-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-fill { background: var(--amber); color: var(--ink); }

.btn-fill:hover { background: var(--amber-2); color: var(--ink); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(44, 36, 28, 0.28);
}

.btn-ghost:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--amber);
  transform: translateY(-2px);
}

.hero .btn-ghost,
.cta-band .btn-ghost,
.page-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.btn:active { transform: translateY(0); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--amber);
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover { color: var(--amber-2); transform: translateX(3px); }

.cta-short { display: none; }

/* Top strip + pill nav */
.topstrip {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 38px;
  display: flex;
  align-items: center;
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}

.topstrip-inner {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--muted);
}

.topstrip-inner::-webkit-scrollbar { display: none; }

.topstrip a { color: var(--text); text-decoration: none; }

.topstrip a:hover { color: var(--amber-2); }

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.site-header {
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 61;
  display: flex;
  justify-content: center;
  padding: 0 14px;
}

.nav-pill {
  width: min(1180px, 100%);
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(44, 36, 28, 0.08);
  box-shadow: 0 12px 32px rgba(44, 36, 28, 0.1);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled .nav-pill {
  background: #fff;
  border-color: rgba(44, 36, 28, 0.1);
  box-shadow: 0 14px 36px rgba(44, 36, 28, 0.14);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.logo:hover { color: var(--text); }

.mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.logo-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.logo-sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--text);
  line-height: 1.2;
}

.nav-links { flex: 1; display: flex; justify-content: center; }

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--amber-2); }

.nav-links a[aria-current="page"] { color: var(--amber); }

.nav-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.icon-btn,
.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

.icon-btn:hover,
.nav-toggle:hover { color: var(--amber-2); background: rgba(44, 36, 28, 0.06); }

.nav-toggle { display: none; }

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), background 0.2s;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }

.burger::after { top: 6px; }

.site-header.is-open .burger { background: transparent; }

.site-header.is-open .burger::before { top: 0; transform: rotate(45deg); }

.site-header.is-open .burger::after { top: 0; transform: rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer.is-open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  padding: 128px 28px 36px;
  background: var(--deep);
  border-left: 1px solid var(--line);
  overflow: auto;
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.drawer.is-open .drawer-panel { transform: none; opacity: 1; }

.draw-link {
  display: block;
  padding: 8px 0;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.draw-link:hover { color: var(--amber); }

.draw-link[aria-current="page"] { color: var(--amber); }

.drawer-panel .btn { margin-top: 22px; width: 100%; }

.drawer-phone {
  display: inline-flex;
  margin-top: 16px;
  min-height: 44px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .draw-link {
    opacity: 0;
    transform: translateY(16px);
  }

  .drawer.is-open .draw-link {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), color 0.2s;
  }

  .drawer.is-open .draw-link:nth-child(1) { transition-delay: 0.04s; }
  .drawer.is-open .draw-link:nth-child(2) { transition-delay: 0.08s; }
  .drawer.is-open .draw-link:nth-child(3) { transition-delay: 0.12s; }
  .drawer.is-open .draw-link:nth-child(4) { transition-delay: 0.16s; }
  .drawer.is-open .draw-link:nth-child(5) { transition-delay: 0.2s; }
}

/* Search */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
}

.search-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 28px));
  margin: 14vh auto 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.search-input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--deep);
  color: var(--text);
  font-size: 16px;
}

.search-results {
  max-height: min(52vh, 460px);
  overflow: auto;
  margin-top: 8px;
}

.search-results a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.search-results a span {
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-results a:hover,
.search-results a:focus-visible { background: rgba(245, 158, 11, 0.08); }

.search-empty { padding: 16px 8px; color: var(--muted); }

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  background: var(--deep);
}

.slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }

.slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.js .slide.is-active > img { animation: ken 14s var(--ease) forwards; }

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.9) 0%, rgba(7, 9, 13, 0.62) 42%, rgba(7, 9, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.4) 0%, transparent 24%, rgba(7, 9, 13, 0.78) 100%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100% - 1180px) / 2));
  bottom: 0;
  width: min(760px, calc(100% - 40px));
  padding-bottom: 108px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.45rem, 6.5vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 11em;
  color: #fff;
}

.hero-title .line { display: block; }

.amber { color: var(--amber); }

.hero-sub {
  margin: 18px 0 22px;
  max-width: 48ch;
  color: #e7edf3;
  font-size: 1.05rem;
  font-weight: 300;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.js .slide .rise { opacity: 0; transform: translateY(24px); }

.js .slide.is-active .rise {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .slide.is-active .rise:nth-child(1) { transition-delay: 0.12s; }
.js .slide.is-active .rise:nth-child(2) { transition-delay: 0.24s; }
.js .slide.is-active .rise:nth-child(3) { transition-delay: 0.36s; }
.js .slide.is-active .rise:nth-child(4) { transition-delay: 0.48s; }

.hero-dots {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 28px;
  display: flex;
  gap: 2px;
}

.hero-dots button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}

.hero-dots button::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 21px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dots button[aria-current="true"]::before {
  background: var(--amber);
  height: 3px;
  top: 20px;
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--deep);
}

.trust li {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.trust li:last-child { border-right: 0; }

.trust strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.trust span { color: var(--muted); font-size: 14px; }

.trust i {
  display: block;
  width: 18px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--amber);
}

/* About band */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.check-title {
  margin: 22px 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.checks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15px;
}

.checks svg { color: var(--amber); flex: none; margin-top: 4px; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.tile {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.tile strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }

.tile span { color: var(--muted); font-size: 14px; }

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.phone-chip:hover { color: var(--amber-2); border-color: var(--amber); }

.collage { position: relative; min-height: 620px; }

.collage-tall {
  width: 76%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.collage-small {
  position: absolute;
  width: 46%;
  right: 18px;
  bottom: 72px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--bg);
}

.rating-card {
  position: absolute;
  left: 6%;
  bottom: 8px;
  width: min(250px, 70%);
  padding: 16px 16px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.rating-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 0.9;
  color: var(--amber);
}

.rating-card em {
  display: block;
  margin: 4px 0 8px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.rating-card p { color: var(--muted); font-size: 14px; }

.vword {
  position: absolute;
  top: 8px;
  right: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.32em;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
}

/* Products */
.lead-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--amber);
  z-index: 1;
  transition: width 0.35s var(--ease);
}

.product-card:hover { transform: translateY(-6px); border-color: rgba(245, 158, 11, 0.4); }

.product-card:hover::before { width: 100%; }

.product-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--deep); }

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-media img { transform: scale(1.06); }

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 18px 18px 16px;
}

.cat,
.product-body .cat {
  color: var(--amber);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-body h2,
.product-body h3,
.project-card h3,
.service-copy h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: 1.55rem;
  overflow-wrap: break-word;
}

.catalog .product-body h2 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }

.js .catalog .specs { display: none; }

.catalog .product-actions {
  flex-wrap: nowrap;
  gap: 10px 14px;
}

.catalog .product-actions .text-link,
.catalog .product-actions .btn {
  white-space: nowrap;
  flex: none;
}

.catalog .product-actions .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.product-page { display: none; }

html[data-item="sliding-gate"] .product-page[data-product="sliding-gate"],
html[data-item="balcony-railing"] .product-page[data-product="balcony-railing"],
html[data-item="pivot-door"] .product-page[data-product="pivot-door"],
html[data-item="portal-frame"] .product-page[data-product="portal-frame"],
html[data-item="facade-jali"] .product-page[data-product="facade-jali"],
html[data-item="staircase"] .product-page[data-product="staircase"],
html[data-item="swing-gate"] .product-page[data-product="swing-gate"],
html[data-item="loft-door"] .product-page[data-product="loft-door"] { display: block; }

.product-page.is-shown { display: block; }

.product-page .page-hero { min-height: 64vh; }

.product-page .page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.product-page .hero-actions { margin-top: 22px; }

.product-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: start;
}

.product-prose h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 14px;
}

.product-prose p { color: var(--muted); }

.product-prose p + p { margin-top: 14px; }

.sheet-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 22px 20px;
}

.sheet-aside .btn { width: 100%; margin-top: 18px; }

.related { display: grid; gap: 4px; margin-top: 8px; }

.related a {
  color: var(--text);
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.related a:hover { color: var(--amber-2); }

#product-made,
#product-missing { display: none; }

html[data-item="sliding-gate"] #product-made,
html[data-item="balcony-railing"] #product-made,
html[data-item="pivot-door"] #product-made,
html[data-item="portal-frame"] #product-made,
html[data-item="facade-jali"] #product-made,
html[data-item="staircase"] #product-made,
html[data-item="swing-gate"] #product-made,
html[data-item="loft-door"] #product-made { display: block; }

html[data-item=""] #product-missing { display: block; }

.product-body p,
.project-card p { color: var(--muted); font-size: 15px; }

.made {
  color: var(--text) !important;
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specs { display: grid; gap: 8px; margin-top: 4px; }

.specs li {
  position: relative;
  padding-left: 14px;
  color: var(--text);
  font-size: 14.5px;
}

.specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.center-link { text-align: center; margin-top: 28px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-bar button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.filter-bar button:hover { border-color: var(--amber); color: var(--amber-2); }

.filter-bar button.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.filter-count { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* Why */
.why {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.why-card {
  padding: 20px 18px 22px;
  background: var(--deep);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.why-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(44, 36, 28, 0.1); }

.why-card svg { color: var(--amber); margin-bottom: 16px; }

.why-card h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.why-card p { color: var(--muted); font-size: 14.5px; }

/* Stats */
.stats {
  position: relative;
  padding: 88px 0;
  background: var(--deep);
  overflow: hidden;
}

.stats > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats .shade {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, 0.8);
}

.stats .wrap { position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 0.9;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.stat span { display: block; margin-top: 8px; color: #f6f1e8; }

.stats-note {
  margin-top: 28px;
  text-align: center;
  color: #efe6d8;
}

/* Process */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.75), transparent);
}

.process li { position: relative; }

.process .num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background: var(--bg);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.process h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.process p { color: var(--muted); font-size: 14.5px; }

/* Assurance */
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.assure li {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.assure b {
  font-family: var(--serif);
  color: var(--amber);
  font-size: 1.3rem;
  font-weight: 600;
}

/* Projects + quote */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.project-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(44, 36, 28, 0.1); }

.project-card img { transition: transform 0.7s var(--ease); }

.project-card:hover img { transform: scale(1.06); }

.project-card a { color: inherit; text-decoration: none; display: block; }

.project-card a:hover h3 { color: var(--amber-2); }

.project-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.project-card div { padding: 16px 16px 18px; }

.project-card .meta { color: var(--amber); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.quote {
  margin-top: 22px;
  padding: 32px 32px 28px;
  background: var(--surface);
  border-left: 3px solid var(--amber);
}

.quote blockquote {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }

.quote figcaption strong { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
}

.faq-item button:hover { color: var(--amber-2); }

.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--amber);
  top: 50%;
  left: 50%;
}

.faq-icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }

.faq-icon::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); transition: transform 0.25s ease; }

.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }

.faq-panel > div { overflow: hidden; }

.faq-panel p { padding: 0 8px 18px 0; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta-band {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.cta-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.72) 48%, rgba(7, 9, 13, 0.4) 100%);
}

.cta-band .wrap { position: relative; z-index: 1; padding: 72px 0; }

.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  color: #f6f1e8;
}

.cta-meta a { color: #fff; text-decoration: none; }

.cta-meta a:hover { color: var(--amber-2); }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border-top: 1px solid var(--line);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1.15fr;
  gap: 32px;
  padding: 64px 0 28px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.site-footer p { color: var(--muted); max-width: 36ch; }

.site-footer a { color: var(--text); text-decoration: none; }

.site-footer li a,
.foot-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.site-footer a:hover { color: var(--amber-2); }

.foot-contact li { color: var(--muted); margin-bottom: 8px; }

.socials { display: flex; gap: 8px; margin-top: 16px; }

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.socials a:hover { border-color: var(--amber); color: var(--amber); }

.legal {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 16px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

/* WhatsApp */
.wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 58;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #06210f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.wa:hover { color: #06210f; transform: translateY(-2px); }

/* Inner heroes */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 18s var(--ease) forwards;
}

.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.35) 0%, rgba(7, 9, 13, 0.88) 100%);
}

.page-hero .wrap { position: relative; z-index: 1; padding: 150px 0 48px; }

.page-hero h1,
.page-hero .lede,
.cta-band,
.cta-band .section-title {
  color: #fff;
}

.page-hero .lede { color: #f3eee6; }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 12px;
  color: #fff;
}

.page-hero .crumbs,
.page-hero .crumbs a { color: #f6f1e8; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a { color: var(--text); text-decoration: none; }

.crumbs a:hover { color: var(--amber-2); }

/* About page */
.story-grid,
.mission-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.story-photo { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.leader {
  margin-top: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.leader strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }

.mission-grid article,
.quality-grid article {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mission-grid h2,
.quality-grid h3,
.project-row h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.project-list .project-row:nth-child(even) .project-copy { order: -1; }

.project-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.project-copy .meta {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status { color: var(--text); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Services */
.service-row {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 40px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.service-row.is-flip .service-copy { order: -1; }

.service-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.service-kicker {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-sub {
  margin: 8px 0 12px;
  color: var(--amber);
  font-size: 1.12rem;
  font-weight: 500;
}

.service-copy .checks { margin: 8px 0 14px; grid-template-columns: 1fr; }

.applications { color: var(--muted); font-size: 15px; }

.applications strong { color: var(--text); font-weight: 600; }

.service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: start;
}

.info-card,
.form-card,
.map-card,
.promise article {
  background: var(--surface);
  border: 1px solid var(--line);
}

.info-stack { display: grid; gap: 10px; }

.info-card { padding: 16px 16px 14px; }

.info-card span {
  display: block;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-card a { color: var(--text); text-decoration: none; font-size: 1.15rem; }

.info-card a:hover { color: var(--amber-2); }

.info-card p { color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.chip {
  border: 1px solid var(--line-strong);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
}

.form-card { padding: 22px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field-wide { grid-column: 1 / -1; }

.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }

.req { color: var(--amber); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 12px;
  background: var(--deep);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 16px;
}

.field textarea { min-height: 140px; resize: vertical; }

.field .error { min-height: 1.1em; margin-top: 4px; color: #b42318; font-size: 13px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b42318; }

.form-note { color: var(--muted); font-size: 14px; }

.interest-note {
  margin-bottom: 12px;
  color: var(--amber-2);
  font-size: 14px;
}

.form-success { padding: 12px 0 4px; }

.form-success h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.promise article { padding: 18px; }

.promise strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }

.promise p { color: var(--muted); font-size: 14.5px; }

.map-card { margin-top: 22px; }

.map-card iframe { width: 100%; height: 380px; border: 0; display: block; }

.map-card figcaption { padding: 14px 16px 16px; color: var(--muted); }

/* Yarn-style running line */
.marquee {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.marquee-track i {
  color: var(--amber);
  font-style: normal;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.story-points article {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 20px;
}

.story-points h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.story-points p { color: var(--muted); }

@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Reveal */
.js .reveal-child {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 1s ease, transform 1s ease;
}

.js .reveal-child.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1099px) {
  .nav-links a { padding: 0 7px; font-size: 13.5px; }
  .logo-sub { display: none; }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .assure { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-grid,
  .mission-grid,
  .service-row,
  .contact-grid { grid-template-columns: 1fr; }
  .service-row.is-flip .service-copy,
  .project-list .project-row:nth-child(even) .project-copy { order: 0; }
  .product-sheet { grid-template-columns: 1fr; }
}

@media (max-width: 699px) {
  .topstrip { display: none; }
  .site-header { top: 10px; }
  .band { padding: 64px 0; }
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .hero { min-height: 100svh; }
  .hero-title { max-width: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-dots { right: auto; left: 16px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust li:nth-child(1),
  .trust li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about-grid,
  .checks,
  .tiles,
  .why-grid,
  .stats-grid,
  .process,
  .assure,
  .project-grid,
  .catalog,
  .lead-grid,
  .quality-grid,
  .project-row,
  .promise,
  .form-grid,
  .footer-grid,
  .story-points { grid-template-columns: 1fr; }
  .lead-grid .product-card:first-child { grid-column: auto; }
  .field-wide { grid-column: auto; }
  .collage {
    min-height: 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10px;
  }
  .collage-tall,
  .collage-small {
    position: static;
    width: 100%;
    border: 0;
    aspect-ratio: 4 / 5;
  }
  .rating-card { position: static; width: auto; grid-column: 1 / -1; }
  .vword { display: none; }
  .process::before {
    display: block;
    top: 12px;
    bottom: 12px;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    background: rgba(245, 158, 11, 0.45);
  }
  .quote { padding: 22px 18px; }
  .page-hero { min-height: 46vh; }
  .page-hero h1 { max-width: none; }
  .map-card iframe { height: 280px; }
  .wa { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .nav-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .marquee-track,
  .js .slide.is-active > img,
  .page-hero > img { animation: none; }

  .js .reveal-child,
  .js .slide .rise,
  .draw-link {
    opacity: 1 !important;
    transform: none !important;
  }
}
