/* ==========================================================================
   BLACK ELEMENT MINING — style.css
   Single stylesheet. Sections:
   1. Design tokens   2. Reset & base   3. Layout utilities   4. Buttons & forms
   5. Header (topbar + navbar)   6. Hero & page hero   7. Cards & section blocks
   8. Page-specific   9. Footer   10. Animations   11. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Accent — gold. Change these two lines to retheme the whole site. */
  --gold: #e5a50a;
  --gold-600: #c48e08;
  --on-accent: #111111; /* text/icon colour placed on top of the accent */
  --orange: var(--gold); /* legacy alias used throughout */
  --orange-600: var(--gold-600);
  --bg: #111111;
  --bg-2: #161616; /* alternating section band */
  --card: #181818;
  --card-2: #1f1f1f; /* hovered / raised card */
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #aaaaaa;
  --muted-2: #7a7a7a;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-md: 1rem;
  --fs-h4: 1.15rem;
  --fs-h3: 1.4rem;
  --fs-h2: clamp(1.6rem, 2.4vw, 2.25rem);
  --fs-h1: clamp(2.4rem, 4.2vw, 3.6rem);

  --container: 1200px;
  --gutter: 1.5rem;
  --section: 4.25rem; /* vertical rhythm between sections */
  --radius: 2px; /* industrial: almost square */
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input,
textarea {
  font: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
p {
  color: var(--muted);
  max-width: 68ch;
}
strong {
  color: var(--text);
}
::selection {
  background: var(--orange);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.accent {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.section--band {
  background: var(--bg-2);
}
.section--tight {
  padding-block: 2.75rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Section header: left-aligned with orange rule (the site's structural motif) */
.sec-head {
  margin-bottom: 2.25rem;
  max-width: 720px;
}
.sec-head--center {
  text-align: center;
  margin-inline: auto;
}
.sec-head--center p {
  margin-inline: auto;
}
.sec-head .kicker {
  display: block;
  color: var(--orange);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.sec-head h2 {
  margin-bottom: 1rem;
}
.rule-left {
  position: relative;
  padding-left: 1.5rem;
}
.rule-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: var(--orange);
}

/* --------------------------------------------------------------------------
   4. BUTTONS & FORMS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-sm);
  line-height: 1;
  border-radius: var(--radius);
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.btn--primary {
  background: var(--orange);
  color: var(--on-accent);
}
.btn--primary:hover {
  background: var(--orange-600);
}
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn .icon {
  transition: transform var(--dur) var(--ease);
}
.btn:hover .icon {
  transform: translateX(4px);
}

/* Text link with underline bar — used for "Learn more" */
.link-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding-bottom: 0.35rem;
  position: relative;
}
.link-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.link-bar:hover::after {
  transform: scaleX(1);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.input,
.textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fff;
  color: #111;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.input::placeholder,
.textarea::placeholder {
  color: #7a7a7a;
}
.input:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(229, 165, 10, 0.3);
}
.textarea {
  min-height: 170px;
  resize: vertical;
}
.form-msg {
  font-size: var(--fs-sm);
  min-height: 1.5em;
}
.form-msg.is-ok {
  color: #5ad17a;
}
.form-msg.is-err {
  color: #ff7a7a;
}

/* --------------------------------------------------------------------------
   5. HEADER — topbar + sticky navbar
   -------------------------------------------------------------------------- */
/* display:contents removes the mount wrapper from layout so the navbar's sticky containing block is <body> */
#site-header {
  display: contents;
}

.topbar {
  position: relative;
  z-index: 101;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.1rem;
}
.topbar__info {
  display: flex;
  gap: 2.25rem;
  min-width: 0;
}
.topbar__info li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--fs-sm);
}
.topbar__info .icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--orange);
  stroke-width: 1.4;
}
.topbar__info strong {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.topbar__info span {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.brand,
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand__logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex: none;
}
.topbar .brand__logo,
.footer__brand .brand__logo {
  width: 220px;
  height: 65px;
}
.topbar .brand__logo {
  transform: translateX(0);
}
.brand__text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand__text small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-top: 0.35rem;
  text-transform: uppercase;
}
.navbar__brand {
  display: none;
} /* shown only in sticky/compact state or mobile */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
.navbar.is-stuck {
  background: rgba(17, 17, 17, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.navbar.is-stuck .navbar__brand {
  display: inline-flex;
}
.navbar.is-stuck .brand__logo {
  width: 120px;
  height: 60px;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.nav__list {
  display: flex;
  gap: 0.25rem;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: var(--nav-h);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-md);
  color: var(--text);
  position: relative;
  transition: color 0.25s;
}
.nav__link:hover,
.nav__item.is-open > .nav__link,
.nav__link.is-active {
  color: var(--orange);
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}
.nav__plus {
  position: relative;
  width: 12px;
  height: 12px;
}
.nav__plus::before,
.nav__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transition: transform 0.3s var(--ease);
}
.nav__plus::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.nav__plus::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.nav__item.is-open .nav__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Navbar dropdown indicator: chevron instead of plus */
.nav__toggle .nav__plus {
  width: 10px;
  height: 10px;
  transition: transform 0.3s var(--ease);
}
.nav__toggle .nav__plus::before {
  width: 7px;
  height: 7px;
  background: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -70%) rotate(45deg);
}
.nav__toggle .nav__plus::after {
  display: none;
}
.nav__item.is-open .nav__toggle .nav__plus {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  color: #111;
  padding: 0.75rem 0;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
}
.dropdown a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-md);
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.dropdown a:hover {
  color: var(--orange);
  padding-left: 1.85rem;
}
.nav__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.social {
  display: flex;
  gap: 0.5rem;
}
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #2a2a2a;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    color 0.25s;
}
.social a:hover {
  background: var(--orange);
  color: var(--on-accent);
}
.search {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}
.search input {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0 1rem;
  width: 180px;
  height: 40px;
}
.search input::placeholder {
  color: var(--muted-2);
}
.search input:focus {
  outline: 0;
}
.search button {
  width: 44px;
  height: 40px;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: var(--on-accent);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. HERO (home) & PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--nav-h)), 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.05);
  transform: scale(1.08);
  animation: heroZoom 1.8s var(--ease) forwards;
}
/* Hero visual: cut-corner poster frame with offset outline, gradient
   overlay, slow Ken Burns zoom and a floating gold stat card. Any
   portrait/landscape photo dropped in will be cropped with object-fit. */
