:root {
  --ink: #141414;
  --paper: #f7f3eb;
  --orange: #ff710c;
  --hover: #181818;
  --border: #e4ddd1;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
header, footer { background: var(--ink); color: white; padding: 16px clamp(18px, 5vw, 80px); }
header { display: grid; grid-template-columns: 44% 56%; align-items: center; padding: 20px 0; }
.header-brand { display: flex; align-items: center; padding-left: clamp(18px, 5vw, 80px); padding-right: 20px; }
.brand { display: flex; align-items: center; max-width: 100%; gap: 12px; font-weight: 900; line-height: 1; }
.brand img { display: block; width: 540px; max-width: 100%; height: 135px; object-fit: contain; }
em, .delivery .eyebrow, #about .eyebrow { color: var(--orange); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-right: 24px; }
button, nav a, .hero-catalogue-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 11px 16px;
  background: var(--hover);
  color: var(--orange);
  font: inherit;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px #ff710c66;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
nav a { white-space: nowrap; }
.hero-catalogue-link { padding-inline: 20px; }
button:active, nav a:active, .hero-catalogue-link:active { transform: translateY(1px); }
button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
:focus-visible { outline: 3px solid #2675ce; outline-offset: 3px; }
.cart-nav { margin-left: auto; gap: 8px; white-space: nowrap; }
.cart-nav [data-cart-count] { min-width: 24px; border-radius: 4px; background: #00000012; padding: 0 5px; }
.hero { position: relative; display: grid; grid-template-columns: 44% 56%; background: var(--ink); color: white; }
.hero > div { padding: clamp(18px, 1.8vw, 28px) clamp(24px, 4vw, 60px); padding-right: 20px; }
.hero > img { position: absolute; inset: 0 0 0 auto; width: 56%; height: 100%; object-fit: cover; object-position: center; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; font-weight: 900; }
h1, h2, h3 { font-family: Impact, 'Arial Narrow', system-ui, sans-serif; text-transform: uppercase; line-height: 1.03; margin: 0; font-weight: 950; }
h1 { font-family: system-ui, sans-serif; font-size: clamp(15.6px, 1.56vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: .04em; margin-top: 1.25em; }
h2 { font-size: clamp(30px, 4vw, 58px); }
h3 { font-size: clamp(22px, 2.4vw, 34px); }
em { font-style: normal; }
.strip { display: flex; justify-content: space-evenly; gap: 16px; padding: 15px; border-bottom: 1px solid #d9d1c4; text-align: center; }
.section { padding: clamp(24px, 5vw, 74px); }
.cards, .steps { display: grid; gap: 18px; margin-top: 24px; }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 24px; }
.steps > li::marker { font-weight: 800; }
.card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.card > img { width: 100%; height: clamp(160px, 18vw, 260px); object-fit: cover; display: block; }
.card > div { padding: 17px; }
.card ul { display: grid; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.card li button {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  text-align: left;
  background: #faf8f4;
  color: #292522;
  border: 1px solid #eee9e1;
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: none;
  letter-spacing: normal;
  font-weight: 600;
}
.catalogue-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 5px; background: white; color: #a84408; }
.catalogue-icon svg { width: 22px; height: 22px; }
.catalogue-label { flex: 1; }
.catalogue-arrow { flex-shrink: 0; color: #8b8278; font-size: 19px; }
.card li button:focus-visible { background: #fff0e2; }

.extra { margin-bottom: 0; }
.delivery { display: grid; grid-template-columns: 1fr 1.45fr; align-items: center; gap: 24px; background: #202020; color: white; }
.delivery svg { width: 100%; max-height: 390px; }
.outer, .inner { fill: #302721; stroke: var(--orange); stroke-width: 2; }
.outer { stroke-dasharray: 9 6; }
.inner { fill: #843c12; }
#about { background: var(--ink); color: white; }
footer { background: white; color: var(--ink); font-size: .875rem; padding-bottom: 28px; }
.social-links { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.social-links svg { width: 24px; height: 24px; }
dialog { width: min(620px, calc(100% - 24px)); max-height: 90dvh; border: 0; border-radius: 12px; padding: 22px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #000b; }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: -22px;
  z-index: 3;
  margin: -22px -22px 20px;
  padding: 18px 22px;
  background: var(--ink);
  color: white;
  border-bottom: 2px solid var(--orange);
}
.modal-head h2 { font-size: clamp(24px, 3vw, 36px); overflow-wrap: anywhere; }
.modal-head .eyebrow { color: var(--orange); margin: 0 0 8px; }
.modal-head .close { box-shadow: inset 0 0 0 1px #ff710c66; }
.close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; background: var(--hover); font-size: 24px; line-height: 1; box-shadow: none; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
label { display: block; margin: 10px 0; font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-width: 0; padding: 9px; font: inherit; border: 1px solid #998f80; border-radius: 5px; background: white; color: var(--ink); }
fieldset { min-width: 0; margin: 14px 0 0; border: 1px solid #b6ab9c; border-radius: 5px; }
[role='status']:empty { display: none; }
#item-details, #cart { width: min(780px, calc(100% - 24px)); }
.item-options { display: grid; gap: 16px; }
.item-option { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px; background: white; border: 1px solid var(--border); border-radius: 8px; }
.item-option h3 { font-size: 1.5rem; }
.item-option-image { display: block; width: 100%; height: auto; aspect-ratio: 360/260; object-fit: contain; border-radius: 8px; }
.item-option-content p { margin: 12px 0; }
.item-price { font-size: 1.15rem; font-weight: 800; }
.sample-note { padding: 12px; border-left: 3px solid var(--orange); background: white; }
.product-actions { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.product-quantity { width: 85px; margin: 0; }
.product-feedback { font-size: .9rem; color: #325c28; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }
.details-actions button { gap: 5px; }
.details-actions { position: sticky; bottom: -22px; padding-block: 14px; background: var(--paper); }
.secondary-button { background: var(--hover); color: var(--orange); box-shadow: inset 0 0 0 1px #ff710c66; }
.cart-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 80px auto; gap: 14px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--border); }
.cart-row > img { width: 90px; height: auto; }
.cart-product h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.cart-product p { margin: 6px 0; font-size: .9rem; }
.cart-quantity { margin: 0; font-size: .85rem; }
.cart-row > button { align-self: end; }
.cart-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-weight: 700; }
.checkout-list { padding-left: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) {
  button:not(:disabled):hover, nav a:hover, .hero-catalogue-link:hover { background: var(--orange); color: var(--ink); transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--orange), 0 2px 5px #00000012; }
  .card li button:hover { background: #fff0e2; color: #292522; border-color: #efbc95; transform: none; box-shadow: none; }
  .card li button:hover .catalogue-icon { color: #a84408; background: #ffe1c5; }
  .card li button:hover .catalogue-arrow { color: #a84408; }
  .close:hover { transform: none; }
  .social-links a:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .header-brand { padding-left: 18px; padding-right: 12px; }
  .brand { gap: 8px; font-size: .78rem; }
  .brand img { width: 380px; height: 95px; }
  nav { gap: 8px; padding-right: 16px; }
  nav a, .cart-nav { padding: 10px 12px; font-size: .9rem; }
}
@media (max-width: 720px) {
  header { grid-template-columns: 1fr; gap: 16px; }
  .header-brand { padding: 0 18px; }
  nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 18px; }
  nav a, .cart-nav { font-size: .9rem; padding: 10px 12px; }
  .cart-nav { margin-left: 0; }
  .hero, .delivery, .cards, .steps { grid-template-columns: 1fr; }
  .hero > img { position: static; width: 100%; height: 180px; }
  .strip { font-size: .78rem; gap: 12px; }
  .brand img { width: 380px; height: 95px; }
}
@media (max-width: 520px) {
  .fields, .item-option { grid-template-columns: 1fr; }
  .item-option-image { max-height: 190px; }
  .cart-row { grid-template-columns: 65px minmax(0, 1fr); }
  .cart-row > img { width: 65px; }
  .cart-quantity { grid-column: 2; max-width: 100px; }
  .cart-row > button { grid-column: 2; justify-self: start; }
  .dialog-actions > button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button, nav a, .hero-catalogue-link, .social-links a { transition: none; }
  button:hover, nav a:hover, .hero-catalogue-link:hover, .social-links a:hover, button:active, nav a:active, .hero-catalogue-link:active { transform: none; }
}

#hire-form > button[type="submit"] { display: flex; margin-left: auto; }

/* Compact modal layout */
dialog { width: min(560px, calc(100% - 24px)); padding: 18px; font-size: 14px; line-height: 1.45; }
#item-details, #cart { width: min(680px, calc(100% - 24px)); }
.modal-head { top: -18px; margin: -18px -18px 16px; padding: 14px 18px; gap: 12px; }
.modal-head h2 { font-size: clamp(22px, 2.5vw, 30px); }
.modal-head .eyebrow { font-size: .65rem; margin-bottom: 5px; }
dialog h3, .item-option h3 { font-size: 1.2rem; }
dialog p { margin-block: 10px; }
dialog button { padding: 8px 12px; font-size: 14px; }
dialog .close { width: 44px; height: 44px; padding: 0; font-size: 22px; }
dialog label { margin: 8px 0; }
dialog input, dialog select, dialog textarea { padding: 7px 8px; font-size: 16px; }
dialog textarea { min-height: 72px; }
dialog fieldset { margin-top: 10px; padding: 10px; }
dialog .fields { gap: 8px; }
.sample-note { padding: 10px; }
.item-options { gap: 12px; }
.item-option { grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 14px; }
.item-option-content p { margin: 8px 0; }
.item-price { font-size: 1rem; }
.product-actions { gap: 10px; }
.product-quantity { width: 76px; }
.product-feedback { font-size: .8rem; }
.details-actions { bottom: -18px; padding-block: 10px; }
.dialog-actions { gap: 10px; margin-top: 16px; }
.cart-row { grid-template-columns: 70px minmax(0, 1fr) 72px auto; gap: 10px; padding-block: 12px; }
.cart-row > img { width: 70px; }
.cart-product h3 { font-size: 1rem; }
.cart-product p { font-size: .8rem; margin: 4px 0; }
.cart-quantity { font-size: .8rem; }
@media (max-width: 520px) {
  .item-option { grid-template-columns: 1fr; }
  .item-option-image { max-height: 140px; }
  .cart-row { grid-template-columns: 55px minmax(0, 1fr); }
  .cart-row > img { width: 55px; }
}
