:root {
  --paper: #f7f1e7;
  --warm-paper: #ead8be;
  --ink: #28221d;
  --soft-ink: #695344;
  --gold: #c98d35;
  --gold-dark: #8d642b;
  --moss: #33463f;
  --mist: #e7e8df;
  --white: #fffdf8;
  --line: rgba(80, 57, 35, 0.18);
  --shadow: 0 24px 70px rgba(53, 34, 18, 0.24);
  color-scheme: light;
  font-family: "Avenir Next", Avenir, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(24, 18, 14, 0.64), rgba(24, 18, 14, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
}

nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
}

nav a {
  text-decoration: none;
  opacity: 0.86;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 86px) 8vh;
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -3;
  background-image: url("assets/product-home-warm.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(22, 17, 13, 0.76), rgba(22, 17, 13, 0.32) 48%, rgba(22, 17, 13, 0.12)),
    linear-gradient(180deg, rgba(22, 17, 13, 0.28), rgba(22, 17, 13, 0.1) 45%, rgba(247, 241, 231, 0.92));
}

.hero__content {
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 9.4rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

p {
  line-height: 1.7;
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions,
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  color: #211812;
  background: var(--gold);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.5);
  background: rgba(255, 253, 248, 0.06);
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.intro {
  background: linear-gradient(180deg, var(--paper), var(--mist));
}

.intro__grid,
.uses__grid,
.quote__grid,
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.intro p:not(.eyebrow),
.quote p {
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.section--ink {
  color: var(--white);
  background: var(--moss);
}

.section--ink h2 {
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article {
  min-height: 240px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.06);
}

.feature-grid span,
.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 2.2rem;
}

.feature-grid p {
  color: rgba(255, 253, 248, 0.72);
}

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

figure {
  margin: 0;
}

.gallery-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(76, 50, 27, 0.1);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 16px 18px 18px;
  color: var(--soft-ink);
  font-weight: 700;
}

.uses {
  background: linear-gradient(135deg, #fffdf8, #e8eadf);
}

.occasion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.occasion-list li {
  border-left: 3px solid var(--gold);
  padding: 12px 0 12px 18px;
  color: var(--soft-ink);
  font-weight: 700;
  background: rgba(255, 253, 248, 0.42);
}

.section--paper {
  background: #f4eadb;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.steps p,
.faq-list p {
  color: var(--soft-ink);
}

.quote {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(40, 34, 29, 0.94), rgba(40, 34, 29, 0.84)),
    url("assets/product-portrait-warm.jpg") center / cover;
}

.quote h2,
.quote p,
.quote .email-link {
  color: var(--white);
}

.email-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 253, 248, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.86rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.1);
  font: inherit;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 253, 248, 0.46);
}

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

.form-note {
  margin: -4px 0 0;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.86rem;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

summary {
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 30px clamp(20px, 5vw, 72px);
  color: rgba(255, 253, 248, 0.78);
  background: var(--ink);
}

.footer__inner {
  justify-content: space-between;
}

.footer__inner span {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  color: var(--white);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .site-header {
    padding-top: 14px;
  }

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

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(22, 17, 13, 0.32), rgba(22, 17, 13, 0.38) 34%, rgba(22, 17, 13, 0.74)),
      linear-gradient(180deg, rgba(22, 17, 13, 0), rgba(247, 241, 231, 0.88));
  }

  .intro__grid,
  .uses__grid,
  .quote__grid,
  .faq__grid,
  .feature-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .occasion-list,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    aspect-ratio: 1.05;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 1rem;
  }

  h1 {
    font-size: 4rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