.hero__visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(30vw, 420px);
  aspect-ratio: 4/5;
  max-height: 82%;
  z-index: 0;
  margin: 0;
  animation: visualIn 1.1s 0.15s var(--ease) both;
}
/* Offset outline sitting behind the frame */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(20px, 20px);
  border: 1px solid rgba(229, 165, 10, 0.55);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  z-index: -1;
  pointer-events: none;
}
.hero__visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--card);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: heroVisualZoom 16s ease-in-out infinite alternate;
}
/* Gradient overlay: keeps the bottom dark so the card and text read well,
   with a faint gold cast in the top-right corner */
.hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(17, 17, 17, 0.85) 0%,
      rgba(17, 17, 17, 0.25) 40%,
      rgba(17, 17, 17, 0) 65%
    ),
    linear-gradient(225deg, rgba(229, 165, 10, 0.22), transparent 45%);
  pointer-events: none;
}
/* Gold corner brackets on the two square corners */
.hero__visual-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 34px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 2px 34px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 34px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 2px 34px no-repeat;
}
/* Small eyebrow label above the frame */
.hero__visual-tag {
  position: absolute;
  left: 0;
  top: -1.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.hero__visual-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
/* Floating stat card overlapping the bottom-left edge */
.hero__visual-card {
  position: absolute;
  left: -32px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem 1rem 1.2rem;
  background: var(--gold);
  color: var(--on-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeUp 0.8s 0.95s var(--ease) forwards;
}
.hero__visual-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  pointer-events: none;
}
.hero__visual-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__visual-num sup {
  font-size: 1.1rem;
  vertical-align: top;
  margin-left: 2px;
}
.hero__visual-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
}
.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.75rem;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) span {
  animation-delay: 0.1s;
}
.hero h1 .line:nth-child(3) span {
  animation-delay: 0.2s;
}
.hero h1 .line:nth-child(4) span {
  animation-delay: 0.3s;
}
.hero p {
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s var(--ease) forwards;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s var(--ease) forwards;
}

