/* Patch House Decor — see DESIGN.md */
:root {
  --linen: #F4F1EA;
  --paper: #FFFDF8;
  --moss: #4D5A23;
  --moss-dark: #3A4419;
  --moss-soft: #DDE0CB;
  --berry: #B4233C;
  --berry-dark: #8F1A2F;
  --gold: #C9A14A;
  --petal: #F3C7CC;
  --wood: #B98A55;
  --ink: #2A281F;
  --muted: #5C5848;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;
  --r: 6px;
  --shadow: 0 1px 2px rgba(42,40,31,.08), 0 6px 18px rgba(42,40,31,.10);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--berry-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--moss-dark); line-height: 1.15; margin: 0 0 var(--s2); font-weight: 700; letter-spacing: -.01em; }
h1, h2, h3 { text-wrap: balance; }
p, blockquote { text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s2); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 66ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: var(--s1) var(--s2); z-index: 10; }
.skip:focus { left: var(--s2); }

/* spaced crimson italic, like the banner tagline */
.label { font-style: italic; color: var(--berry); letter-spacing: .18em; font-size: .95rem; margin-bottom: var(--s1); display: block; }

/* gold chain stitch */
.stitch { height: 10px; border: 0; margin: 0; background: radial-gradient(circle at 5px 5px, transparent 2px, var(--gold) 2.4px, var(--gold) 3.4px, transparent 3.8px) 0 0 / 11px 10px repeat-x; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .6em 1.3em; border-radius: var(--r); background: var(--berry); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; border: 2px solid var(--berry); transition: background .15s, color .15s; }
.btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--moss-dark); border-color: var(--moss); }
.btn.ghost:hover { background: var(--moss); color: #fff; }
.btn.light { background: var(--paper); color: var(--moss-dark); border-color: var(--paper); }
.btn.light:hover { background: var(--petal); border-color: var(--petal); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

/* header */
.site-head { background: var(--linen); position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-block: .6rem; }
/* the banner lettering, framed as a sewn-on fabric label */
.brand, .foot-brand .wm { display: block; flex: none; background: #EDECEB; padding: 3px 4px; border-radius: var(--r); box-shadow: 0 0 0 4px #EDECEB, 0 0 0 5.5px var(--gold); outline: 1.5px dashed var(--gold); outline-offset: -1px; }
.brand { width: 200px; margin: 6px 0 6px 6px; }
.brand img { width: 100%; }
.brand:hover { box-shadow: 0 0 0 4px #EDECEB, 0 0 0 5.5px var(--berry); }
.nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; font: inherit; font-size: 1rem; color: var(--moss-dark); background: transparent; border: 2px solid var(--moss); border-radius: var(--r); cursor: pointer; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); box-shadow: var(--shadow); }
.site-nav ul { list-style: none; margin: 0; padding: var(--s1) 1.25rem var(--s2); }
.site-nav a { display: block; padding: .7rem 0; color: var(--ink); text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid var(--moss-soft); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--berry); }
.site-nav .nav-etsy a { color: var(--berry); font-weight: 700; border: 0; }
@media (min-width: 900px) {
  .brand { width: 250px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; background: none; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.6rem; padding: 0; }
  .site-nav a { border: 0; padding: .35rem 0; font-size: 1.02rem; }
  .site-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--berry); }
  .site-nav .nav-etsy a { padding: .45rem 1rem; border: 2px solid var(--berry); border-radius: var(--r); }
  .site-nav .nav-etsy a:hover { background: var(--berry); color: #fff; }
}

/* arched "door" frame for each piece */
.door { position: relative; padding: 7px; border: 2px dashed var(--gold); border-radius: 999px 999px 10px 10px; background: var(--paper); }
.door img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 6px 6px; background: #F0EEEA; }

/* craft-show hang tag */
.tag { position: absolute; right: -6px; bottom: 14%; background: var(--paper); color: var(--ink); padding: .35rem .8rem .35rem 1.35rem; font-weight: 700; font-size: 1.05rem; line-height: 1.2; box-shadow: var(--shadow); clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); transform: rotate(-5deg); }
.tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 1.5px var(--gold); }
.tag small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); font-style: italic; }

