/* ==========================================================================
   Irish Calendar & Diary Promotions Ltd — Concept 1 (Heritage)
   Stylesheet
   --------------------------------------------------------------------------
   CONTENTS
   01. Design tokens (CSS variables)
   02. Reset & base
   03. Utilities & buttons
   04. Header / navigation
   05. Banner slider
   06. Sector trust strip
   07. Who we are
   08. 40 Years crest feature
   09. Product range (drag slider)
   10. 365 signature band
   11. Photography gallery (lightbox triggers)
   12. Brochure download
   13. Why choose us
   14. Google reviews
   15. Footer / contact
   16. Quote form page
   17. Lightbox
   18. Responsive
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand colours */
  --ink: #0E2540;
  /* primary navy */
  --ink-dark: #081727;
  /* deep navy */
  --gold: #C29A44;
  /* brand gold */
  --gold-light: #E2C271;
  /* gold highlight (on dark) */
  --gold-dark: #A87F2C;
  /* gold for text on light */
  --ivory: #F4EEE1;
  --paper: #FBF7EF;
  --white: #FFFFFF;
  --slate: #586472;
  /* body text on light */
  --line: rgba(194, 154, 68, .32);
  --line-soft: #E7DFCE;
  --success: #1C5C4F;
  --error: #B3261E;

  /* Typography */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 3px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer
}

ul,
ol {
  list-style: none
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.012em
}

em {
  font-style: italic
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

/* Skip link (accessibility) */
.skip_link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-weight: 600;
}

.skip_link:focus {
  left: 8px;
  top: 8px
}

/* ==========================================================================
   03. UTILITIES & BUTTONS
   ========================================================================== */
.container {
  width: min(var(--container), 92vw);
  margin-inline: auto
}

.section {
  padding: clamp(60px, 8vw, 110px) 0
}

.section_tight {
  padding: clamp(46px, 6vw, 78px) 0
}

.text_center {
  text-align: center
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
}

.eyebrow_light {
  color: var(--gold-light)
}

.section_head {
  max-width: 62ch;
  margin: 0 auto clamp(38px, 5vw, 60px)
}

.section_head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-top: .4em
}

.section_head h2 em {
  color: var(--gold-dark)
}

.section_head p {
  color: var(--slate);
  margin-top: .75em
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .94rem;
  padding: .85em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease), transform .25s var(--ease);
  cursor: pointer;
  text-align: center;
}

.btn_gold {
  background: var(--gold);
  color: #20160A
}

.btn_gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px)
}

.btn_navy {
  background: var(--ink);
  color: var(--paper)
}

.btn_navy:hover {
  background: var(--ink-dark);
  transform: translateY(-1px)
}

.btn_outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white)
}

.btn_outline:hover {
  border-color: var(--ink);
  background: var(--ivory)
}

.btn_ghost_light {
  border-color: rgba(244, 238, 225, .55);
  color: var(--paper)
}

.btn_ghost_light:hover {
  background: var(--paper);
  color: var(--ink)
}

.btn_lg {
  padding: 1em 1.9em;
  font-size: 1rem
}

.btn_block {
  width: 100%
}

/* ==========================================================================
   04. HEADER / NAVIGATION
   NOTE: header is a solid bar. It does NOT overlay the banner slider.
   ========================================================================== */
.site_header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink-dark);
  border-bottom: 1px solid var(--line);
}

.header_top {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: .78rem;
  color: #C4CEDA;
}

.header_top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.header_top a:hover {
  color: var(--gold-light)
}

.header_top .ht_contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.header_top .ht_tag {
  color: var(--gold-light);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 600
}

.header_main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper)
}

.brand_logo {
  height: 52px;
  width: auto;
  flex: none
}

.brand_text {
  line-height: 1.06
}

.brand_name {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  display: block
}

.brand_tagline {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  display: block;
}

.main_nav ul {
  display: flex;
  align-items: center;
  gap: 28px
}

.main_nav a {
  color: var(--paper);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  opacity: .9;
}

.main_nav a:hover,
.main_nav a[aria-current="page"],
.main_nav a[aria-current="true"],
.main_nav a.is_active {
  opacity: 1;
  color: var(--gold-light)
}

