/*
Theme Name: ABG Vélar — Fixed
Theme URI: https://abgvelar.is/
Author: ABG Vélar
Description: Sérsmíðað framleiðsluþema fyrir ABG Vélar.
Version: 3.0.4
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: abg-velar
*/

:root {
  --blue: #01519b;
  --blue-dark: #003d75;
  --red: #db1d34;
  --ink: #0c1014;
  --charcoal: #151a20;
  --off-white: #f4f4f1;
  --line: #d8d9d5;
  --muted: #60656a;
  --white: #fff;
  --shell: 1480px;
  --gutter: clamp(22px, 4vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--off-white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

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

:focus-visible {
  outline: 3px solid #58aaff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(88px, 9vw, 150px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--red);
  content: "";
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  font-weight: 720;
  line-height: .99;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 14px 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.button span { transition: transform .3s var(--ease); }
.button:hover span { transform: translate(3px, -3px); }
.button-small { min-height: 45px; padding: 12px 19px; font-size: .72rem; }

/* Header and hero */
.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
}

.header-inner {
  display: grid;
  min-height: 94px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3.2vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.brand {
  display: inline-flex;
  width: 128px;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand img { width: 112px; height: auto; }
.brand span { margin-top: 3px; color: currentColor; font-size: .78rem; font-weight: 900; letter-spacing: .26em; transform: translateX(.14em); }

.desktop-nav { display: flex; justify-content: center; gap: clamp(19px, 2vw, 38px); }
.desktop-nav a {
  position: relative;
  padding: 36px 0 32px;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .02em;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 700; }
.header-phone svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: #1d2830;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 52%;
  animation: hero-settle 1.8s var(--ease) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,10,14,.79) 0%, rgba(5,10,14,.55) 37%, rgba(5,10,14,.14) 70%, rgba(5,10,14,.08) 100%),
    linear-gradient(0deg, rgba(4,8,12,.46) 0%, transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: max(720px, 100svh);
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 112px;
}

.hero-copy { width: min(1100px, 74%); }
.hero .eyebrow { color: rgba(255,255,255,.84); }
.hero .eyebrow::before { background: var(--red); }

.hero h1 {
  margin: 0 0 29px;
  font-size: clamp(4rem, 6.15vw, 6rem);
  font-weight: 760;
  line-height: .9;
  text-wrap: balance;
}

.hero-line { display: block; overflow: visible; padding: .14em 0 .07em; }
.hero-line > span { display: block; animation: line-up 1s var(--ease) both; }
.hero-line:nth-child(2) > span { animation-delay: .11s; }

.hero-lead { max-width: 650px; margin-bottom: 36px; color: rgba(255,255,255,.84); font-size: clamp(1.02rem, 1.35vw, 1.3rem); line-height: 1.55; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 11px; }
.button-ghost { border-color: rgba(255,255,255,.65); background: transparent; }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-ghost:hover span { transform: translateY(3px); }

.hero-reveal { animation: fade-up .8s .3s var(--ease) both; }
.hero-lead.hero-reveal { animation-delay: .25s; }
.hero-buttons.hero-reveal { animation-delay: .36s; }

.hero-facts {
  position: absolute;
  right: var(--gutter);
  bottom: 42px;
  display: flex;
  width: min(540px, 44%);
  border-top: 1px solid rgba(255,255,255,.28);
  animation-delay: .48s;
}

.hero-facts > div { display: grid; flex: 1; grid-template-columns: 28px 1fr; gap: 11px; padding: 19px 14px 0 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.hero-facts span { color: #8ab9e5; font-size: .65rem; font-weight: 800; }
.hero-facts p { margin: 0; color: rgba(255,255,255,.64); font-size: .75rem; line-height: 1.4; }
.hero-facts strong { display: block; margin-bottom: 2px; color: var(--white); font-size: .78rem; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 27px;
  left: 50%;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  transform: translateX(-50%);
}
.scroll-cue svg { width: 16px; fill: none; stroke: var(--white); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; animation: arrow-drift 1.8s ease-in-out infinite; }

@keyframes hero-settle { from { opacity: .25; transform: scale(1.055); } to { opacity: 1; transform: scale(1); } }
@keyframes line-up { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes arrow-drift { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(5px); } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: none;
  visibility: hidden;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  transition: opacity .35s ease, visibility .35s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu-inner { display: flex; min-height: 100%; flex-direction: column; justify-content: center; padding: 116px var(--gutter) 38px; }
.mobile-menu-label { margin-bottom: 25px; color: #818890; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; font-size: clamp(2rem, 10vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; transform: translateY(14px); opacity: 0; transition: opacity .4s ease, transform .5s var(--ease); }
.mobile-menu nav a span { color: #77828c; font-size: .63rem; font-weight: 700; letter-spacing: .1em; }
.mobile-menu.is-open nav a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu-contact { display: flex; flex-wrap: wrap; gap: 13px 28px; margin-top: auto; padding-top: 32px; border-top: 1px solid #343b42; font-size: .8rem; }

/* Section headings */
.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 60px; margin-bottom: clamp(56px, 6vw, 88px); }
.section-heading > p { max-width: 430px; margin: 0 0 7px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

/* Services */
.services { background: var(--off-white); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-item { position: relative; min-height: 310px; padding: 29px clamp(19px, 2.1vw, 34px) 30px; overflow: hidden; border-left: 1px solid var(--line); transition: background .35s ease; }
.service-item:last-child { border-right: 1px solid var(--line); }
.service-item::before { position: absolute; inset: auto 0 0; height: 3px; background: var(--red); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-item:hover { background: var(--white); }
.service-item:hover::before { transform: scaleX(1); }
.service-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; margin-bottom: 52px; }
.service-top::after { content: ""; }
.service-top > span { color: #686e72; font-size: .65rem; font-weight: 750; letter-spacing: .08em; }
.service-top svg { grid-column: 2; width: 58px; height: 58px; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.25; transition: transform .35s var(--ease), stroke .25s ease; }
.service-top svg * { vector-effect: non-scaling-stroke; }
.service-item:hover .service-top svg { transform: translateY(-3px); }
.service-item h3 { max-width: 230px; margin-bottom: 15px; font-size: clamp(1.2rem, 1.42vw, 1.5rem); line-height: 1.12; }
.service-item p { margin-bottom: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }

/* About */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(50px, 7vw, 120px); }
.about-grid > *, .contact-grid > * { min-width: 0; }
.about-media { position: relative; height: clamp(480px, 55vw, 680px); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform 1s var(--ease); }
.about-media:hover img { transform: scale(1.025); }
.about-caption { position: absolute; right: 0; bottom: 0; display: flex; min-width: 220px; align-items: flex-end; gap: 14px; padding: 22px 26px; background: var(--blue); color: var(--white); }
.about-caption span { font-size: 3.7rem; font-weight: 760; letter-spacing: -.07em; line-height: .85; }
.about-caption p { margin: 0; font-size: .73rem; font-weight: 700; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase; }
.about-copy h2 { margin-bottom: 34px; }
.about-lead { max-width: 650px; margin-bottom: 38px; color: #4f555a; font-size: clamp(1.02rem, 1.3vw, 1.23rem); line-height: 1.72; }
.trust-list { display: grid; margin: 0; padding: 0; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid var(--line); }
.trust-list li { display: flex; align-items: center; gap: 13px; padding: 19px 12px 19px 0; border-bottom: 1px solid var(--line); font-size: .83rem; font-weight: 700; }
.trust-list li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.trust-list svg { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

/* Equipment */
.equipment { background: var(--ink); color: var(--white); }
.section-heading-light > p { color: #a5abb0; }
.equipment .eyebrow { color: #a9c6df; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(42px, 5vw, 72px) clamp(22px, 3vw, 42px); }
.machine-card { min-width: 0; border-top: 1px solid #3a4148; }
.machine-card-featured { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: stretch; }
.machine-card-featured .machine-info { display: flex; padding: clamp(32px, 4vw, 58px); flex-direction: column; justify-content: center; background: #11171c; }
.machine-media, .machine-blueprint { position: relative; height: clamp(360px, 35vw, 540px); overflow: hidden; background: #242a30; }
.machine-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.machine-media-placeholder { display: grid; place-items: center; background: #171d23; }
.machine-media-placeholder > p { margin: 0; color: rgba(255,255,255,.18); font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 800; letter-spacing: -.06em; text-transform: uppercase; }
.machine-card:hover .machine-media img { transform: scale(1.035); }
.machine-index { position: absolute; z-index: 2; top: 20px; left: 20px; display: grid; width: 38px; height: 38px; place-items: center; background: var(--blue); color: var(--white); font-size: .65rem; font-weight: 800; }
.machine-info { padding: 25px 0 0; }
.machine-info > div { display: flex; gap: 10px; margin-bottom: 21px; }
.machine-info > div p { margin: 0; padding: 6px 10px; border: 1px solid #454d54; color: #b9bec2; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.machine-info h3 { margin-bottom: 9px; font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.1; }
.machine-info > p { max-width: 560px; margin-bottom: 0; color: #9ea4aa; font-size: .92rem; }
.machine-blueprint { display: grid; place-items: center; background-color: #171d23; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; }
.machine-blueprint svg { width: 82%; fill: none; stroke: #d0d6db; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; opacity: .78; transition: transform .7s var(--ease), stroke .4s ease; }
.machine-card:hover .machine-blueprint svg { stroke: #fff; transform: scale(1.025); }
.machine-blueprint .blueprint-detail { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 7 7; }
.machine-blueprint > p { position: absolute; right: 24px; bottom: 16px; margin: 0; color: rgba(255,255,255,.12); font-size: clamp(3.6rem, 8vw, 8rem); font-weight: 850; letter-spacing: -.08em; line-height: .8; text-transform: uppercase; }

/* Contact */
.contact { background: var(--charcoal); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); align-items: start; gap: clamp(60px, 8vw, 130px); }
.contact h2 { margin-bottom: 27px; font-size: clamp(3.5rem, 6vw, 6.7rem); }
.contact .eyebrow { color: #a9c6df; }
.contact-lead { max-width: 510px; margin-bottom: 44px; color: #abb0b5; font-size: 1.08rem; }
.contact-direct { display: grid; border-top: 1px solid #3b4248; }
.contact-direct a { display: grid; padding: 18px 0; grid-template-columns: 95px 1fr auto; align-items: center; border-bottom: 1px solid #3b4248; font-size: clamp(1.1rem, 1.8vw, 1.55rem); font-weight: 650; transition: color .25s ease, padding .25s ease; }
.contact-direct a:hover { padding-left: 7px; color: #8dc4f1; }
.contact-direct a > span { color: #7d858d; font-size: .66rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.contact-direct b { font-size: .95rem; font-weight: 400; }
.contact-hours { display: flex; align-items: center; gap: 10px; margin: 23px 0 0; color: #8d949a; font-size: .78rem; }
.contact-hours span { width: 7px; height: 7px; border-radius: 50%; background: #4eb778; box-shadow: 0 0 0 4px rgba(78,183,120,.12); }

.form-panel { position: relative; min-height: 628px; padding: clamp(28px, 4vw, 56px); background: var(--white); color: var(--ink); }
.form-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 37px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-heading p { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 750; letter-spacing: -.03em; }
.form-heading span { max-width: 225px; color: var(--muted); font-size: .74rem; text-align: right; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.field { position: relative; margin-bottom: 19px; }
.field label { display: block; margin-bottom: 7px; color: #4d5358; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field label span { color: var(--red); }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #bfc2c3; border-radius: 0; background: transparent; color: var(--ink); outline: 0; }
.field input { height: 43px; }
.field textarea { min-height: 87px; padding: 8px 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.field input:focus + .upload-box { outline: 3px solid #58aaff; outline-offset: 3px; }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--red); }
.field-error { display: block; min-height: 17px; padding-top: 3px; color: #b21328; font-size: .65rem; }
.form-alert { margin: 0 0 24px; padding: 13px 16px; border-left: 3px solid var(--red); background: #fff2f4; color: #7e1220; font-size: .78rem; line-height: 1.55; }
.form-alert:focus { outline: 3px solid #58aaff; outline-offset: 3px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit { width: 100%; margin-top: 2px; justify-content: space-between; cursor: pointer; }
.form-note { margin: 12px 0 0; color: #6f7478; font-size: .66rem; line-height: 1.45; }
.field-upload { margin-top: 2px; }
.upload-label { display: block; margin-bottom: 8px; color: #4d5358; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field label.upload-box { display: grid; min-height: 105px; margin-bottom: 0; align-items: center; justify-items: center; border: 1px dashed #aeb4b8; background: #f8f9f8; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.upload-box:hover { border-color: var(--blue); background: #f1f6fa; }
.field label .upload-plus { color: #858b90; font-size: 3.2rem; font-weight: 300; line-height: 1; transition: transform .25s var(--ease); }
.upload-box:hover .upload-plus { transform: scale(1.12); }
.upload-status { min-height: 16px; margin: 4px 0 0; color: #6c7276; font-size: .62rem; }
.upload-status.is-error { color: #b21328; }
.upload-previews { display: grid; margin-top: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upload-previews:empty { display: none; }
.upload-preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #d4d8da; background: #eceeed; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.upload-preview:hover img { transform: scale(1.025); }
.upload-preview-name { position: absolute; right: 0; bottom: 0; left: 0; overflow: hidden; padding: 18px 8px 7px; background: linear-gradient(transparent, rgba(8,11,14,.78)); color: var(--white); font-size: .58rem; font-weight: 650; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.form-success { position: absolute; inset: 0; display: none; padding: 55px; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--white); }
.form-panel.is-success .contact-form { visibility: hidden; }
.form-panel.is-success .form-success { display: flex; }
.form-success svg { width: 55px; margin-bottom: 27px; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.form-success p { margin-bottom: 12px; font-size: 2.2rem; font-weight: 750; letter-spacing: -.04em; }
.form-success span { max-width: 390px; margin-bottom: 28px; color: var(--muted); }
.form-success button { padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--blue); background: transparent; color: var(--blue); cursor: pointer; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.form-submit[disabled] { cursor: wait; opacity: .72; }

/* Footer */
.site-footer { padding-top: 64px; background: #080b0e; color: #a0a6aa; }
.footer-grid { display: grid; padding-bottom: 58px; grid-template-columns: 1.35fr 1fr 1.1fr .65fr; gap: clamp(36px, 5vw, 90px); }
.site-footer .brand { color: var(--white); }
.footer-brand > p { margin: 21px 0 0; font-size: .72rem; letter-spacing: .06em; }
.footer-column h2 { margin-bottom: 17px; color: #788188; font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-column p, .footer-column address { margin: 0; font-size: .78rem; font-style: normal; line-height: 1.8; }
.footer-column a { color: #d8dcde; transition: color .2s ease; }
.footer-column a:hover { color: var(--white); }
.footer-social > a { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 70px; border-top: 1px solid #262c31; color: #788188; font-size: .68rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #aeb3b7; }

/* Scroll reveal: visible by default so content survives an animation-script failure. */
.reveal, .stagger-item, .image-reveal { opacity: 1; transform: translateY(0); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.image-reveal { clip-path: inset(0); transition: opacity .85s var(--ease), transform .85s var(--ease), clip-path 1s var(--ease); }
.reveal-ready .reveal:not(.is-visible),
.reveal-ready .stagger-item:not(.is-visible) { opacity: 0; transform: translateY(30px); }
.reveal-ready .image-reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); clip-path: inset(0 0 18% 0); }
.reveal.is-visible, .stagger-item.is-visible, .image-reveal.is-visible { opacity: 1; transform: translateY(0); }
.image-reveal.is-visible { clip-path: inset(0); }

@media (max-width: 1220px) {
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: .74rem; }
  .header-actions .button { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-item { min-height: 300px; border-bottom: 1px solid var(--line); }
  .service-item:nth-child(4), .service-item:nth-child(5) { min-height: 290px; }
  .service-item:nth-child(4) { grid-column: 1 / 2; }
  .service-item:nth-child(5) { grid-column: 2 / 3; }
  .contact-grid { grid-template-columns: minmax(0,.8fr) minmax(500px,1.2fr); gap: 55px; }
}

/* WordPress interior fallbacks keep bundled templates usable without affecting the approved homepage. */
.interior-page { background: var(--off-white); }
.interior-page .site-header { position: relative; background: var(--ink); }
.interior-page main { min-height: 55vh; padding: 150px var(--gutter) 90px; }
.interior-page main > * { width: min(900px, 100%); margin-inline: auto; }
.interior-page .site-footer { margin-top: 0; }
.alignwide { width: min(var(--shell), 100%); }
.alignfull { width: 100%; }

@media (max-width: 960px) {
  .desktop-nav, .header-actions { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 82px; }
  .menu-toggle { position: relative; z-index: 20; display: grid; width: 48px; height: 48px; padding: 0; grid-column: 3; place-content: center; justify-self: end; gap: 7px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 27px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { display: block; }
  .hero-copy { width: min(740px, 86%); }
  .hero-facts { right: var(--gutter); left: var(--gutter); width: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { max-width: 600px; }
  .equipment-grid { grid-template-columns: 1fr; gap: 68px; }
  .machine-card-featured { display: block; grid-column: auto; }
  .machine-card-featured .machine-info { display: block; padding: 25px 0 0; background: transparent; }
  .about-grid { gap: 50px; }
  .about-copy h2 br { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: 720px; }
  .form-panel { min-height: 610px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-social { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .section { padding-block: 78px; }
  .brand { width: 102px; }
  .brand img { width: 91px; }
  .brand span { font-size: .63rem; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 66% 50%; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,10,14,.8), rgba(5,10,14,.28)), linear-gradient(0deg, rgba(4,8,12,.58), transparent 58%); }
  .hero-content { min-height: 720px; padding-top: 114px; padding-bottom: 145px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3.4rem, 14vw, 5.2rem); }
  .hero-lead { max-width: 510px; }
  .hero-facts { bottom: 32px; }
  .hero-facts > div { padding-top: 15px; }
  .scroll-cue { display: none; }
  h2 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-item { min-height: 285px; }
  .service-item:nth-child(4), .service-item:nth-child(5) { min-height: 285px; grid-column: auto; }
  .service-item:nth-child(5) { grid-column: 1 / -1; min-height: 260px; }
  .service-top { margin-bottom: 42px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { height: min(620px, 120vw); }
  .about-caption { min-width: 185px; padding: 18px 20px; }
  .about-caption span { font-size: 3rem; }
  .equipment-grid { grid-template-columns: 1fr; gap: 68px; }
  .machine-media, .machine-blueprint { height: min(480px, 70vw); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: auto; }
}

@media (max-width: 520px) {
  .hero { min-height: 730px; }
  .hero-content { min-height: 730px; padding-top: 98px; padding-bottom: 135px; }
  .hero .eyebrow { margin-bottom: 17px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(3.25rem, 15.5vw, 4.7rem); }
  .hero-lead { margin-bottom: 25px; font-size: .98rem; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-buttons .button { width: 100%; justify-content: space-between; }
  .hero-facts { bottom: 21px; }
  .hero-facts > div { grid-template-columns: 1fr; gap: 4px; padding-right: 8px; }
  .hero-facts > div + div { padding-left: 13px; }
  .hero-facts p { font-size: .64rem; }
  .hero-facts p strong { font-size: .68rem; }
  .hero-facts span { display: none; }
  .section-heading { margin-bottom: 46px; }
  .section-heading h2 br { display: block; }
  .section-heading > p { font-size: .94rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:nth-child(4), .service-item:nth-child(5) { min-height: 215px; grid-column: auto; padding: 23px 17px 24px; border-right: 1px solid var(--line); }
  .service-top { margin-bottom: 23px; }
  .service-top svg { width: 52px; height: 52px; }
  .about-grid { gap: 40px; }
  .about-media { height: 113vw; max-height: 515px; }
  .about-copy h2 { margin-bottom: 25px; font-size: clamp(2.05rem, 9vw, 2.8rem); overflow-wrap: anywhere; }
  .about-copy h2 br { display: block; }
  .about-lead { font-size: .96rem; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .machine-media, .machine-blueprint { height: 68vw; min-height: 270px; }
  .machine-info > div { flex-wrap: wrap; }
  .contact h2 { font-size: clamp(3.25rem, 15vw, 4.7rem); }
  .contact h2 br { display: block; }
  .contact-direct a { grid-template-columns: 72px minmax(0, 1fr) auto; font-size: 1rem; }
  .contact-direct a { overflow-wrap: anywhere; }
  .form-panel { min-height: 770px; padding: 27px 21px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .form-heading span { text-align: left; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .upload-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-success { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 42px; }
  .footer-brand, .footer-social { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-ready .reveal,
  .reveal-ready .stagger-item,
  .reveal-ready .image-reveal,
  .reveal, .stagger-item, .image-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
