:root {
  --ink: #1c1916;
  --paper: #efe7dc;
  --paper-soft: #f6eee6;
  --dark: #181410;
  --dark-soft: #252019;
  --muted: #6b635a;
  --muted-dark: #9e968d;
  --line: rgba(54, 43, 34, 0.18);
  --line-dark: rgba(255, 245, 232, 0.14);
  --accent: #b16f42;
  --accent-light: #d7a66f;
  --sage: #626b56;
  --container: min(1180px, calc(100vw - 44px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --type-hero: clamp(52px, 8vw, 106px);
  --type-section: clamp(38px, 4.2vw, 60px);
  --type-subsection: clamp(32px, 3vw, 42px);
  --type-card: 28px;
  --type-card-compact: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  margin: 0 auto;
  width: var(--container);
}

.site-header {
  align-items: center;
  color: #f7efe4;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 26px max(22px, calc((100vw - 1180px) / 2)) 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  filter: invert(94%) sepia(10%) saturate(180%) brightness(104%) contrast(96%);
  flex: 0 0 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.96;
  width: 72px;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: rgba(247, 239, 228, 0.52);
  display: block;
  font-size: 13px;
  letter-spacing: 0.28em;
  margin-top: 8px;
  text-transform: uppercase;
}

.site-header .brand {
  gap: 20px;
}

.site-header .brand-logo {
  filter: invert(94%) sepia(10%) saturate(180%) brightness(108%) contrast(104%);
  flex-basis: 192px;
  height: 192px;
  opacity: 1;
  width: 192px;
}

.site-header .brand strong {
  font-size: 28px;
}

.site-header .brand-history {
  align-items: center;
  color: rgba(247, 239, 228, 0.72);
  display: flex;
  font-size: 14px;
  gap: 10px;
  letter-spacing: 0.16em;
  margin-top: 10px;
  white-space: nowrap;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-links a,
.footer nav a {
  border-radius: 8px;
  color: rgba(247, 239, 228, 0.82);
  font-size: 16px;
  padding: 10px 12px;
}

.nav-links a {
  color: rgba(247, 239, 228, 0.9);
  font-size: 18px;
  font-weight: 600;
}

.nav-links a:hover,
.footer nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-cta {
  background: rgba(177, 111, 66, 0.5);
  border: 1px solid rgba(255, 245, 232, 0.16);
}

.section-dark {
  background: var(--dark);
  color: #f6eee6;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(24, 20, 16, 0.94), rgba(24, 20, 16, 0.58) 46%, rgba(24, 20, 16, 0.08)),
    url("public/assets/hero-oak-sunset.webp");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-bg::after {
  background: radial-gradient(circle at 20% 15%, rgba(215, 166, 111, 0.18), transparent 36%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-inner {
  min-height: 100vh;
  padding: 220px 0 92px;
  position: relative;
  z-index: 1;
}

.section-kicker,
.section-label {
  color: var(--accent-light);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1.5;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.section-kicker {
  align-items: center;
  display: flex;
  gap: 14px;
}

.section-kicker span {
  background: currentColor;
  display: inline-block;
  height: 1px;
  width: 48px;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: var(--type-hero);
  line-height: 0.98;
  margin-bottom: 34px;
  max-width: 690px;
}

h2 {
  font-size: var(--type-section);
  line-height: 1.08;
  margin-bottom: 26px;
}

em {
  color: var(--accent-light);
  font-style: italic;
}

.section-light em {
  color: var(--accent);
}

.hero-copy {
  color: rgba(247, 239, 228, 0.74);
  font-size: 22px;
  line-height: 1.72;
  max-width: 560px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
}

.button,
.text-link {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.link-arrow {
  fill: none;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 160ms ease;
  width: 18px;
}

.button:hover .link-arrow,
.text-link:hover .link-arrow {
  transform: translateX(3px);
}

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  min-height: 58px;
  padding: 16px 28px;
}

.button-primary {
  background: #9f5f38;
  color: #fff6ea;
}

.button-primary:hover {
  background: #8f4f2f;
}

.text-link {
  border-bottom: 1px solid var(--accent-light);
  color: #f5eadb;
  font-weight: 800;
  min-height: 42px;
}

.hero-note {
  bottom: 34px;
  color: rgba(247, 239, 228, 0.55);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.24em;
  position: absolute;
  right: 0;
  text-align: right;
  text-transform: uppercase;
}

.about,
.why,
.partners {
  padding: clamp(76px, 9vw, 128px) 0;
}

.two-column {
  align-items: center;
  display: grid;
  gap: clamp(44px, 8vw, 88px);
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
}

.copy-block p:not(.section-label),
.section-heading p:not(.section-label) {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
  max-width: 680px;
}

.copy-block p + p {
  margin-top: 22px;
}

.stats-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  padding-top: 34px;
}

.stats-grid strong,
.partner-stats strong {
  color: var(--accent);
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  display: block;
  font-size: 18px;
  line-height: 1.45;
  margin-top: 12px;
}

.partner-stats span {
  color: rgba(246, 238, 230, 0.58);
  display: block;
  font-size: 18px;
  line-height: 1.45;
  margin-top: 12px;
}

.about-image {
  background: #eee7dc;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.about-image img {
  aspect-ratio: 0.84;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.products {
  padding: clamp(82px, 10vw, 132px) 0;
}

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

.why .section-heading {
  max-width: none;
}

.products .section-heading {
  max-width: none;
}

.partners .section-heading {
  max-width: none;
}

.why .section-heading p,
.partners .section-heading p {
  max-width: 100%;
}

.section-dark .section-heading p:not(.section-label),
.section-dark .product-card p {
  color: rgba(246, 238, 230, 0.58);
}

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

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

.product-card img {
  aspect-ratio: 1.35;
  filter: saturate(0.9) contrast(1.03);
  height: clamp(300px, 30vw, 390px);
  object-fit: contain;
  width: 100%;
}

.product-card .product-card-image-cross {
  background: #eee7dc;
}

.product-card .product-card-image-urn {
  background: #eee7dc;
}

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

.product-card h3 {
  font-family: var(--serif);
  font-size: var(--type-card);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 18px;
}

.product-card p {
  font-size: 18px;
  line-height: 1.7;
}

.product-card small {
  color: var(--accent-light);
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-top: 24px;
  text-transform: uppercase;
}

.cross-catalog {
  border-top: 1px solid var(--line-dark);
  margin-top: 76px;
  padding-top: 68px;
}

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

.cross-catalog-heading .section-label {
  margin-bottom: 16px;
}

.cross-catalog-heading h3 {
  color: #f5eee5;
  font-family: var(--serif);
  font-size: var(--type-subsection);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

.cross-size-note {
  color: rgba(246, 238, 230, 0.62);
  font-size: 17px;
  line-height: 1.5;
  margin: 14px 0 0;
}

.cross-size-note strong {
  color: var(--accent-light);
  font-weight: 800;
  margin-left: 8px;
}

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

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

.cross-gallery {
  aspect-ratio: 3 / 4;
  background: #eee7dc;
  overflow: hidden;
  position: relative;
}

.cross-gallery-main {
  height: 100%;
  object-fit: contain;
  transition: opacity 160ms ease;
  width: 100%;
}

.cross-gallery-options {
  background: rgba(21, 17, 14, 0.88);
  border: 1px solid rgba(255, 245, 232, 0.2);
  border-radius: 6px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  padding: 6px;
  position: absolute;
  right: 12px;
}

.cross-gallery-option {
  background: #eee7dc;
  border: 1px solid rgba(255, 245, 232, 0.28);
  border-radius: 4px;
  cursor: pointer;
  height: 56px;
  overflow: hidden;
  padding: 0;
  width: 42px;
}

.cross-gallery-option:hover,
.cross-gallery-option:focus-visible,
.cross-gallery-option.is-active {
  border-color: var(--accent-light);
}

.cross-gallery-option:focus-visible {
  outline: 2px solid #f5eee5;
  outline-offset: 2px;
}

.cross-gallery-option img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.small-cross-catalog .cross-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cross-height-badge {
  background: rgba(21, 17, 14, 0.88);
  border: 1px solid rgba(255, 245, 232, 0.2);
  border-radius: 6px;
  color: var(--accent-light);
  font-size: 16px;
  font-weight: 800;
  left: 12px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  pointer-events: none;
  position: absolute;
  top: 12px;
}

.cross-card-copy {
  padding: 24px;
}

.cross-card-copy h4 {
  color: #f5eee5;
  font-family: var(--serif);
  font-size: var(--type-card-compact);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.cross-card-copy p {
  color: rgba(246, 238, 230, 0.58);
  font-size: 16px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.cross-card-copy .cross-material {
  color: var(--accent-light);
  font-weight: 700;
}

.cross-card-copy .cross-material + p {
  margin-top: 4px;
}

.urn-catalog {
  border-top: 1px solid var(--line-dark);
  margin-top: 76px;
  padding-top: 68px;
}

.urn-catalog-heading {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 34px;
}

.urn-catalog-heading .section-label {
  margin-bottom: 16px;
}

.urn-catalog-heading h3 {
  color: #f5eee5;
  font-family: var(--serif);
  font-size: var(--type-subsection);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

.urn-catalog-heading > p {
  color: rgba(246, 238, 230, 0.58);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.urn-catalog-heading > p {
  max-width: none;
}

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

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

.urn-gallery {
  aspect-ratio: 4 / 5;
  background: #15120f;
  overflow: hidden;
  position: relative;
}

.urn-gallery-main {
  filter: saturate(0.9) contrast(1.02);
  height: 100%;
  object-fit: cover;
  transition: opacity 160ms ease;
  width: 100%;
}

.urn-gallery-options {
  background: rgba(21, 17, 14, 0.86);
  border: 1px solid rgba(255, 245, 232, 0.2);
  border-radius: 6px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  padding: 6px;
  position: absolute;
  right: 12px;
}

.urn-gallery-option {
  background: transparent;
  border: 1px solid rgba(255, 245, 232, 0.28);
  border-radius: 4px;
  cursor: pointer;
  height: 54px;
  overflow: hidden;
  padding: 0;
  width: 44px;
}

.urn-gallery-option:hover,
.urn-gallery-option:focus-visible,
.urn-gallery-option.is-active {
  border-color: var(--accent-light);
}

.urn-gallery-option:focus-visible {
  outline: 2px solid #f5eee5;
  outline-offset: 2px;
}

.urn-gallery-option img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.urn-card-copy {
  padding: 24px;
}

.urn-card-copy span {
  color: var(--accent-light);
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.urn-card-copy h4 {
  color: #f5eee5;
  font-family: var(--serif);
  font-size: var(--type-card-compact);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.urn-card-copy span + h4 {
  margin-top: 14px;
}

.urn-card-copy p {
  color: rgba(246, 238, 230, 0.56);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.partner-stats {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  margin: 72px auto 50px;
  max-width: 980px;
  text-align: center;
}

.partner-stats strong {
  font-size: clamp(44px, 6vw, 68px);
}

.partner-note {
  color: rgba(246, 238, 230, 0.64);
  font-size: 20px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

.contact {
  padding: clamp(78px, 9vw, 124px) 0;
}

.contact-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.contact-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 0;
  padding-top: 32px;
}

.contact-list dt {
  color: var(--accent);
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.contact-list dd {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
}

.footer {
  background: #15110e;
  color: rgba(246, 238, 230, 0.72);
  padding: 42px 0;
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer .brand small {
  display: none;
}

.footer .brand {
  gap: 18px;
}

.footer .brand-logo {
  filter: invert(94%) sepia(10%) saturate(180%) brightness(108%) contrast(104%);
  flex-basis: 192px;
  height: 192px;
  opacity: 1;
  width: 192px;
}

.footer .brand strong {
  color: rgba(246, 238, 230, 0.9);
  font-size: 22px;
  font-weight: 600;
}

.footer nav {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
}

.footer p {
  color: rgba(246, 238, 230, 0.54);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    position: absolute;
  }

  .nav-links {
    gap: 6px;
    justify-content: flex-end;
    max-width: 480px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 16px;
    padding: 9px 10px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

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

  .urn-catalog-heading {
    align-items: start;
    gap: 20px;
    grid-template-columns: 1fr;
  }

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

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

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

  .product-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) 1fr;
  }

  .product-card img {
    height: 100%;
    min-height: 286px;
  }

  .partner-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    padding: 18px 14px 0;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 11px;
  }

  .brand-logo {
    flex-basis: 54px;
    height: 54px;
    width: 54px;
  }

  .site-header .brand {
    gap: 12px;
  }

  .site-header .brand-logo {
    flex-basis: 132px;
    height: 132px;
    width: 132px;
  }

  .site-header .brand strong {
    font-size: 22px;
  }

  .site-header .brand-history {
    font-size: 11px;
    gap: 7px;
    letter-spacing: 0.1em;
    margin-top: 7px;
  }

  .footer .brand-logo {
    flex-basis: 132px;
    height: 132px;
    width: 132px;
  }

  .footer .brand strong {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-bg {
    background-image:
      linear-gradient(90deg, rgba(24, 20, 16, 0.94), rgba(24, 20, 16, 0.58) 46%, rgba(24, 20, 16, 0.08)),
      url("public/assets/hero-oak-sunset-960.webp");
    background-position: 72% center;
  }

  .hero-inner {
    padding: 150px 0 72px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy,
  .copy-block p:not(.section-label),
  .section-heading p:not(.section-label),
  .contact-copy p {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .hero-note {
    position: static;
    text-align: left;
    margin-top: 42px;
  }

  .stats-grid,
  .product-card,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .product-card img {
    aspect-ratio: 1.35;
    height: clamp(260px, 72vw, 340px);
    min-height: 0;
  }

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

  .urn-catalog {
    margin-top: 58px;
    padding-top: 52px;
  }

  .cross-catalog {
    margin-top: 58px;
    padding-top: 52px;
  }

  .cross-catalog-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .cross-catalog-heading h3 {
    font-size: 34px;
  }

  .cross-grid {
    grid-template-columns: 1fr;
  }

  .small-cross-catalog .cross-grid {
    grid-template-columns: 1fr;
  }

  .cross-card-copy {
    min-height: 0;
  }

  .urn-catalog-heading h3 {
    font-size: 34px;
  }

  .urn-grid {
    grid-template-columns: 1fr;
  }

  .contact-list {
    gap: 24px;
  }

}

.is-zoomable {
  cursor: zoom-in;
}

.is-zoomable:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: -2px;
}

body.has-lightbox {
  overflow: hidden;
}

.lightbox {
  align-items: center;
  background: rgba(15, 12, 10, 0.94);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 40px 72px;
  position: fixed;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  background: #eee7dc;
  border-radius: 4px;
  cursor: zoom-out;
  max-height: 92vh;
  max-width: min(92vw, 860px);
  object-fit: contain;
}

.lightbox-control {
  background: rgba(37, 32, 25, 0.9);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: #f5eee5;
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  min-height: 48px;
  min-width: 48px;
  position: absolute;
}

.lightbox-control:hover,
.lightbox-control:focus-visible {
  border-color: var(--accent-light);
  color: #fff8ef;
}

.lightbox-control:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.lightbox-close {
  right: 20px;
  top: 20px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  .lightbox {
    padding: 64px 16px 88px;
  }

  .lightbox-prev,
  .lightbox-next {
    bottom: 20px;
    top: auto;
    transform: none;
  }
}
