:root {
  color-scheme: light;
  --cream: #faf7ef;
  --ink: #263a2e;
  --green: #254b38;
  --muted: #505e51;
  --line: #dedfd0;
  --paper: #fffdf8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.62 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #8f4e2b; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.2rem; }
.shell { width: min(100% - 3rem, 1120px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 4; left: 1rem; top: 1rem; padding: .6rem 1rem; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--cream); border-bottom: 1px solid #e5e1d5; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 81px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: bold 1.04rem/1.12 var(--serif); }
.brand img { border-radius: 50%; object-fit: cover; }
nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); align-items: center; font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; }
.nav-about:hover { text-decoration: underline; }
.nav-cta { border: 1px solid #aebaae; padding: .52rem .95rem; border-radius: 2rem; white-space: nowrap; }
.nav-cta:hover { background: #ebefe3; }

.hero { background: linear-gradient(110deg, #f0ead9, #e9eddf 85%); border-bottom: 1px solid #dedfcf; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.14fr 1fr; align-items: center; min-height: 510px; gap: clamp(1.2rem, 3.5vw, 3.5rem); padding-block: 4rem; }
.eyebrow { font-size: .81rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #375342; margin: 0 0 .7rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(3rem, 5.8vw, 5.05rem); letter-spacing: -.055em; }
h1 em { color: #496644; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.75rem, 3vw, 2.28rem); letter-spacing: -.032em; }
.hero-description { color: var(--muted); font-size: clamp(1.03rem, 2vw, 1.16rem); max-width: 29rem; margin: 1.3rem 0 1.65rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .65rem 1.25rem; border-radius: 2rem; font-weight: 720; text-decoration: none; text-align: center; }
.button-primary { color: #fffdf7; background: var(--green); }
.button-primary:hover { background: #193a29; }

.hero-visual { min-width: 0; position: relative; width: min(100%, 470px); aspect-ratio: 1.18; justify-self: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 1% 10% 3% 7%; background: #dce5ce; border-radius: 52% 48% 46% 54%; transform: rotate(-12deg); z-index: -1; }
.hero-paper { position: absolute; width: 49%; height: auto; padding: 3.7%; background: #fffdf9; border: 1px solid #e2dacf; border-radius: 7px; box-shadow: 0 15px 27px #38453134; }
.paper-back { top: 8%; left: 12%; transform: rotate(-13deg); }
.paper-front { top: 11%; right: 13%; transform: rotate(12deg); }
.confetti { position: absolute; color: #aa6c48; font: 2.2rem/1 var(--serif); z-index: 1; user-select: none; }
.confetti-one { top: 6%; right: 3%; }
.confetti-two { bottom: 9%; left: 2%; }

.catalog { padding-block: clamp(3.5rem, 7vw, 5.4rem); }
.section-heading { text-align: center; margin: 0 auto 2rem; }
.section-heading p { color: var(--muted); margin: .6rem 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 3vw, 2rem); }
.product { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 9px 30px #3c49320c; }
.product-picture { position: relative; display: block; width: 100%; border: 0; padding: 1.25rem; cursor: zoom-in; overflow: hidden; }
.picture-forms { background: #ede8d5; }
.picture-holiday { background: #f0e3d9; }
.product-picture img { width: 100%; height: clamp(225px, 31vw, 355px); object-fit: contain; }
.product-picture span { position: absolute; right: .9rem; bottom: .9rem; padding: .36rem .75rem; border-radius: 2rem; color: var(--ink); background: var(--paper); box-shadow: 0 2px 12px #0002; font-size: .83rem; font-weight: 750; }
.product-picture:hover span { text-decoration: underline; }
.product-picture:focus-visible { outline-offset: -5px; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.3rem, 3vw, 2rem); }
.holiday-label { color: #843e2e; }
.product-body > p:not(.eyebrow), .about p { color: var(--muted); margin: .8rem 0; }
.product-body ul { margin: .55rem 0 1.4rem; padding-left: 1.25rem; }
.product-body li { padding: 0 0 .2rem .2rem; }
.product-body li::marker { color: #587b55; }
.product-action { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.product-action small { color: var(--muted); font-size: .83rem; }
.product-action .price { color: var(--green); margin: 0 0 .15rem; font-size: 1.4rem; font-weight: 750; line-height: 1.25; }

.kit-examples { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.kit-examples h4 { margin: 0 0 .55rem; font-size: 1.05rem; line-height: 1.35; }
.kit-examples > p { margin: 0 0 .8rem; color: var(--muted); font-size: .95rem; }
.sample-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .75rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: zoom-in;
}
.sample-tile { display: flex; flex-direction: column; gap: .42rem; font-size: .875rem; font-weight: 650; line-height: 1.36; }
.sample-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: .7rem; }
.card-samples .sample-tile img { aspect-ratio: 480 / 406; object-fit: contain; background: white; }
.sample-link { grid-column: 1 / -1; justify-self: start; color: var(--green); font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .19em; }
.sample-pair:hover .sample-link { text-decoration-thickness: 2px; }
.form-previews { margin-bottom: 1.2rem; }
.form-previews h4 { margin: 0 0 .65rem; font-size: 1.05rem; }
.form-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.form-preview-grid figure { min-width: 0; margin: 0; }
.form-preview-grid img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: .65rem; background: white; }
.form-preview-grid figcaption { margin-top: .35rem; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.form-preview-grid strong { display: block; margin-bottom: .12rem; color: var(--ink); }
.form-preview-link {
  margin-top: .65rem;
  padding: .4rem 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .19em;
  cursor: zoom-in;
}
#kit-formas { scroll-margin-top: 1rem; }

.vila-feature { padding-bottom: clamp(3rem, 6vw, 5rem); }
.vila-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.1rem, 4vw, 3.2rem);
  padding: clamp(1.25rem, 4.1vw, 3.4rem);
  border: 1px solid #e3dbc8;
  border-radius: 22px;
  background: #f1ebdd;
}
.vila-feature-copy > p:not(.eyebrow) { color: var(--muted); margin: .7rem 0 1.1rem; }
.sample-message { width: fit-content; padding-left: .9rem; border-left: 2px solid #aa6c48; }
.sample-message .sample-label { margin: 0 0 .2rem; color: var(--muted); font-size: .875rem; font-weight: 700; }
.sample-message p:last-child { margin: 0; font: italic 600 1.17rem/1.4 var(--serif); }
.vila-previews .sample-tile img { height: clamp(8.5rem, 18vw, 15rem); object-fit: contain; background: var(--paper); }

.about { background: #e9eee1; border-block: 1px solid #dce1d5; }
.about-inner { padding-block: 2.8rem; display: grid; grid-template-columns: auto minmax(0, 620px); justify-content: center; align-items: center; gap: clamp(1.1rem, 4vw, 2.7rem); }
.about img { object-fit: cover; border-radius: 50%; border: 4px solid var(--paper); }
.about p { margin-bottom: 0; }
.faq { max-width: 730px; padding-block: 3.7rem; }
.faq h2 { margin-bottom: 1.25rem; }
details { padding: .85rem 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .35rem 0 .2rem 1.15rem; color: var(--muted); }
.site-footer { background: #213c2e; color: #faf4e6; }
.footer-inner { min-height: 84px; font-size: .9rem; }
.site-footer a { text-underline-offset: .18em; }

dialog { width: min(92vw, 940px); max-height: 88dvh; padding: 0; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 17px; }
dialog::backdrop { background: #112219bb; }
.gallery-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.gallery-header h2 { font-size: clamp(1.3rem, 4vw, 2rem); }
.close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 1.55rem; cursor: pointer; }
.gallery-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; padding: 1rem; }
.gallery-content img { width: 100%; max-height: 70vh; object-fit: contain; margin-inline: auto; }

@media (max-width: 720px) {
  .shell { width: min(100% - 2rem, 530px); }
  .header-inner { min-height: 69px; }
  .nav-about { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 1.2rem; padding-block: 2.5rem 1.1rem; }
  .hero-visual { max-width: 370px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-action { align-items: stretch; text-align: center; }
  .form-preview-grid { grid-template-columns: 1fr; }
  .form-preview-grid figure { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: .65rem; align-items: center; }
  .form-preview-grid figcaption { margin-top: 0; }
  .vila-feature-inner { grid-template-columns: 1fr; }
  .vila-previews .sample-tile img { height: clamp(9rem, 34vw, 13rem); }
  .about-inner { grid-template-columns: 1fr; justify-items: start; }
  .about img { width: 102px; height: 102px; }
}
@media (max-width: 365px) {
  .brand { font-size: .89rem; gap: .42rem; }
  .brand img { width: 40px; height: 40px; }
  .nav-cta { padding-inline: .65rem; font-size: .8rem; }
  h1 { font-size: 2.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
