:root {
  --banner-height: 40px;
  --ink: #171614;
  --muted: #6f6a62;
  --paper: #f5f0e8;
  --panel: #fffcf5;
  --line: rgba(23, 22, 20, 0.13);
  --accent: #2b433c;
  --deep: #27231f;
  --white: #ffffff;
  --brand-green: #2b433c;
  --brand-peach: #d6a48d;
  --brand-sand: #cebfb2;
  --heading-font: Georgia, "Times New Roman", serif;
  --body-font: 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(--body-font);
  line-height: 1.55;
}

body[data-heading-font="elegant"] { --heading-font: Didot, "Bodoni 72", "Times New Roman", serif; }
body[data-heading-font="modern"] { --heading-font: Inter, ui-sans-serif, system-ui, sans-serif; }
body[data-body-font="humanist"] { --body-font: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
body[data-body-font="classic"] { --body-font: Georgia, "Times New Roman", serif; }

.preview-banner[hidden] {
  display: none;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-banner {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  color: #fdf8f1;
  background: var(--brand-green);
  border-bottom: 3px solid var(--brand-peach);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.preview-banner strong {
  color: var(--brand-sand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: var(--banner-height);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 252, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-logo {
  width: 44px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-button {
  padding: 10px 18px;
  border: 1px solid currentColor;
}

.nav-active {
  box-shadow: inset 0 -1px currentColor;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 72px) 64px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12)),
    url("https://images.unsplash.com/photo-1770819372114-644ada828e22?auto=format&fit=crop&w=1800&q=86") center/cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8cfa9;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: var(--heading-font);
  font-size: clamp(48px, 8vw, 106px);
  font-weight: 400;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--heading-font);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-content p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.inquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 700;
}

.primary-button,
.inquiry-form button {
  color: var(--white);
  background: var(--accent);
}

.secondary-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.66);
}

.section-pad {
  padding: 96px clamp(20px, 5vw, 72px);
}

.intro,
.about,
.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro p:last-child,
.about-copy p,
.custom-copy p,
.inquiry-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.collections {
  background: var(--panel);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.product-card img {
  aspect-ratio: 4 / 3;
}

.product-card div {
  padding: 24px;
}

.product-card p,
.process-grid p {
  color: var(--muted);
}

.custom {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--deep);
  color: var(--white);
}

.custom-image {
  min-height: 560px;
}

.custom-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capability-list span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.process-grid > div {
  min-height: 220px;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.process-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--accent);
  font-weight: 700;
}

.projects {
  background: var(--panel);
}

.project-list article {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.project-list article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.56));
}

.project-list h3 {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 20px;
  color: var(--white);
}

.about dl {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
}

.about dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--accent);
  font-weight: 700;
}

dd {
  margin: 0;
}

.inquiry {
  background: var(--deep);
  color: var(--white);
}

.inquiry-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.inquiry-copy a[href^="mailto:"] {
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: var(--panel);
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.footer p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-socials a {
  color: var(--brand-sand);
}

/* Product library */

.product-site-header {
  color: var(--ink);
  background: rgba(255, 252, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
  padding-top: calc(var(--banner-height) + 150px);
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 88% 18%, rgba(211, 160, 134, 0.44), transparent 28%),
    linear-gradient(135deg, #f8f2e9, #d8c8b9);
}

.catalog-hero h1 {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--brand-green);
  font-size: clamp(50px, 7.2vw, 100px);
}

.catalog-hero > p {
  margin-bottom: 8px;
  color: #514c45;
  font-size: 18px;
}

.catalog-browser {
  background: var(--panel);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: 32px;
  align-items: end;
}

.catalog-toolbar h2 {
  margin-bottom: 0;
}

.catalog-search span {
  color: var(--muted);
}

.catalog-search input {
  min-height: 50px;
  border-color: rgba(24, 62, 53, 0.26);
  background: var(--white);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.catalog-filters button {
  padding: 10px 16px;
  border: 1px solid rgba(24, 62, 53, 0.22);
  color: var(--brand-green);
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.catalog-filters button.is-active {
  color: var(--white);
  background: var(--brand-green);
}

.catalog-count {
  margin: 24px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.catalog-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--banner-height) + 90px);
}

.catalog-card-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7ded3;
}

