:root {
  color: #24302f;
  background: #fbfaf7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #24302f;
  --muted: #6d7875;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe4df;
  --green: #2f6f5e;
  --coral: #d66b52;
  --gold: #d8a83b;
  --blue: #567a9b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.nav,
.hero-actions,
.primary,
.secondary,
.order-link {
  align-items: center;
  display: flex;
}

.brand {
  flex: 0 0 auto;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.cart-button {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
}

.cart-button span {
  background: var(--coral);
  border-radius: 999px;
  color: white;
  display: grid;
  font-size: 0.78rem;
  min-height: 22px;
  min-width: 22px;
  place-items: center;
  padding: 0 6px;
}

.brand img {
  display: block;
  height: 46px;
  object-fit: contain;
  width: auto;
}

.nav {
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-weight: 700;
}

.nav a:hover {
  color: var(--green);
}

.icon-button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  min-height: 40px;
  min-width: 40px;
  place-items: center;
}

.menu-button,
.close-button {
  display: none;
}

.hero {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: calc(100vh - 68px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px) 48px;
}

.hero-copy {
  align-self: center;
  max-width: 660px;
}

.eyebrow,
.category-label {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(4rem, 11vw, 8.8rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  font-size: 1.12rem;
  max-width: 560px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary,
.secondary,
.order-link {
  border-radius: 8px;
  font-weight: 850;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

button.primary,
button.secondary {
  cursor: pointer;
}

.primary {
  background: var(--green);
  border: 1px solid var(--green);
  color: white;
}

.secondary,
.order-link {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: 1fr 0.85fr;
  min-height: 520px;
}

.hero-gallery img,
.product-image img,
.thumbs img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-gallery img {
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(36, 48, 47, 0.14);
}

.hero-gallery img:first-child {
  grid-row: 1 / 3;
}

.service-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-strip article {
  background: #eef5f0;
  border-right: 1px solid var(--line);
  padding: 30px clamp(18px, 4vw, 46px);
}

.service-strip article:nth-child(2) {
  background: #fff3ed;
}

.service-strip article:nth-child(3) {
  background: #f4f1e7;
  border-right: 0;
}

.service-strip svg {
  color: var(--green);
  margin-bottom: 14px;
}

.section,
.split-section,
.contact {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  max-width: 520px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filters button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
  padding: 0 14px;
}

.filters button.active {
  background: var(--ink);
  color: white;
}

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

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-image {
  aspect-ratio: 4 / 3;
  background: #edf0ec;
  border: 0;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.product-image::after {
  align-items: center;
  background: rgba(36, 48, 47, 0.72);
  border-radius: 999px;
  bottom: 14px;
  color: white;
  content: "Zoom";
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 30px;
  opacity: 0;
  padding: 0 12px;
  position: absolute;
  right: 14px;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-image:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-image img {
  transition: transform 220ms ease;
}

.product-image:hover img {
  transform: scale(1.035);
}

.thumbs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
}

.thumbs button {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.thumbs button.selected {
  border-color: var(--coral);
}

.product-body {
  padding: 18px;
}

dl {
  border-top: 1px solid var(--line);
  margin: 18px 0;
  padding-top: 12px;
}

dl div {
  display: grid;
  gap: 10px;
  grid-template-columns: 84px 1fr;
  padding: 5px 0;
}

dl .colour-row {
  align-items: start;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

dd {
  margin: 0;
}

.colour-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.colour-option {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 5px;
  justify-items: center;
}

.colour-option input {
  height: 1px;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.colour-swatch {
  background: var(--swatch);
  border: 1px solid #cfd6d2;
  border-radius: 5px;
  box-shadow: inset 0 0 0 3px white;
  display: block;
  height: 28px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 170ms ease, outline-color 170ms ease, box-shadow 170ms ease;
  width: 28px;
}

.colour-swatch.black-glossy {
  border-color: #111111;
  box-shadow: inset 0 0 0 3px #111111, inset 10px 0 14px rgba(255, 255, 255, 0.18);
}

.colour-swatch.blue-matte {
  border-color: #80d5d8;
  box-shadow: inset 0 0 0 3px #8adfe2;
}

.colour-name {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.colour-option input:checked + .colour-swatch {
  outline-color: var(--coral);
  transform: translateY(-1px);
}

.colour-option:hover .colour-swatch {
  transform: translateY(-2px);
}

.order-link {
  width: 100%;
}

.buy-controls {
  display: grid;
  gap: 10px;
  grid-template-columns: 96px 1fr;
}

.buy-controls .primary {
  grid-column: 1 / 3;
}

.qty-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  gap: 5px;
}

.qty-input {
  min-height: 42px;
  padding: 8px;
}

.checkout-section {
  background: #f7f8f4;
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
}

.cart-panel,
.checkout-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(36, 48, 47, 0.08);
  padding: 22px;
}

.cart-panel {
  position: sticky;
  top: 92px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.empty-cart,
.fine-print {
  font-size: 0.9rem;
}

.cart-item {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 64px 1fr 70px auto;
  padding: 10px;
}

.cart-item img {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  width: 64px;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-item input {
  min-height: 38px;
  padding: 6px;
}

.cart-item button {
  background: transparent;
  border: 0;
  color: var(--coral);
  cursor: pointer;
  font-weight: 850;
}

.cart-total {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-mode {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  padding: 12px;
}

.checkout-mode label,
.same-address {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.checkout-mode input,
.same-address input {
  min-height: auto;
  width: auto;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-box {
  background: #f4f1e7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.full-width {
  width: 100%;
}

.split-section {
  align-items: center;
  background: #eef5f0;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.stl-section {
  background: #f4f1e7;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 750;
}

.check-list svg {
  color: var(--green);
  flex: 0 0 auto;
}

.request-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(36, 48, 47, 0.1);
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  color: var(--ink);
  display: grid;
  font-weight: 850;
  gap: 7px;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 111, 94, 0.15);
}

.spec-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.spec {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.spec svg {
  color: var(--blue);
}

.spec span {
  color: var(--muted);
  font-weight: 800;
}

.idea-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.idea-grid span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  min-height: 48px;
  padding: 14px;
}

.contact {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

footer {
  align-items: center;
  background: #171f1e;
  color: white;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 72px);
}

.image-lightbox {
  align-items: center;
  background: rgba(10, 14, 14, 0);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 78px clamp(16px, 4vw, 48px) 34px;
  pointer-events: none;
  position: fixed;
  transition: opacity 220ms ease, background 220ms ease;
  z-index: 100;
}

.image-lightbox.open {
  background: rgba(10, 14, 14, 0.84);
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox figure {
  margin: 0;
  max-height: 100%;
  max-width: min(1120px, 96vw);
  text-align: center;
  transform: scale(0.94) translateY(18px);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-lightbox.open figure {
  transform: scale(1) translateY(0);
}

.image-lightbox img {
  background: white;
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  display: block;
  max-height: calc(100vh - 150px);
  max-width: 100%;
  object-fit: contain;
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  line-height: 1.4;
  margin-top: 14px;
}

.lightbox-close {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 42px;
  padding: 0 18px;
  position: fixed;
  right: clamp(16px, 4vw, 42px);
  top: 22px;
  transform: translateY(-8px);
  transition: transform 180ms ease, background 180ms ease;
  z-index: 101;
}

.image-lightbox.open .lightbox-close {
  transform: translateY(0);
}

.lightbox-close:hover {
  background: #f2f5f1;
}

body.lightbox-active {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery {
    min-height: 420px;
  }

  .service-strip,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    align-items: start;
    display: grid;
  }

  .idea-grid,
  .spec-row,
  .checkout-layout {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand img {
    height: 34px;
    max-width: 170px;
  }

  .menu-button,
  .close-button {
    display: grid;
  }

  .nav {
    align-items: stretch;
    background: white;
    border-left: 1px solid var(--line);
    bottom: 0;
    box-shadow: -20px 0 60px rgba(36, 48, 47, 0.16);
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 310px;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(104%);
    transition: transform 180ms ease;
    width: 82vw;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    border-radius: 8px;
    padding: 12px;
  }

  .close-button {
    align-self: end;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .hero {
    gap: 24px;
    padding: 34px 14px 28px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
    min-height: 0;
  }

  .hero-gallery img:first-child {
    grid-row: auto;
  }

  .service-strip,
  .product-grid,
  .idea-grid,
  .spec-row,
  .form-grid,
  .checkout-mode {
    grid-template-columns: 1fr;
  }

  .service-strip article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 22px 18px;
  }

  .section,
  .contact {
    padding: 42px 14px;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .filters {
    background: rgba(251, 250, 247, 0.94);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -14px 22px;
    overflow-x: auto;
    padding: 10px 14px;
    position: sticky;
    scrollbar-width: none;
    top: 63px;
    z-index: 8;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .product-grid {
    gap: 24px;
  }

  .product-card {
    border: 1px solid #cfd8d2;
    box-shadow: 0 12px 34px rgba(36, 48, 47, 0.1);
  }

  .product-image {
    aspect-ratio: 1.05;
  }

  .product-image::after {
    opacity: 1;
    transform: none;
  }

  .thumbs {
    background: #f6f7f3;
    border-bottom: 1px solid var(--line);
    gap: 7px;
    padding: 8px;
  }

  .thumbs button {
    border-color: #e2e7e2;
  }

  .thumbs button.selected {
    border-color: var(--coral);
    box-shadow: 0 0 0 2px rgba(214, 107, 82, 0.12);
  }

  .product-body {
    padding: 16px;
  }

  .product-body p {
    line-height: 1.55;
  }

  dl {
    margin: 14px 0;
  }

  dl div {
    gap: 8px;
    grid-template-columns: 74px 1fr;
  }

  .colour-options {
    gap: 8px;
  }

  .colour-swatch {
    height: 24px;
    width: 24px;
  }

  .buy-controls {
    gap: 8px;
    grid-template-columns: 74px 1fr;
  }

  .buy-controls .primary {
    grid-column: 1 / 3;
  }

  .qty-label {
    font-size: 0.76rem;
  }

  .qty-input {
    min-height: 40px;
  }

  .buy-controls .secondary,
  .buy-controls .primary {
    min-height: 44px;
    padding: 0 12px;
  }

  .cart-item {
    align-items: start;
    grid-template-columns: 58px 1fr;
  }

  .cart-item input,
  .cart-item button {
    grid-column: 2;
  }

  .cart-panel,
  .checkout-form {
    padding: 16px;
  }

  .checkout-mode {
    gap: 10px;
  }

  label {
    font-size: 0.9rem;
  }

  .image-lightbox {
    padding: 68px 12px 24px;
  }

  .image-lightbox img {
    max-height: calc(100vh - 130px);
  }

  .contact,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
