/* Linen keeps its photographic rhythm; the shop is a single, connected experience. */
.theme-linen {
  --paper: #F1EDE4;
  --ink: #354B3F;
  --accent: #354B3F;
  --muted: #5B6658;
  --tint: #E3E6DA;
  --line: #CCD1C2;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', sans-serif;
}
.theme-linen .announcement { background: var(--tint); color: var(--ink); }
.theme-linen .wordmark { font: 500 13px/1 var(--sans); letter-spacing: .18em; }
.theme-linen .header-inner { height: 80px; }
.theme-linen .site-header { border-bottom: 1px solid transparent; }
.theme-linen .main-nav { gap: 28px; }
.theme-linen .header-order { min-height: 44px; }

/* The original triptych remains the signature. */
.linen-hero { padding-top: 38px; padding-bottom: 40px; }
.linen-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 40px; }
.linen-heading h1 { font-size: clamp(66px,6.5vw,98px); max-width: 10ch; }
.linen-heading h1 em { font-style: italic; }
.linen-intro { width: 370px; padding-bottom: 3px; flex-shrink: 0; }
.linen-intro > p:first-child { font: 400 21px/1.6 var(--sans); letter-spacing: -.035em; margin-bottom: 23px; }
.linen-hero-actions { display: flex; flex-direction: column; }
.linen-hero-actions .button { width: 100%; min-height: 57px; justify-content: space-between; }
.linen-hero-price { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); padding: 11px 0 17px; border-bottom: 1px solid var(--line); }
.linen-hero-price strong { font-weight: 600; color: var(--ink); }
.linen-pickup-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; min-height: 48px; }
.linen-pickup-link > span { color: var(--muted); }
.linen-pickup-link strong { font-weight: 500; }
.linen-pickup-link strong span { margin-left: 8px; }
.linen-pickup-link:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.gift-toggle svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.2; }
.linen-photos { display: grid; grid-template-columns: 1fr 1.5fr .82fr; gap: 28px; align-items: start; }
.linen-frame img { width: 100%; height: 100%; object-fit: cover; }
.linen-frame:nth-child(1) { padding-top: 45px; }
.linen-frame:nth-child(1) .linen-photo { height: 300px; }
.linen-frame:nth-child(2) .linen-photo { height: 440px; }
.linen-frame:nth-child(3) { padding-top: 90px; }
.linen-frame:nth-child(3) .linen-photo { height: 235px; }
.linen-photo { position: relative; overflow: hidden; }
.linen-photo img { transition: transform 1s var(--ease); }
.linen-photo:hover img { transform: scale(1.03); }