.main_nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-light);
  transition: right .3s var(--ease);
}

.main_nav a:hover::after,
.main_nav a[aria-current="page"]::after,
.main_nav a[aria-current="true"]::after,
.main_nav a.is_active::after {
  right: 0
}

.nav_cta a {
  color: #000;
  padding: 6px 10px;
}

.nav_cta a:hover {
  border: none;
  color: #fff;
  border-radius: 0;
  background: transparent;
  transition: all 0.3s ease-in-out
}

.nav_toggle {
  display: none;
  border: 1px solid rgba(244, 238, 225, .5);
  color: var(--paper);
  padding: .5em .7em;
  border-radius: var(--radius);
}

.nav_toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: .3s
}

.nav_toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg)
}

.nav_toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.nav_toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg)
}

/* ==========================================================================
   05. BANNER SLIDER  (separate block, sits BELOW the header)
   ========================================================================== */
.banner {
  position: relative;
  background: var(--ink-dark);
  overflow: hidden
}

.banner_viewport {
  position: relative;
  width: 100%;
  height: clamp(450px, 60vw, 720px)
}

.banner_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}

.banner_slide.is_active {
  opacity: 1;
  visibility: visible
}

.banner_slide picture,
.banner_slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Readability scrim: strong on the left where the copy sits */
.banner_slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 39, .90) 0%, rgba(8, 23, 39, .74) 38%, rgba(8, 23, 39, .30) 68%, rgba(8, 23, 39, .20) 100%),
    linear-gradient(180deg, rgba(8, 23, 39, .30) 0%, rgba(8, 23, 39, 0) 30%, rgba(8, 23, 39, .55) 100%);
}

.banner_inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.banner_content {
  max-width: 44rem;
  color: var(--paper);
  padding: 30px 0
}

.banner_content .eyebrow {
  color: var(--gold-light);
  margin-bottom: .8em
}

.banner_title {
  font-size: clamp(2.05rem, 4.6vw, 3.7rem);
  margin-bottom: .45em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.banner_title em {
  color: var(--gold-light)
}

.banner_text {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: #EBE5D8;
  max-width: 46ch;
  margin-bottom: 1.7em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

.banner_actions {
  display: flex;
  gap: 12px
}

.banner_caption {
  position: absolute;
  right: 0;
  bottom: 150px;
  z-index: 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .86rem;
  color: #E6DFD0;
  background: rgba(8, 23, 39, .55);
  padding: 6px 14px;
  border-left: 2px solid var(--gold);
}

/* Controls */
.banner_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(8, 23, 39, .55);
  border: 1px solid rgba(244, 238, 225, .35);
  color: var(--paper);
  border-radius: 50%;
  transition: .25s var(--ease);
}

.banner_arrow:hover {
  background: var(--gold);
  color: #20160A;
  border-color: var(--gold)
}

.banner_arrow_prev {
  left: 18px
}

.banner_arrow_next {
  right: 18px
}

.banner_dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.banner_dot {
  width: 34px;
  height: 3px;
  background: rgba(244, 238, 225, .35);
  transition: .3s var(--ease);
}

.banner_dot.is_active {
  background: var(--gold)
}

.banner_dot:hover {
  background: var(--gold-light)
}

/* ==========================================================================
   06. SECTOR TRUST STRIP
   ========================================================================== */
.sectors {
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid var(--line)
}

.sectors .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}

.sectors span {
  opacity: .78
}

.sectors .dot {
  color: var(--gold);
  opacity: .85
}

/* ==========================================================================
   07. WHO WE ARE
   ========================================================================== */
.who {
  background: var(--paper)
}

.who_grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.who h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem)
}

.who h2 em {
  color: var(--gold-dark)
}

.who_lead {
  margin-top: 1.05em;
  color: var(--slate);
  font-size: 1.05rem
}

.who_stats {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 4vw, 46px);
  position: relative
}

.who_stats::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none
}

.who_stat_big {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6.5vw, 4.8rem);
  line-height: .9;
  color: var(--gold-light)
}

.who_stat_label {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #C9D2DC;
  margin-top: .45em
}

.who_stats hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0
}

