/* Red E Corp. — site styles (Brand System v1.0) */
/* Fonts: Alegreya (display) and Alegreya Sans (text), SIL Open Font License 1.1, self-hosted from assets/fonts */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/alegreya-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/alegreya-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); }
:root {
  --red: #8A2E2A;
  --red-dark: #6E2320;
  --red-on-dark: #C24A3F;
  --charcoal: #17181A;
  --charcoal-deep: #121315;
  --photo: #2A2D31;
  --bone: #F5F1EA;
  --bone-line: #D8D2C7;
  --steel: #4C5257;
  --text: #2E3135;
  --text-on-dark: #C9C4BA;
  --muted-on-dark: #A9A49B;
  --walnut: #8A6B48;
  --display: Alegreya, "Iowan Old Style", Georgia, serif;
  --body: "Alegreya Sans", Calibri, "Helvetica Neue", Arial, sans-serif;
  --mono: "Alegreya Sans", Calibri, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bone); color: var(--charcoal); font-family: var(--body); font-size: 19px; line-height: 1.6; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, blockquote { margin: 0; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 2px solid var(--red-on-dark); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bone); padding: 12px 16px; }

/* type */
.label { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.02; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; }
.lead { font-size: 19px; line-height: 1.6; color: var(--steel); }
.on-dark { color: var(--bone); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--red); color: var(--bone); font-family: var(--body); font-weight: 700; font-size: 19px; text-decoration: none; border: 0; }
.btn:hover { background: var(--red-dark); color: var(--bone); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 21px; }
.textlink { font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--charcoal); border-bottom: 1px solid #2E3135; }
.site-header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand__text { display: flex; flex-direction: column; gap: 5px; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: 0.04em; line-height: 1; color: var(--bone); }
.brand__tag { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.22em; line-height: 1; color: var(--muted-on-dark); }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) { font-family: var(--mono); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: #D9D4CB; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--bone); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 17px; }

/* hero */
.hero { position: relative; background: var(--charcoal); overflow: hidden; }
.hero__photo { position: absolute; inset: 0 0 0 auto; width: 60%; background: var(--photo) url("../img/hero.jpg") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 0%, var(--charcoal) 42%, rgba(23,24,26,0.35) 100%); }
.hero .wrap { position: relative; z-index: 1; min-height: min(780px, 88vh); display: flex; flex-direction: column; justify-content: center; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; color: #D9D4CB; }
.hero__eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--red-on-dark); flex-shrink: 0; }
.hero h1 { max-width: 780px; font-family: var(--display); font-weight: 800; font-size: clamp(50px, 6.4vw, 88px); line-height: 0.98; text-transform: uppercase; color: var(--bone); }
.hero p { max-width: 600px; font-size: clamp(17px, 1.4vw, 19px); color: var(--text-on-dark); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.hero__actions .textlink { color: var(--bone); border-color: var(--red-on-dark); }

/* trades strip */
.trades { border-bottom: 1px solid var(--bone-line); }
.trades .wrap { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.trades .label { color: var(--steel); }
.trades ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 36px; }
.trades li { display: flex; align-items: center; gap: 36px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: 0.04em; text-transform: uppercase; }
.trades li + li::before { content: ""; width: 8px; height: 8px; background: var(--red); margin-left: -0px; }
.trades li:last-child { color: var(--red); }

/* services */
.services { padding: var(--section) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 80px; flex-wrap: wrap; margin-bottom: 64px; }
.section-head > div { display: flex; flex-direction: column; gap: 20px; max-width: 680px; }
.section-head .label { color: var(--red); }
.section-head .lead { max-width: 440px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--charcoal); }
.service { display: flex; flex-direction: column; gap: 18px; padding: 40px 40px 48px; border-right: 1px solid var(--bone-line); }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; border-right: 0; }
.service svg { width: 40px; height: 40px; }
.service .label { font-size: 12px; letter-spacing: 0.18em; color: var(--steel); }
.service p { color: var(--text); }
.service a { margin-top: auto; font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.sectors { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; padding-top: 32px; border-top: 1px solid var(--bone-line); }
.sectors .label { font-size: 12px; letter-spacing: 0.18em; color: var(--steel); }
.sectors span:not(.label) { font-family: var(--display); font-weight: 700; font-size: 22px; }
.sectors i { color: var(--walnut); font-style: normal; }

/* approach */
.approach { padding: var(--section) 0; background: var(--charcoal); }
.approach .section-head .label { color: #D9D4CB; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.pillar { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--steel); }
.pillar:first-child { border-top: 2px solid var(--red-on-dark); }
.pillar__num { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: #6B7075; }
.pillar:first-child .pillar__num { color: var(--red-on-dark); }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--bone); }
.pillar p { font-size: 16px; color: #B8B3AA; }

/* projects */
.projects { padding: var(--section) 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.project { display: flex; flex-direction: column; gap: 18px; }
.photo { background: var(--photo) center / cover no-repeat; }
.project .photo { aspect-ratio: 4 / 3; }
.project .label { font-size: 12px; letter-spacing: 0.18em; color: var(--steel); }
.project h3 { font-size: 28px; }
.project p { font-size: 16px; color: var(--text); }
.project-1 .photo { background-image: url("../img/project-1.jpg"); }
.project-2 .photo { background-image: url("../img/project-2.jpg"); }
.project-3 .photo { background-image: url("../img/project-3.jpg"); }

/* about */
.about { padding-bottom: var(--section); }
.about .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.about .photo { min-height: 560px; background-image: url("../img/founder.jpg"); }
.about__text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 40px; border-top: 2px solid var(--charcoal); }
.about__text .label { color: var(--red); }
.about blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 2.9vw, 40px); line-height: 1.15; }
.about__text p { color: var(--text); }
.founder { display: flex; flex-direction: column; gap: 6px; }
.founder strong { font-family: var(--display); font-weight: 700; font-size: 22px; }
.founder span { font-family: var(--mono); font-size: 14px; letter-spacing: 0.18em; color: var(--steel); }

