/* ============================================================
   BRIQ STONE LTD — design system
   Palette: navy #081848 · brick #A83818 · orange #B05010
            ink #181818 · white #FFFFFF
   Flat only — no gradients, no shadows.
   ============================================================ */

:root {
  --navy: #081848;
  --brick: #A83818;
  --orange: #B05010;
  --ink: #181818;
  --white: #ffffff;
  --paper: #f4f2ee;
  --line: #d9d5cd;
  --line-navy: rgba(255, 255, 255, 0.22);
  --wa: #1fae54;
  --ff-d: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-m: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--ff-d);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brick); color: var(--white); }

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

a { color: inherit; }

.ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.ico-lg { width: 1.6rem; height: 1.6rem; }

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- accessibility ---------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-family: var(--ff-m);
  font-size: 0.8rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- typography ---------- */

.eyebrow {
  font-family: var(--ff-m);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--orange); }

.hero-title, .section-title, .page-title, .cta-title {
  font-weight: 800;
  font-stretch: 122%;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

.hero-title { font-size: clamp(2rem, 10.5vw, 5.4rem); }
.section-title { font-size: clamp(1.75rem, 7vw, 3.4rem); }
.page-title { font-size: clamp(2rem, 8.5vw, 4.6rem); }
.cta-title { font-size: clamp(1.9rem, 8vw, 3.8rem); color: var(--white); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--ff-m);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.btn--primary { background: var(--brick); border-color: var(--brick); color: var(--white); }
.btn--primary:hover { background: var(--navy); border-color: var(--navy); }

.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.btn--outline-light { border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }

.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.74rem; }
.btn--lg { padding: 1.2rem 2.4rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff-m);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.5rem;
}
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-item .ico { width: 0.95em; height: 0.95em; opacity: 0.8; }
.topbar-right { display: inline-flex; align-items: center; gap: 1.5rem; }
.topbar-note { color: rgba(255, 255, 255, 0.7); }
.topbar-phone { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar-phone:hover { text-decoration: underline; text-underline-offset: 3px; }

.mainbar {
  position: relative;
  z-index: 85;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.72rem;
  transition: padding 0.25s var(--ease);
}
.site-header.scrolled .mainbar-inner { padding-block: 0.55rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 64vw;
  object-fit: contain;
}
.brand-logo--footer {
  height: 48px;
  max-width: 100%;
  background: var(--white);
  padding: 0.55rem 0.85rem;
}

.mainnav { display: none; }
.mainnav a {
  position: relative;
  font-family: var(--ff-m);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 0;
}
.mainnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.mainnav a:hover::after, .mainnav a.active::after { transform: scaleX(1); }

.mainbar-actions { display: flex; align-items: center; gap: 0.9rem; }
.mainbar-actions .btn--sm { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: var(--white);
  border: 2px solid var(--ink);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  padding-top: 96px;
  animation: drawer-in 0.28s var(--ease);
}
.drawer[hidden] { display: none; }
@keyframes drawer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.drawer-motif {
  position: absolute;
  left: -70px;
  bottom: -55px;
  width: 235px;
  height: 235px;
  pointer-events: none;
}

.drawer-inner {
  position: relative;
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
}

.drawer-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.25rem;
}
.drawer-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-navy);
}

