:root {
  --bg: #faf9f5;
  --bg-sunk: #f3f1ea;
  --ink: #1a1916;
  --muted: #6f6a63;
  --line: rgba(26, 25, 22, 0.12);
  --clay: #c45c38;
  --header: 4.5rem;
  --max: 72rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

h1,
h2,
.wordmark-mark,
.fact-value {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.45rem 0.7rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

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

.utility {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.utility a {
  text-decoration: none;
}

.utility a:hover,
.utility a:focus-visible {
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.7rem 1.5rem;
  background: rgba(250, 249, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
}

.wordmark-mark {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.wordmark-name {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav > a,
.menu-button {
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.site-nav > a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-nav > a:hover,
.menu-button:hover,
.site-nav > a:focus-visible,
.menu-button:focus-visible {
  color: var(--clay);
}

.nav-quote {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.nav-quote:hover,
.nav-quote:focus-visible {
  background: var(--ink);
  color: var(--bg) !important;
}

.has-menu {
  position: relative;
}

.menu-button::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.35rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}

.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  z-index: 5;
  min-width: 16rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}

.has-menu:hover .menu-panel,
.has-menu:focus-within .menu-panel,
.has-menu.is-open .menu-panel {
  display: grid;
}

.menu-panel a {
  display: block;
  padding: 0.4rem 0.65rem;
  border-radius: 0.4rem;
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}

.menu-panel a:hover,
.menu-panel a:focus-visible,
.menu-panel a[aria-current="page"] {
  background: var(--bg-sunk);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-bars::before {
  position: relative;
  top: -0.32rem;
}

.nav-toggle-bars::after {
  position: relative;
  top: 0.32rem;
}

.wrap,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: end;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.eyebrow,
.footer-label {
  margin: 0 0 0.7rem;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  font-weight: 620;
}

.lede,
.muted,
.product-card p,
.tile p,
.prose p,
.fine-print,
.footer-brand p {
  color: var(--muted);
}

.lede {
  max-width: 34rem;
  margin-bottom: 1.75rem;
  font-size: 1.15rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.button-solid {
  background: var(--ink);
  color: var(--bg);
}

.button-solid:hover,
.button-solid:focus-visible {
  background: #2c2a26;
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button-quiet,
.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero-figure {
  margin: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.hero-figure img {
  width: 100%;
}

.band {
  padding-top: 3.5rem;
  padding-bottom: 1rem;
}

.band + .band,
.page-intro + .band {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.card-grid,
.tile-grid,
.split {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tile-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.tile,
.panel {
  display: block;
  padding: 1.1rem 1rem 1.15rem;
  background: transparent;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h3,
.tile h3 {
  margin-bottom: 0.35rem;
}

.card p,
.tile p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.card p {
  min-height: calc(1.6em * 2);
}

.tile-art {
  aspect-ratio: 6 / 5;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.85rem;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.family-list .has-art {
  display: grid;
  grid-template-columns: 6.25rem 1fr;
  gap: 1rem;
  align-items: center;
}

.family-art {
  box-sizing: border-box;
  width: 6.25rem;
  height: 6.25rem;
  padding: 0.3rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}

.product-figure {
  max-width: 30rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.product-figure img {
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-gallery li {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.product-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.product-gallery p {
  margin: 0;
  min-height: calc(1.45em * 3 + 1.55rem);
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Plain catalogue layout: white image boxes in three columns, caption centred below. */
.product-gallery--plain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
}

.product-gallery.product-gallery--plain li {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.product-gallery.product-gallery--plain img {
  aspect-ratio: 5 / 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.product-gallery.product-gallery--plain p {
  min-height: calc(1.4em * 2 + 0.85rem);
  padding: 0.85rem 0.25rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-transform: uppercase;
}

.card:hover h3,
.tile:hover h3,
.card:focus-visible h3 {
  color: var(--clay);
}

.split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts li:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.fact-value {
  font-size: 1.55rem;
  line-height: 1.1;
}

.fact-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-intro {
  padding-top: 3.25rem;
  padding-bottom: 0.5rem;
}

.page-intro h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}

.prose {
  max-width: 42rem;
}

.prose p + p,
.prose ul {
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.1rem;
  color: var(--muted);
}

.family-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.family-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.family-list h3 {
  margin-bottom: 0.2rem;
}

.family-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.enquiry {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-mail {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.contact-mail a {
  text-decoration: none;
}

.contact-mail a:hover,
.contact-mail a:focus-visible {
  color: var(--clay);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand .wordmark-mark {
  margin-bottom: 0.6rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.footer-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
}

.footer-map iframe {
  width: 100%;
  height: 16rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.footer-address {
  margin: 0;
  font-style: normal;
}

.footer-address p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .card-grid,
  .tile-grid,
  .family-list,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .product-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header));
    overflow: auto;
    padding: 0.4rem 1.25rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .has-menu {
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a,
  .menu-button {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    text-align: left;
  }

  .nav-quote {
    margin-top: 0.8rem;
    text-align: center;
    border-bottom: 0;
  }

  .menu-panel {
    position: static;
    min-width: 0;
    margin: 0 0 0.6rem;
    padding: 0 0 0.4rem 0.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .has-menu:hover .menu-panel,
  .has-menu:focus-within .menu-panel {
    display: none;
  }

  .has-menu.is-open .menu-panel {
    display: grid;
  }

  .tile-grid,
  .family-list,
  .facts,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .product-gallery {
    gap: 0.75rem;
  }

  .card {
    padding: 0.9rem 0.65rem 1rem;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .card p {
    font-size: 0.88rem;
    min-height: 0;
  }

  .footer-map {
    grid-template-columns: 1fr;
  }

  .facts li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 760px) {
  .tile-grid--art {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .tile-grid--art .tile {
    padding: 0.9rem 0.65rem 1rem;
  }

  .tile-grid--art .tile h3 {
    font-size: 1.05rem;
  }

  .tile-grid--art .tile p {
    font-size: 0.88rem;
  }
}

@media (max-width: 520px) {
  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery p {
    padding: 0.6rem 0.65rem 0.7rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