.who_stats p {
  color: #D6DDE5;
  font-size: .96rem
}

/* ==========================================================================
   08. 40 YEARS CREST FEATURE  (deliberately prominent)
   ========================================================================== */
.crest {
  position: relative;
  background: var(--ink-dark);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.crest::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 22% 50%, rgba(194, 154, 68, .20), transparent 70%);
  pointer-events: none;
}

.crest_grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.crest_badge {
  width: clamp(160px, 20vw, 260px);
  height: auto;
  flex: none;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .45));
  animation: crestFloat 6s ease-in-out infinite;
}

@keyframes crestFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

.crest_title {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin: .35em 0 .5em
}

.crest_title em {
  color: var(--gold-light)
}

.crest_text {
  color: #CFD8E2;
  max-width: 56ch;
  margin-bottom: 1.5em
}

.crest_meta {
  display: flex;
  gap: clamp(20px, 4vw, 50px);
  flex-wrap: wrap;
  margin-bottom: 1.6em
}

.crest_meta_item {
  border-left: 2px solid var(--gold);
  padding-left: 16px
}

.crest_meta_value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--gold-light)
}

.crest_meta_label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A9B7C7;
  margin-top: .2em
}

/* ==========================================================================
   RILECART MACHINE VIDEO
   ========================================================================== */
.machine_video {
  background: var(--paper)
}

.machine_video_grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center
}

.machine_video_media {
  position: relative;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 18px 42px rgba(14, 37, 64, .15)
}

.machine_video_media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink-dark)
}

.machine_video_content h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin: .4em 0 .5em
}

.machine_video_content h2 em {
  color: var(--gold-dark)
}

.machine_video_content p {
  color: var(--slate);
  max-width: 54ch
}

.machine_video_stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 1.6em;
  padding-top: 22px;
  border-top: 1px solid var(--line)
}

.machine_video_number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: .9;
  color: var(--gold-dark)
}

.machine_video_label {
  max-width: 125px;
  font-size: .7rem;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink)
}

@media (max-width:960px) {
  .machine_video_grid {
    grid-template-columns: 1fr
  }

  .machine_video_content {
    max-width: 680px
  }
}

@media (max-width:600px) {
  .machine_video_grid {
    gap: 30px
  }

  .machine_video_media {
    padding: 6px
  }

  .machine_video_stat {
    gap: 14px
  }
}

/* ==========================================================================
   09. PRODUCT RANGE — DRAG SLIDER
   Behaviour: if more than 4 cards, JS adds .is_slider and enables drag.
   ========================================================================== */
.range {
  background: var(--ivory)
}

.range_slider {
  position: relative
}

.range_viewport {
  overflow: hidden;
  margin-inline: -6px;
  padding: 6px
}

.range_track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 26px) / 4);
  gap: 26px;
  transition: transform .55s var(--ease);
}

/* When JS enables dragging */
.range_slider.is_slider .range_viewport {
  cursor: grab
}

.range_slider.is_slider.is_dragging .range_viewport {
  cursor: grabbing
}

.range_slider.is_slider.is_dragging .range_track {
  transition: none
}

.range_slider.is_slider .range_track {
  user-select: none
}

.range_slider.is_slider .range_track img {
  pointer-events: none;
  -webkit-user-drag: none
}

.product {
  background: var(--paper);
  padding: 14px;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease)
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(14, 37, 64, .15)
}

.product_frame {
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--white)
}

.product_frame img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%
}

.product_name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.14rem;
  margin-top: 14px;
  padding-inline: 4px
}

.product_kind {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 4px 4px 8px;
}

.product_desc {
  font-size: .86rem;
  color: var(--slate);
  padding-inline: 4px;
  margin-bottom: 6px
}

.range_controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px
}

.range_arrows {
  display: flex;
  gap: 10px
}

.range_arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  transition: .25s var(--ease);
}

.range_arrow:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink)
}

.range_arrow:disabled {
  opacity: .32;
  cursor: not-allowed
}

.range_hint {
  font-size: .78rem;
  color: var(--slate);
  letter-spacing: .04em
}

.range_progress {
  flex: 1;
  height: 2px;
  background: var(--line-soft);
  position: relative;
  max-width: 260px
}

