html, body { overflow-x: hidden; }

.products article {
  padding-top: 0;
}

.products article > img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 7px;
  background: radial-gradient(circle, #173c62 0%, #071a33 72%);
}

.lifestyle-img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 16px 0;
}

.panel:first-child .lifestyle-img { object-fit: contain; }

.panel h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.panel h2::before,
.panel h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: #8b99a8;
}

.panel ul,
.occasion-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 10px;
}

.occasion-labels b { display: flex; align-items: center; justify-content: center; gap: 5px; }
.occasion-labels span { font-size: 18px; color: #65778b; }

.gallery-strip { border: 1px solid #9daebe; background: #05090e; }
.gallery-strip { height: 155px; overflow: hidden; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-details { position: relative; z-index: 4; text-align: center; margin-top: 12px; }
.gallery-details summary { list-style: none; cursor: pointer; min-width: 210px; }
.gallery-details summary::-webkit-details-marker { display: none; }
.gallery-details .close-label { display: none; }
.gallery-details[open] .open-label { display: none; }
.gallery-details[open] .close-label { display: inline; }
.full-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.full-gallery-grid figure { background: #fff; border: 1px solid #9daebe; overflow: hidden; }
.full-gallery-grid img { width: 100%; height: 220px; object-fit: contain; background: #071a33; }
.full-gallery-grid figcaption { padding: 8px; font: 700 10px var(--display); text-transform: uppercase; }
.full-gallery-grid .gallery-feature { grid-column: span 2; }
.full-gallery-grid .gallery-feature img { object-fit: cover; }
.document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.document-grid figure { background: #fff; border: 1px solid #9daebe; }
.document-grid img { width: 100%; height: 290px; object-fit: contain; }
.document-grid figcaption { padding: 7px; font: 700 10px var(--display); text-transform: uppercase; }

.occasion-labels {
  grid-template-columns: repeat(5, 1fr);
  font: 700 9px var(--display);
  text-transform: uppercase;
  margin-top: 10px;
}

.shape-row > img {
  width: min(760px, 70%);
  height: 145px;
  object-fit: contain;
}

.shape-row > a {
  min-width: 170px;
  border: 2px solid #8293a5;
  box-shadow: inset 0 0 0 3px #061d3b, inset 0 0 0 4px #8293a5;
  padding: 18px 20px;
}

.shape-row > a b { font-size: 15px; line-height: 1.15; }
.shape-row > a small { margin-top: 8px; }

/* Reference-matched hero transition: pale concave wave, silver edge, navy below. */
#products {
  position: relative;
  padding-top: 72px;
  overflow: visible;
}

#products::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -64px;
  width: calc(100vw + 240px);
  height: 78px;
  background: url("../images/brand/hero-wave.svg") center / 100% 100% no-repeat;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

#products > .shell { position: relative; z-index: 3; }

.hero-copy > small { display: none; }

.hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 16px;
  background: var(--navy);
}

.features span {
  position: relative;
  min-width: 72px;
}

.features span > img {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 6px;
}

.features span > strong {
  display: block;
  font: 700 9px/1.35 var(--display);
}

.steps article > img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
}

/* Heading system matched to the supplied Ice Crest reference. */
.heading { margin-bottom: 28px; }

.heading h2,
.panel h2 {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.heading::before,
.heading::after { display: none; }

.heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.heading h2::before,
.heading h2::after {
  content: "";
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 1px;
  background: #7f8fa1;
}

.heading.light h2::before,
.heading.light h2::after { background: #8d9caf; }

.heading.light h2 { color: #fff; }
.heading:not(.light) h2,
.panel h2 { color: var(--navy); }

.heading p {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: .01em;
}

.products h3,
.steps h3,
.occasion-labels,
.footer-grid h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.enquiry h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .heading h2,
  .panel h2 { font-size: 19px; }
  .heading h2 { gap: 8px; }
  .heading h2::before,
  .heading h2::after { flex-basis: 24px; width: 24px; }
}

.socials { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.socials a,
.socials span { display: grid !important; place-items: center; width: 30px; height: 30px; margin: 0 !important; color: #dce5ee; transition: .2s; }
.socials a:hover { color: #fff; transform: translateY(-2px); }
.socials img { width: 26px !important; height: 26px !important; margin: 0 !important; filter: none !important; mix-blend-mode: normal !important; }

/* Reference-matched compact CTA and five-column footer. */
.enquiry{position:relative;padding:52px 0 22px;background:rgb(6,24,48);overflow:visible!important}
.enquiry::before{content:"";position:absolute;z-index:1;top:-40px;left:50%;width:calc(100vw + 240px);height:48px;background:url("../images/brand/footer-wave.svg") center/100% 100% no-repeat;transform:translateX(-50%)}
.cta-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr .75fr 1fr;gap:38px;align-items:center}
.cta-grid h2{font-size:clamp(28px,3vw,42px)}.cta-grid p{color:#d2dbe4;margin-top:12px}.cta-actions{display:grid;gap:10px;justify-items:center}.cta-actions .button{width:min(100%,320px);text-align:center}.cta-ice{width:220px;height:165px;object-fit:contain;justify-self:end;background:rgb(6,24,48)}
.sample-details summary{list-style:none;cursor:pointer}.sample-details summary::-webkit-details-marker{display:none}.sample-details form{position:absolute;z-index:10;left:50%;top:90%;transform:translateX(-50%);width:min(620px,calc(100% - 30px));box-shadow:0 24px 60px #0008}
.footer-grid.footer-five{grid-template-columns:1.1fr .85fr .85fr .85fr 1.4fr;gap:28px}.socials{color:#fff;font-size:20px!important;margin-top:12px}.footer-five>div:first-child>img{filter:grayscale(1) invert(1) brightness(2);mix-blend-mode:screen;background:transparent}.footer-contact figure{margin-top:10px;text-align:left}.footer-contact figure img{width:60px}.footer-contact figure figcaption{text-align:left;font-size:8px}
@media(max-width:760px){.cta-grid{grid-template-columns:1fr;text-align:center;gap:22px}.cta-ice{justify-self:center;width:210px}.sample-details form{top:72%}.footer-grid.footer-five{grid-template-columns:1fr 1fr}.footer-five>:first-child,.footer-five>:last-child{grid-column:1/-1}}

.features span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -13px;
  width: 1px;
  height: 66px;
  background: #aab4c0;
}

/* The supplied desktop reference keeps its full composition at tablet widths. */
@media (min-width: 701px) and (max-width: 980px) {
  .nav ul {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    background: transparent;
    gap: 11px;
    box-shadow: none;
  }

  #navToggle { display: none; }
  .nav-link { font-size: 7.5px; }
  .wa { padding: 11px 12px; font-size: 9px; }
  .logo { width: 145px; }
  .products { grid-template-columns: repeat(6, 1fr); }
  .products article > img { height: 142px; }
  .split { grid-template-columns: 1fr 1.7fr; }
  .enquiry-grid { grid-template-columns: .8fr 1.2fr; }
  .gallery-grid { grid-template-columns: 2fr 1fr 1fr; }
  .gallery-grid .wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1.2fr .7fr 1.3fr .65fr; }
}

@media (min-width: 701px) {
  .hero { height: clamp(400px, 44vw, 650px); }
  .hero-copy { inset: clamp(34px, 4.5vw, 65px) 0 auto; }
  .hero h1 { font-size: clamp(46px, 6vw, 82px); }
  .hero-copy > p { margin: 15px 0; }
  .features { margin: 16px 0; }
  .pale, .navy { overflow: hidden; }
  #products { overflow: visible; }
}

@media (max-width: 640px) {
  .products article > img { height: 145px; }
  .lifestyle-img { height: auto; }
  .occasion-labels { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shape-row > img { width: 100%; height: auto; }
}

@media (max-width: 700px) {
  #products { padding-top: 62px; }
  #products::before { top: -38px; height: 48px; }
  .full-gallery-grid { grid-template-columns: 1fr 1fr; }
  .full-gallery-grid .gallery-feature { grid-column: 1 / -1; }
  .full-gallery-grid img { height: 170px; }
}
