:root {
  color-scheme: light;
  --paper: #f6f1e6;
  --base: #e9e0d0;
  --ink: #23363c;
  --accent: #864a38;
  --line: #ab9d87;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 1060px); margin-inline: auto; }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.top > :first-child { font-family: Georgia, serif; font-size: 1.2rem; font-weight: bold; }
.top > :last-child { font-size: .85rem; align-self: center; }
.wordmark { text-decoration: none; }
a { color: inherit; text-underline-offset: .2em; }
.storefront-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.25rem; }
.skip { position: absolute; top: .6rem; left: .8rem; transform: translateY(-200%); background: white; padding: .55rem; }
.skip:focus { transform: none; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; }
h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.045em; margin: 2rem 0 .6rem; }
h2 { font-size: 1.7rem; margin: 0 0 1rem; }
.intro { font-size: 1.1rem; margin: 0 0 2rem; }
.storefront { padding-bottom: 3rem; }
.storefront h1 { max-width: 15ch; }
.storefront .intro { max-width: 40rem; line-height: 1.45; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { display: flex; flex-direction: column; background: #fffaf0; border: 1px solid var(--line); }
.product-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(1rem, 3.4vw, 2rem); }
.card-copy h2 { margin-bottom: .55rem; }
.card-copy p { margin: 0 0 1.2rem; line-height: 1.55; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: auto; }
.action { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem .85rem; background: var(--ink); color: white; font-weight: 650; text-decoration: none; }
.action:hover { background: #38515a; }
.preview-status { margin-top: .9rem; }
.example { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 2.8rem); align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.example img, .concepts img { display: block; width: 100%; height: auto; }
.example h2 { margin-bottom: .55rem; }
.example p { line-height: 1.55; }
.example blockquote { margin: .8rem 0; padding-left: 1rem; border-left: 2px solid var(--accent); color: var(--accent); font: 1.18rem/1.45 Georgia, serif; }
.concepts { border-top: 1px solid var(--line); padding-top: 1rem; }
.concepts summary { cursor: pointer; font-weight: 650; margin-bottom: .8rem; }
.workspace { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 1.25rem; padding-bottom: 2rem; }
.workspace > section { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); }
label { display: block; margin: .85rem 0 .25rem; font-weight: 650; }
small, .note { font-weight: 400; color: #594a3f; font-size: .82rem; }
label small { display: inline-block; }
.note { margin: .45rem 0; line-height: 1.45; }
input, select, textarea, button { font: inherit; }
input, select, textarea { display: block; min-height: 2.7rem; width: 100%; border-radius: 0; padding: .55rem; border: 1px solid var(--line); background: #fffcf5; color: var(--ink); }
button { margin: .9rem 0 .2rem; min-height: 2.75rem; padding: .55rem .85rem; border: 1px solid var(--ink); background: var(--ink); color: white; cursor: pointer; font-weight: 650; }
button.secondary { background: transparent; color: var(--ink); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; align-items: end; }
.style-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; align-items: stretch; }
.style-picker button { margin: 0; }
.proof-box { display: grid; place-items: center; min-height: 11rem; border: 1px solid var(--line); background: var(--base); text-align: center; padding: 1rem; }
.proof-box img { display: block; width: auto; height: auto; max-width: 100%; max-height: 630px; }
#issue { min-height: 1.5rem; color: #823623; }
#spec { display: grid; gap: .25rem .75rem; grid-template-columns: max-content minmax(0, 1fr); font-size: .86rem; }
#spec dt { font-weight: 650; }
#spec dd { margin: 0; overflow-wrap: anywhere; }

.shop-page {
  --ink: #292e25;
  --accent: #963b2e;
  --line: #cbbbab;
  background: #faf4e9;
}
.shop-page .shell { width: min(100% - 3rem, 1220px); }
.shop-page .top { padding-block: 1.15rem; }
.shop-page .wordmark { display: inline-flex; align-items: center; gap: .65rem; font: 700 1.3rem/1 Georgia, serif; }
.shop-page .wordmark::before {
  content: '';
  width: .86rem;
  height: .86rem;
  flex: 0 0 auto;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 2px #faf4e9, inset 0 0 0 5px var(--accent);
}
.shop-page .storefront-header nav { gap: .5rem 1.3rem; }
.shop-page .storefront-header nav > a { text-decoration: none; font-weight: 600; }
.shop-page .storefront-header nav > a:hover, .shop-page .storefront-header nav > [aria-current] { text-decoration: underline; }
.nav-action { display: inline-flex; min-height: 2.65rem; align-items: center; padding-inline: .8rem; border: 1px solid var(--ink); }
.shop-page .action { gap: .7rem; padding: .7rem 1rem; background: var(--accent); }
.shop-page .action:hover { background: #742e24; }
.shop-main { padding-bottom: clamp(3rem, 7vw, 6rem); }
.shop-main h1, .shop-main h2, .shop-main h3 { text-wrap: balance; }
.shop-main h1 { margin: 0 0 1rem; font-size: clamp(3rem, 6.3vw, 6rem); line-height: .97; letter-spacing: -.055em; }
.shop-main h1 em { color: var(--accent); font-weight: 400; }
.shop-main h2 { margin-bottom: .7rem; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; }
.shop-main p { line-height: 1.6; }
.gift-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2.2rem, 5vw, 4.5rem); }
.gift-hero-copy > p { max-width: 38ch; margin: 1rem 0; font-size: clamp(1.02rem, 1.7vw, 1.22rem); }
.gift-hero-photo { margin: 0; }
.gift-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gift-hero-photo figcaption { margin-top: .6rem; color: #67574d; font-size: .76rem; }
.gift-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; margin-top: 1.35rem; }
.text-link { color: var(--accent); font-weight: 700; }
.shop-section { border-top: 1px solid var(--line); padding-top: clamp(1.8rem, 4vw, 3rem); margin-top: clamp(1.8rem, 5vw, 4rem); }
.gift-hero + .shop-section { margin-top: 0; }
.shop-section-heading { display: flex; align-items: end; justify-content: space-between; }
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: .5rem; }
.start-card { display: block; padding: clamp(1rem, 2.5vw, 1.85rem); border: 1px solid #d5bfae; background: #f6e7d6; text-decoration: none; }
.start-card:nth-child(2) { background: #f0dccf; }
.start-card:nth-child(3) { background: #e9e8d8; }
.start-card:hover h3 { color: var(--accent); text-decoration: underline; }
.start-card h3 { display: flex; justify-content: space-between; gap: .5rem; margin: 0 .2rem .5rem 0; font: 400 clamp(1.4rem, 2.6vw, 2.2rem)/1.08 Georgia, serif; letter-spacing: -.035em; }
.start-card h3 span { color: var(--accent); font: 400 1rem/1.4 system-ui, sans-serif; }
.start-card p { margin: 0; }
.feature-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.3rem, 5vw, 4rem); align-items: center; }
.feature-panel > img { display: block; width: 100%; height: auto; max-height: 465px; object-fit: contain; background: #f1e8d7; }
.story-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
.story-panel > img { aspect-ratio: 3 / 2; object-fit: cover; }
.feature-copy { max-width: 48ch; }
.feature-copy p { margin: 0 0 1rem; }
.shop-main .related-shop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.5rem; margin-top: clamp(1.8rem, 5vw, 4rem); padding: 1rem 1.15rem; border-left: 2px solid var(--accent); background: #f3e8db; }
.shop-main .related-shop h2 { margin: 0 0 .2rem; font-size: clamp(1.35rem, 2.7vw, 1.9rem); }
.shop-main .related-shop p { margin: 0; }
.shop-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; border-top: 1px solid var(--line); padding-block: 1.4rem 2.4rem; }
.shop-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .86rem; }
.shop-footer small { color: #67574d; }
.page-intro { margin-block: clamp(2.4rem, 6vw, 5.5rem) clamp(1.4rem, 4vw, 3rem); }
.page-intro h1 { max-width: 13ch; }
.page-intro p { max-width: 54ch; margin: 0; font-size: 1.12rem; }
.idea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.idea-card { background: #fff9ef; border: 1px solid var(--line); }
.idea-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f1e8d7; }
.idea-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quadrant img { position: absolute; top: 0; left: 0; width: 200%; height: 200%; max-width: none; object-fit: fill; }
.quadrant-ne img, .quadrant-se img { left: -100%; }
.quadrant-sw img, .quadrant-se img { top: -100%; }
.idea-copy { padding: 1.05rem 1.2rem 1.2rem; }
.idea-copy h2 { margin: 0 0 .45rem; font-size: clamp(1.35rem, 2.1vw, 2rem); }
.idea-copy p { margin: .35rem 0 0; }
.idea-copy p:first-of-type { color: var(--accent); font: 1.04rem/1.38 Georgia, serif; }
.shop-page .concepts { margin-top: clamp(2rem, 5vw, 4rem); }
.shop-page .concepts img { max-width: 700px; }
.process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; padding-left: 1.1rem; }
.process li::marker { color: var(--accent); font-weight: 700; }
.process h3 { margin: 0 0 .3rem; }
.process p { margin: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, .85fr); gap: 1.35rem; align-items: start; }
.faq-list details { padding: 1rem .25rem; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { max-width: 68ch; margin: .65rem 0 .2rem; }
.faq-aside { padding: 1.2rem; background: #eee6d6; }
.faq-aside h2 { font-size: 2rem; }

@media (max-width: 900px) { .idea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .gift-hero, .feature-panel, .story-panel, .faq-layout { grid-template-columns: 1fr; }
  .gift-hero-photo img { aspect-ratio: 3 / 2; }
  .start-grid, .process ol { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .shop-page .shell { width: calc(100% - 1.5rem); }
  .shop-page .top { gap: .9rem; }
  .shop-page .storefront-header nav { gap: .45rem .75rem; }
  .idea-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .workspace, .product-grid, .example { grid-template-columns: 1fr; } }
@media (max-width: 385px) { .fields, .style-picker { grid-template-columns: 1fr; } .fields { gap: 0; } }