.range_progress_bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--gold);
  transition: .35s var(--ease)
}

/* ==========================================================================
   10. 365 SIGNATURE BAND
   ========================================================================== */
.signature {
  background: var(--ink-dark);
  color: var(--paper)
}

.signature_grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.signature_number {
  font-family: var(--font-serif);
  font-size: clamp(5.5rem, 17vw, 13rem);
  line-height: .8;
  color: var(--gold);
  letter-spacing: -.04em;
}

.signature_number small {
  display: block;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: .7em;
}

.signature h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: .55em
}

.signature h2 em {
  color: var(--gold-light)
}

.signature p {
  color: #CFD7E0;
  max-width: 58ch
}

/* ==========================================================================
   11. PHOTOGRAPHY GALLERY
   ========================================================================== */
.gallery {
  background: var(--paper)
}

.gallery_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.gallery_head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-top: .35em
}

.gallery_head h2 em {
  color: var(--gold-dark)
}

.gallery_head p {
  color: var(--slate);
  max-width: 40ch
}

.gallery_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

.gallery_item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  width: 100%;
  background: var(--ivory);
}

.gallery_item img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  transition: transform .6s var(--ease)
}

.gallery_item:hover img,
.gallery_item:focus-visible img {
  transform: scale(1.07)
}

.gallery_caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .8rem;
  color: #fff;
  padding: 24px 10px 9px;
  text-align: left;
  background: linear-gradient(transparent, rgba(8, 23, 39, .88));
}

.gallery_zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(8, 23, 39, .6);
  color: #fff;
  border-radius: 50%;
  font-size: .85rem;
  opacity: 0;
  transform: scale(.85);
  transition: .3s var(--ease);
}

.gallery_item:hover .gallery_zoom,
.gallery_item:focus-visible .gallery_zoom {
  opacity: 1;
  transform: scale(1)
}

/* ==========================================================================
   12. BROCHURE DOWNLOAD
   ========================================================================== */
.brochure {
  background: var(--ink);
  color: var(--paper)
}

.brochure_grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.brochure_cover {
  width: clamp(140px, 16vw, 200px);
  flex: none;
  position: relative;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .42);
  border: 5px solid var(--paper);
  transform: rotate(-3deg);
  transition: transform .45s var(--ease);
}

.brochure_cover:hover {
  transform: rotate(0) translateY(-6px)
}

.brochure h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin: .3em 0 .5em
}

.brochure h2 em {
  color: var(--gold-light)
}

.brochure p {
  color: #CBD5E0;
  max-width: 48ch
}

.brochure_meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 1.1em;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9FB0C3;
}

.brochure_actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: none
}

/* ==========================================================================
   13. WHY CHOOSE US
   ========================================================================== */
.why {
  background: var(--ivory)
}

.why h2 {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: clamp(34px, 5vw, 52px)
}

.why h2 em {
  color: var(--gold-dark)
}

.why_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line)
}

.why_item {
  padding: 30px 22px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.why_item:first-child {
  border-left: 1px solid var(--line)
}

.why_icon {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-dark)
}

.why_item h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  margin: .5em 0 .4em
}

.why_item p {
  font-size: .89rem;
  color: var(--slate)
}

/* ==========================================================================
   14. GOOGLE REVIEWS
   ========================================================================== */
.reviews {
  background: var(--paper)
}

.reviews_summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  box-shadow: 0 10px 30px rgba(14, 37, 64, .06);
}

.reviews_g {
  display: flex;
  align-items: center;
  gap: 12px
}

.reviews_g_logo {
  width: 30px;
  height: 30px;
  flex: none
}

.reviews_score {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink)
}

.reviews_stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem
}

.reviews_count {
  font-size: .82rem;
  color: var(--slate)
}

.reviews_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.review {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(14, 37, 64, .05);
}

.review_top {
  display: flex;
  align-items: center;
  gap: 12px
}

.review_avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-sans);
}

.review_who {
  line-height: 1.2
}

.review_name {
  font-weight: 600;
  font-size: .95rem
}

.review_date {
  font-size: .76rem;
  color: var(--slate)
}

.review_stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: .9rem
}