/* contact */
.contact { padding: clamp(72px, 8vw, 112px) 0; background: var(--charcoal); border-top: 4px solid var(--red); }
.contact .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px 80px; flex-wrap: wrap; }
.contact__text { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.contact__text .label { color: #D9D4CB; }
.contact h2 { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 4.8vw, 64px); line-height: 1; text-transform: uppercase; color: var(--bone); }
.contact__text p { font-size: 18px; color: var(--text-on-dark); }
.contact__actions { display: flex; flex-direction: column; gap: 22px; min-width: min(380px, 100%); }
.contact__actions a:not(.btn) { font-family: var(--mono); font-size: 17px; letter-spacing: 0.1em; color: var(--bone); text-decoration: none; }
.contact__actions a:not(.btn):hover { color: var(--red-on-dark); }

/* footer */
.site-footer { background: var(--charcoal-deep); border-top: 1px solid #2E3135; padding: 64px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.site-footer .brand img { height: 70px; }
.site-footer .brand__name { font-size: 32px; }
.site-footer .brand__tag { font-size: 11px; letter-spacing: 0.24em; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 32px 80px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols .label { font-size: 11px; color: #8E8A83; }
.footer-cols a, .footer-cols span:not(.label) { font-size: 15px; color: #D9D4CB; text-decoration: none; }
.footer-cols a:hover { color: var(--bone); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #2E3135; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: #8E8A83; }

/* home: hero + service options only */
.hero--home .wrap { min-height: calc(100vh - 88px); min-height: calc(100svh - 88px); justify-content: flex-end; gap: 48px; padding-bottom: 64px; }
.hero--home .hero__photo { width: 100%; }
.hero--home::after { background: linear-gradient(180deg, rgba(23,24,26,0.35) 0%, rgba(23,24,26,0.55) 45%, rgba(23,24,26,0.94) 100%); }
.hero-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--red-on-dark); }
.hero-service { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px 8px 0; text-decoration: none; color: var(--bone); }
.hero-service + .hero-service { padding-left: 32px; border-left: 1px solid rgba(217,212,203,0.25); }
.hero-service .label { font-size: 12px; letter-spacing: 0.18em; color: #D9D4CB; }
.hero-service__name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.hero-service__go { font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-on-dark); }
.hero-service:hover .hero-service__go, .hero-service:focus-visible .hero-service__go { color: var(--bone); }

/* service pages */
.nav a[aria-current] { color: var(--bone); border-bottom: 2px solid var(--red-on-dark); padding-bottom: 4px; }
.page-hero { background: var(--charcoal); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 24px; padding-top: 96px; padding-bottom: 96px; }
.page-hero .label { color: #D9D4CB; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 80px); line-height: 1; text-transform: uppercase; color: var(--bone); }
.page-hero p:not(.label) { max-width: 640px; font-size: 19px; color: var(--text-on-dark); }
.service-detail { padding: var(--section) 0; }
.service-detail .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 80px; align-items: start; }
.service-detail .wrap > div:nth-child(2) { display: flex; flex-direction: column; gap: 20px; }
.service-detail__icon { grid-column: 1 / -1; }
.service-detail__icon svg { width: 48px; height: 48px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--charcoal); }
.checklist li { padding: 20px 0; border-bottom: 1px solid var(--bone-line); font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.equipment { padding: var(--section) 0; }
.equipment .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 80px; align-items: start; }
.equipment .wrap > div { display: flex; flex-direction: column; gap: 20px; }
.equipment .label { color: var(--red); }
.equipment__photo { grid-column: 1 / -1; margin: 16px 0 0; }
.equipment__photo img { display: block; width: 100%; height: auto; aspect-ratio: 2200 / 1228; object-fit: cover; background: var(--photo); }
.specs { margin: 0; border-top: 2px solid var(--charcoal); }
.specs > div { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--bone-line); }
.specs dt { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.specs dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.other-services .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding-top: 32px; padding-bottom: 32px; }
.other-services .label { color: var(--steel); font-size: 12px; letter-spacing: 0.18em; }
.other-services a { font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }

/* consulting credentials */
.credentials { padding: 0 0 var(--section); }
.credentials .wrap { display: flex; flex-direction: column; gap: 48px; }
.credentials__head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.credentials .label { color: var(--red); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--charcoal); }
.facts li { display: flex; flex-direction: column; gap: 8px; padding: 32px 32px 32px 0; }
.facts li + li { padding-left: 32px; border-left: 1px solid var(--bone-line); }
.facts strong { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: 1; text-transform: uppercase; color: var(--red); }
.facts span { font-family: var(--mono); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }
.credentials__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 80px; }
.credentials__cols > div { display: flex; flex-direction: column; gap: 20px; }
.taglist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.taglist li { padding: 10px 18px; border: 1px solid var(--charcoal); font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; }