.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-navy);
  animation: drawer-item-in 0.5s var(--ease) backwards;
}
.drawer-nav a:nth-child(1) { animation-delay: 0.05s; }
.drawer-nav a:nth-child(2) { animation-delay: 0.11s; }
.drawer-nav a:nth-child(3) { animation-delay: 0.17s; }
.drawer-nav a:nth-child(4) { animation-delay: 0.23s; }
.drawer-nav a:nth-child(5) { animation-delay: 0.29s; }
.drawer-num {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--orange);
  width: 1.7rem;
  flex: 0 0 auto;
}
.drawer-label {
  flex: 1;
  font-size: clamp(1.45rem, 6.8vw, 2.1rem);
  font-weight: 800;
  font-stretch: 122%;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.drawer-arrow {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.drawer-nav a:hover .drawer-label,
.drawer-nav a:active .drawer-label { color: var(--orange); transform: translateX(6px); }
.drawer-nav a:hover .drawer-arrow,
.drawer-nav a:active .drawer-arrow { opacity: 1; transform: none; }

.drawer-cta {
  margin-top: 1.75rem;
  animation: drawer-item-in 0.5s 0.34s var(--ease) backwards;
}
.drawer-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.drawer-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 0.5rem;
  border: 1.5px solid var(--line-navy);
  color: var(--white);
  font-family: var(--ff-m);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.drawer-quick-btn svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.drawer-quick-btn:hover,
.drawer-quick-btn:active { border-color: var(--orange); color: var(--orange); }

.drawer-meta {
  margin: 0.9rem 0 0;
  font-family: var(--ff-m);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  animation: drawer-item-in 0.5s 0.4s var(--ease) backwards;
}

@keyframes drawer-item-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-height: 660px) {
  .drawer-nav a { padding: 0.35rem 0; }
  .drawer-label { font-size: 1.3rem; }
  .drawer-cta { padding-top: 0.75rem; }
  .drawer-cta .btn { padding: 0.75rem 1rem; }
  .drawer-quick-btn { padding: 0.55rem 0.5rem; }
  .drawer-meta { margin-top: 0.6rem; }
  .drawer-motif { width: 160px; height: 160px; left: -80px; bottom: -70px; }
}

body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(2.5rem, 8vw, 6.5rem) clamp(2.25rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }

.hero-lede {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 34rem;
  margin: 1.1rem 0 0;
  color: rgba(24, 24, 24, 0.82);
}
.hero-cta {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.hero-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 0.9rem 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.hero-cta .btn .ico { display: none; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.hero-facts li {
  padding: 0.7rem 0.85rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts b {
  display: block;
  font-family: var(--ff-m);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.hero-facts span {
  font-family: var(--ff-m);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(24, 24, 24, 0.55);
}

.hero-panel { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.panel-tag {
  position: absolute;
  font-family: var(--ff-m);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brick);
  padding: 0.35rem 0.6rem;
}
.panel-tag--1 { top: 0.75rem; left: 0.75rem; }
.panel-tag--2 { bottom: 0.75rem; right: 0.75rem; background: var(--ink); }
.panel-tag--3 { top: 0.75rem; right: 0.75rem; background: var(--orange); }

/* ---------- ticker ---------- */

.ticker {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  border-bottom: 4px solid var(--brick);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding-block: 0.65rem;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track i { color: var(--orange); font-style: normal; }
@keyframes ticker { to { transform: translateX(calc(-50% - 1.25rem)); } }

/* ---------- sections ---------- */

.section { padding-block: clamp(3.25rem, 9vw, 7rem); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.5rem, 5vw, 3.5rem);
}
.section-num {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brick);
  border: 2px solid var(--brick);
  padding: 0.28rem 0.5rem;
}
.section-label {
  font-family: var(--ff-m);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(24, 24, 24, 0.6);
}
.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section--navy .section-label { color: rgba(255, 255, 255, 0.6); }
.section--navy .section-head::after { background: var(--line-navy); }
.section--navy .section-num { color: var(--orange); border-color: var(--orange); }

.section-intro {
  font-size: 1.05rem;
  max-width: 32rem;
  margin: 1.25rem 0 0;
  color: rgba(24, 24, 24, 0.72);
}
.section--navy .section-intro { color: rgba(255, 255, 255, 0.75); }

/* ---------- about ---------- */

.about-grid { display: grid; gap: 2rem; }
.about-body p { margin: 0 0 1.1rem; max-width: 40rem; }
.fact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.fact-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--brick);
}
.fact-list li:nth-child(even)::before { background: var(--navy); }

.about-media {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 2.25rem calc(var(--gutter) * -1) 0;
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.about-figure {
  margin: 0;
  border: 2px solid var(--ink);
  overflow: hidden;
  flex: 0 0 74vw;
  scroll-snap-align: start;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.media-caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0 0;
  font-family: var(--ff-m);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(24, 24, 24, 0.55);
}
.media-caption::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  background: var(--brick);
  flex: 0 0 auto;
}

/* ---------- product ---------- */

.product-grid { display: grid; gap: 2rem; align-items: start; }
.product-copy p { max-width: 34rem; margin: 1rem 0 0; }
.product-note {
  font-family: var(--ff-m);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--brick);
  border-left: 3px solid var(--brick);
  padding-left: 1rem;
}
.product-copy .btn { margin-top: 1.4rem; width: 100%; }

.product-spec {
  background: var(--white);
  border: 2px solid var(--ink);
}
.spec-figure {
  border-bottom: 2px solid var(--ink);
}
.spec-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.spec-table { margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
  padding: 0.7rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt {
  font-family: var(--ff-m);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(24, 24, 24, 0.55);
}
.spec-row dd { margin: 0; font-weight: 700; font-size: 0.98rem; }

/* ---------- why ---------- */

.why-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  position: relative;
  background: var(--white);
  padding: 1.35rem 1.25rem 1.6rem;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: var(--ff-m);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brick);
}
.card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0.7rem 0 0.5rem;
}
.card p { margin: 0; font-size: 0.95rem; color: rgba(24, 24, 24, 0.75); }