/* Inner page hero: full-colour image, centred title */
.page-hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.breadcrumb a {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   7. CARDS & REUSABLE SECTION BLOCKS
   -------------------------------------------------------------------------- */
/* Stat block — big number with orange tick */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat {
  background: var(--card);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.stats .stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.stat__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}
.stat__num::after {
  content: ".";
  color: var(--orange);
}
.stat__tick {
  width: 22px;
  height: 3px;
  background: var(--orange);
  margin: 0.9rem 0 0.6rem;
}
.stat__label {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.4;
}

/* Service cards — the original layout (large line icon, gold tick, title,
   copy, "Learn more") refined: hairline border, faint index number, a soft
   gold glow behind the icon, arrow that slides on hover, and the gold
   bottom bar sweeping in. */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem 1.5rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    background 0.4s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  background: var(--card-2);
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  transition: color 0.3s;
}
.service-card:hover .service-card__num {
  color: var(--gold);
}
.service-card > .icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  stroke-width: 1.3;
  color: var(--text);
  transition:
    color 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.service-card:hover > .icon {
  color: var(--gold);
  transform: translateY(-2px);
}
.service-card .stat__tick {
  margin: 0.15rem 0 0.1rem;
  width: 28px;
  transition: width 0.45s var(--ease);
}
.service-card:hover .stat__tick {
  width: 44px;
}
.service-card h3 {
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.service-card h3 a {
  color: var(--text);
  transition: color 0.3s;
}
.service-card:hover h3 a {
  color: var(--gold);
}
.service-card p {
  flex: 1;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted);
}
.service-card .link-bar {
  margin-top: 0.35rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.service-card .link-bar .icon,
.feature-text .link-bar .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .link-bar .icon,
.feature-text .link-bar:hover .icon {
  transform: translateX(5px);
}

/* Highlight text block (right column on home services) — the original gold
   left rule kept, with a hairline frame, faint gold wash, uppercase kicker
   and a cleaner checklist. */
.feature-text {
  position: relative;
  padding: 2.25rem 2rem;
  background:
    linear-gradient(225deg, rgba(229, 165, 10, 0.12), transparent 42%),
    var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  justify-content: center;
}
.feature-text .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.feature-text .kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.feature-text h2 {
  margin: 0;
  max-width: 14ch;
}
.feature-text > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.feature-text ul {
  display: grid;
  gap: 0.85rem;
  margin: 0.25rem 0 0.35rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  width: 100%;
}
.feature-text li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text);
}
.feature-text li .icon {
  flex: none;
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  color: var(--gold);
  margin-top: 0.15em;
}
.feature-text .link-bar {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Gallery */
/* Work / project tiles — same editorial language as the blog cards:
   cut-corner photo with a gold index stamp, category + project name row,
   circled arrow. Hover: photo zoom, soft lift, gold name and arrow only. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}
.work-card__media {
  position: relative;
  display: block;
  color: inherit;
}
.work-card__img {
  position: relative;
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--card-2);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.work-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.6) 0%,
    rgba(17, 17, 17, 0.05) 40%,
    rgba(17, 17, 17, 0) 60%
  );
  pointer-events: none;
}
.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 1s var(--ease);
}
.work-card:hover .work-card__img img {
  transform: scale(1.07);
}
.work-card__num {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  bottom: -1rem;
  min-width: 48px;
  padding: 0.55rem 0.6rem 0.5rem;
  background: var(--gold);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}
.work-card__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.4rem;
  align-items: center;
  padding: 1.8rem 1.2rem 1.1rem;
}
.work-card__cat {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.work-card__cat::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.work-card__body strong {
  grid-column: 1;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}
.work-card__body strong a {
  color: var(--text);
  transition: color 0.3s;
}
.work-card:hover .work-card__body strong a {
  color: var(--gold);
}
.work-card__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 165, 10, 0.55);
  color: var(--gold);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.work-card__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.work-card:hover .work-card__arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-accent);
}
.work-card:hover .work-card__arrow svg {
  transform: translateX(3px);
}

/* Filter buttons (work page) */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filters button {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  transition: all 0.25s;
}
.filters button:hover,
.filters button.is-active {
  border-color: var(--orange);
  color: var(--orange);
}

/* Process steps — same editorial language as the blog/work tiles: gold
   number stamp sitting on a connector line, phase label, title, copy and a
   "deliverable" footer. Hover: soft lift and gold title only. */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 1.25rem;
  margin: 0;
  list-style: none;
}
.process::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 1px;
  background: var(--line);
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.1rem 1.35rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: visible;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}
.step__num {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  top: -1.25rem;
  min-width: 48px;
  padding: 0.55rem 0.6rem 0.5rem;
  background: var(--gold);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}