.catalog-card-cover img {
  transition: transform 280ms ease;
}

.catalog-card:hover .catalog-card-cover > img {
  transform: scale(1.025);
}

.catalog-card-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--brand-sand);
  background: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card-placeholder img {
  width: 74px;
  height: 66px;
  object-fit: contain;
}

.catalog-card-content {
  padding: 24px;
}

.catalog-card-meta {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-card-description {
  min-height: 72px;
  color: var(--muted);
  white-space: pre-line;
  line-height: 1.65;
}

.catalog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 22px;
}

.catalog-card-actions a,
.catalog-card-actions button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--brand-green);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-empty,
.catalog-load-error {
  padding: 52px 26px;
  border: 1px solid var(--line);
  text-align: center;
}

.catalog-empty p,
.catalog-load-error p {
  color: var(--muted);
}

.catalog-empty .primary-button {
  margin-top: 12px;
}

.catalog-contact {
  color: var(--white);
  background: var(--brand-green);
  text-align: center;
}

.catalog-contact .eyebrow {
  color: var(--brand-peach);
}

.catalog-contact h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.catalog-contact .primary-button {
  margin-top: 12px;
  background: var(--brand-peach);
}

.catalog-dialog {
  width: min(1120px, calc(100vw - 32px));
  height: min(820px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.catalog-dialog::backdrop {
  background: rgba(16, 20, 18, 0.76);
  backdrop-filter: blur(5px);
}

.catalog-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-dialog-header h2 {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
}

.catalog-dialog-header .eyebrow {
  margin-bottom: 4px;
}

.dialog-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.catalog-dialog iframe {
  width: 100%;
  height: calc(100% - 152px);
  border: 0;
  background: #eee;
}

.catalog-dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: calc(var(--banner-height) + 73px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
  }

  .nav a {
    padding: 13px 8px;
  }

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

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 86vh;
    padding-top: 120px;
  }

  .intro,
  .about,
  .inquiry,
  .custom,
  .catalog-hero,
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .process-grid,
  .project-list,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    padding-top: calc(var(--banner-height) + 128px);
  }

  .catalog-card-description {
    min-height: 0;
  }

  .custom-image,
  .project-list article {
    min-height: 360px;
  }

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

