/* ==========================================================================
   Bjerkvik Defence — stylesheet
   Accent amber #E6C448 is sampled from the company logo artwork.
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */

:root {
  --ink: #0a0c0f;
  --ink-80: rgba(10, 12, 15, 0.82);
  --panel: #12161b;
  --panel-2: #171c22;

  --amber: #e6c448;
  --amber-soft: rgba(230, 196, 72, 0.12);
  --amber-glow: rgba(230, 196, 72, 0.28);

  --line: rgba(230, 196, 72, 0.18);
  --line-soft: rgba(255, 255, 255, 0.09);

  --head: #f2f4f7;
  --text: #c9d1d9;
  --muted: #8b95a1;

  --danger: #ff8f7a;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.05rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.5rem + 3vw, 4.2rem);

  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(4rem, 9vw, 7.5rem);

  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset ------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Author display rules would otherwise beat the user agent's [hidden] rule. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  color: var(--head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  letter-spacing: -0.035em;
}
h2 {
  font-size: var(--step-3);
  letter-spacing: -0.03em;
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--amber);
  text-decoration-color: rgba(230, 196, 72, 0.35);
  text-underline-offset: 0.22em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

a:hover {
  text-decoration-color: var(--amber);
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.35em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

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

::selection {
  background: var(--amber);
  color: var(--ink);
}

/* Layout ------------------------------------------------------------------ */

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

.container--narrow {
  max-width: 52rem;
}

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

.section--hairline {
  border-top: 1px solid var(--line-soft);
}

.section--panel {
  background: var(--panel);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--amber);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 0.75rem;
}

/* Typographic helpers ----------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.1rem;
}

/* Keeps the rule level with the first line when the label wraps. */
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  margin-top: 0.82em;
  background: var(--amber);
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

.lede {
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.55;
  max-width: 46ch;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--amber);
  color: var(--ink);
}

.btn--solid:hover {
  background: #f0d264;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--head);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-soft);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--step--1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--amber);
}

.arrow-link span {
  transition: transform 0.18s var(--ease);
}

.arrow-link:hover span {
  transform: translateX(4px);
}

/* Badges ------------------------------------------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--amber-soft);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.badge--concept {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--head);
  flex: none;
}

.brand img {
  width: 104px;
  height: auto;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__name span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-block: 0.3rem;
}

.nav a:hover {
  color: var(--head);
}

.nav a[aria-current="page"] {
  color: var(--amber);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 1px;
  background: var(--amber);
}

.nav-toggle {
  position: relative;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: transparent;
  color: var(--head);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--line);
  color: var(--amber);
}

.nav-toggle__bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin: -0.75px 0 0 -9px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 60rem) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--ink);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0.28s;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav a {
    padding-block: 1rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.1rem;
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .nav .btn {
    margin-top: 1.25rem;
    justify-content: center;
  }
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 46rem);
  padding-block: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hubro-eyes.webp");
  background-size: cover;
  background-position: 72% 32%;
  filter: brightness(0.5) saturate(1.15) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      var(--ink) 0%,
      var(--ink) 34%,
      rgba(10, 12, 15, 0.86) 55%,
      rgba(10, 12, 15, 0.45) 100%
    ),
    linear-gradient(to bottom, rgba(10, 12, 15, 0.55), rgba(10, 12, 15, 0.2) 40%, var(--ink) 100%);
}

.hero__content {
  max-width: 42rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .lede {
  max-width: 34rem;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  right: 6%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow), transparent 62%);
  filter: blur(40px);
  opacity: 0.55;
  animation: pulse 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.06);
  }
}

@media (max-width: 48rem) {
  .hero__media {
    background-position: 62% 22%;
    filter: brightness(0.38) saturate(1.1);
  }

  .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(10, 12, 15, 0.55) 0%,
      rgba(10, 12, 15, 0.8) 45%,
      var(--ink) 100%
    );
  }

  .hero__glow {
    width: 20rem;
    height: 20rem;
    right: -4rem;
  }
}

/* Page header (inner pages) ----------------------------------------------- */

.page-head {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(
    120% 100% at 85% 0%,
    rgba(230, 196, 72, 0.09),
    transparent 60%
  );
}

.page-head h1 {
  font-size: var(--step-3);
  margin-bottom: 1rem;
}

/* Stat strip -------------------------------------------------------------- */

.stat-strip {
  border-block: 1px solid var(--line-soft);
  background: var(--panel);
}

.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line-soft);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--amber);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 48rem) {
  .stat-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }
}

