/* Over Under: frame-loom and tapestry weaving. Woven textile: Gelasio + Schibsted Grotesk, oatmeal linen with warp lines, rust, mustard, deep teal, charcoal; woven bands and fringes. */
:root { --oat: #f1ebe1; --linen: #faf6ef; --rust: #b5532c; --mustard: #d9a53a; --teal: #2f5d62; --char: #2a2724; --muted: #6b635a; --thread: rgba(42, 39, 36, 0.05);
  --head: "Gelasio", Georgia, serif; --body: "Schibsted Grotesk", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--char); font: 400 1.07rem/1.8 var(--body); background: var(--oat) repeating-linear-gradient(90deg, var(--thread) 0 1px, transparent 1px 7px); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust); text-decoration-color: var(--mustard); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; color: var(--char); }
h1 { font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0 0 18px; }
h1 em { font-weight: 400; color: var(--rust); }
h2 { font-weight: 600; font-size: 1.9rem; margin: 52px 0 12px; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin: 26px 0 6px; color: var(--teal); }
p, ul, ol { margin: 0 0 18px; }
li { margin-bottom: 6px; }

.woven-band { height: 16px; background:
  repeating-linear-gradient(90deg, var(--rust) 0 8px, var(--mustard) 8px 16px),
  var(--rust); -webkit-mask: repeating-linear-gradient(0deg, #000 0 8px, rgba(0,0,0,0.65) 8px 16px); mask: repeating-linear-gradient(0deg, #000 0 8px, rgba(0,0,0,0.65) 8px 16px); }
.loom-head { background: var(--linen); border-bottom: 1px solid #e3d9c8; }
.loom-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; }
.loom-head .logo { display: flex; align-items: center; gap: 12px; color: var(--char); text-decoration: none; font: 600 1.7rem/1 var(--head); }
.loom-head .logo svg { width: 38px; height: 38px; }
.loom-head nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.loom-head nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.96rem; }
.loom-head nav a:hover, .loom-head nav a[aria-current="page"] { color: var(--rust); box-shadow: inset 0 -3px 0 var(--mustard); }

.tag { display: inline-block; font: 700 0.78rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--linen); background: var(--teal); padding: 7px 10px; margin: 0 0 16px; }
.lede { font-size: 1.22rem; line-height: 1.72; color: #4a443d; }
.fine { font-size: 0.95rem; color: var(--muted); }
.yarn-btn { display: inline-block; font: 700 1rem/1 var(--body); color: var(--linen); background: var(--rust); padding: 17px 28px; text-decoration: none; border-bottom: 5px solid #8a3c1f; }
.yarn-btn:hover { background: var(--teal); color: var(--linen); border-bottom-color: #1d3c40; }
figcaption { font-size: 0.9rem; line-height: 1.5; color: var(--muted); margin-top: 10px; }

.warp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: start; padding: 56px 0 70px; }
.warp-hero > * { min-width: 0; }
.warp-hero > div { padding-top: 28px; }
.hanging { margin: 0; }
.hanging .dowel { height: 14px; background: #8a5a35; border-radius: 7px; margin: 0 -18px; }
.hanging img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-left: 10px solid var(--linen); border-right: 10px solid var(--linen); }
.hanging .fringe { height: 46px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--rust) 0 3px, transparent 3px 7px, var(--mustard) 7px 10px, transparent 10px 14px); -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 10px 0 0; }
.swatches article { min-width: 0; background: var(--linen); padding: 14px 14px 26px; border: 1px solid #e3d9c8; position: relative; }
.swatches article::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; background: linear-gradient(135deg, var(--linen) 50%, transparent 50%) 0 0 / 12px 9px repeat-x, linear-gradient(225deg, var(--linen) 50%, transparent 50%) 0 0 / 12px 9px repeat-x; }
.swatches img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.swatches .num { font: 600 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin: 16px 0 4px; }
.swatches h2 { font-size: 1.5rem; margin: 0 0 6px; }
.swatches h2 a { color: var(--char); text-decoration: none; }
.swatches h2 a:hover { color: var(--rust); }
.swatches p { margin: 0; color: var(--muted); font-size: 1rem; }
.credits { font-size: 0.82rem; color: var(--muted); margin: 26px 0 0; }
.draft { margin: 70px 0 84px; background: var(--linen); border: 1px solid #e3d9c8; padding: 0 36px 28px; }
.draft::before { content: ""; display: block; height: 16px; margin: 0 -36px 30px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, var(--mustard) 10px 14px, var(--teal) 14px 24px, var(--rust) 24px 28px); }
.draft h2 { margin-top: 0; }
.draft svg { display: block; width: 100%; height: auto; }