@media (max-width: 520px) {
  :root {
    --banner-height: 58px;
  }

  .preview-banner {
    flex-direction: column;
    gap: 1px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .brand {
    font-size: 13px;
  }

  .brand-logo {
    width: 38px;
    height: 34px;
  }

  .section-pad {
    padding-block: 72px;
  }

  .about dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Phase-one noooko navigation and editorial redesign */

:root {
  --brand-green: #2b433c;
  --brand-peach: #d6a48d;
  --brand-sand: #cebfb2;
  --brand-line: #e2e5e5;
  --header-height: 80px;
}

body.mobile-nav-open {
  overflow: hidden;
}

.site-header {
  z-index: 40;
  min-height: var(--header-height);
  padding: 16px clamp(22px, 4vw, 64px);
  transition: min-height 300ms ease, padding 300ms ease, background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  --header-height: 66px;
  padding-block: 10px;
}

.site-header.is-scrolled,
.site-header.is-menu-open,
.site-header.is-mobile-open,
.product-site-header {
  color: #161616;
  background: rgba(248, 245, 239, 0.97);
  border-bottom: 1px solid rgba(43, 67, 60, 0.14);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .brand-logo,
.site-header.is-menu-open .brand-logo,
.site-header.is-mobile-open .brand-logo,
.product-site-header .brand-logo {
  filter: grayscale(1) brightness(0);
}

.brand {
  position: relative;
  z-index: 2;
}

.brand-logo {
  width: 42px;
  height: 38px;
  transition: filter 240ms ease, width 300ms ease, height 300ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: 36px;
  height: 32px;
}

.brand-name {
  font-size: 15px;
  letter-spacing: 0.14em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.035em;
  cursor: pointer;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--brand-peach);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active,
.nav-link.is-section-active {
  color: var(--brand-peach);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after,
.nav-link.is-current::after,
.nav-link.is-section-active::after {
  transform: scaleX(1);
}

.nav-link:focus-visible,
.menu-button:focus-visible,
.mega-menu a:focus-visible,
.mobile-navigation a:focus-visible,
.mobile-navigation button:focus-visible {
  outline: 2px solid var(--brand-peach);
  outline-offset: 4px;
}

.nav-arrow {
  display: inline-block;
  font-size: 12px;
  transition: transform 260ms ease;
}

.nav-trigger.is-active .nav-arrow,
.nav-trigger[aria-expanded="true"] .nav-arrow {
  transform: rotate(90deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--banner-height) - 64px);
  overflow: auto;
  color: #171614;
  background: #f8f5ef;
  border-top: 1px solid rgba(43, 67, 60, 0.1);
  box-shadow: 0 24px 48px rgba(22, 28, 25, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms step-end;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s;
}

.mega-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 40px clamp(22px, 4vw, 64px) 46px;
}

.product-mega-layout,
.projects-mega-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
  align-items: start;
}

.menu-eyebrow {
  margin: 0 0 12px;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-main-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.18;
}

.mega-product-grid {
  display: contents;
}

.mega-product-card,
.mega-project-card {
  display: grid;
  min-width: 0;
  gap: 11px;
}

.mega-product-media,
.mega-project-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-sand);
}

.mega-product-media img,
.mega-project-card > img {
  transition: transform 360ms ease;
}

.mega-product-card:hover .mega-product-media img,
.mega-project-card:hover > img {
  transform: scale(1.025);
}

.mega-product-media.is-placeholder {
  display: grid;
  place-items: center;
  background: var(--brand-green);
}

.mega-product-media.is-placeholder img {
  width: 70px;
  height: 62px;
  object-fit: contain;
}

.mega-product-card strong,
.mega-project-card strong {
  font-size: 16px;
}

.mega-product-card small,
.mega-project-card small {
  margin: 0;
  color: #716a63;
  font-size: 12px;
}

.mega-project-card span {
  display: grid;
  gap: 2px;
}

.mega-empty {
  grid-column: 2 / -1;
  max-width: 520px;
  padding: 34px 0;
  color: #716a63;
  font-size: 18px;
}

.contact-mega-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 0.9fr);
  gap: 8vw;
  align-items: end;
}

.contact-menu-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(34px, 4.6vw, 70px);
  line-height: 1;
}

.contact-menu-links {
  display: grid;
}

[data-social-links="mega"],
[data-social-links="mobile"] {
  display: contents;
}

.contact-menu-links a {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  border-top: 1px solid rgba(43, 67, 60, 0.22);
}

.contact-menu-links a:last-child {
  border-bottom: 1px solid rgba(43, 67, 60, 0.22);
}

.contact-menu-links a > span:not(.ig-mark) {
  color: #716a63;
  font-size: 12px;
  text-transform: uppercase;
}

.ig-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.contact-menu-links i {
  font-style: normal;
}

.page-scrim {
  position: fixed;
  z-index: 30;
  inset: calc(var(--banner-height) + var(--header-height)) 0 0;
  background: rgba(10, 15, 13, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms step-end;
}

.page-scrim.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 260ms ease, visibility 0s;
}

.mobile-navigation {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: calc(var(--banner-height) + 150px) clamp(22px, 5vw, 72px) clamp(52px, 7vw, 90px);
  background: var(--brand-green);
}

.hero-media {
  background: var(--brand-green);
  transform: none;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 11, 9, 0.65) 0%, rgba(7, 11, 9, 0.2) 55%, rgba(7, 11, 9, 0.08) 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.25s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  object-position: center center;
}