.review_text {
  font-size: .94rem;
  color: var(--slate);
  flex: 1
}

.review_source {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8A94A0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviews_cta {
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px)
}

/* ==========================================================================
   15. FOOTER / CONTACT
   ========================================================================== */
.site_footer {
  background: var(--ink-dark);
  color: var(--ivory);
  padding-top: clamp(58px, 7vw, 92px)
}

.footer_cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding-bottom: clamp(44px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
}

.footer_cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  color: var(--paper);
  margin-top: .35em
}

.footer_cta h2 em {
  color: var(--gold-light)
}

.footer_cta p {
  color: #C6CFD9;
  margin: .8em 0 1.5em;
  max-width: 44ch
}

.footer_actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.contact_card {
  display: grid
}

.contact_card_row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  flex-wrap: wrap;
  min-width: 0;
}

.contact_card_row:last-child {
  border-bottom: 0
}

.contact_card_key {
  font-size: .67rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-light);
  min-width: 108px;
  font-weight: 600;
  flex: none;
}

.contact_card_value {
  font-size: .98rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere
}

.contact_card_value a {
  border-bottom: 1px solid transparent;
  transition: border-color .2s
}

.contact_card_value a:hover {
  border-color: var(--gold)
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: .8rem;
  color: #93A0AE;
}

.footer_brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.footer_brand img {
  height: 40px;
  width: auto
}

.footer_bottom b {
  color: var(--paper);
  font-weight: 600
}

.footer_nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.footer_nav a:hover {
  color: var(--gold-light)
}

/* ==========================================================================
   16. QUOTE FORM PAGE
   ========================================================================== */
.page_head {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(44px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page_head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 260px at 82% 40%, rgba(194, 154, 68, .18), transparent 70%);
}

.page_head .container {
  position: relative;
  z-index: 2
}

.page_head h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-top: .3em
}

.page_head h1 em {
  color: var(--gold-light)
}

.page_head p {
  color: #C6CFD9;
  max-width: 52ch;
  margin-top: .8em
}

.breadcrumb {
  font-size: .8rem;
  color: #9FB0C3;
  margin-bottom: .6em
}

.breadcrumb a:hover {
  color: var(--gold-light)
}

.quote {
  background: var(--paper)
}

.quote_grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start
}

.form_card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 14px 40px rgba(14, 37, 64, .07);
}

.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.form_group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column
}

.form_group label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 7px;
  color: var(--ink);
}

.form_group .req {
  color: var(--error)
}

.form_group .hint {
  font-size: .76rem;
  color: var(--slate);
  font-weight: 400;
  margin-top: 5px
}

.form_control {
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
  padding: .8em .95em;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form_control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 154, 68, .18);
}

.form_control::placeholder {
  color: #A6AEB8
}

textarea.form_control {
  resize: vertical;
  min-height: 120px
}

select.form_control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23586472' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
}

.form_group.has_error .form_control {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .12)
}

.error_msg {
  color: var(--error);
  font-size: .78rem;
  margin-top: 5px;
  display: none
}

.form_group.has_error .error_msg {
  display: block
}

.checkbox_row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px
}

.checkbox_row input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex: none
}

.checkbox_row label {
  font-size: .85rem;
  color: var(--slate);
  font-weight: 400;
  margin: 0
}

.form_note {
  font-size: .8rem;
  color: var(--slate);
  margin-top: 14px
}

.form_success {
  display: none;
  background: rgba(28, 92, 79, .08);
  border: 1px solid rgba(28, 92, 79, .3);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}

.form_success.is_visible {
  display: block
}

.form_success h3 {
  font-size: 1.3rem;
  color: var(--success);
  margin-bottom: .4em
}

.form_success p {
  color: var(--slate);
  font-size: .95rem
}

.quote_aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 110px
}

.aside_card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.aside_card h3 {
  font-size: 1.2rem;
  margin-bottom: .7em;
  color: var(--paper)
}

.aside_card h3 em {
  color: var(--gold-light)
}

.aside_card ul {
  display: grid;
  gap: 11px
}

.aside_card li {
  display: flex;
  gap: 10px;
  font-size: .9rem;
  color: #CBD5E0;
  align-items: flex-start
}