/* contact page */
.contact-page { padding: var(--section) 0; }
.contact-page .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.field label span { text-transform: none; letter-spacing: 0.04em; color: #7A7F84; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; font: inherit; font-size: 17px; color: var(--charcoal); background: #FBF9F5; border: 1px solid var(--steel); border-radius: 0; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.form__note { font-size: 14px; color: var(--steel); }
.contact-side { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--charcoal); }
.contact-side .label { color: var(--red); }
.contact-side a { font-family: var(--mono); font-size: 18px; letter-spacing: 0.06em; text-decoration: none; word-break: break-word; }

/* page hero photos */
.page-hero--photo { position: relative; overflow: hidden; }
.page-hero__photo { position: absolute; inset: 0 0 0 auto; width: 55%; background-color: var(--photo); background-size: cover; background-repeat: no-repeat; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 0%, var(--charcoal) 45%, rgba(23,24,26,0.25) 100%); }
.page-hero--photo .wrap { position: relative; z-index: 1; }
.credentials__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.credentials__photos figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.credentials__photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--photo); }
.credentials__photos figcaption { font-size: 12px; letter-spacing: 0.18em; color: var(--steel); }

/* hot shot hero: vehicle drives in once and rests on the cream section below */
.page-hero--graphic { overflow: hidden; }
.page-hero--graphic .wrap { padding-bottom: 0; gap: 24px; }
.page-hero--graphic .page-hero__blurb { margin-top: -8px; font-size: 21px; }
.page-hero__rig { width: min(100%, 1180px); margin: 16px 0 0 auto; }
.page-hero__vehicle, .page-hero__ride { position: relative; }
.page-hero__graphic { display: block; width: 100%; max-width: none; height: auto; filter: invert(0.94); }
.page-hero__wheel { position: absolute; height: auto; max-width: none; filter: invert(0.94); }
.page-hero__wheel { will-change: transform; }
.page-hero__cargo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.page-hero__cargo .box { fill: #F0F0F0; }
.page-hero__cargo .cut { fill: none; stroke: var(--charcoal); stroke-width: 4; }
.page-hero__cargo .strap { fill: none; stroke: #F0F0F0; stroke-width: 7; stroke-linejoin: round; }
.page-hero__cargo .buckle { fill: var(--charcoal); stroke: #F0F0F0; stroke-width: 4; }
/* Animation is switched on by script (.is-animated) so the no-JS and reduced-motion views stay static.
   The vehicle rolls in once, then keeps "driving in place": wheels spin steadily (the trailer's smaller
   wheels a third faster so both match ground speed) and the whole rig hits an occasional small bump. */
.is-animated .page-hero__vehicle { animation: drive-in 1.8s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
.is-animated .page-hero__ride { animation: road-bumps 7s ease-in-out 2.4s infinite; }
.is-animated .page-hero__wheel--truck { animation: wheel-spin 0.85s linear infinite; }
.is-animated .page-hero__wheel--trailer { animation: wheel-spin 0.64s linear infinite; }
.is-animated.is-paused .page-hero__vehicle, .is-animated.is-paused .page-hero__ride, .is-animated.is-paused .page-hero__wheel { animation-play-state: paused; }
@keyframes drive-in { from { transform: translateX(-110%); } to { transform: translateX(0); } }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes road-bumps {
  0%, 18% { transform: translateY(0); }
  20% { transform: translateY(-0.45%); }
  23% { transform: translateY(0); }
  25% { transform: translateY(-0.25%); }
  28%, 66% { transform: translateY(0); }
  68% { transform: translateY(-0.35%); }
  72%, 100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .is-animated .page-hero__vehicle, .is-animated .page-hero__ride, .is-animated .page-hero__wheel { animation: none; } }

/* landing page */
.landing-body { background: var(--charcoal); }
.landing { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px var(--gutter) 72px; background: linear-gradient(rgba(18,19,21,0.5), rgba(18,19,21,0.62) 55%, rgba(18,19,21,0.82)), var(--photo) url("../img/hero.jpg") center / cover no-repeat; color: var(--bone); text-align: center; }
.landing__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 7vh, 64px); width: 100%; }
.landing__logo { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 0; font-weight: 400; }
.landing__logo img { width: auto; height: clamp(170px, 34vh, 320px); margin-bottom: clamp(0px, 1vh, 8px); filter: drop-shadow(0 0 1.5px rgba(245,241,234,0.95)) drop-shadow(0 0 14px rgba(245,241,234,0.22)); }
.landing__name { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 9vw, 112px); line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; }
.landing__tag { margin-top: 14px; font-family: var(--mono); font-weight: 500; font-size: clamp(12px, 1.4vw, 16px); letter-spacing: 0.28em; text-transform: uppercase; color: #D9D4CB; }
.landing__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 20px; width: 100%; }
.landing__links .btn { min-width: 260px; }
.btn--ghost { background: rgba(18,19,21,0.35); color: var(--bone); border: 2px solid var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--charcoal); }
.landing__foot { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #A9A49B; }

/* under construction */
.construction { padding: var(--section) 0; }
.construction .wrap { display: flex; flex-direction: column; gap: 40px; }
.construction__bar { height: 22px; background: repeating-linear-gradient(-45deg, var(--red) 0 22px, var(--charcoal) 22px 44px); }
.construction__body { display: flex; flex-direction: column; gap: 22px; max-width: 720px; }
.construction__body .label { color: var(--red); }
.construction__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 12px; }
.construction__actions a:not(.btn) { font-family: var(--mono); font-size: 16px; letter-spacing: 0.08em; text-decoration: none; }

