@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f4;
  --ink: #182c22;
  --green: #174432;
  --leaf: #356446;
  --muted: #4f5e52;
  --line: #dadfd3;
  --white: #fffef9;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.4vw, 5.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
section[id] { scroll-margin-top: 1.5rem; }

:focus-visible {
  outline: 2px solid #537651;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 1rem auto auto 1rem;
  padding: .75rem 1rem;
  background: var(--white);
  transform: translateY(calc(-100% - 2rem));
}

.skip-link:focus { transform: none; }

.container {
  width: min(100% - var(--gutter) * 2, 78rem);
  margin-inline: auto;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.75rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  color: var(--green);
  text-decoration: none;
}

.brand img { width: 2.35rem; height: auto; }

.brand span {
  font-size: 1.19rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.brand small {
  display: block;
  margin-top: .3rem;
  font-size: .61rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.4vw, 3rem);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover, .text-link:hover, .product-link:hover { text-decoration: underline; text-underline-offset: .24em; }
.site-nav .nav-catalog { display: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  min-height: 3.25rem;
  padding: .7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: #285b41; }
.button-outline { border-color: #bcc9b9; color: var(--green); }
.button-outline:hover { background: #eef1e7; border-color: #869a84; }
.header-action { justify-self: end; min-height: 2.75rem; padding-inline: 1.05rem; font-size: .86rem; }

.hero {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(2.25rem, 4.3vw, 4.25rem);
  align-items: center;
  padding-block: clamp(2rem, 4.2vw, 4.25rem) clamp(1.75rem, 3.3vw, 3rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--leaf);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.eyebrow span { width: 1.25rem; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; }

h1 {
  margin-top: 1.05rem;
  font-size: clamp(4.25rem, 7.8vw, 8rem);
  line-height: .93;
}

h1 em, .about h2 em { display: block; }
h1 em { color: var(--leaf); }
h2 { font-size: clamp(3.35rem, 5.6vw, 5.75rem); line-height: .97; }

.hero-description {
  max-width: 28rem;
  margin-block: 1.5rem 1.75rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.13;
  border-radius: 1.25rem;
  background: #777641;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}

.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.assurance li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .35rem .9rem;
}

.assurance li + li { border-inline-start: 1px solid var(--line); }
.assurance .icon { width: 1.55rem; height: 1.55rem; color: var(--leaf); }
.assurance strong, .assurance span { display: block; }
.assurance strong { font-size: .95rem; }
.assurance span { color: var(--muted); font-size: .85rem; }

.catalog { padding-block: clamp(4.25rem, 7vw, 7rem); }

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 1.25rem 2rem;
  margin-bottom: 1.45rem;
}

.section-heading h2, .about h2, .contact h2 { margin-top: .65rem; }
.section-heading > p { max-width: 27rem; padding-bottom: .25rem; color: var(--muted); }

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

.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.product-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1.85;
  padding: 1.5rem;
}

.product-visual-sage { background: radial-gradient(ellipse at 50% 28%, #edf1e7, #dce5d5 80%); }
.product-visual-sand { background: radial-gradient(ellipse at 50% 28%, #f7f0df, #eae1cb 80%); }
.product-visual img { width: auto; height: clamp(10rem, 18vw, 16.5rem); object-fit: contain; }

.product-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .15rem 1rem;
  padding: 1.4rem clamp(1rem, 2.2vw, 2rem) 1.5rem;
}

.product-copy p, .product-copy h3 { grid-column: 1; }
.product-copy .product-brand {
  color: var(--leaf);
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.product-copy h3 { font-size: clamp(2.55rem, 4vw, 3.75rem); line-height: .98; }

.product-copy h3 span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font: .94rem/1.4 var(--body);
  letter-spacing: normal;
}

.product-link, .text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  min-height: 2.75rem;
  color: var(--green);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}

.product-link {
  grid-area: 1 / 2 / 3;
  padding: .5rem .85rem;
  border: 1px solid #cbd6c8;
  border-radius: 100vmax;
}

.product-link .icon { width: 1rem; height: 1rem; }
.product-link:hover { background: #eff3ea; }

.marketplace-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: .88rem;
}

.marketplace-note .icon { margin-top: .05rem; }

.about {
  background: linear-gradient(100deg, #245540, #143c2c 68%);
  color: #f5f8ed;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 5vw, 5.5rem);
  align-items: center;
  padding-block: clamp(3.75rem, 7.5vw, 7.75rem);
}

.about :focus-visible { outline-color: #d8e7b5; }
.about .eyebrow, .about h2 em { color: #d1e1a7; }
.about .text-link { color: #f5f8ed; }
.about-copy { max-width: 31rem; color: #e1eddf; }
.about-copy p + p { margin-top: .85rem; }
.about-copy .text-link { margin-top: .5rem; }

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 2.75rem;
  padding-block: clamp(3.75rem, 6vw, 6.25rem);
}

.contact p:not(.eyebrow) { color: var(--muted); }
.contact h2 + p { max-width: 29rem; margin-top: .85rem; }
.contact-action p { max-width: 20rem; margin-top: .65rem; font-size: .88rem; }
.contact-action .button { overflow-wrap: anywhere; max-width: 100%; }

.site-footer { border-top: 1px solid var(--line); background: #eeefe7; }
.footer-main, .footer-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-main { gap: .75rem 2rem; padding-block: 1.5rem; }
.footer-legal { gap: .45rem 1.75rem; border-top: 1px solid var(--line); padding-block: 1.1rem; color: var(--muted); font-size: .84rem; }

.error-page { display: grid; min-height: 100svh; place-items: center; background: radial-gradient(ellipse at 50% 40%, #e9efe1, var(--paper) 75%); }
.error-card { padding-block: 3rem; text-align: center; }
.error-card img { width: 3.25rem; height: auto; margin: 0 auto 1.5rem; }
.error-card h1 { font-size: clamp(3.75rem, 7.5vw, 6rem); }
.error-card p { margin: 1.1rem auto 1.5rem; color: var(--muted); }

@media (max-width: 60rem) {
  .header-inner { column-gap: 1.2rem; }
  .hero { gap: 1.75rem; }
  h1 { font-size: clamp(3.75rem, 8.25vw, 5.65rem); }
  .product-copy { row-gap: .35rem; }
  .product-link { grid-area: 3 / 1; margin-top: .35rem; }
}

@media (max-width: 43rem) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-action { display: none; }
  .site-nav .nav-catalog { display: inline-flex; }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .86rem; }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  h1 { font-size: clamp(3.85rem, 12vw, 5.75rem); }
  .hero-copy { max-width: 30rem; }
  .hero-visual { aspect-ratio: 1.28; border-radius: 1rem; }
  .hero-description { margin-block: 1.1rem 1.3rem; }
  .assurance { padding-block: .1rem; grid-template-columns: 1fr; }
  .assurance li { justify-content: flex-start; padding: .8rem .25rem; }
  .assurance li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .section-heading, .about-inner, .contact { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 1.35rem; }
  .section-heading > p { padding: 0; }
  .product-grid { gap: .9rem; }
  .product-copy { grid-template-columns: 1fr; }
  .product-visual { aspect-ratio: 1.2; padding: 1rem; }
  .product-visual img { height: clamp(7.75rem, 25vw, 10rem); }
}

@media (max-width: 32rem) {
  .header-inner { min-height: 4.4rem; }
  .brand { gap: .45rem; }
  .brand img { width: 1.9rem; }
  .brand span { font-size: 1.02rem; }
  .brand small { margin-top: .25rem; font-size: .54rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { aspect-ratio: 1.65; }
  .product-visual img { height: clamp(9rem, 43vw, 13rem); }
}

@media (max-width: 23rem) {
  .header-inner { column-gap: .5rem; }
  .site-nav { gap: .6rem; }
  .site-nav a { font-size: .8rem; }
  .hero h1 { font-size: 3.55rem; }
}

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