.aside_card li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 700;
  flex: none
}

.aside_card_light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-soft)
}

.aside_card_light h3 {
  color: var(--ink)
}

.aside_card_light li {
  color: var(--slate)
}

.aside_card_light li::before {
  color: var(--gold-dark)
}

.aside_contact {
  display: grid;
  gap: 12px;
  margin-top: 6px
}

.aside_contact a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .92rem;
  font-weight: 500
}

.aside_contact a:hover {
  color: var(--gold-dark)
}

.aside_badge {
  width: 104px;
  margin: 0 auto 14px;
  display: block
}

/* ==========================================================================
   16b. 404 ERROR PAGE
   ========================================================================== */
.error_page {
  position: relative;
  background: var(--ink-dark);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0;
}

.error_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/banner/banner-02.webp');
  background-size: cover;
  background-position: center;
  opacity: .16;
}

.error_page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(680px 420px at 50% 46%, rgba(7, 20, 38, .86) 0%, rgba(7, 20, 38, .55) 55%, rgba(7, 20, 38, .25) 100%);
  pointer-events: none;
}

.error_page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(760px 380px at 50% 40%, rgba(194, 154, 68, .16), transparent 70%);
  pointer-events: none;
}

.error_page .container {
  position: relative;
  z-index: 2
}

.error_inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center
}

.error_code {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: .82;
  font-size: clamp(6rem, 20vw, 13rem);
  color: var(--gold);
  letter-spacing: -.04em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.error_title {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  margin: .25em 0 .5em
}

.error_title em {
  color: var(--gold-light)
}

.error_text {
  color: #CBD5E0;
  font-size: 1.02rem;
  max-width: 52ch;
  margin: 0 auto 1.8em
}

.error_actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(30px, 4vw, 44px)
}

.error_divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8C9AAB;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.error_divider::before,
.error_divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

.error_links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
}

.error_link {
  display: block;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  color: var(--paper);
  font-size: .9rem;
  font-weight: 600;
  transition: .25s var(--ease);
}

.error_link:hover {
  background: var(--gold);
  color: #20160A;
  border-color: var(--gold);
  transform: translateY(-2px)
}

.error_help {
  margin-top: clamp(26px, 4vw, 38px);
  font-size: .9rem;
  color: #AEBBC9;
}

.error_help a {
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: border-color .2s
}

.error_help a:hover {
  border-color: var(--gold-light)
}

.error_badge {
  width: clamp(84px, 10vw, 120px);
  margin: 0 auto clamp(16px, 2vw, 24px);
  display: block;
  opacity: .95
}

@media (max-width:768px) {
  .error_links {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .error_actions .btn {
    width: 100%
  }
}

/* ==========================================================================
   16c. DIARY PAGE
   Simple two-column blocks (image + copy), matching the "Why a branded diary"
   pattern used elsewhere on the site. No sliders, no lightbox, no JavaScript.
   ========================================================================== */
.diary_intro {
  background: var(--paper)
}

.diary_intro_grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center
}

.diary_intro h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem)
}

.diary_intro h2 em {
  color: var(--gold-dark)
}

.diary_intro p {
  color: var(--slate);
  margin-top: 1em;
  font-size: 1.04rem
}

.diary_facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.6em
}

.diary_fact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--white)
}

.diary_fact_value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-dark);
  line-height: 1
}

.diary_fact_label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: .4em
}

/* --- shared media frame --- */
.diary_media {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(14px, 2.4vw, 26px)
}

.diary_media img {
  width: 100%;
  height: auto;
  display: block
}

.home_calendar .diary_media {
  padding: 5px
}

.home_calendar .diary_media iframe {
  width: 100%;
  height: 620px;
  display: block;
  scroll-behavior: smooth;
}

.diary_tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--ink);
  color: var(--gold-light);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 14px;
}

/* --- range block --- */
.diary_range {
  background: var(--ivory)
}

.diary_range_alt {
  background: var(--paper)
}

.diary_block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center
}

.diary_block_rev .diary_media {
  order: 2
}

.diary_info .eyebrow {
  margin-bottom: .6em
}

.diary_info h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem)
}

