:root {
  --paper: #f7f7f3;
  --surface: #ffffff;
  --ink: #201b17;
  --muted: #69615a;
  --line: #ddd8d0;
  --terracotta: #a6422c;
  --terracotta-deep: #6f2419;
  --forest: #1f4a3d;
  --charcoal: #151412;
  --shadow: 0 18px 50px rgba(24, 20, 18, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(247, 247, 243, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 15, 12, 0.92) 0%, rgba(18, 15, 12, 0.74) 50%, rgba(18, 15, 12, 0.34) 100%),
    url("assets/hero-products.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7a28d;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 650px;
  font-size: clamp(52px, 7vw, 96px);
}

h2 {
  font-size: clamp(32px, 4.6vw, 64px);
}

.hero-copy {
  max-width: 545px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.3vw, 18px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #fff;
  background: var(--terracotta);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-stat {
  min-height: 70px;
  padding: clamp(16px, 2.2vw, 24px) clamp(18px, 3vw, 34px);
  background: var(--surface);
}

.intro-stat strong {
  display: block;
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.intro-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.story-section,
.collection-section,
.bespoke-section,
.press-section,
.contact-section {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.86fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.story-section h2 {
  max-width: 620px;
  font-size: clamp(34px, 4.3vw, 58px);
}

.story-copy p:not(.eyebrow),
.section-heading p,
.bespoke-heading p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.story-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px 0 0;
}

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

.story-media-grid img {
  width: 100%;
  height: clamp(170px, 16vw, 250px);
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
}

.story-media-grid .story-product {
  height: clamp(170px, 16vw, 250px);
  object-fit: contain;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
}

.collection-controls {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 18px;
  margin-bottom: 18px;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter-button.active {
  color: #fff;
  border-color: var(--forest);
  background: var(--forest);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.product-card figure {
  margin: 0;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: contain;
  background: #fff;
}

.product-content {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.product-code {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
}

.product-meta {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-link {
  width: fit-content;
  color: var(--terracotta-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.bespoke-section {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(34px, 4vw, 50px);
}

.bespoke-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  max-width: none;
}

.bespoke-heading .eyebrow,
.bespoke-heading h2 {
  grid-column: 1;
}

.bespoke-heading h2 {
  max-width: 680px;
  font-size: clamp(30px, 3.25vw, 44px);
}

.bespoke-heading p {
  grid-column: 2;
  grid-row: 2;
  max-width: 760px;
  margin: 0;
  font-size: clamp(15px, 1.25vw, 18px);
}

.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  min-width: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.project-gallery img {
  width: 100%;
  height: clamp(120px, 13vw, 185px);
  object-fit: cover;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list div {
  padding: clamp(16px, 2.4vw, 22px);
  background: var(--surface);
}

.process-list span {
  display: block;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.process-list strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 500;
}

.process-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.press-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 62px);
}

.press-section h2 {
  font-size: clamp(30px, 3.6vw, 48px);
}

.press-section img {
  width: 100%;
  max-width: 560px;
  height: auto;
  justify-self: end;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 84px);
  color: #fff;
  background: var(--charcoal);
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1280px) / 2));
}

.contact-section .eyebrow {
  color: #e7a28d;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper);
}

.site-footer div {
  display: grid;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.site-footer a {
  align-self: center;
  color: var(--terracotta-deep);
  font-weight: 800;
}

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 20px 24px;
    color: var(--ink);
    background: rgba(247, 247, 243, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band,
  .story-section,
  .section-heading,
  .bespoke-section,
  .project-panel,
  .process-list,
  .press-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .story-media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bespoke-heading {
    grid-template-columns: 1fr;
  }

  .bespoke-heading p {
    grid-column: 1;
    grid-row: auto;
    margin-top: 16px;
  }

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

  .project-gallery {
    max-width: none;
  }

  .project-gallery img {
    height: clamp(150px, 24vw, 220px);
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

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

  .button {
    width: 100%;
  }

  .intro-band,
  .story-media-grid,
  .project-gallery,
  .process-list {
    grid-template-columns: 1fr;
  }

  .story-section,
  .collection-section,
  .bespoke-section,
  .press-section {
    width: calc(100% - 32px);
  }

  .product-card img {
    aspect-ratio: 1 / 1.08;
  }

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

  .project-gallery img {
    height: clamp(210px, 58vw, 280px);
  }

  .site-footer {
    display: grid;
  }

  .site-footer a {
    align-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
