@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #162331;
  background: #f5f6f7;
  --navy: #0d1926;
  --amber: #ffc65e;
  --light-text: #c0ccda;
  --heading-font: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
figure, h1, h2, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #1877db; outline-offset: 4px; }
.wrap { width: min(100% - 3.5rem, 78rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 1rem; top: 1rem; transform: translateY(-180%); background: white; padding: .6rem 1rem; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: #fff; }
.header-inner, .footer-inner {
  min-height: 5.15rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.brand { flex: 0 0 auto; }
.brand img { width: 10.5rem; height: auto; }
.site-header nav { display: flex; gap: clamp(1.25rem, 4vw, 3.1rem); }
.site-header nav a, .footer-contact a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-header nav a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: .25em; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.header-cta { min-height: 2.6rem; padding: .55rem 1rem; border-color: #ccd4db; }
.header-cta:hover { background: #f2f4f7; border-color: #637587; }
.primary { color: #111e2b; background: var(--amber); }
.primary:hover { background: #ffda90; }
.text-link { color: #eef4fa; font-weight: 600; font-size: .9rem; text-underline-offset: .27em; text-decoration-color: #91a2b3; }
.text-link:hover { color: var(--amber); text-decoration-color: currentColor; }

.hero {
  color: #f7faff;
  background: radial-gradient(ellipse at 78% 10%, #20364c 0, transparent 62%), var(--navy);
  border-bottom: 3px solid var(--amber);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  padding-block: clamp(2.75rem, 5.1vw, 5rem);
}
.kicker {
  color: var(--amber);
  font-size: .875rem;
  letter-spacing: .11em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
h1, h2 { font-family: var(--heading-font); line-height: .99; font-weight: 700; }
h1 { font-size: clamp(4.1rem, 5.8vw, 6.5rem); letter-spacing: -.022em; }
h2 { font-size: clamp(2.55rem, 4vw, 4rem); letter-spacing: -.015em; }
.intro { max-width: 31rem; margin-top: 1.45rem; color: var(--light-text); font-size: clamp(1rem, 1.35vw, 1.17rem); }
.hero-actions, .quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem; margin-top: 1.8rem; }
.example-ratings { margin-top: 2.6rem; padding-top: 1.15rem; border-top: 1px solid #3a4a5b; max-width: 32rem; }
.example-ratings p { color: var(--light-text); font-size: .875rem; font-weight: 600; }
.example-ratings dl { display: grid; grid-template-columns: 1fr 1fr; margin-top: .55rem; }
.example-ratings dl div + div { padding-left: 1.4rem; border-left: 1px solid #3a4a5b; }
.example-ratings dt { font-family: var(--heading-font); font-size: 2rem; line-height: 1.05; font-weight: 700; }
.example-ratings dd { margin-top: .25rem; color: var(--light-text); font-size: .875rem; }

.gallery { scroll-margin-top: 1.25rem; min-width: 0; }
.product-figure {
  background: #0b1420;
  border: 1px solid #43576c;
  border-radius: .4rem;
  overflow: hidden;
}
.photo-link {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(19rem, 29vw, 28rem);
  background: radial-gradient(ellipse at center, #34485a 0, #1a2a3b 72%);
  cursor: zoom-in;
}
.photo-link:focus-visible { outline-offset: -5px; }
.photo-link img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.enlarge, .dialog-close {
  position: absolute;
  right: .65rem;
  top: .65rem;
  border: 1px solid #718196;
  border-radius: .2rem;
  background: #101d2a;
  color: #fff;
  padding: .4rem .65rem;
  font-size: .82rem;
  font-weight: 600;
}
.photo-link:hover .enlarge, .dialog-close:hover { border-color: var(--amber); color: var(--amber); }
.product-figure figcaption { padding: .65rem .9rem; color: var(--light-text); font-size: .875rem; }
.thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; margin-top: .6rem; }
.thumbnails button {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: .3rem;
  padding: .25rem .25rem .4rem;
  border: 1px solid #506277;
  border-radius: .3rem;
  color: #e5edf6;
  background: #162637;
  cursor: pointer;
}
.thumbnails button[aria-pressed="true"] { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); color: var(--amber); }
.thumbnails button:hover { border-color: var(--amber); }
.thumbnails img { width: 100%; height: 3rem; object-fit: cover; object-position: center 40%; border-radius: .15rem; }
.thumbnails span { width: 100%; font-size: .8rem; line-height: 1.3; text-align: center; }

.configuration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 6.5vw, 6.2rem);
}
.workshop img { width: 100%; height: auto; border-radius: .4rem; }
.workshop figcaption { margin-top: .55rem; font-size: .875rem; color: #43566a; }
.details { margin-top: 1.1rem; }
.details div { border-bottom: 1px solid #d4dce4; padding-block: .95rem; }
.details dt { font-weight: 700; }
.details dd { color: #43566a; font-size: 1rem; margin-top: .25rem; }

.quote-section { background: #17293c; color: #f7faff; scroll-margin-top: 1.25rem; }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 5.7vw, 5rem);
}
.quote-copy p { max-width: 30rem; margin-top: .9rem; color: var(--light-text); }
.checklist { list-style: none; padding: .35rem 1.25rem; margin: 0; background: #102033; border: 1px solid #46586c; border-radius: .35rem; }
.checklist li { position: relative; padding: .85rem 0 .85rem 1.25rem; }
.checklist li + li { border-top: 1px solid #394b60; }
.checklist li::before { content: ""; position: absolute; background: var(--amber); width: .35rem; height: .35rem; top: 1.5rem; left: 0; }

.site-footer { background: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: end; gap: .4rem 1.6rem; }

dialog { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #687b8f; border-radius: .4rem; color: white; background: #0b1420; }
dialog::backdrop { background: #07111bea; }
.dialog-inner { padding: .65rem; position: relative; }
.dialog-inner img { max-height: calc(100dvh - 6rem); width: auto; height: auto; object-fit: contain; margin-inline: auto; }
.dialog-inner p { font-size: .875rem; padding: .45rem .35rem 0; }
.dialog-close { cursor: pointer; }

@media (max-width: 62rem) {
  .hero-grid { gap: 2rem; }
  h1 { font-size: clamp(3rem, 6.45vw, 4.6rem); }
}

@media (max-width: 47rem) {
  .wrap { width: min(100% - 2rem, 38rem); }
  .header-inner, .footer-inner { min-height: 4.45rem; gap: .75rem; }
  .brand img { width: 8.5rem; }
  .site-header nav { display: none; }
  .hero-grid, .configuration, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-top: 2rem; gap: 1.75rem; }
  h1 { font-size: clamp(2.65rem, 10vw, 4.6rem); }
  .intro { margin-top: 1rem; }
  .hero-actions, .quote-actions { margin-top: 1.15rem; }
  .example-ratings { margin-top: 1.5rem; }
  .photo-link { height: clamp(18rem, 98vw, 28rem); }
  .configuration { gap: 1.35rem; }
  .footer-inner { padding-block: .8rem; }
}

@media (max-width: 24rem) {
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-contact { justify-content: flex-start; }
}
