@font-face { font-family: 'Weft Serif'; src: url('./assets/newsreader-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Weft Sans'; src: url('./assets/OhwSubsetSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #fffaf4; --ink: #253f9a; --soft: #ffe4d3; --coral: #ee997e; --rule: #9c9db8; --control: #72799d; --button: #253f9a; --on-button: #fffaf4; --display: 'Weft Serif', Georgia, serif; --body: 'Weft Sans', Arial, sans-serif; --label: 'Weft Sans', Arial, sans-serif; --weight: 600; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 1.0625rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: var(--weight); line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
h3 { font-size: 1.5rem; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
figure, dl, dd { margin: 0; }
picture, img { display: block; }
img { width: 100%; height: auto; }
.photo { width: 100%; }
figcaption { margin-top: .75rem; font-size: .8rem; line-height: 1.5; }
address { font-style: normal; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .5rem; }
.wrap { width: min(calc(100% - 40px), 1160px); margin-inline: auto; }
.section { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.page-intro { padding-block: clamp(3rem, 6vw, 5rem) 1.5rem; }
.page-intro .lead { max-width: 43rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font: .75rem/1.6 var(--label); letter-spacing: .09em; text-transform: uppercase; }
.small { font-size: .875rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; transform: translateY(-150%); padding: 1rem; color: var(--ink); background: var(--paper); }
.skip-link:focus { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; font: var(--weight) 2rem/1 var(--display); text-decoration: none; }
.brand small { display: block; margin-top: .65rem; font: .6rem/1.5 var(--label); letter-spacing: .08em; }
.brand-mark { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
#navigation { display: flex; align-items: center; gap: 1.2rem; font: .875rem/1.4 var(--label); }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a:hover, #navigation a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; border: 1px solid currentColor; color: inherit; background: transparent; min-height: 44px; padding: .5rem .75rem; }
.arrow, .disclosure { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.text-link, .button { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; max-width: 100%; font: 1rem/1.4 var(--label); }
.text-link { padding-block: .65rem; }
.button { justify-content: space-between; padding: 1rem 1.25rem; background: var(--button); color: var(--on-button); border: 2px solid var(--button); text-decoration: none; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split > *, .form-layout > *, .footer-layout > *, .closing-layout > * { min-width: 0; }
.closing { background: var(--soft); padding-block: 3.5rem; }
.closing-layout { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--rule); font-size: .85rem; }
.footer-layout { display: grid; grid-template-columns: 1fr 1.2fr .8fr; gap: 2rem; }
.footer-name { font: var(--weight) 1.3rem/1.3 var(--display); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-panel { background: var(--soft); padding: clamp(1rem, 3vw, 2.5rem); }
.demo-note { border-left: 3px solid var(--ink); padding-left: 1rem; margin-top: 2rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: var(--weight) 1.8rem/1.3 var(--display); padding: 0; margin-bottom: 1rem; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-size: 1rem; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: .75rem; border: 1px solid var(--control); border-radius: 0; color: var(--ink); background: var(--paper); font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.confirmation { padding-block: 1rem; }
.confirmation:focus { outline: 3px solid var(--ink); outline-offset: 8px; }
.prose { max-width: 740px; }
.prose section + section { margin-top: 2.5rem; }
.prose h2 { font-size: 2rem; }
.questions { max-width: 900px; }
details { border-bottom: 1px solid var(--rule); padding-block: 1rem; }
summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 44px; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: 1rem; }
.visit-board { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 1px solid var(--rule); }
.visit-board h2 { font-size: 2rem; }
.price span, .rate span { display: block; font: .85rem/1.5 var(--body); }
.price-note { margin-top: 1.5rem; }
@media (max-width: 1040px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .25rem; }
  #navigation a { padding: .65rem .4rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .closing-layout { grid-template-columns: 1fr; justify-items: start; }
  .footer-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .split, .visit-board, .footer-layout { grid-template-columns: 1fr; gap: 2rem; }
  .site-header { gap: 1rem; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .brand-mark { display: none; }
  .brand { font-size: 1.7rem; }
  .brand small { font-size: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
h1, h2, .brand { letter-spacing: -.04em; }
h1 em { font-style: normal; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .1em; }
.brand { font-size: 2.8rem; }
.brand small { letter-spacing: .15em; }
.site-header { padding-block: 2rem; }
.patchwork-home { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); border: 1px solid var(--ink); }
.patchwork-home > *, .fabric-shelf > *, .fabric-row > *, .class-row > *, .longarm-layout > *, .shop-story > *, .shelf-intro > *, .notions > * { min-width: 0; }
.opening-block { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--soft); }
.opening-block h1 { font-size: clamp(3.3rem, 7.7vw, 6.8rem); line-height: .95; }
.opening-block .lead { max-width: 27rem; margin-top: 1.8rem; }
.bolt-block { background: var(--ink); color: var(--paper); display: grid; align-content: center; justify-items: center; padding: 1.25rem; }
.fabric-bolts { max-width: 380px; }
.floral-stitches { max-width: 700px; }
.pattern-block { display: flex; align-items: center; gap: 2.5rem; padding: 2.5rem; border-top: 1px solid var(--ink); }
.pattern-block p { font: 600 clamp(1.6rem, 2.7vw, 2.6rem)/1.2 var(--display); }
.quilt-block { width: 140px; height: auto; flex: 0 0 auto; }
.class-note { padding: 2rem; background: #edf0ff; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.class-note h2 { font-size: 2.2rem; }
.shelf-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.longarm-band { background: var(--ink); color: var(--paper); padding-block: 3rem; }
.fabric-shelf { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.fabric-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 1.2rem; align-items: start; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.fabric-row h3 { font-size: 1.5rem; }
.swatch { width: 58px; height: 72px; background: var(--soft); border: 1px solid var(--ink); }
.cotton { background: repeating-linear-gradient(45deg, var(--coral) 0 8px, var(--soft) 8px 16px); }
.flannel { background: repeating-linear-gradient(0deg, transparent 0 12px, #253f9a40 12px 24px), repeating-linear-gradient(90deg, var(--paper) 0 12px, #c4c9e2 12px 24px); }
.linen { background: #dcc5af; }
.backing { background: radial-gradient(var(--paper) 2px, transparent 3px) 0 0 / 12px 12px, var(--ink); }
.price { font: 600 2rem/1.2 var(--display); }
.notions { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--ink); }
.notion-list > div { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.notion-list dd { flex-shrink: 0; }
.class-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 100px; gap: 2.5rem; border-top: 1px solid var(--ink); padding-block: 2.5rem; }
.date-block { text-align: center; padding: 1rem .5rem; background: var(--soft); font-size: .7rem; letter-spacing: .1em; }
.date-block strong { display: block; font: 600 4rem/1.2 var(--display); letter-spacing: 0; }
.longarm-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
.longarm-layout .photo { margin-top: 2rem; }
.longarm-sheet { padding: clamp(1.5rem, 3vw, 3rem); border: 8px double var(--paper); background: var(--paper); color: var(--ink); }
.longarm-price { font: 600 4.5rem/1.1 var(--display); margin-block: 1.5rem; }
.longarm-price span { font: 1rem/1.5 var(--body); display: block; }
.shop-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.story-patch { background: var(--soft); padding: 2.5rem; }
.story-patch h2 { margin-top: 2rem; }
.closing { border-block: 1px solid var(--ink); }
@media (max-width: 1040px) { .brand { font-size: 2.5rem; } }
@media (max-width: 800px) {
  .pattern-block { padding: 1.5rem; gap: 1rem; flex-wrap: wrap; }
  .fabric-shelf, .shelf-intro, .notions, .shop-story { grid-template-columns: 1fr; gap: 2rem; }
  .longarm-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .patchwork-home { grid-template-columns: 1fr; }
  .opening-block h1 { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .pattern-block { justify-content: center; }
  .class-note { border-left: 0; }
  .fabric-row { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; }
  .swatch { width: 44px; height: 60px; }
  .fabric-row .price { grid-column: 2; }
  .class-row { grid-template-columns: 70px minmax(0, 1fr); gap: 1.2rem; }
  .class-row .price { grid-column: 2; }
  .date-block { font-size: .55rem; }
  .date-block strong { font-size: 3rem; }
  .notion-list > div { flex-direction: column; gap: .3rem; }
}
@media (max-width: 480px) { .brand { font-size: 2.2rem; } }
html:not(.has-menu) .menu-toggle { display: none !important; }
