:root {
  color-scheme: light;
  --navy: #13213b;
  --deep: #0d192c;
  --ink: #1b2a45;
  --muted: #4c586b;
  --paper: #f7f5f0;
  --white: #fff;
  --line: #d8d7d1;
  --red: #aa2f28;
  --yellow: #ffd24e;
  --max: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "Segoe UI", system-ui, sans-serif; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.047em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.75rem); font-weight: 850; }
h2 { font-size: clamp(2.05rem, 4vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.38rem; font-weight: 790; letter-spacing: -.028em; }
a { color: inherit; text-underline-offset: .23em; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: .18rem solid #3369cf; outline-offset: .24rem; }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset: -7rem auto auto 1rem; padding: .65rem 1rem; background: var(--yellow); color: var(--deep); z-index: 10; }
.skip-link:focus { top: 1rem; }
.eyebrow { font-weight: 750; font-size: .9rem; letter-spacing: .075em; text-transform: uppercase; }

.site-header { background: var(--white); border-bottom: 1px solid #e4e1da; }
.header-inner { min-height: 5.45rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; color: var(--navy); text-decoration: none; line-height: 1; }
.brand-mark { width: 3.5rem; height: 3.5rem; object-fit: contain; flex: none; }
.brand-name { font-size: 1.34rem; font-weight: 850; letter-spacing: -.038em; }
.brand-name small { display: block; margin-top: .35rem; color: var(--muted); font-size: .88rem; font-weight: 650; letter-spacing: 0; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(.8rem, 2.6vw, 2.75rem); }
.site-nav a { min-height: 2.75rem; display: grid; align-items: center; border-bottom: .17rem solid transparent; padding: .2rem .07rem 0; color: var(--ink); font-size: .96rem; font-weight: 725; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.04rem;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .16rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 730;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #283e61; }
.button:disabled { opacity: .55; cursor: default; }
.button-accent { background: var(--yellow); color: var(--deep); }
.button-accent:hover { background: #ffde79; }
.button-secondary { background: transparent; border-color: #a6a9ad; color: var(--ink); }
.button-secondary:hover { background: #ece9e1; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; }
.text-link { font-weight: 720; }

.hero { padding-block: clamp(2.1rem, 4.4vw, 4.2rem); background: var(--navy); color: var(--white); }
.hero :focus-visible, .contact-band :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .65rem; color: #e3e9f2; margin-bottom: .9rem; }
.hero-copy .eyebrow::before { content: ""; width: 2rem; height: .22rem; background: #e05a49; }
.hero-copy h1 { color: var(--white); font-size: clamp(2.45rem, 4.55vw, 4.65rem); text-wrap: balance; }
.hero-description { color: #d9e2ef; margin: 1.25rem 0 1.5rem; max-width: 32rem; font-size: clamp(1rem, 1.7vw, 1.21rem); }
.hero-offer { margin-top: 1.75rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.35rem; padding: 1rem 0 0; border-top: 1px solid #667891; }
.hero-offer strong, .hero-offer span { display: block; }
.hero-offer strong { font-size: 1.08rem; }
.hero-offer span { color: #d9e2ef; font-variant-numeric: tabular-nums; }
.hero-offer a { color: var(--yellow); font-weight: 720; }
.hero-media { min-width: 0; align-self: center; border: 1px solid #425773; background: var(--deep); }
.media-stage { position: relative; aspect-ratio: 1.1; isolation: isolate; overflow: hidden; }
.media-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.media-slide.is-active { opacity: 1; pointer-events: auto; }
.media-slide img, .media-slide video { width: 100%; height: 100%; }
.media-slide img { object-fit: cover; }
.media-slide video { object-fit: contain; background: var(--deep); }
.media-slide .media-hyster { object-position: center 43%; }
.media-stage::after { content: ""; position: absolute; inset: 72% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent, #070d17d9); }
.media-caption { position: absolute; z-index: 2; inset: auto .95rem .67rem; font-weight: 730; color: var(--white); text-shadow: 0 1px 2px #000; }
.media-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem .55rem; padding: .5rem .65rem; }
.slide-select { display: flex; flex-wrap: wrap; gap: .14rem .3rem; }
.media-controls button { min-height: 2.4rem; padding: .25rem .5rem; cursor: pointer; color: #e2e9f5; background: transparent; border: 1px solid transparent; border-radius: .12rem; font-size: .9rem; font-weight: 680; }
.media-controls button:hover { background: #283c58; }
.media-controls button[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); }
.media-controls .rotation-control { text-decoration: underline; text-underline-offset: .2em; }

.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.75rem; padding-bottom: 1.4rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.section-heading p { color: var(--muted); margin-top: .5rem; max-width: 40rem; }
.equipment-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.equipment-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line); background: var(--white); }
.equipment-card img, .gallery-item img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; background: #e3e1d9; }
.photo-pending { display: grid; place-items: center; aspect-ratio: 5 / 3; padding: .75rem; background: #eeebe3; color: var(--muted); font-weight: 650; }
.equipment-card .photo-hyster, .gallery-item .photo-hyster { object-position: center 43%; }
.card-content { display: flex; flex-direction: column; gap: .58rem; padding: 1.15rem 1.25rem 1.3rem; }
.card-category { color: #6c302b; font-size: .9rem; font-weight: 760; }
.card-facts { color: var(--muted); list-style: none; padding: 0; margin: 0; }
.card-facts li + li { margin-top: .17rem; }
.card-actions { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .45rem 1rem; margin-top: auto; padding-top: .72rem; border-top: 1px solid #ebe9e3; }
.card-price { color: var(--ink); font-weight: 740; }
.card-actions a { color: var(--red); font-weight: 750; }
.contact-band { background: var(--navy); color: var(--white); padding-block: clamp(2.3rem, 5vw, 4rem); }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2.5rem; }
.contact-band p { color: #dce6f3; max-width: 36rem; margin-top: .45rem; }

.page-intro { background: var(--navy); color: var(--white); padding-block: clamp(2.6rem, 7vw, 5.3rem); }
.page-intro .eyebrow { color: var(--yellow); margin-bottom: .66rem; }
.page-intro p:not(.eyebrow) { max-width: 43rem; margin-top: .8rem; color: #dce6f3; font-size: clamp(1.02rem, 1.8vw, 1.21rem); }
.ice-intro { background: linear-gradient(110deg, var(--navy) 28%, #1f4f67); }
.ice-intro .actions { margin-top: 1.4rem; }
.ice-intro :focus-visible { outline-color: var(--yellow); }
.section-catalogue { padding-top: clamp(2rem, 4vw, 3.2rem); }
.filter-bar { display: grid; grid-template-columns: 1.2fr .85fr auto; gap: .85rem 1rem; align-items: end; background: var(--white); border: 1px solid var(--line); padding: 1.05rem; }
.filter-bar button { justify-self: start; }
.results-count { color: var(--muted); margin: 1rem 0; font-weight: 650; }
.empty-result { grid-column: 1 / -1; padding: 1rem; background: var(--white); border: 1px solid var(--line); }

.gallery-feature { background: #eeebe3; padding-block: clamp(2.2rem, 5vw, 3.9rem); border-bottom: 1px solid var(--line); }
.gallery-video-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.gallery-video-card { border: 1px solid var(--line); background: var(--white); }
.gallery-video-card video { width: 100%; height: clamp(19rem, 41vw, 29rem); object-fit: contain; background: var(--deep); }
.gallery-video-card h3 { padding: 1rem; }
.gallery-item { display: grid; gap: .55rem; align-items: start; padding: 0; border: 1px solid var(--line); background: var(--white); text-align: left; color: var(--ink); cursor: zoom-in; }
.gallery-item span { padding: 0 .85rem .74rem; font-weight: 705; }
.gallery-item:hover span { text-decoration: underline; text-underline-offset: .2em; }
.gallery-filter { max-width: 21rem; }
.gallery-dialog { width: min(60rem, calc(100% - 1.6rem)); max-height: calc(100dvh - 1.6rem); padding: clamp(.7rem, 2.5vw, 1.3rem); border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.gallery-dialog::backdrop { background: #081226dc; }
.viewer-header, .viewer-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem .7rem; }
.viewer-header h2 { font-size: clamp(1.3rem, 3.1vw, 2.15rem); }
.gallery-dialog > img { width: 100%; max-height: 65dvh; min-height: 9rem; object-fit: contain; background: var(--deep); margin-block: .8rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
.contact-form, .contact-card, .contact-aside { min-width: 0; }
.contact-form, .contact-card { background: var(--white); border: 1px solid var(--line); padding: clamp(1.1rem, 3vw, 2.1rem); }
.contact-form > h2, .contact-card h2 { font-size: clamp(1.65rem, 3.5vw, 2.65rem); }
.contact-form > p, .contact-card p, .form-note { color: var(--muted); }
.contact-form > p, .contact-card p { margin-block: .65rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; margin-top: 1rem; }
.form-field { display: grid; gap: .28rem; min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-weight: 730; }
.form-field label span { font-size: .94rem; font-weight: 500; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 3rem; border: 1px solid #8993a1; background: var(--white); padding: .55rem .65rem; border-radius: .14rem; color: var(--ink); }
.form-field textarea { resize: vertical; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.form-note, .form-status { font-size: .95rem; }
.form-status:empty { display: none; }
.contact-aside { display: grid; gap: 1rem; }
.contact-list { display: grid; gap: .8rem; margin: 1rem 0; }
.contact-list dt { color: var(--muted); font-weight: 700; }
.contact-list dd { margin: .15rem 0 0; }
.contact-link { color: var(--red); font-weight: 740; overflow-wrap: anywhere; }

.site-footer { background: var(--deep); color: #e1e8f3; padding-block: 1.7rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .85rem 1.8rem; }
.footer-inner strong { color: var(--white); }
.footer-links { display: flex; gap: .55rem 1.1rem; flex-wrap: wrap; }

@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-layout { gap: 1.6rem; }
  .equipment-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 46rem) {
  .hero-layout, .gallery-video-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-media { grid-row: 1; }
  .hero { padding-top: 1.15rem; }
  .header-inner { padding-block: .6rem; align-items: start; flex-direction: column; gap: .25rem; }
  .brand-mark { width: 3rem; height: 3rem; }
  .site-nav { gap: .25rem 1.05rem; }
  .media-stage { aspect-ratio: 1; }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar button { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2rem); }
  .equipment-grid, .gallery-grid, .filter-bar, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading { align-items: start; }
  .media-controls { padding-inline: .35rem; }
  .media-controls button { padding-inline: .34rem; }
  .slide-select { gap: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media-slide { transition-duration: 0s; }
}