/* Cards ------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 48rem) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.card:hover {
  border-color: var(--line);
  background: var(--panel-2);
  transform: translateY(-3px);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card h3 {
  margin: 0;
}

.card__role {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--text);
}

.card .arrow-link {
  margin-top: auto;
  padding-top: 0.4rem;
}

/* Two-column blocks ------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split--wide-left {
  grid-template-columns: 1.15fr 0.85fr;
}

@media (max-width: 56rem) {
  .split,
  .split--wide-left {
    grid-template-columns: 1fr;
  }
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.pillar-list li {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--line);
}

.pillar-list h3 {
  margin: 0 0 0.3rem;
  font-size: var(--step-1);
}

.pillar-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product bands ----------------------------------------------------------- */

.subnav {
  position: sticky;
  top: 4.5rem;
  z-index: 60;
  background: var(--ink-80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.subnav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
  display: none;
}

.subnav li {
  margin: 0;
}

.subnav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.subnav a:hover {
  color: var(--amber);
}

.subnav a.is-active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.product {
  padding-block: var(--band);
  border-top: 1px solid var(--line-soft);
}

.product__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.product--reverse .product__visual {
  order: -1;
}

@media (max-width: 56rem) {
  .product__layout {
    grid-template-columns: 1fr;
  }

  .product--reverse .product__visual {
    order: 0;
  }
}

.product__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.product__head h2 {
  margin: 0;
  font-size: var(--step-3);
}

.product__role {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.5rem;
}

/* The specification column is much taller than the visual, so the visual
   travels alongside it rather than stranding whitespace beside the specs. */
.product__visual {
  position: sticky;
  top: 8.5rem;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  display: grid;
  place-items: center;
}

@media (max-width: 56rem) {
  .product__visual {
    position: relative;
    top: auto;
  }
}

.product__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(1.1);
}

.product__visual--eyes img {
  object-position: 50% 34%;
}

/* Schematic placeholder used where there is no photography yet */
.schematic {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  background-position: center;
}

.schematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 60% at 50% 50%,
    rgba(230, 196, 72, 0.1),
    transparent 70%
  );
}

.schematic svg {
  position: relative;
  width: min(62%, 20rem);
  height: auto;
  color: var(--amber);
}

.schematic__caption {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line-soft);
}

.specs div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.specs dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--head);
}

@media (max-width: 34rem) {
  .specs div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.tag-list li {
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text);
}

.sub-label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0;
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    115deg,
    rgba(230, 196, 72, 0.1),
    rgba(230, 196, 72, 0.02) 55%,
    transparent
  );
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: var(--step-2);
}

.cta-band p {
  margin: 0;
  color: var(--text);
  max-width: 42ch;
}

/* Timeline ---------------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.29rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--line-soft);
}

.timeline li {
  position: relative;
  margin: 0 0 2rem;
  padding-left: 2.25rem;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--amber);
}

.timeline time {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.timeline h3 {
  margin: 0 0 0.25rem;
  font-size: var(--step-1);
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Value / feature grid ---------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 56rem) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.value h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.value p {
  margin: 0;
  color: var(--muted);
}

/* Contact ----------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 56rem) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Enquiry (contact page) -------------------------------------------------- */

.enquiry {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.enquiry h2 {
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}

.enquiry .sub-label {
  margin-top: 2rem;
}

.enquiry .btn-row {
  margin-top: 2rem;
  flex-wrap: wrap;
}

.enquiry .btn-row .btn {
  word-break: break-word;
}

.form__note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.5rem 0 0;
}

.contact-aside {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}

.contact-block h2 {
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}

.contact-block p,
.contact-block address {
  margin: 0;
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
}

.contact-block .mono {
  display: block;
  color: var(--muted);
}

.contact-block address + p {
  margin-top: 1rem;
  color: var(--muted);
}

/* Map placeholder --------------------------------------------------------- */

.map {
  position: relative;
  height: clamp(16rem, 34vw, 24rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    50% 60% at 50% 50%,
    rgba(230, 196, 72, 0.08),
    transparent 70%
  );
}

.map__marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.map__dot {
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0.5rem rgba(230, 196, 72, 0.14),
    0 0 0 1.25rem rgba(230, 196, 72, 0.07);
}

.map__label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--head);
}

.map__coords {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.map__marker--hq {
  left: 38%;
  top: 66%;
}

.map__marker--trials {
  left: 60%;
  top: 24%;
}

.map__marker--trials .map__dot {
  background: transparent;
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 0.4rem rgba(230, 196, 72, 0.07);
}

.map-note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Notice ------------------------------------------------------------------ */

.notice {
  border-left: 2px solid var(--line);
  padding: 0.25rem 0 0.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--panel);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}

@media (max-width: 56rem) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber);
}

.site-footer__brand p {
  color: var(--muted);
  max-width: 34ch;
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer__bottom p {
  margin: 0;
}

/* Scroll reveal ----------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__glow {
    animation: none;
  }
}