/* ---------- home: opening ---------- */
.opening { padding: var(--s4) 0 var(--s5); position: relative; overflow: hidden; }
.opening .wrap { display: grid; gap: var(--s4); align-items: center; }
.opening h1 { font-style: italic; font-weight: 600; color: var(--moss-dark); }
.opening h1 .quote-mark { color: var(--berry); }
.opening .by { font-size: 1.05rem; color: var(--muted); margin-top: -.4rem; }
.opening .lede { font-size: 1.2rem; max-width: 34ch; }
.cluster { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: .9rem; align-items: end; max-width: 620px; margin-inline: auto; width: 100%; }
.cluster .door:nth-child(1) { margin-bottom: 2.5rem; }
.cluster .door:nth-child(3) { margin-bottom: 4rem; }
/* Karen's hoop sits in the space under the raised left door, not over a wreath */
.cluster { margin-bottom: 3.5rem; }
.cluster .hoop-sm { position: absolute; left: 0; bottom: -3.5rem; width: 27%; }
.cluster .door:nth-child(1) { margin-bottom: 4.8rem; }
.hoop { border-radius: 50%; padding: 7px; background: var(--wood); box-shadow: var(--shadow), inset 0 0 0 2px #9C7240; }
.hoop img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border: 3px dashed var(--paper); }
@media (min-width: 900px) {
  .opening { padding: var(--s5) 0 var(--s6); }
  .opening .wrap { grid-template-columns: 1fr 1.05fr; gap: var(--s5); }
}