/* ---------- gallery ---------- */

.gallery { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem); }
.gallery-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.gallery-strip img {
  flex: 0 0 62vw;
  aspect-ratio: 1 / 1;
  width: auto;
  object-fit: cover;
  scroll-snap-align: start;
  border: 2px solid var(--ink);
}

/* ---------- industries ---------- */

.industry-grid {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
}
.industry-grid li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-navy);
  font-size: clamp(1rem, 4.6vw, 1.6rem);
  font-weight: 700;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.industry-grid li span {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
}
.industry-grid li:nth-child(even) span { background: var(--brick); }

/* ---------- ordering ---------- */

.ordering-grid { display: grid; gap: 2rem; align-items: start; }
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--ff-m);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
}
.steps p { margin: 0; color: rgba(24, 24, 24, 0.75); font-size: 0.93rem; }

.order-card {
  background: var(--white);
  border: 2px solid var(--ink);
  padding-bottom: 1.5rem;
}
.order-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}
.order-card-head {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  margin: 0 0 0.5rem;
  padding: 0.7rem 1.5rem;
}
.order-card .btn { margin: 1.25rem 1.5rem 0; width: calc(100% - 3rem); }
.order-card-wa {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-family: var(--ff-m);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--brick);
  text-decoration: none;
}
.order-card-wa:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta band ---------- */