.step__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.step__label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.step h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s;
}
.step:hover h3 {
  color: var(--gold);
}
.step p {
  flex: 1;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted);
}
.step__out {
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.step__out small {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Accordion */
/* Accordion — numbered questions, gold accent bar on the open item, plus/minus
   toggle in an outlined box that fills gold when open. */
.accordion {
  border: 1px solid var(--line);
  background: var(--card);
  counter-reset: acc;
}
.acc-item {
  position: relative;
  transition: background 0.3s;
}
.acc-item + .acc-item {
  border-top: 1px solid var(--line);
}
.acc-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.acc-item.is-open {
  background: var(--card-2);
}
.acc-item.is-open::before {
  transform: scaleY(1);
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 1.25rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text);
  counter-increment: acc;
  transition: color 0.25s;
}
.acc-trigger::before {
  content: counter(acc, decimal-leading-zero);
  flex: none;
  width: 1.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.acc-trigger:hover,
.acc-trigger[aria-expanded="true"] {
  color: var(--gold);
}
.acc-trigger .nav__plus {
  order: 2;
  flex: none;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(229, 165, 10, 0.55);
  color: var(--gold);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.acc-trigger[aria-expanded="true"] .nav__plus {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-accent);
}
.acc-trigger[aria-expanded="true"] .nav__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.acc-panel > div {
  overflow: hidden;
}
.acc-panel p {
  margin: 0;
  padding: 0 2.5rem 1.5rem 4.25rem;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--muted);
}
.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

/* Image with floating stat badge (about / faq / pricing visual) — same
   poster treatment as the hero: cut-corner photo, offset gold outline,
   gradient + corner brackets, gold stat card overlapping the bottom-left. */
.img-badge {
  position: relative;
  margin: 0 20px 20px 0;
  max-width: 480px;
  justify-self: center;
}
.img-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(20px, 20px);
  border: 1px solid rgba(229, 165, 10, 0.55);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  z-index: 0;
  pointer-events: none;
}
.img-badge img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: none;
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
}
.img-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  background:
    linear-gradient(var(--gold), var(--gold)) top 14px left 14px / 34px 2px
      no-repeat,
    linear-gradient(var(--gold), var(--gold)) top 14px left 14px / 2px 34px
      no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom 14px right 14px / 34px 2px
      no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom 14px right 14px / 2px 34px
      no-repeat,
    linear-gradient(
      to top,
      rgba(17, 17, 17, 0.75) 0%,
      rgba(17, 17, 17, 0.2) 40%,
      rgba(17, 17, 17, 0) 65%
    ),
    linear-gradient(225deg, rgba(229, 165, 10, 0.2), transparent 45%);
}
.img-badge .stat {
  position: absolute;
  z-index: 2;
  left: -1.5rem;
  bottom: 2rem;
  min-width: 200px;
  max-width: 270px;
  padding: 1.3rem 1.5rem 1.25rem;
  background: var(--gold);
  color: var(--on-accent);
  border: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.img-badge .stat::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  pointer-events: none;
}
.img-badge .stat__num {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.img-badge .stat__num::after {
  color: rgba(17, 17, 17, 0.55);
}
.img-badge .stat__tick {
  background: rgba(17, 17, 17, 0.45);
}
.img-badge .stat__label {
  color: rgba(17, 17, 17, 0.85);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Team card */
.team-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
}
.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: none;
  transition:
    filter 0.5s,
    transform 0.8s var(--ease);
}
.team-card:hover img {
  filter: none;
  transform: scale(1.04);
}
.team-card__body {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.team-card h3 {
  font-size: var(--fs-md);
}
.team-card p {
  font-size: var(--fs-xs);
  color: var(--orange);
}
.team-card .social a {
  width: 32px;
  height: 32px;
}
.team-card .social .icon {
  width: 1em;
  height: 1em;
}

/* Testimonial */
/* Testimonial — poster-framed photo with gold stat card (same treatment as
   the hero), quote card with a large gold quotation mark, initials avatar
   and a row of proof figures pulled from the quote itself. */
.testimonial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.testimonial__media {
  position: relative;
  margin: 0 20px 20px 0;
  max-width: 440px;
  justify-self: center;
}
.testimonial__media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(20px, 20px);
  border: 1px solid rgba(229, 165, 10, 0.55);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  z-index: 0;
  pointer-events: none;
}
.testimonial__frame {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  background: var(--card);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}
.testimonial__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: none;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}
.testimonial__media:hover .testimonial__frame img {
  transform: scale(1.06);
}
.testimonial__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top 14px left 14px / 34px 2px
      no-repeat,
    linear-gradient(var(--gold), var(--gold)) top 14px left 14px / 2px 34px
      no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom 14px right 14px / 34px 2px
      no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom 14px right 14px / 2px 34px
      no-repeat,
    linear-gradient(
      to top,
      rgba(17, 17, 17, 0.8) 0%,
      rgba(17, 17, 17, 0.2) 40%,
      rgba(17, 17, 17, 0) 65%
    ),
    linear-gradient(225deg, rgba(229, 165, 10, 0.2), transparent 45%);
}
.testimonial__tag {
  position: absolute;
  left: 0;
  top: -1.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.testimonial__tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.testimonial__media .stat {
  position: absolute;
  z-index: 2;
  left: -1.5rem;
  bottom: 2rem;
  min-width: 200px;
  max-width: 270px;
  padding: 1.3rem 1.5rem 1.25rem;
  background: var(--gold);
  color: var(--on-accent);
  border: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.testimonial__media .stat::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  pointer-events: none;
}
.testimonial__media .stat__num {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.testimonial__media .stat__num::after {
  color: rgba(17, 17, 17, 0.55);
}
.testimonial__media .stat__tick {
  background: rgba(17, 17, 17, 0.45);
}
.testimonial__media .stat__label {
  color: rgba(17, 17, 17, 0.85);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Quote card */
.quote-card {
  position: relative;
  margin: 1.5rem 0 0;
  padding: 1.9rem 1.9rem 1.6rem;
  background:
    linear-gradient(225deg, rgba(229, 165, 10, 0.1), transparent 40%),
    var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
}
.quote-card__mark {
  position: absolute;
  right: 1.5rem;
  top: 0.4rem;
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(229, 165, 10, 0.16);
  pointer-events: none;
}
.quote {
  position: relative;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 1.6rem;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.quote-author__avatar {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.quote-author > div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}
.quote-author > div span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.testimonial__proof li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(229, 165, 10, 0.5);
}
.testimonial__proof b {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.testimonial__proof span {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Clients marquee — two identical lists; track slides -50% and loops seamlessly.
   Hover pauses via animation-play-state, so it resumes from the same spot. */
/* Top rule sits above the heading so heading + slider read as one block; bottom rule closes it */
.clients .container {
  border-top: 1px solid var(--line);
  padding-top: 3.5rem;
}
.clients__head {
  margin-bottom: 2.5rem;
}
.clients__head h2 {
  margin-bottom: 0.6rem;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__list {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
}
.marquee__list li {
  flex: none;
  width: 220px;
  padding: 0 1rem;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
/* plain logo on the theme background — no tile, no border */
.marquee__tile {
  width: 100%;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
}
.marquee__list img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.7) opacity(0.7);
  transition:
    filter 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.marquee__list li:hover img {
  filter: none;
  transform: scale(1.08);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Blog card */
/* Blog cards — editorial style. Cut-corner photo with a gold date stamp
   overlapping the body, category + read time row, clamped title/excerpt and
   a footer link with a circled arrow. Hover: photo zoom, soft lift, gold
   title and arrow only — no coloured borders. */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}
.post-card__media {
  position: relative;
  display: block;
  color: inherit;
}
.post-card__img {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--card-2);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.post-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.65) 0%,
    rgba(17, 17, 17, 0.05) 40%,
    rgba(17, 17, 17, 0) 60%
  );
  pointer-events: none;
}
.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 1s var(--ease);
}
.post-card:hover .post-card__img img {
  transform: scale(1.07);
}
.post-card__date {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  bottom: -1.25rem;
  width: 66px;
  padding: 0.6rem 0 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--on-accent);
  font-family: var(--font-head);
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}
.post-card__date b {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.post-card__date small {
  margin-top: 0.3rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2.2rem 1.4rem 1.3rem;
}
.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.post-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
}
.post-card__cat::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.post-card__read {
  color: var(--muted-2);
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.post-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card h3 a {
  color: var(--text);
  transition: color 0.3s;
}
.post-card:hover h3 a,
.post-card h3 a:hover {
  color: var(--gold);
}
.post-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__link {
  margin-top: 0.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.post-card__link:hover {
  color: var(--gold);
}
.post-card__arrow {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 165, 10, 0.55);
  color: var(--gold);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.post-card__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.post-card:hover .post-card__arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-accent);
}
.post-card:hover .post-card__arrow svg {
  transform: translateX(3px);
}

/* Blog section headers */
.sec-head--split .kicker,
.sec-head--line .kicker,
.sec-head--blog .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-head--split .kicker::before,
.sec-head--line .kicker::before,
.sec-head--blog .kicker::before,
.sec-head--blog .kicker::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.sec-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 2.25rem;
}
.sec-head--split h2 {
  margin-bottom: 0;
  max-width: 16ch;
}
.sec-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  padding: 0.25rem 0 0.35rem 2.5rem;
  border-left: 1px solid var(--line);
}
.sec-head__aside p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}
.sec-head--blog h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.sec-head--blog p {
  color: var(--muted);
  max-width: 48ch;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.45);
}
.price-card h3 {
  font-size: var(--fs-md);
}
.price-card__amount {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
}
.price-card__amount small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}
.price-card__per {
  font-size: var(--fs-sm);
  font-weight: 500;
}
.price-card ul {
  display: grid;
  gap: 0.6rem;
  flex: 1;
}
.price-card li {
  display: flex;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.price-card li .icon {
  color: var(--orange);
  margin-top: 0.25em;
  width: 1em;
  height: 1em;
}
.price-card--featured {
  background: var(--orange);
  color: var(--on-accent);
}
.price-card--featured strong,
.price-card--featured h3,
.price-card--featured .price-card__amount {
  color: var(--on-accent);
}
.price-card--featured p,
.price-card--featured li,
.price-card--featured small,
.price-card--featured .stat__label {
  color: rgba(17, 17, 17, 0.8);
}
.price-card--featured li .icon {
  color: var(--on-accent);
}
.price-card--featured .stat__tick {
  background: var(--on-accent);
}
.price-card--featured .link-bar {
  color: var(--on-accent);
}
.price-card--featured .link-bar::after {
  background: var(--on-accent);
}

/* --------------------------------------------------------------------------
   8. PAGE-SPECIFIC
   -------------------------------------------------------------------------- */
/* Service detail two-column */
.detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.detail__main > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 2.5rem;
  filter: none;
}
.detail__main h2 {
  margin-bottom: 1rem;
  font-size: var(--fs-h3);
}
.detail__main h3 {
  font-size: var(--fs-h4);
  margin: 2.5rem 0 1rem;
}
.detail__main p + p {
  margin-top: 1rem;
}
.checklist {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--muted);
}
.checklist li .icon {
  color: var(--orange);
  margin-top: 0.2em;
  width: 1.4em;
  height: 1.4em;
  padding: 2px;
  border: 1px solid var(--orange);
}
.sidebar {
  display: grid;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.widget {
  background: var(--card);
  padding: 2rem 1.75rem;
}
.widget h3 {
  font-size: var(--fs-h4);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 1.25rem;
  display: inline-block;
}
.widget ul {
  display: grid;
  gap: 0.6rem;
}
.widget ul a {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color 0.25s;
}
.widget ul a .nav__plus {
  color: var(--orange);
  width: 10px;
  height: 10px;
}
.widget ul a:hover,
.widget ul a.is-active {
  color: var(--orange);
}
.widget--cta {
  text-align: center;
}
.widget--cta h3 {
  border: 0;
  color: var(--orange);
  font-size: var(--fs-h3);
  display: block;
}
.widget--cta p {
  font-size: var(--fs-sm);
  margin: 0 auto 1.25rem;
}

/* Blog detail */
.article {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.article__body > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 2rem;
}
.article__body p + p,
.article__body h2,
.article__body h3 {
  margin-top: 1.5rem;
}
.article__body h2 {
  font-size: var(--fs-h3);
}
.article__body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--orange);
  background: var(--card);
  font-family: var(--font-head);
  font-size: 1.2rem;
}
.latest-posts a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.latest-posts a:last-child {
  border: 0;
}
.latest-posts strong {
  display: block;
  font-weight: 500;
  font-size: var(--fs-sm);
  line-height: 1.4;
  transition: color 0.25s;
}
.latest-posts a:hover strong {
  color: var(--orange);
}
.latest-posts time {
  font-size: var(--fs-xs);
  color: var(--orange);
}
.comments {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.comments h2 {
  margin-bottom: 0.5rem;
}
.comments form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
.comments .field--full {
  grid-column: 1/-1;
}
.check {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.check input {
  accent-color: var(--orange);
  width: 1rem;
  height: 1rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
.contact-list li {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.contact-list .icon {
  width: 3rem;
  height: 3rem;
  color: var(--orange);
  stroke-width: 1.3;
}
.contact-list strong {
  display: block;
  font-size: var(--fs-md);
}
.contact-list span {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.contact-form {
  background: var(--card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/ore-piles.jpg") center/cover;
  filter: brightness(0.5);
  z-index: 0;
}
.contact-form > * {
  position: relative;
  z-index: 1;
}
.contact-form h2 {
  font-size: var(--fs-h4);
  margin-bottom: 1.5rem;
}
.contact-form form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.contact-form .field--full {
  grid-column: 1/-1;
}
.contact-form .btn {
  justify-content: center;
  width: 100%;
}
.map {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* 404 */
.error {
  min-height: calc(100vh - var(--nav-h) - 120px);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
  padding-block: 5rem;
}
.error img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}
.error__code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.error h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--orange);
  font-weight: 500;
  margin: 1rem 0;
}
.error p {
  margin: 0 auto 2rem;
}

/* Mission cards (about) */
.mission-card {
  background: var(--card);
  padding: 2rem;
  border-top: 3px solid var(--orange);
}
.mission-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: 0.6rem;
}
.mission-card p {
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   9. FOOTER — CTA banner + columns + bottom bar
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 4.25rem;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../../images/conveyor.jpg") center/cover;
  filter: brightness(0.75) contrast(1.05);
}
.cta-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.9) 0%,
    rgba(17, 17, 17, 0.6) 45%,
    rgba(17, 17, 17, 0.35) 100%
  );
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.cta-banner__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.cta-banner__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--orange);
}
.cta-banner__copy p {
  margin-bottom: 1.5rem;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  max-width: 520px;
}
.newsletter input {
  padding: 0.9rem 1rem;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: var(--radius);
}
.newsletter input:focus {
  outline: 2px solid var(--orange);
}
.newsletter .btn {
  padding: 0.9rem 1.5rem;
}
.newsletter__msg {
  grid-column: 1/-1;
  font-size: var(--fs-sm);
  min-height: 1.5em;
  margin: 0;
}
/* CTA visual: same poster treatment as the home hero — cut-corner frame,
   offset gold outline, gradient overlay, corner brackets, stat card. */