/* market sign */
.market { background: var(--berry); color: #fff; padding: var(--s3) 0; }
.market .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s3); }
.market p { margin: 0; font-size: 1.2rem; }
.market strong { font-size: 1.35rem; }
.market .dates { font-style: italic; letter-spacing: .06em; white-space: nowrap; }
.market a { color: #fff; }

/* on the door now: sideways row */
.on-door { padding: var(--s5) 0; }
.on-door header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s2); margin-bottom: var(--s3); }
.on-door header p { margin: 0; max-width: 40ch; color: var(--muted); }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 70%); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; }
.row > * { scroll-snap-align: start; }
@media (min-width: 700px) { .row { grid-auto-columns: minmax(220px, 1fr); overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.piece { margin: 0; }
.piece a { text-decoration: none; color: inherit; display: block; }
.piece .door { transition: transform .2s; }
.piece a:hover .door { transform: translateY(-4px); }
.piece figcaption { padding-top: var(--s2); font-size: 1.05rem; line-height: 1.35; }
.piece figcaption .buy { display: block; margin-top: .3rem; font-size: .95rem; color: var(--berry); font-style: italic; }
.piece a:hover .buy { text-decoration: underline; }

/* seasons quilt */
.seasons { padding: var(--s5) 0; background: var(--paper); }
.seasons .intro { max-width: 52ch; margin-bottom: var(--s4); }
.quilt { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 2px dashed var(--gold); border-radius: var(--r); background: var(--linen); }
.quilt li { aspect-ratio: 3 / 2; position: relative; outline: 1px dashed rgba(255,255,255,.75); outline-offset: -6px; }
.quilt li:last-child { grid-column: span 2; aspect-ratio: auto; min-height: 96px; }
.quilt a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.quilt span { background: var(--paper); color: var(--ink); padding: .35rem .9rem; border-radius: var(--r); font-size: 1.1rem; box-shadow: var(--shadow); transition: background .15s, color .15s; }
.quilt a:hover span, .quilt a:focus-visible span { background: var(--berry); color: #fff; }
.p-spring { background: var(--petal) radial-gradient(circle, #fff 2px, transparent 2.5px) 0 0 / 16px 16px; }
.p-easter { background: repeating-linear-gradient(45deg, #E7DDF0 0 10px, #F7F1FA 10px 20px); }
.p-summer { background: #E8C05A radial-gradient(circle, #FFF6DA 3px, transparent 3.5px) 0 0 / 20px 20px; }
.p-patriotic { background: repeating-linear-gradient(90deg, var(--berry) 0 14px, var(--paper) 14px 28px); }
.p-fall { background: linear-gradient(90deg, rgba(143,58,22,.55) 50%, transparent 50%) 0 0 / 24px 24px, linear-gradient(rgba(143,58,22,.55) 50%, transparent 50%) 0 0 / 24px 24px, #D98B4A; }
.p-halloween { background: #3B3530 radial-gradient(circle, #E3803A 2.5px, transparent 3px) 0 0 / 18px 18px; }
.p-christmas { background: linear-gradient(90deg, rgba(180,35,60,.5) 50%, transparent 50%) 0 0 / 28px 28px, linear-gradient(rgba(180,35,60,.5) 50%, transparent 50%) 0 0 / 28px 28px, var(--moss); }
@media (min-width: 760px) {
  .quilt { grid-template-columns: repeat(4, 1fr); }
  .quilt li { aspect-ratio: 1; }
  .quilt li:nth-child(7) { grid-column: span 2; aspect-ratio: auto; }
}
/* desktop: words on the left, quilt on the right */
@media (min-width: 1000px) {
  .seasons .wrap { display: grid; grid-template-columns: 300px 1fr; gap: var(--s5); align-items: center; }
  .seasons .intro { margin-bottom: 0; }
}

/* meet Karen */
.meet { padding: var(--s5) 0; }
.meet .wrap { display: grid; gap: var(--s4); align-items: center; }
.meet .hoop { max-width: 300px; margin-inline: auto; width: 80%; }
.meet blockquote { margin: 0 0 var(--s3); font-size: 1.25rem; font-style: italic; border-left: 3px solid var(--gold); padding-left: var(--s3); }
@media (min-width: 860px) { .meet .wrap { grid-template-columns: 340px 1fr; gap: var(--s5); } .meet .hoop { width: 100%; } }

/* customer words */
.words { padding: var(--s5) 0; background: var(--moss-soft); }
.words .frame { border: 2px dashed var(--gold); border-radius: var(--r); padding: var(--s4) var(--s3); background: var(--linen); }
.words .quotes { display: grid; gap: var(--s4); }
.words figure { margin: 0; }
.words blockquote { margin: 0 0 var(--s1); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.35; font-style: italic; color: var(--moss-dark); }
.words figcaption { color: var(--muted); font-size: 1rem; }
@media (min-width: 800px) { .words .quotes { grid-template-columns: 1.2fr 1fr; } .words figure:nth-child(2) { margin-top: var(--s4); } }

/* custom invite */
.invite { background: var(--moss); color: #fff; padding: var(--s5) 0; position: relative; overflow: hidden; }
.invite h2 { color: #fff; }
.invite p { max-width: 52ch; color: #F1F2E8; }
.invite .flowers { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 260px; opacity: .9; border-radius: 50%; display: none; }
@media (min-width: 900px) { .invite .flowers { display: block; } }

/* ---------- inner pages ---------- */
.page-head { padding: var(--s4) 0 var(--s3); }
.page-head p { font-size: 1.2rem; max-width: 56ch; color: var(--muted); }

/* shop */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: var(--s3) 0 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--r); background: var(--paper); border: 1.5px dashed var(--gold); color: var(--ink); text-decoration: none; }
.chips a:hover { background: var(--berry); color: #fff; border-color: var(--berry); }
.season { padding: var(--s4) 0; scroll-margin-top: 1rem; }
.season + .season { border-top: 0; }
.season-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); margin-bottom: var(--s3); }
.season-head h2 { margin: 0; }
.season-head p { margin: 0; color: var(--muted); font-style: italic; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s3); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); } }
/* desktop: the season name hangs in its own column beside its pieces */
@media (min-width: 1100px) {
  .season > .wrap:has(.season-head) { display: grid; grid-template-columns: 220px 1fr; gap: var(--s4); align-items: start; }
  .season-head { flex-direction: column; gap: var(--s1); position: sticky; top: var(--s3); padding-top: var(--s2); }
  .season-head h2 { font-size: 2.2rem; }
}
.grid .tag { font-size: .95rem; }
.also { background: var(--paper); border-radius: var(--r); padding: var(--s4) var(--s3); box-shadow: var(--shadow); }
.also ul { columns: 2 260px; padding-left: 1.1rem; margin: 0 0 var(--s2); }
.also li { margin-bottom: .35rem; break-inside: avoid; }
.note { font-size: .95rem; color: var(--muted); font-style: italic; }

/* custom page */
.custom-head .wrap { display: grid; gap: var(--s4); align-items: center; }
.custom-head .door { max-width: 200px; justify-self: center; width: 100%; }
@media (min-width: 860px) { .custom-head .door { max-width: 260px; } }
.custom-body { display: grid; gap: var(--s4); }
@media (min-width: 960px) {
  .custom-body { grid-template-columns: 300px 1fr; gap: var(--s5); align-items: start; }
  .custom-body aside { position: sticky; top: var(--s3); }
}
.custom-body .steps { margin-bottom: var(--s3); }
@media (min-width: 860px) { .custom-head .wrap { grid-template-columns: 1fr 280px; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.steps li { counter-increment: s; padding-left: 3rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 2px dashed var(--gold); display: grid; place-items: center; color: var(--berry); font-weight: 700; }

/* forms */
.form-card { background: var(--paper); border-radius: var(--r); padding: var(--s4) var(--s3); box-shadow: var(--shadow); border-top: 6px solid var(--berry); }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s3); }
legend { font-weight: 700; color: var(--moss-dark); font-size: 1.2rem; margin-bottom: var(--s1); padding: 0; }
.fields { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .fields.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
label .opt { font-weight: 400; color: var(--muted); font-style: italic; }
input, select, textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: .7rem .8rem; min-height: 48px; border: 1.5px solid #B9B39E; border-radius: var(--r); background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--berry); outline-offset: 1px; border-color: var(--berry); }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 400; min-height: 44px; padding: 0 .9rem; border: 1.5px solid #B9B39E; border-radius: var(--r); background: #fff; cursor: pointer; margin: 0; }
.choices input { width: 1.1rem; height: 1.1rem; min-height: 0; margin: 0; accent-color: var(--berry); }
.choices label:has(input:checked) { border-color: var(--berry); background: #FBEFF1; }
.form-card button[type=submit] { margin-top: var(--s2); cursor: pointer; }
.hint { font-size: .95rem; color: var(--muted); margin: .3rem 0 0; }

/* about */
.about-head { padding: var(--s4) 0; text-align: center; }
.about-head .hoop { width: min(260px, 70%); margin: 0 auto var(--s3); }
.article { padding-bottom: var(--s5); }
.intro-quote { font-size: 1.3rem; line-height: 1.5; font-style: italic; color: var(--moss-dark); border-left: 3px solid var(--gold); padding-left: var(--s3); }
.article h2 { font-size: 1.7rem; margin-top: var(--s4); }
.pull { margin: var(--s4) 0; padding: var(--s3) 0; border-block: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.3; font-style: italic; color: var(--berry); text-align: center; }
.pull::before, .pull::after { content: ""; display: block; height: 10px; background: radial-gradient(circle at 5px 5px, transparent 2px, var(--gold) 2.4px, var(--gold) 3.4px, transparent 3.8px) 0 0 / 11px 10px repeat-x; margin: var(--s2) auto; width: 40%; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin: var(--s3) 0; }

/* contact */
.booth { background: var(--berry); color: #fff; padding: var(--s5) 0 var(--s4); position: relative; overflow: hidden; }
.booth h1 { color: #fff; }
.booth .sign { border: 2px dashed rgba(255,255,255,.7); border-radius: var(--r); padding: var(--s3); max-width: 640px; }
.booth .sign p { margin: 0; font-size: 1.2rem; }
.booth .sign .big { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; line-height: 1.2; margin-bottom: .4rem; }
.contact-grid { display: grid; gap: var(--s4); padding: var(--s5) 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.ways { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.ways li { padding: var(--s2) 0; border-bottom: 1px dashed var(--gold); }
.ways strong { display: block; color: var(--moss-dark); }
.placeholder { display: inline-block; font-style: italic; color: var(--muted); background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(201,161,74,.15) 6px 12px); padding: 0 .4rem; border-radius: 3px; }

/* 404 */
.lost { padding: var(--s5) 0 var(--s6); text-align: center; }
.lost .door { width: 200px; margin: 0 auto var(--s3); }
.lost .actions { justify-content: center; }

/* footer */
.site-foot { background: var(--moss-dark); color: #E9EBDD; padding: 0 0 var(--s4); margin-top: 0; }
.site-foot .stitch { opacity: .9; }
.foot-top { display: grid; gap: var(--s4); padding: var(--s5) 0 var(--s4); }
@media (min-width: 860px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .wm { width: 230px; margin: 6px; }
.foot-brand p { margin-top: var(--s2); font-style: italic; max-width: 32ch; }
.site-foot h2 { color: #fff; font-size: 1.1rem; letter-spacing: .04em; margin-bottom: var(--s1); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0; }
.site-foot a { color: #fff; display: inline-flex; min-height: 40px; align-items: center; }
.site-foot a:hover { color: var(--petal); }
.foot-base { border-top: 1px solid rgba(255,255,255,.2); padding-top: var(--s3); font-size: .95rem; color: #D5D8C4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); }