.cloth { max-width: 760px; margin: 0 auto; padding: 54px 0 84px; }
.cloth > :first-child { margin-top: 0; }
.photo { margin: 30px 0 36px; }
.photo img { width: 100%; border: 10px solid var(--linen); box-shadow: 0 1px 0 #e3d9c8; }
.weave-figure { margin: 32px 0; background: var(--linen); border: 1px solid #e3d9c8; padding: 20px; }
.weave-figure svg { display: block; width: 100%; height: auto; }
.tip { background: var(--linen); border-left: 6px solid var(--mustard); padding: 16px 22px; margin: 28px 0; }
.tip b { font-family: var(--head); color: var(--teal); }
.table-scroll { overflow-x: auto; margin: 0 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.55; background: var(--linen); }
th { text-align: left; font: 600 1.02rem/1.3 var(--head); color: var(--linen); background: var(--teal); padding: 10px 12px; }
td { border-bottom: 1px solid #e3d9c8; padding: 10px 12px; vertical-align: top; }
td:first-child { font-weight: 700; color: var(--rust); }
.next-row { margin-top: 56px; background: var(--char); color: #e3d9c8; padding: 22px 26px; }
.next-row h2 { color: var(--mustard); font-size: 1.4rem; margin: 0 0 8px; }
.next-row ul { margin: 0; padding-left: 20px; }
.next-row a { color: var(--linen); }

form { margin: 26px 0; }
form label { display: block; font-weight: 600; margin-bottom: 18px; }
input[type="text"], input[type="email"], textarea { display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--char); padding: 12px 14px; border: 1px solid #d8ccb8; border-bottom: 3px solid var(--teal); background: var(--linen); border-radius: 0; }
input:focus, textarea:focus { outline: 2px solid var(--mustard); outline-offset: 1px; }
form button { font: 700 1rem/1 var(--body); color: var(--linen); background: var(--rust); border: 0; border-bottom: 5px solid #8a3c1f; padding: 17px 28px; cursor: pointer; }
form button:hover { background: var(--teal); border-bottom-color: #1d3c40; }
form button:disabled { opacity: 0.6; cursor: wait; }
.hp { display: none; }
.status { min-height: 1.5em; margin-top: 12px; font-weight: 700; color: var(--teal); }

.selvage { background: var(--char); color: #c9bfb1; padding: 0 0 42px; font-size: 0.95rem; }
.selvage::before { content: ""; display: block; height: 12px; margin-bottom: 30px; background: repeating-linear-gradient(90deg, var(--rust) 0 6px, var(--mustard) 6px 12px, var(--teal) 12px 18px); }
.selvage .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; }
.selvage p { margin: 0; font-family: var(--head); font-size: 1.15rem; color: var(--linen); }
.selvage nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.selvage a { color: var(--mustard); }

@media (max-width: 900px) {
  .warp-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 30px; }
  .warp-hero > div { padding-top: 0; }
  .hanging { max-width: 440px; margin: 0 auto; }
  .hanging .dowel { margin: 0 -8px; }
  .swatches { grid-template-columns: minmax(0, 1fr); }
  .draft { padding: 0 12px 18px; }
  .draft::before { margin: 0 -12px 24px; }
}
@media (max-width: 520px) { .weave-figure { padding: 8px; } .loom-head .logo { font-size: 1.4rem; } }