.diary_info h2 em {
  color: var(--gold-dark)
}

.diary_info p {
  color: var(--slate);
  margin-top: .8em
}

.diary_specs {
  list-style: none;
  margin-top: 1.3em;
  display: grid;
  gap: 9px
}

.diary_specs li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--slate)
}

.diary_specs li::before {
  content: "\2713";
  color: var(--gold-dark);
  font-weight: 700;
  flex: none
}

.diary_colours {
  margin-top: 1.7em
}

.diary_colours_label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 12px;
}

.diary_colours_row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem
}

.diary_colour_code {
  cursor: pointer;
  border-radius: 4px;
  padding: 18px 30px
}

.diary_actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.7em
}

/* --- interior feature --- */
.diary_inside {
  background: var(--ink);
  color: var(--paper)
}

.diary_inside_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center
}

.diary_inside h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem)
}

.diary_inside h2 em {
  color: var(--gold-light)
}

.diary_inside p {
  color: #CBD5E0;
  margin-top: .85em
}

.diary_inside_list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 1.4em
}

.diary_inside_list li {
  display: flex;
  gap: 11px;
  font-size: .95rem;
  color: #CBD5E0
}

.diary_inside_list li::before {
  content: "\2726";
  color: var(--gold-light);
  flex: none
}

/* --- specification table --- */
.diary_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.diary_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--white)
}

.diary_table th,
.diary_table td {
  padding: 14px 18px;
  text-align: left;
  font-size: .94rem
}

.diary_table thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.diary_table tbody tr {
  border-bottom: 1px solid var(--line-soft)
}

.diary_table tbody tr:last-child {
  border-bottom: 0
}

.diary_table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 32%
}

.diary_table td {
  color: var(--slate)
}

.diary_table tbody tr:nth-child(even) {
  background: var(--paper)
}

@media (max-width:960px) {

  .diary_intro_grid,
  .diary_block,
  .diary_inside_grid {
    grid-template-columns: 1fr
  }

  .diary_block_rev .diary_media {
    order: 0
  }

  .diary_intro_media,
  .diary_media {
    max-width: 520px;
    margin-inline: auto;
    width: 100%
  }
}

@media (max-width:560px) {
  .diary_facts {
    grid-template-columns: 1fr
  }

  .diary_actions .btn {
    width: 100%
  }

  .diary_colour {
    width: 70px
  }
}

/* ==========================================================================
   17. LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 16, 28, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

.lightbox.is_open {
  opacity: 1;
  visibility: visible
}

.lightbox_figure {
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox_img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  border: 6px solid rgba(244, 238, 225, .9);
  background: var(--ink-dark);
}

.lightbox_caption {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ivory);
  font-size: 1rem;
  text-align: center;
}

.lightbox_counter {
  font-family: var(--font-sans);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light)
}

.lightbox_close,
.lightbox_nav {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(244, 238, 225, .1);
  border: 1px solid rgba(244, 238, 225, .35);
  color: var(--ivory);
  border-radius: 50%;
  transition: .25s var(--ease);
  z-index: 2;
}

.lightbox_close:hover,
.lightbox_nav:hover {
  background: var(--gold);
  color: #20160A;
  border-color: var(--gold)
}

.lightbox_close {
  top: 22px;
  right: 22px
}

.lightbox_nav_prev {
  left: 2vw;
  top: 50%;
  transform: translateY(-50%)
}

.lightbox_nav_next {
  right: 2vw;
  top: 50%;
  transform: translateY(-50%)
}

/* ==========================================================================
   18. SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.is_visible {
  opacity: 1;
  transform: none
}

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */
@media (max-width:1100px) {
  .gallery_grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .range_track {
    grid-auto-columns: calc((100% - 2 * 22px) / 3);
    gap: 22px
  }
}

@media (max-width:960px) {

  .who_grid,
  .signature_grid,
  .footer_cta,
  .quote_grid {
    grid-template-columns: 1fr
  }

  .crest_grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center
  }

  .crest_meta {
    justify-content: center
  }

  .crest_meta_item {
    text-align: left
  }

  .brochure_grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center
  }

  .brochure_actions {
    width: 100%;
    max-width: 320px
  }

  .why_grid {
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid var(--line)
  }

  .why_item:nth-child(odd) {
    border-left: 0
  }

  .reviews_grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .range_track {
    grid-auto-columns: calc((100% - 1 * 20px) / 2);
    gap: 20px
  }

  .quote_aside {
    position: static
  }

  .signature_number {
    font-size: clamp(5rem, 22vw, 9rem)
  }
}