/* consulting services */
.service-detail--intro .wrap { grid-template-columns: minmax(0, 1fr); }
.consult-services { padding: 0 0 var(--section); }
.consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; }
.consult { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 2px solid var(--charcoal); }
.consult .label { color: var(--red); }
.consult p { color: var(--text); }
.consult ul { list-style: none; margin: 8px 0 0; padding: 0; }
.consult li { padding: 12px 0; border-top: 1px solid var(--bone-line); font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; }

/* gallery */
.gallery-section { padding: var(--section) 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery__item { margin: 0; background: var(--photo); overflow: hidden; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item a { display: block; line-height: 0; }
.gallery__item img { width: 100%; height: auto; aspect-ratio: 2000 / 1116; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item--wide img { aspect-ratio: 2000 / 900; }
.gallery__item a:hover img, .gallery__item a:focus-visible img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery__item img { transition: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(18, 19, 21, 0.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; }
.lightbox__btn { position: absolute; background: rgba(18, 19, 21, 0.6); color: var(--bone); border: 1px solid rgba(245, 241, 234, 0.4); width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* projects */
.projects-section { padding: var(--section) 0; }
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.project-item { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 2px solid var(--charcoal); }
.project-item .label { color: var(--red); }
.project-item p { color: var(--text); }
.project-item__link { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.project-item__link:hover { text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* responsive */
@media (max-width: 1280px) {
  .nav { gap: 24px; }
}
@media (max-width: 1080px) {
  .nav a:not(.btn) { display: none; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .hero__photo { width: 100%; }
  .hero::after, .page-hero--photo::after { background: linear-gradient(90deg, rgba(23,24,26,0.95) 0%, rgba(23,24,26,0.8) 60%, rgba(23,24,26,0.55) 100%); }
  .page-hero__photo { width: 100%; }
}
@media (max-width: 860px) {
  .credentials__photos, .project-list, .gallery, .consult-grid, .hero-services, .service-detail .wrap, .equipment .wrap, .contact-page .wrap, .credentials__cols, .facts, .form { grid-template-columns: minmax(0, 1fr); }
  .hero-service, .hero-service + .hero-service { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(217,212,203,0.25); }
  .hero--home .wrap { gap: 32px; padding-bottom: 32px; }
  .facts li, .facts li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--bone-line); }
  .service-grid, .project-grid, .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .service, .service:first-child, .service:last-child { padding: 32px 0 40px; border-right: 0; border-bottom: 1px solid var(--bone-line); }
  .service:last-child { border-bottom: 0; }
  .about .wrap { gap: 40px; }
  .about .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .project-grid { gap: 48px; }
}
@media (max-width: 560px) {
  .landing__links { flex-direction: column; align-items: stretch; max-width: 360px; }
  .landing__links .btn { min-width: 0; }
  .landing__name { letter-spacing: 0.02em; }
  body { font-size: 16px; }
  .site-header .wrap { height: 72px; }
  html { scroll-padding-top: 80px; }
  .brand img { height: 40px; }
  .brand__name { font-size: 21px; }
  .brand__tag { display: none; }
  .nav .btn { min-height: 44px; padding: 0 16px; font-size: 16px; }
  .page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .page-hero--graphic .wrap { padding-bottom: 0; }
  .page-hero h1 { font-size: clamp(32px, 10vw, 46px); overflow-wrap: anywhere; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .trades li { gap: 14px; }
  .trades li + li::before { display: none; }
  .trades ul { gap: 6px 20px; }
  .contact__actions { width: 100%; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-cols a, .footer-cols span:not(.label) { overflow-wrap: anywhere; }
}