.hero-slide:nth-child(1) img {
  object-position: 54% center;
}

.hero-slide:nth-child(3) img {
  object-position: 56% center;
}

.hero-content {
  max-width: 1000px;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(54px, 8vw, 116px);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(300px, 42fr) minmax(0, 58fr);
  min-height: 720px;
  color: #17221f;
  background: var(--brand-sand);
  scroll-margin-top: calc(var(--banner-height) + 70px);
}

.about-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 130px) clamp(28px, 5vw, 78px);
}

.about-story-copy .eyebrow {
  color: var(--brand-green);
}

.about-story-copy h2 {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: clamp(44px, 5.6vw, 80px);
}

.about-story-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(23, 34, 31, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.about-story-media {
  min-height: 560px;
}

.about-story-media img {
  object-fit: cover;
}

#projects,
#collections,
#custom,
#inquiry {
  scroll-margin-top: calc(var(--banner-height) + 70px);
}

@media (max-width: 1100px) {
  .product-mega-layout,
  .projects-mega-layout {
    grid-template-columns: 170px repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .menu-main-link {
    font-size: 20px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: var(--header-height);
    padding: 12px 20px;
  }

  .site-header:not(.product-site-header):not(.is-mobile-open):not(.is-scrolled) {
    background: transparent;
  }

  .desktop-nav,
  .mega-menu {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: block;
    width: 46px;
    height: 46px;
    cursor: pointer;
  }

  .menu-button span {
    transition: transform 220ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-navigation {
    position: fixed;
    z-index: 35;
    top: var(--banner-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-height) + 32px) 22px 30px;
    color: #17221f;
    background: #f8f5ef;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms step-end;
    overflow-y: auto;
  }

  .mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 240ms ease, transform 240ms ease, visibility 0s;
  }

  .mobile-navigation nav {
    display: grid;
  }

  .mobile-primary-link,
  .mobile-nav-group > button {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(43, 67, 60, 0.2);
    color: inherit;
    background: transparent;
    font: inherit;
    font-family: var(--heading-font);
    font-size: clamp(30px, 8vw, 46px);
    cursor: pointer;
  }

  .mobile-nav-group > button span {
    font-family: var(--body-font);
    font-size: 22px;
    transition: transform 220ms ease;
  }

  .mobile-nav-group.is-open > button span {
    transform: rotate(45deg);
  }

  .mobile-nav-panel {
    display: grid;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease;
  }

  .mobile-nav-group.is-open .mobile-nav-panel {
    max-height: 420px;
    padding: 12px 0 20px;
  }

  .mobile-nav-panel a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 4px 0;
    color: rgba(23, 34, 31, 0.72);
    font-size: 16px;
  }

  .mobile-nav-foot {
    margin: 40px 0 0;
    color: rgba(23, 34, 31, 0.56);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--banner-height) + 112px) 22px 44px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(7, 11, 9, 0.12) 30%, rgba(7, 11, 9, 0.72) 100%);
  }

  .hero-slide img {
    object-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(38px, 10.8vw, 56px);
    line-height: 0.98;
  }

  .about-story {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-story-copy {
    padding: 74px 22px 58px;
  }

  .about-story-copy h2 {
    margin-bottom: 26px;
    font-size: clamp(42px, 12vw, 66px);
  }

  .about-story-media {
    min-height: 0;
    aspect-ratio: 2518 / 1566;
  }

  .about-story-media img {
    object-fit: contain;
  }

  .catalog-hero {
    padding-top: calc(var(--banner-height) + var(--header-height) + 58px);
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 13px;
  }

  .hero-slide:nth-child(1) img {
    object-position: 58% center;
  }

  .hero-slide:nth-child(2) img {
    object-position: 58% center;
  }

  .hero-slide:nth-child(3) img {
    object-position: 58% center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-slide:not(:first-child) {
    display: none;
  }
}
