:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --paper-deep: #f0e7da;
  --ink: #18201f;
  --muted: #68716d;
  --line: #ded3c3;
  --teal: #143f42;
  --teal-soft: #d9e6e2;
  --clay: #b87758;
  --moss: #687c55;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 32, 31, 0.12);
  --fs-brand: 0.95rem;
  --fs-nav: 0.9rem;
  --fs-eyebrow: 0.76rem;
  --fs-h1: 5.4rem;
  --fs-h2: 3rem;
  --fs-h3: 1.05rem;
  --fs-hero-copy: 1.2rem;
  --fs-section-copy: 1.06rem;
  --fs-button: 1rem;
  --fs-product-number: 2.1rem;
  --fs-card-copy: 0.88rem;
  --fs-quality-copy: 0.95rem;
  --fs-label: 0.82rem;
  --fs-small: 0.9rem;
  --lh-heading: 1.04;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Google Sans Flex", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

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

.skip-link {
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0.75rem;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(222, 211, 195, 0.72);
  display: flex;
  gap: 1.1rem;
  justify-content: space-between;
  min-height: 72px;
  padding: 1rem 5vw;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-brand);
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

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

.nav-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  font-size: var(--fs-nav);
  justify-content: flex-end;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 0.2rem 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--clay);
  color: var(--ink);
  outline: none;
}

.hero {
  min-height: 82svh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-mobile-image {
  display: none;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.86) 34%, rgba(251, 248, 242, 0.2) 64%, rgba(251, 248, 242, 0.04) 100%),
    linear-gradient(0deg, rgba(251, 248, 242, 0.3), rgba(251, 248, 242, 0));
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82svh;
  padding: 5rem 5vw 6rem;
  position: relative;
  width: min(640px, 100%);
}

.eyebrow {
  color: var(--clay);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.eyebrow,
h3,
dt {
  font-family: Georgia, "Times New Roman", serif;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: var(--lh-heading);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-h1);
  font-weight: 500;
  margin-bottom: 1.2rem;
  max-width: 10ch;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-h2);
  font-weight: 500;
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
}

.hero-copy {
  color: #34403d;
  font-size: var(--fs-hero-copy);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-button);
  font-weight: 500;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0d3033;
  border-color: #0d3033;
}

.button-secondary {
  background: rgba(251, 248, 242, 0.6);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
}

.section,
.manufacturing-band,
.contact-section {
  padding: 6.5rem 5vw;
}

.intro {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 3vw, 3.25rem);
  grid-template-columns: minmax(0, 600px) minmax(280px, 470px);
}

.intro > p,
.manufacturing-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: var(--fs-section-copy);
}

.intro > p {
  margin-top: 2.1rem;
}

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

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

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.product-card {
  background: var(--paper);
  background-image: url("assets/card-classic-soft-pack-selected.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 240px;
  padding: 1.45rem;
}

.product-card:nth-child(2) {
  background-image: url("assets/card-premium-touch-selected.png");
}

.product-card:nth-child(3) {
  background-image: url("assets/card-private-label-selected.png");
}

.product-number {
  color: var(--moss);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-product-number);
  margin-bottom: 2.75rem;
  position: relative;
}

.product-number::after {
  background: #c8ad82;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: calc(100% + 0.8rem);
  width: 48px;
}

.product-card p,
.quality-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.product-card p {
  font-size: var(--fs-card-copy);
  line-height: 1.42;
  max-width: 198px;
}

.quality-grid p {
  font-size: var(--fs-quality-copy);
}

.manufacturing-band {
  align-items: start;
  background: var(--teal);
  color: var(--white);
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
}

.manufacturing-band .eyebrow {
  color: #e1a17e;
}

.manufacturing-copy {
  max-width: 660px;
}

.manufacturing-copy p,
.process-list dd {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.process-list div {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem 0;
}

.process-list div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.process-list dt {
  font-size: var(--fs-h3);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.process-list dd {
  font-size: var(--fs-quality-copy);
  margin: 0;
}

.quality-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.quality-grid article {
  border-left: 2px solid var(--clay);
  padding: 0.2rem 1.2rem 0.2rem 1rem;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  min-height: calc(100svh - 72px);
}

.contact-copy {
  max-width: 610px;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.25rem;
}

.quote-form label {
  color: #39433f;
  display: grid;
  font-size: var(--fs-label);
  font-weight: 400;
  gap: 0.45rem;
}

input,
select,
textarea {
  background: #fffcf7;
  border: 1px solid #d8cbbb;
  border-radius: 5px;
  color: var(--ink);
  min-height: 46px;
  padding: 0.78rem 0.85rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #d8cbbb;
  box-shadow: none;
  outline: none;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-status {
  color: var(--moss);
  font-size: var(--fs-small);
  margin: 0;
  min-height: 1.4rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-small);
  font-weight: 500;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem 5vw;
}

.site-footer span:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

@media (max-width: 980px) {
  :root {
    --fs-h1: 4.1rem;
    --fs-h2: 2.4rem;
    --fs-hero-copy: 1.1rem;
    --fs-section-copy: 1rem;
  }

  .intro,
  .manufacturing-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro > p {
    margin-top: 0;
  }

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

@media (max-width: 720px) {
  :root {
    --fs-brand: 0.9rem;
    --fs-nav: 0.86rem;
    --fs-eyebrow: 0.72rem;
    --fs-h1: 2.9rem;
    --fs-h2: 2rem;
    --fs-h3: 1rem;
    --fs-hero-copy: 1rem;
    --fs-section-copy: 1rem;
    --fs-button: 0.98rem;
    --fs-product-number: 2rem;
    --fs-card-copy: 0.84rem;
    --fs-quality-copy: 0.94rem;
    --fs-small: 0.86rem;
    --lh-heading: 1.06;
  }

  html {
    scroll-padding-top: 110px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 104px;
    padding: 0.9rem 1rem;
  }

  .brand {
    white-space: normal;
  }

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

  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    background: var(--paper);
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-image,
  .hero-shade {
    display: none;
  }

  .hero-mobile-image {
    display: block;
    height: auto;
    margin: 0 auto 2rem;
    order: 2;
    width: min(calc(100% - 2rem), 420px);
  }

  .hero-content {
    min-height: auto;
    order: 1;
    justify-content: flex-start;
    padding: 2.4rem 1rem 1rem;
    width: 100%;
  }

  .section,
  .manufacturing-band,
  .contact-section {
    padding: 4.25rem 1rem;
  }

  .product-grid,
  .quality-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  :root {
    --fs-brand: 0.86rem;
    --fs-nav: 0.82rem;
    --fs-eyebrow: 0.7rem;
    --fs-h1: 2.55rem;
    --fs-h2: 1.85rem;
    --fs-hero-copy: 0.96rem;
    --fs-section-copy: 0.96rem;
    --fs-button: 0.95rem;
    --fs-card-copy: 0.82rem;
    --fs-quality-copy: 0.92rem;
    --fs-small: 0.82rem;
  }

  .nav-links {
    gap: 0.4rem 0.8rem;
  }

  .button {
    width: 100%;
  }

  .product-card {
    min-height: auto;
  }
}
