:root {
  --wool: #f6efe6;
  --cream: #fbf7f1;
  --foam: #fffdf9;
  --bark: #2c211c;
  --ink: #3f322c;
  --mute: #6d5e55;
  --line: rgba(44, 33, 28, 0.12);
  --clay: #b86a4b;
  --clay-deep: #9a5138;
  --sage: #5e7260;
  --sage-soft: #c9d4c4;
  --blush: #e7c3b6;
  --sand: #d4c4b0;
  --shadow: 0 18px 50px rgba(44, 33, 28, 0.1);
  --radius: 28px;
  --header: 76px;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(231, 195, 182, 0.35), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(201, 212, 196, 0.4), transparent 50%),
    var(--wool);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-tap-highlight-color: rgba(184, 106, 75, 0.18);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--bark);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 40px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(246, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bark);
}

.brand svg {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}

.brand-name small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after,
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--clay);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--bark);
  color: #f7f1e8;
}

.btn-primary:hover {
  background: #1c1411;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--bark);
}

.btn-ghost:hover {
  border-color: var(--bark);
}

.btn-clay {
  background: var(--clay);
  color: #fffaf5;
}

.btn-clay:hover {
  background: var(--clay-deep);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sage);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--bark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin: 16px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
}

.lead {
  max-width: 520px;
  font-size: 18px;
  color: var(--mute);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--mute);
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 40px 12px 40px 12px;
  box-shadow: var(--shadow);
}

.float-card {
  position: absolute;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.float-card.left {
  left: -18px;
  bottom: 48px;
  max-width: 220px;
}

.float-card.right {
  right: 18px;
  top: 28px;
}

.float-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.1;
}

.float-card span {
  font-size: 13px;
  color: var(--mute);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px 0 8px;
}

.trust-item {
  background: rgba(255, 253, 249, 0.65);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.trust-item b {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--bark);
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 48px);
}

.section-head p {
  max-width: 420px;
  color: var(--mute);
  margin: 0;
}

.materials {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.materials img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.material-list {
  display: grid;
  gap: 14px;
}

.material {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.material h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.material p {
  margin: 0;
  color: var(--mute);
}

.grid-3,
.grid-4,
.products-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.product-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-art {
  position: relative;
  height: 240px;
  background-color: var(--c1, #e8d5c4);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.45), transparent 42%),
    repeating-linear-gradient(90deg, rgba(44, 33, 28, 0.08) 0 9px, transparent 9px 18px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 7px, transparent 7px 14px);
}

.product-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.product-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 8px,
      rgba(44, 33, 28, 0.05) 8px 9px
    );
  mix-blend-mode: multiply;
}

.product-art .badge {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 14px;
  background: rgba(255, 253, 249, 0.92);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 26px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--mute);
  font-size: 13px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price-ask {
  font-size: 14px;
  font-weight: 600;
  color: var(--mute);
}

.price {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--bark);
}

.swatches {
  display: flex;
  gap: 6px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(44, 33, 28, 0.2);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.story img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps-2 {
  grid-template-columns: 1fr 1fr;
}

.step {
  padding: 22px;
  background: rgba(255, 253, 249, 0.7);
  border-radius: 22px;
  border: 1px solid var(--line);
}

.step .num {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--clay);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  border-radius: 32px;
  background: var(--bark);
  color: #f4ebe1;
}

.cta-band > div {
  padding: 42px;
}

.cta-band h2,
.cta-band p {
  color: inherit;
}

.cta-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.page-hero {
  padding: 48px 0 12px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 10px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.chip,
.filter-btn {
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
}

.filter-btn.active,
.chip.active {
  background: var(--bark);
  color: #f7f1e8;
  border-color: var(--bark);
}

.search {
  margin-left: auto;
  min-width: 220px;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 999px;
  padding: 10px 14px;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.form {
  position: sticky;
  top: 96px;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 16px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.palette button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.palette button.selected {
  border-color: var(--bark);
  box-shadow: 0 0 0 3px rgba(44, 33, 28, 0.12);
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.notice {
  background: #f3ece3;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--mute);
  white-space: pre-wrap;
}

.notice.ok {
  background: #e6efe6;
  color: #35543a;
}

.notice.err {
  background: #f3e4de;
  color: #7a3e3e;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(44, 33, 28, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.modal.open {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

.modal-card {
  width: min(720px, 100%);
  background: var(--foam);
  border-radius: 28px;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-art {
  height: 220px;
}

.modal-body {
  padding: 24px;
}

.seo-list {
  color: var(--mute);
  line-height: 1.7;
}

.site-footer {
  margin-top: 40px;
  padding: 36px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 12px;
}

.portrait {
  position: relative;
}

.portrait img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: top center;
  border-radius: 40px 12px 40px 12px;
  box-shadow: var(--shadow);
}

.portrait figcaption {
  margin-top: 12px;
  color: var(--mute);
  font-size: 14px;
}

.quote {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--clay);
  background: rgba(255, 253, 249, 0.7);
  border-radius: 0 20px 20px 0;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.35;
  color: var(--bark);
}

@media (max-width: 960px) {
  .hero,
  .materials,
  .story,
  .cta-band,
  .order-layout,
  .about-hero,
  .footer-grid,
  .trust,
  .steps,
  .steps-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .story img,
  .materials img,
  .portrait img {
    height: 360px;
  }

  .products-grid,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .float-card.left {
    left: 12px;
  }

  .form {
    position: static;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: calc(var(--header) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta .btn-primary {
    display: none;
  }

  .search {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .float-card {
    display: none;
  }

  .products-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 280px;
    border-radius: 24px;
  }

  .section {
    padding: 48px 0;
  }
}