.cta-band {
  background: var(--navy);
  border-top: 6px solid var(--brick);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.cta-actions .btn { width: 100%; }
.cta-figure {
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.cta-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: 2rem; }
.contact-copy p { max-width: 28rem; margin: 1.25rem 0 0; color: rgba(24, 24, 24, 0.75); }
.contact-cards { display: grid; gap: 0.75rem; }
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.contact-card .ico-lg {
  grid-row: 1 / 3;
  color: var(--brick);
  transition: color 0.25s var(--ease);
}
.contact-card:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.contact-card:hover .ico-lg { color: var(--orange); }
.contact-card--static:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.contact-card--static:hover .ico-lg { color: var(--brick); }
.contact-card-label {
  font-family: var(--ff-m);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}
.contact-card b { font-size: 1.05rem; font-weight: 700; }

/* ---------- page head (inner pages) ---------- */

.page-head {
  padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(2rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-lede {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  max-width: 36rem;
  margin: 1rem 0 0;
  color: rgba(24, 24, 24, 0.78);
}
.page-head .btn, .page-head .success-actions { margin-top: 1.75rem; }

/* ---------- quote form ---------- */

.quote-grid { display: grid; gap: 2rem; padding-top: clamp(1.75rem, 6vw, 4rem); }

.quote-form {
  border: 2px solid var(--ink);
  padding: clamp(1.15rem, 4vw, 2.5rem);
}
.form-alert {
  font-family: var(--ff-m);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  background: var(--brick);
  color: var(--white);
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.75rem;
}
.field-row { display: grid; gap: 1.15rem; margin-bottom: 1.15rem; }
.field { margin-bottom: 1.15rem; display: flex; flex-direction: column; }
.field-row .field { margin-bottom: 0; }
.field label {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field label i { color: var(--brick); font-style: normal; }
.field .opt { color: rgba(24, 24, 24, 0.5); text-transform: none; letter-spacing: 0.02em; }
.field input, .field textarea {
  font-family: var(--ff-d);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  padding: 0.8rem 0.9rem;
  border-radius: 0;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 0;
  border-color: var(--navy);
}
.field input[aria-invalid="true"] { border-color: var(--brick); }
.field textarea { resize: vertical; min-height: 7rem; }
.field-error {
  font-family: var(--ff-m);
  font-size: 0.75rem;
  color: var(--brick);
  margin-top: 0.45rem;
}
.field-hint {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  color: rgba(24, 24, 24, 0.5);
  margin-top: 0.45rem;
}
.form-foot {
  font-size: 0.82rem;
  color: rgba(24, 24, 24, 0.55);
  margin: 1.25rem 0 0;
}

.quote-aside { display: grid; gap: 1.25rem; align-content: start; }
.aside-card { border: 2px solid var(--ink); padding: 1.5rem; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.aside-head {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--brick);
}
.aside-card--navy .aside-head { color: var(--orange); }
.aside-steps { margin: 0; padding-left: 1.2rem; }
.aside-steps li { padding-block: 0.3rem; font-size: 0.95rem; }
.aside-link {
  display: block;
  font-family: var(--ff-m);
  font-size: 0.85rem;
  color: var(--white);
  text-decoration: none;
  padding-block: 0.4rem;
}
.aside-link:hover { color: var(--orange); }

/* ---------- success / 404 ---------- */

.page-head--success { border-bottom: 0; }
.success-wrap { max-width: 640px; }
.success-icon { width: 72px; height: 72px; margin-bottom: 1.5rem; }
.ref-num {
  font-family: var(--ff-m);
  color: var(--brick);
  letter-spacing: 0.05em;
}
.spec-table--confirm {
  border: 2px solid var(--ink);
  margin-top: 2rem;
  background: var(--white);
}
.spec-table--confirm .spec-row { padding-inline: 1.25rem; }
.success-note { margin-top: 1.5rem; color: rgba(24, 24, 24, 0.7); }
.success-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.success-actions .btn { width: 100%; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--white);
}
.footer-grid {
  display: grid;
  gap: 1.9rem;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}
.footer-brand p {
  max-width: 24rem;
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer-head {
  font-family: var(--ff-m);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 1rem;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a, .footer-contact a, .footer-contact span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { border-top: 1px solid var(--line-navy); }
.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
  font-family: var(--ff-m);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- floating actions ---------- */

.float-actions {
  position: fixed;
  right: 0.9rem;
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.float-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 2px solid var(--white);
}
.float-btn svg { width: 22px; height: 22px; }
.float-btn--call { background: var(--navy); }
.float-btn--wa { background: var(--wa); }
.float-label {
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-m);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.float-btn:hover .float-label { opacity: 1; }

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (min-width: 560px) {
  .hero-cta .btn {
    flex: none;
    width: auto;
    padding: 0.95rem 1.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }
  .hero-cta .btn .ico { display: block; }
  .cta-actions { flex-direction: row; }
  .cta-actions .btn { width: auto; }
  .product-copy .btn { width: auto; }
  .success-actions .btn { width: auto; }
}

@media (min-width: 640px) {
  .btn { padding: 1.05rem 1.9rem; }
  .hero-cta .btn { padding: 1.05rem 1.9rem; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 1.75rem 1.5rem 2rem; }
  .card h3 { font-size: 1.25rem; margin-top: 0.9rem; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .spec-row { grid-template-columns: 1fr 1.4fr; gap: 1rem; padding: 0.85rem 1.5rem; align-items: baseline; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .contact-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem; align-items: flex-start; }
  .contact-card .ico-lg { grid-row: auto; }
  .contact-card-label { margin-top: 0.75rem; }
  .contact-card b { font-size: 1.15rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .mainbar-actions .btn--sm { display: inline-flex; }
}

@media (min-width: 768px) {
  .about-media {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 0.9rem;
    margin: clamp(2.5rem, 6vw, 4rem) 0 0;
    padding-inline: 0;
    overflow: visible;
  }
  .about-figure { flex: none; }
  .about-figure img { aspect-ratio: auto; }
  .about-figure--tall { grid-row: 1 / 3; }
  .cta-figure img { aspect-ratio: 4 / 3; }
  .float-btn { width: 54px; height: 54px; }
  .float-btn svg { width: 26px; height: 26px; }
}

@media (min-width: 1024px) {
  .brand-logo { height: 52px; max-width: none; }
  .brand-logo--footer { height: 56px; }
  .mainnav { display: flex; gap: 1.75rem; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .product-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(4, 1fr); column-gap: 2.5rem; }
  .ordering-grid { grid-template-columns: 1.25fr 0.75fr; gap: 4rem; }
  .cta-inner { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
  .gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
  .gallery-strip img { width: 100%; flex: none; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
  .quote-grid { grid-template-columns: 1.4fr 0.6fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 0.9fr; }
}

@media (max-width: 767px) {
  .topbar-note { display: none; }
}

@media (max-width: 560px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner > .topbar-item { display: none; }
  .mainbar-inner { padding-block: 0.6rem; }
  .brand-logo { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .drawer, .drawer * { animation: none; }
  .btn .ico, .card::before, .contact-card, .float-label { transition: none; }
}