.cta-banner__visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3;
  justify-self: end;
  margin-right: 24px;
}
.cta-banner__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(20px, 20px);
  border: 1px solid rgba(229, 165, 10, 0.6);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  z-index: 0;
  pointer-events: none;
}
.cta-banner__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--card);
  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 36px,
    100% 100%,
    36px 100%,
    0 calc(100% - 36px)
  );
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.cta-banner__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.cta-banner:hover .cta-banner__frame img {
  transform: scale(1.07);
}
.cta-banner__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(17, 17, 17, 0.85) 0%,
      rgba(17, 17, 17, 0.25) 40%,
      rgba(17, 17, 17, 0) 65%
    ),
    linear-gradient(225deg, rgba(229, 165, 10, 0.22), transparent 45%);
  pointer-events: none;
}
.cta-banner__frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 34px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 2px 34px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 34px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 2px 34px no-repeat;
}
.cta-banner__tag {
  position: absolute;
  left: 0;
  top: -1.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.cta-banner__tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.cta-banner__card {
  position: absolute;
  z-index: 2;
  left: -32px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem 1rem 1.2rem;
  background: var(--gold);
  color: var(--on-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.cta-banner__card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  pointer-events: none;
}
.cta-banner__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cta-banner__num sup {
  font-size: 1.1rem;
  vertical-align: top;
  margin-left: 2px;
}
.cta-banner__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 120px;
  height: 2px;
  background: var(--gold);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.3fr 1.2fr;
  gap: 3.5rem;
  padding-block: 3.5rem 3rem;
}
.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 34ch;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 165, 10, 0.45);
  color: var(--gold);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-accent);
  transform: translateY(-3px);
}
.footer__social .icon {
  width: 18px;
  height: 18px;
}
.footer__col h3 {
  position: relative;
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.footer__col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.footer__links {
  display: grid;
  gap: 0.7rem;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
}
.footer__links a::before {
  margin-right: 0;
  transition:
    width 0.3s var(--ease),
    margin-right 0.3s var(--ease);
  content: "";
  width: 0;
  height: 1px;
  background: var(--gold);
}
.footer__links a:hover {
  color: var(--text);
}
.footer__links a:hover::before {
  width: 14px;
  margin-right: 0.6rem;
}
.footer__post {
  display: block;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.footer__post:last-child {
  border-bottom: 1px solid var(--line);
}
.footer__post time {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__post strong {
  display: block;
  font-weight: 500;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text);
  transition: color 0.25s;
}
.footer__post:hover strong {
  color: var(--gold);
}
.footer__info {
  display: grid;
  gap: 1rem;
}
.footer__info li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.footer__info .icon {
  flex: none;
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  color: var(--gold);
  margin-top: 0.1rem;
}
.footer__info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.15rem;
}
.footer__info span,
.footer__info a {
  font-size: var(--fs-sm);
  color: var(--text);
  transition: color 0.25s;
}
.footer__info a:hover {
  color: var(--gold);
}
.footer__cta {
  margin-top: 1.5rem;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.35rem;
  font-size: var(--fs-sm);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.footer__bottom ul {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom ul a {
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: color 0.25s;
}
.footer__bottom ul a:hover {
  color: var(--gold);
}

.to-top {
  position: fixed;
  right: 0.75rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.85);
  color: var(--gold);
  border: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.35s var(--ease),
    bottom 0.35s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
/* scroll-progress ring: --progress is set by script.js (0% at top, 100% at
   the end of the page) */
.to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--gold) var(--progress, 0%),
    rgba(229, 165, 10, 0.22) 0
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  transition: background 0.3s var(--ease);
  pointer-events: none;
}
.to-top:hover::before {
  background: conic-gradient(
    var(--on-accent) var(--progress, 0%),
    rgba(17, 17, 17, 0.25) 0
  );
}
.to-top .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform 0.3s var(--ease);
}
.to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-accent);
}
.to-top:hover .icon {
  transform: translateY(-3px);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
/* lifted above the footer's bottom bar so the legal links stay readable */
.to-top.is-docked {
  bottom: calc(var(--dock, 60px) + 1.25rem);
}

/* --------------------------------------------------------------------------
   10. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes lineUp {
  to {
    transform: none;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes visualIn {
  from {
    opacity: 0;
    transform: translate(60px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
@keyframes heroVisualZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

/* Scroll reveal: elements start hidden, .is-visible added by IntersectionObserver.
   Applied once per section block (not every card) to keep motion deliberate. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal--left {
  transform: translateX(-40px);
}
.reveal--right {
  transform: translateX(40px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger children inside a revealed grid */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.32s;
}
.reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}
.reveal-stagger.is-visible > *:nth-child(n + 7) {
  transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
  .hero h1 .line span {
    transform: none;
  }
  .hero p,
  .hero__actions,
  .hero__visual {
    opacity: 1;
  }
  html {
    scroll-behavior: auto;
  }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .marquee__list[aria-hidden] {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE  (1440 → 1024 → 768 → 480 → 320)
   -------------------------------------------------------------------------- */
/* Laptop 1280–1400: keep all three info items, tighten spacing instead of hiding */
@media (max-width: 1400px) {
  .topbar__inner {
    gap: 1.5rem;
  }
  .topbar__info {
    gap: 1.25rem;
  }
  .topbar__info li {
    font-size: var(--fs-xs);
    gap: 0.7rem;
  }
  .topbar__info .icon {
    width: 2.1rem;
    height: 2.1rem;
  }
  .brand__text {
    font-size: 1.45rem;
  }
}
@media (max-width: 1100px) {
  .topbar__info li:nth-child(3) {
    display: none;
  }
}
@media (max-width: 1200px) {
  .search input {
    width: 130px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1024px) {
  :root {
    --section: 5rem;
  }
  .grid-4,
  .pricing,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .testimonial,
  .contact,
  .cta-banner__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .detail,
  .article {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .hero__visual {
    right: 3%;
    width: 38vw;
  }
  .hero__visual-card {
    left: -12px;
  }
  .cta-banner__visual {
    justify-self: start;
    max-width: 440px;
    margin: 2.5rem 0 1rem;
  }
  .cta-banner__card {
    left: 12px;
    bottom: 16px;
  }
  .topbar__info {
    display: none;
  }
  .social {
    display: none;
  }
}
@media (max-width: 768px) {
  .acc-panel p {
    padding-right: 1.4rem;
  }
  .sec-head--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .sec-head__aside {
    border-left: 0;
    padding-left: 0;
  }
  :root {
    --nav-h: 64px;
  }
  /* Solid navbar on mobile: backdrop-filter would trap the fixed drawer inside the bar */
  .navbar,
  .navbar.is-stuck {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hamburger {
    display: flex;
  }
  .navbar__brand {
    display: inline-flex;
  }
  .topbar {
    display: none;
  }
  .search {
    display: none;
  }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav.is-open {
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav__item {
    border-bottom: 1px solid var(--line);
  }
  .nav__link {
    height: auto;
    padding: 1.1rem 0;
    width: 100%;
    justify-content: space-between;
    font-size: 1.2rem;
  }
  .nav__link.is-active::after {
    display: none;
  }
  .dropdown {
    position: static;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    padding: 0 0 0 1rem;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      max-height 0.4s var(--ease),
      padding 0.4s var(--ease);
  }
  .nav__item.is-open > .dropdown {
    max-height: 320px;
    padding-bottom: 0.5rem;
  }
  .dropdown a {
    padding: 0.55rem 0;
    color: var(--muted);
  }
  .dropdown a:hover {
    padding-left: 0;
  }
  .grid-3,
  .gallery,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery--tall figure:nth-child(1) {
    grid-row: auto;
    aspect-ratio: 4/3;
  }
  .hero {
    min-height: auto;
  }
  .hero__inner {
    padding-block: 2.5rem 4rem;
  }
  .hero__visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 2 * var(--gutter));
    max-width: 420px;
    aspect-ratio: 4/5;
    order: -1;
    margin: 3.5rem auto 0;
    animation: fadeUp 0.9s var(--ease) both;
  }
  .hero__visual-card {
    left: 12px;
    bottom: 16px;
  }
  .comments form,
  .contact-form form {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3.5rem;
  }
  .cta-banner {
    padding-block: 4rem;
  }
  .img-badge .stat {
    left: 12px;
    right: auto;
    bottom: 16px;
  }
  .testimonial__media .stat {
    left: 12px;
    top: auto;
    bottom: 16px;
  }
}
@media (max-width: 480px) {
  .testimonial__proof {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  :root {
    --section: 4rem;
    --gutter: 1rem;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery,
  .stats,
  .pricing,
  .process {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 0.85rem 1.35rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .newsletter {
    grid-template-columns: 1fr;
  }
  .footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

.services-home {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .services-home {
    grid-template-columns: 1fr;
  }
}