/* A quiet recipe label and a custom botanical stamp, not a certification seal. */
.linen-ingredient-label { grid-column: 3; grid-row: 1; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #FAF8F2; border: 1px solid var(--line); padding: 16px 18px; }
.ingredient-kicker { display: block; font: 500 9px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ingredient-count { display: flex; align-items: baseline; gap: 9px; margin-top: -3px; }
.ingredient-count strong { font: 400 70px/.95 var(--display); letter-spacing: -.055em; }
.ingredient-count > span { font: 400 17px/1.2 var(--display); }
.organic-stamp { width: 100px; height: 100px; flex: 0 0 auto; color: var(--accent); transform: rotate(-9deg); }
.organic-stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.organic-stamp circle, .stamp-leaf { fill: none; stroke: currentColor; stroke-width: 1; }
.organic-stamp .stamp-inner { stroke-width: .55; }
.stamp-leaf { stroke-linecap: round; stroke-linejoin: round; }
.organic-stamp text { fill: currentColor; text-anchor: middle; }
.stamp-small { font: 500 7px var(--sans); letter-spacing: 1.9px; }
.stamp-bottom { font-size: 6px; letter-spacing: 1.2px; }
.stamp-word { font: italic 400 28px var(--display); letter-spacing: -.7px; }
.organic-stamp .stamp-dot { fill: currentColor; stroke: none; }
@media(min-width:1101px) {
  .linen-frame:nth-child(3) { grid-column: 3; grid-row: 1; padding-top: 65px; }
  .linen-frame:nth-child(3) .linen-photo { height: 200px; }
}
@media(max-width:1100px) {
  .linen-ingredient-label { grid-column: 1 / -1; grid-row: auto; justify-self: end; width: 330px; margin-top: 4px; padding: 14px 22px; }
  .organic-stamp { width: 88px; height: 88px; }
}
@media(max-width:760px) {
  .linen-ingredient-label { width: 100%; margin-top: 8px; padding: 14px 24px; }
  .ingredient-count strong { font-size: 66px; }
  .ingredient-count > span { font-size: 20px; }
}

/* Explain the actual weekly sequence once, before asking for an order. */
.linen-process { padding-block: 34px; border-block: 1px solid var(--line); display: grid; grid-template-columns: .8fr 2.2fr; gap: 54px; }
.linen-process h2 { font: 400 31px/1.15 var(--display); letter-spacing: -.025em; margin-top: 0; }
.linen-process ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.linen-process li { display: flex; align-items: baseline; gap: 13px; }
.process-number { font: 400 12px/1 var(--display); color: var(--muted); }
.linen-process h3 { font: 500 13px/1.5 var(--sans); }
.linen-process li p { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 5px; max-width: 25ch; }

/* A gallery and order form share one section, borrowed from the Shop direction. */
.linen-shop { padding-top: 86px; padding-bottom: 80px; }
.linen-shop .section-head { margin-bottom: 38px; }
.linen-shop .section-head .section-title { font-size: clamp(42px,4.1vw,62px); }
.linen-order-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5vw,78px); align-items: start; }
.linen-gallery { position: sticky; top: 110px; }
.linen-gallery .gallery-stage { position: relative; height: 430px; display: grid; grid-template: minmax(0,1fr)/minmax(0,1fr); place-items: center; overflow: hidden; background: #E3E4D8; }
.theme-linen .order-form { background: #FAF8F2; border: 1px solid var(--line); border-top: 2px solid var(--accent); padding: 28px; }
.theme-linen .order-form legend { font-size: 13px; }
.theme-linen .mode-content { padding-block: 16px; font-size: 13px; }
.theme-linen .mode-content small { font-size: 11px; }
.theme-linen .quantity-row { padding-block: 15px; }
.theme-linen .quantity-image { width: 42px; height: 56px; display: block; }
.theme-linen .quantity-product strong { font-size: 24px; }
.theme-linen .quantity-product small { font-size: 12px; }
.theme-linen .quantity-product .nuts { font-size: 10px; }
.theme-linen .stepper button { width: 44px; }
.theme-linen .stepper output { min-width: 24px; font-size: 13px; }
.theme-linen .quantity-row.has-quantity .stepper { border-color: var(--accent); }
.linen-order-deadline { padding-block: 14px; font-size: 11px; color: var(--muted); }
.theme-linen .order-breakdown { padding-top: 4px; }
.theme-linen .order-total strong { font-size: 42px; }
.theme-linen .order-total span { font-size: 13px; }
.linen-allergen-note { font-size: 10px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 15px; }
.linen-faq { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 54px; border-top: 1px solid var(--line); align-items: start; }
.theme-linen .linen-faq summary { padding-block: 20px; font-size: 13px; }
.theme-linen .linen-faq details p { font-size: 12px; line-height: 1.8; }
.theme-linen .baker-story { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); min-height: 0; max-width: 1200px; margin-inline: auto; }
.theme-linen .story-image { min-height: 0; }
.theme-linen .story-image img { position: static; width: 100%; height: auto; }
.theme-linen .story-copy { background: var(--tint); padding-block: 64px; }
.theme-linen .story-copy h2 { max-width: 14ch; }
.theme-linen .story-copy .signature { font-size: 35px; }
.theme-linen .pickup-section { border-top: 0; }
.theme-linen .pickup-meta { padding-block: 17px; border-block: 1px solid var(--line); }
.theme-linen .footer-wordmark { font: 400 clamp(58px,9vw,144px)/.9 var(--display); letter-spacing: -.055em; }
.theme-linen .footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.linen-order-dock { display: none; }

@media(max-width:1100px) {
  .theme-linen .main-nav { gap: 20px; }
  .linen-heading h1 { font-size: 78px; }
  .linen-photos { gap: 20px; grid-template-columns: 1fr 1.3fr .8fr; }
  .linen-frame:nth-child(2) .linen-photo { height: 390px; }
  .linen-frame:nth-child(1) .linen-photo { height: 270px; }
  .linen-frame:nth-child(3) .linen-photo { height: 210px; }
  .linen-process { grid-template-columns: 1fr; gap: 25px; }
  .linen-process-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .linen-process h2 { margin-top: 0; }
  .linen-process li p { max-width: 30ch; }
  .linen-gallery .gallery-stage { height: 410px; }
  .theme-linen .quantity-image { display: none; }
  .theme-linen .order-form { padding: 24px; }
}
@media(max-width:900px) and (min-width:761px) {
  .theme-linen .header-order > span:first-child { display: none; }
  .linen-intro { width: 300px; }
  .linen-order-layout { gap: 24px; }
  .theme-linen .order-form { padding: 18px; }
  .theme-linen .mode-options { grid-template-columns: 1fr; }
  .theme-linen .mode-content small { margin-top: 3px; }
  .theme-linen .quantity-product strong { font-size: 22px; }
  .theme-linen .stepper button { width: 38px; }
}
@media(max-width:760px) {
  .theme-linen .header-inner { height: 68px; }
  .theme-linen .main-nav { gap: 4px; }
  .linen-hero { padding-top: 24px; padding-bottom: 30px; }
  .linen-heading { display: block; margin-bottom: 29px; }
  .linen-heading h1 { font-size: clamp(59px,15.8vw,92px); max-width: 11ch; }
  .linen-intro { width: auto; max-width: 430px; margin-top: 22px; padding: 0; }
  .linen-intro > p:first-child { font-size: 18px; margin-bottom: 18px; }

  .linen-hero-actions .button { min-height: 54px; min-width: 0; }
  .linen-hero-price { font-size: 10px; }
  .linen-photos { grid-template-columns: 1fr 1.45fr; gap: 15px; }
  .linen-frame:nth-child(1) { padding-top: 42px; }
  .linen-frame:nth-child(1) .linen-photo { height: 200px; }
  .linen-frame:nth-child(2) .linen-photo { height: 310px; }
  .linen-frame:nth-child(3) { display: none; }
  .linen-process { padding-block: 28px; gap: 23px; }
  .linen-process-heading { display: block; }
  .linen-process h2 { margin-top: 9px; font-size: 30px; }
  .linen-process ol { grid-template-columns: 1fr; gap: 18px; }
  .linen-process li { gap: 18px; }
  .linen-process li p { max-width: none; font-size: 12px; }
  .linen-shop { padding-block: 58px; }
  .linen-shop .section-head { margin-bottom: 28px; gap: 14px; }
  .linen-shop .section-head .section-title { font-size: 46px; max-width: 12ch; }
  .linen-order-layout { grid-template-columns: 1fr; gap: 29px; }
  .linen-gallery { position: static; }
  .linen-gallery .gallery-stage { height: 350px; }
  .theme-linen .order-form { padding: 22px; }
  .theme-linen .mode-content { font-size: 12px; }
  .theme-linen .mode-content small { font-size: 10px; }
  .theme-linen .quantity-product strong { font-size: 24px; }
  .theme-linen .quantity-product small { font-size: 11px; }
  .theme-linen .stepper button { width: 42px; }
  .linen-faq { grid-template-columns: 1fr; margin-top: 30px; }
  .theme-linen .linen-faq summary { font-size: 12px; padding-block: 18px; }
  .theme-linen .baker-story { grid-template-columns: 1fr; min-height: 0; }
  .theme-linen .story-copy { padding: 45px var(--gutter) 50px; }
  .theme-linen .story-copy h2 { font-size: 44px; }
  .theme-linen .site-footer { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
  .linen-order-dock { position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #FAF8F2; border-top: 1px solid var(--line); }
  .dock-label { display: block; font-size: 10px; color: var(--muted); }
  .dock-price { display: flex; align-items: baseline; gap: 8px; }
  .dock-price strong { font: 500 28px/1.2 var(--display); }
  .dock-price > span { font-size: 10px; color: var(--muted); }
  .linen-order-dock .button { min-height: 46px; padding: 12px 17px; gap: 23px; font-size: 12px; }
}
@media(max-width:380px) {
  .theme-linen .order-form { padding: 18px; }
  .theme-linen .mode-options { grid-template-columns: 1fr; }
  .theme-linen .mode-content { padding-block: 13px; font-size: 13px; }
  .theme-linen .mode-content small { font-size: 11px; }
  .theme-linen .quantity-product strong { font-size: 22px; }
  .theme-linen .stepper button { width: 40px; }
  .linen-gallery .gallery-stage { height: 300px; }
  .linen-order-dock { padding-inline: 16px; gap: 12px; }
  .linen-order-dock .button { gap: 12px; padding-inline: 14px; }
}

/* Light catches the steam; it should be felt before it is noticed. */
.challah-steam { position: absolute; inset: 5% 17% 29%; pointer-events: none; z-index: 1; overflow: hidden; }
.challah-steam i { position: absolute; width: 18%; height: 62%; left: 20%; bottom: -15%; border-radius: 50%; border-left: 14px solid #fff9e8; filter: blur(9px); opacity: 0; transform: rotate(8deg); animation: challah-steam 8s ease-in-out infinite; }
.challah-steam i:nth-child(2) { left: 47%; height: 76%; animation-delay: -3s; animation-duration: 10s; }
.challah-steam i:nth-child(3) { left: 68%; height: 55%; animation-delay: -6s; animation-duration: 9s; }
@keyframes challah-steam { 0% { opacity: 0; transform: translate(0,24px) rotate(8deg) scaleX(.8); } 30% { opacity: .14; } 70% { opacity: .08; } 100% { opacity: 0; transform: translate(-18px,-95px) rotate(-10deg) scaleX(1.7); } }
.gallery-steam { inset: 6% 17% 27%; }
.is-empty .gallery-steam, .has-multiple .gallery-steam { display: none; }
.linen-frame:nth-child(2) .linen-photo > img { object-position: center 45%; }
.gallery-loaves { position: absolute; inset: 38px 40px 68px; display: grid; grid-template-columns: repeat(var(--columns),minmax(0,1fr)); grid-auto-rows: minmax(0,1fr); justify-items: center; align-items: center; gap: 12px 8px; }
.gallery-loaves img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(3px 8px 8px #354b3f16); }
.gallery-loaves[data-count="2"] { inset-inline: 65px; gap: 24px; }
.gallery-selection { position: absolute; bottom: 24px; left: 24px; padding: 5px 9px; background: #faf8f2d9; font-size: 10px; letter-spacing: .015em; z-index: 2; }
.quantity-control { flex: none; text-align: right; }
.product-subtotal { display: block; font-size: 11px; line-height: 1.4; margin-top: 6px; font-variant-numeric: tabular-nums; }
.quantity-row:not(.has-quantity) .product-subtotal { color: var(--muted); }
.delivery-area-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 13px; }
.delivery-area-note svg { width: 17px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; flex-shrink: 0; }
.gift-option { margin-top: 21px; background: #E3E6DA66; border: 1px solid var(--line); }
.gift-toggle { display: flex; align-items: center; gap: 11px; padding: 17px 14px; cursor: pointer; }
.gift-toggle input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.gift-toggle strong { display: block; font: 500 11px/1.5 var(--sans); }
.gift-toggle svg { margin-left: auto; }
.theme-linen .order-form .gift-fields { padding: 8px 16px 18px; }
.theme-linen .gift-fields legend { font: 400 25px/1.1 var(--display); padding-top: 10px; margin: 0 0 4px; }
.gift-fields > p { font-size: 10px; line-height: 1.6; color: var(--muted); margin-bottom: 15px; }
.gift-fields label { display: block; font-size: 11px; margin-top: 13px; }
.gift-fields label > span { color: var(--muted); }
.gift-fields input, .gift-fields select, .gift-fields textarea { display: block; width: 100%; max-width: 100%; background: #FAF8F2; color: var(--ink); border: 1px solid var(--line); border-radius: 0; padding: 10px; font: 400 16px/1.5 var(--sans); margin-top: 5px; }
.gift-fields textarea { resize: vertical; min-height: 76px; }
.gift-fields textarea::placeholder { font-size: 12px; color: var(--muted); }
@media(max-width:760px) {
  .gallery-loaves { inset: 25px 25px 67px; gap: 9px; }
  .gallery-loaves[data-count="2"] { inset-inline: 35px; gap: 18px; }
  .gallery-selection { left: 20px; bottom: 20px; font-size: 9px; }
  .gift-toggle { padding: 14px 12px; gap: 9px; }
  .gift-toggle svg { display: none; }
}
@media(prefers-reduced-motion:reduce) { .challah-steam { display: none; } }

/* Ingredient information borrows the clear rules and bold type of a food label. */
.theme-linen .footer-top { align-items: center; gap: 48px; }
.ingredient-facts { flex: 0 0 350px; width: 350px; padding: 15px; border: 2px solid var(--ink); background: #FAF8F2; color: var(--ink); box-shadow: 0 0 0 6px #FAF8F2; }
.ingredient-facts h2 { font: 800 34px/1.05 var(--sans); letter-spacing: -.06em; padding-bottom: 9px; border-bottom: 8px solid currentColor; }
.ingredient-facts dl { margin: 0; }
.ingredient-facts dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: 14px; line-height: 1.4; }
.ingredient-facts dt { font-weight: 600; }
.ingredient-facts dd { margin: 0; font-weight: 800; }
.ingredient-facts dl > .facts-count { align-items: center; padding-block: 3px; border-bottom: 5px solid currentColor; }
.facts-count dt { font-size: 20px; font-weight: 800; }
.facts-count dd { font-size: 60px; line-height: 1.15; letter-spacing: -.06em; }
.ingredient-facts dl > div:last-child { border-bottom-width: 5px; }
.ingredient-facts > p { font-size: 10px; line-height: 1.6; padding-top: 9px; }
.ingredient-facts .facts-ingredients { font-size: 12px; padding-block: 10px; border-bottom: 1px solid currentColor; }
@media(max-width:1100px) and (min-width:761px) {
  .theme-linen .footer-wordmark { font-size: clamp(58px,7.5vw,86px); }
  .ingredient-facts { flex-basis: 310px; width: 310px; }
  .ingredient-facts h2 { font-size: 30px; }
}
@media(max-width:760px) {
  .theme-linen .footer-top { align-items: start; gap: 36px; }
  .ingredient-facts { flex: auto; width: 100%; max-width: 350px; padding: 13px; }
  .ingredient-facts h2 { font-size: clamp(26px,8vw,34px); }
}