/* Nav switches to the hamburger earlier than the rest of the layout, because
   the menu carries 8 links plus the quote button and needs ~940px to sit
   comfortably beside the logo. */
@media (min-width:1024px) and (max-width:1240px) {
  .main_nav ul {
    gap: 20px
  }

  .main_nav a {
    font-size: .88rem
  }
}

@media (max-width:1023px) {
  .nav_toggle {
    display: block
  }

  .main_nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink-dark);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 18px;
    display: none;
  }

  .main_nav.is_open {
    display: block
  }

  .main_nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(var(--container), 92vw);
    margin-inline: auto
  }

  .main_nav li {
    border-bottom: 1px solid rgba(255, 255, 255, .08)
  }

  .main_nav a {
    display: block;
    padding: 13px 0;
    font-size: .95rem
  }

  .main_nav a::after {
    display: none
  }

  .nav_cta {
    margin: 14px 0 0
  }
}

@media (max-width:768px) {
  .header_top .ht_contact {
    display: none
  }

  .header_top .container {
    justify-content: center
  }

  .banner_viewport {
    height: clamp(500px, 86vw, 540px)
  }

  .banner_slide::after {
    background:
      linear-gradient(180deg, rgba(8, 23, 39, .55) 0%, rgba(8, 23, 39, .72) 45%, rgba(8, 23, 39, .92) 100%);
  }

  .banner_content {
    max-width: 100%;
    text-align: left
  }

  .banner_actions .btn {
    flex: 1 1 auto
  }

  .banner_arrow {
    width: 38px;
    height: 38px
  }

  .banner_arrow_prev {
    left: 8px
  }

  .banner_arrow_next {
    right: 8px
  }

  .banner_caption {
    display: none
  }

  .gallery_grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .form_row {
    grid-template-columns: 1fr;
    gap: 0
  }

  .lightbox_nav_prev {
    left: 6px
  }

  .lightbox_nav_next {
    right: 6px
  }

  .lightbox_close {
    top: 10px;
    right: 10px
  }
}

@media (max-width:560px) {
  .why_grid {
    grid-template-columns: 1fr
  }

  .why_item {
    border-left: 1px solid var(--line)
  }

  .reviews_grid {
    grid-template-columns: 1fr
  }

  .range_track {
    grid-auto-columns: calc(100% - 44px);
    gap: 16px
  }

  .brand_logo {
    height: 42px
  }

  .brand_text {
    display: none
  }

  .footer_bottom {
    flex-direction: column;
    align-items: flex-start
  }

  /* Long emails / addresses must never push the layout wide */
  .contact_card_key {
    min-width: 100%;
    flex: 1 1 100%
  }

  .contact_card_row {
    gap: 4px;
    padding: 11px 0
  }

  .footer_actions .btn,
  .banner_actions .btn,
  .brochure_actions .btn {
    width: 100%
  }

  .aside_contact a {
    overflow-wrap: anywhere
  }

  .reviews_summary {
    padding: 18px 16px
  }

  .form_card {
    padding: 22px 18px
  }
}

@media (max-width:360px) {
  .container {
    width: 94vw
  }

  .range_track {
    grid-auto-columns: calc(100% - 26px)
  }

  .btn {
    font-size: .88rem;
    padding: .8em 1.1em
  }

  .banner_viewport {
    height: clamp(400px, 120vw, 520px)
  }
}

/* ==========================================================================
   20. MOTION PREFERENCES / PRINT
   ========================================================================== */
@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .crest_badge {
    animation: none
  }

  .banner_slide {
    transition: opacity .2s
  }

  .range_track {
    transition: none
  }
}

@media print {

  .site_header,
  .banner,
  .range_controls,
  .site_footer,
  .lightbox {
    display: none
  }

  body {
    background: #fff;
    color: #000
  }
}