/*
 * Linen: components. Every value comes from tokens.css; load it first.
 * Prefix: ln-. Put class="ln" on <body>.
 */

/* Base */
.ln { margin: 0; background: var(--ln-cream); color: var(--ln-ink); font-family: var(--ln-sans); font-size: var(--ln-text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.ln *, .ln *::before, .ln *::after { box-sizing: border-box; }
.ln img, .ln svg { max-width: 100%; display: block; }
:where(.ln) a { color: inherit; }
.ln-container { width: min(100% - 40px, var(--ln-container)); margin-inline: auto; }
.ln-narrow { width: min(100% - 40px, var(--ln-narrow)); margin-inline: auto; }
.ln-center { text-align: center; }
.ln-center .ln-lead { margin-inline: auto; }

/* Sections */
.ln-section { padding-block: var(--ln-section); }
.ln-section--oat { margin-inline: var(--ln-inset); border-radius: var(--ln-radius-lg); background: var(--ln-oat); }
.ln-section--ink { margin-inline: var(--ln-inset); border-radius: var(--ln-radius-lg); background: var(--ln-ink); color: var(--ln-cream); }
.ln-section--ink .ln-lead { color: rgba(251, 248, 243, .7); }
.ln-divider { height: 1px; margin: 0; border: 0; background: var(--ln-line); }

/* Type: light serif headlines with tight tracking, never bold; sans for everything else */
.ln-hero-title, .ln-h2, .ln-h3 { margin: 0; font-family: var(--ln-serif); font-weight: 300; color: inherit; font-variation-settings: "opsz" 144; }
.ln-hero-title { font-size: var(--ln-text-hero); letter-spacing: var(--ln-tracking-hero); line-height: .98; }
.ln-h2 { font-size: var(--ln-text-h2); letter-spacing: var(--ln-tracking-h2); line-height: 1.04; }
.ln-h3 { font-size: var(--ln-text-h3); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; font-variation-settings: "opsz" 48; }
.ln-accent { padding-right: .06em; color: var(--ln-clay); font-style: italic; }
.ln-lead { max-width: 560px; margin: 22px 0 0; color: var(--ln-soft); font-size: var(--ln-text-lead); line-height: 1.55; }
.ln-eyebrow { display: inline-block; margin-bottom: 18px; color: var(--ln-soft); font-size: var(--ln-text-micro); font-weight: 600; letter-spacing: var(--ln-tracking-caps); text-transform: uppercase; }
.ln-muted { color: var(--ln-soft); }

/* Announcement strip: one quiet line above everything */
.ln-announce { display: block; padding: 10px 16px; color: var(--ln-ink); font-size: 13px; font-weight: 500; text-align: center; text-decoration: none; }
.ln-announce:hover { color: var(--ln-clay); }

/* Hero card: the page's signature. An oat card inset from the viewport edges with big corners */
.ln-hero { position: relative; overflow: hidden; margin: 0 var(--ln-inset); padding: 16px 16px 0; border-radius: var(--ln-radius-lg); background: radial-gradient(90% 70% at 50% 20%, var(--ln-cream) 0%, var(--ln-oat) 70%); }
.ln-hero__body { position: relative; z-index: 1; padding: clamp(56px, 9vw, 104px) 20px 0; text-align: center; }
.ln-hero__body .ln-lead { margin-inline: auto; }

/* Nav: a frosted pill floating at the top of the hero card */
.ln-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 14px 12px 26px; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--ln-radius-pill); background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: var(--ln-blur); backdrop-filter: var(--ln-blur); }
.ln-logo { font-family: var(--ln-serif); font-size: 24px; font-weight: 400; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.ln-nav__links { display: flex; gap: 32px; font-size: 15px; }
.ln-nav__links a { text-decoration: none; }
.ln-nav__links a:hover, .ln-nav__links a[aria-current] { color: var(--ln-clay); }
.ln-nav__end { display: flex; align-items: center; gap: 8px; }

/* Icon button: a hairline circle for cart, search, quick add */
.ln-icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--ln-line-strong); border-radius: 50%; background: transparent; color: var(--ln-ink); cursor: pointer; transition: background .2s var(--ln-ease); }
.ln-icon-btn:hover { background: var(--ln-white); }
.ln-icon-btn svg { width: 18px; height: 18px; }
.ln-icon-btn__count { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--ln-radius-pill); background: var(--ln-clay); color: var(--ln-white); font-size: 11px; font-weight: 600; }

/* Buttons: pills. Ink for the main action, hairline for the second, clay only for sale moments */
.ln-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 1px solid transparent; border-radius: var(--ln-radius-pill); font-family: var(--ln-sans); font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s var(--ln-ease), color .25s var(--ln-ease), border-color .25s var(--ln-ease); }
.ln-btn--primary { background: var(--ln-ink); color: var(--ln-cream); }
.ln-btn--primary:hover { background: #000; }
.ln-btn--secondary { border-color: var(--ln-line-strong); background: transparent; color: var(--ln-ink); }
.ln-btn--secondary:hover { border-color: var(--ln-ink); }
.ln-btn--clay { background: var(--ln-clay); color: var(--ln-white); }
.ln-btn--clay:hover { background: var(--ln-clay-dark); }
.ln-btn--light { background: var(--ln-cream); color: var(--ln-ink); }
.ln-btn--block { width: 100%; }
.ln-btn--sm { padding: 9px 18px; font-size: 14px; }
.ln-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ln-center .ln-actions, .ln-hero__body .ln-actions { justify-content: center; }

/* Badge: a small ink pill for moments ("New", "Back in stock"); --soft for quiet labels */
.ln-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--ln-radius-pill); background: var(--ln-ink); color: var(--ln-cream); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ln-badge--soft { background: var(--ln-white); color: var(--ln-ink); box-shadow: var(--ln-shadow); }
.ln-badge--clay { background: var(--ln-clay-soft); color: var(--ln-clay-dark); }

/* Stage: products resting on a flowing ribbon at the bottom of the hero card */
.ln-stage { position: relative; height: clamp(260px, 34vw, 420px); margin-top: 40px; }
.ln-stage__ribbon { position: absolute; inset: auto -2% 0; width: 104%; max-width: none !important; height: 100%; }
.ln-stage__objects { position: absolute; inset: auto 0 18%; display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 40px); }

/* Objects: ceramics drawn with CSS. Set the glaze with --glaze. Sizes: --sm, default, --lg */
.ln-mug { position: relative; width: 120px; height: 120px; margin-right: 34px; border-radius: 14px 14px 40px 40px; background: linear-gradient(100deg, rgba(255, 255, 255, .35) 0%, transparent 35%, rgba(0, 0, 0, .1) 100%), var(--glaze, var(--ln-glaze-sand)); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .05), var(--ln-shadow-float); }
.ln-mug::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; border-radius: 14px 14px 50% 50%; background: rgba(0, 0, 0, .12); }
.ln-mug::after { content: ""; position: absolute; top: 24%; right: -34px; width: 44px; height: 54px; border: 12px solid var(--glaze, var(--ln-glaze-sand)); border-left: 0; border-radius: 0 28px 28px 0; filter: brightness(.94); }
.ln-bowl { width: 190px; height: 82px; border-radius: 8px 8px 95px 95px / 8px 8px 82px 82px; background: linear-gradient(100deg, rgba(255, 255, 255, .35) 0%, transparent 40%, rgba(0, 0, 0, .1) 100%), var(--glaze, var(--ln-glaze-sage)); box-shadow: inset 0 8px 0 rgba(0, 0, 0, .08), var(--ln-shadow-float); }
.ln-vase { position: relative; width: 96px; height: 156px; margin-top: 40px; border-radius: 48px 48px 40px 40px / 64px 64px 36px 36px; background: linear-gradient(100deg, rgba(255, 255, 255, .35) 0%, transparent 40%, rgba(0, 0, 0, .12) 100%), var(--glaze, var(--ln-glaze-sky)); box-shadow: var(--ln-shadow-float); }
.ln-vase::before { content: ""; position: absolute; top: -38px; left: 50%; width: 34px; height: 48px; border-radius: 8px 8px 0 0; background: var(--glaze, var(--ln-glaze-sky)); filter: brightness(.95); transform: translateX(-50%); }
.ln-object--sm { transform: scale(.7); transform-origin: bottom center; }
.ln-object--lg { transform: scale(1.25); transform-origin: bottom center; }
.ln-glaze-sage { --glaze: var(--ln-glaze-sage); }
.ln-glaze-sky { --glaze: var(--ln-glaze-sky); }
.ln-glaze-sand { --glaze: var(--ln-glaze-sand); }
.ln-glaze-ink { --glaze: var(--ln-glaze-ink); }
.ln-glaze-clay { --glaze: var(--ln-clay); }

/* Product grid and cards: linen tiles, the object centered, name and price below */
.ln-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 20px; }
.ln-product { position: relative; color: var(--ln-ink); text-decoration: none; }
.ln-product__tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--ln-radius); background: var(--ln-linen); transition: background .3s var(--ln-ease); }
.ln-product:hover .ln-product__tile { background: var(--ln-oat); }
.ln-product__tile .ln-badge { position: absolute; top: 14px; left: 14px; }
.ln-product__tile .ln-icon-btn { position: absolute; right: 14px; bottom: 14px; border: 0; background: var(--ln-cream); }
.ln-product__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; }
.ln-product__name { font-weight: 500; }
.ln-product__price { color: var(--ln-soft); }
.ln-product__price del { margin-right: 6px; color: var(--ln-faint); }
.ln-product__price ins { color: var(--ln-clay); text-decoration: none; }
.ln-swatches { display: flex; gap: 6px; margin-top: 8px; }
.ln-swatches span { width: 14px; height: 14px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 50%; background: var(--glaze); }

/* Section head: heading left, link right */
.ln-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 48px; }
.ln-link { color: var(--ln-ink); font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--ln-line-strong); text-underline-offset: 5px; }
.ln-link:hover { text-decoration-color: var(--ln-ink); }

/* Values: small icon circle, a title and one line */
.ln-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px 28px; }
.ln-value__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--ln-white); color: var(--ln-clay); box-shadow: var(--ln-shadow); }
.ln-value__icon svg { width: 20px; height: 20px; }
.ln-value__title { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.ln-value p { margin: 0; color: var(--ln-soft); font-size: 15px; }

/* Split: a rounded tile and text side by side */
.ln-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ln-split__tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--ln-radius-lg); background: var(--ln-linen); }

/* Quote: a big light serif line with a small byline */
.ln-quote { margin: 0; font-family: var(--ln-serif); font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: -.025em; line-height: 1.22; }
.ln-byline { margin-top: 24px; color: var(--ln-soft); font-size: var(--ln-text-small); }
.ln-stars { color: var(--ln-clay); letter-spacing: 3px; }

/* Segmented toggle */
.ln-segment { display: inline-flex; gap: 2px; padding: 4px; border: var(--ln-border); border-radius: var(--ln-radius-pill); background: var(--ln-white); }
.ln-segment button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: var(--ln-radius-pill); background: transparent; color: var(--ln-soft); font: 500 14px var(--ln-sans); white-space: nowrap; cursor: pointer; }
.ln-segment button[aria-pressed="true"] { background: var(--ln-ink); color: var(--ln-cream); }

/* Pricing: plan cards on cream, the featured one on oat with a badge */
.ln-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.ln-plan { display: flex; flex-direction: column; padding: 32px; border: var(--ln-border); border-radius: var(--ln-radius-lg); background: var(--ln-white); }
.ln-plan--featured { border-color: transparent; background: var(--ln-oat); }
.ln-plan__name { margin: 0; font-size: 15px; font-weight: 600; }
.ln-plan__price { margin: 20px 0 4px; font-family: var(--ln-serif); font-size: 60px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.ln-plan__price small { font-family: var(--ln-sans); font-size: 15px; letter-spacing: 0; color: var(--ln-soft); }
.ln-plan__note { margin: 0 0 24px; color: var(--ln-soft); font-size: var(--ln-text-small); }
.ln-checks { display: grid; gap: 12px; margin: 0 0 32px; padding: 24px 0 0; border-top: var(--ln-border); list-style: none; font-size: 15px; }
.ln-checks li { position: relative; padding-left: 28px; }
.ln-checks li::before { content: ""; position: absolute; top: 6px; left: 2px; width: 12px; height: 7px; border-left: 1.5px solid var(--ln-clay); border-bottom: 1.5px solid var(--ln-clay); transform: rotate(-45deg); }
.ln-plan .ln-btn { margin-top: auto; }

/* FAQ: hairline rows that open */
.ln-faq { border-top: var(--ln-border); }
.ln-faq details { border-bottom: var(--ln-border); }
.ln-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; list-style: none; cursor: pointer; }
.ln-faq summary::-webkit-details-marker { display: none; }
.ln-faq summary::after { content: "+"; color: var(--ln-soft); font-weight: 300; font-size: 22px; line-height: 1; }
.ln-faq details[open] summary::after { content: "\2212"; }
.ln-faq p { margin: 0 0 22px; color: var(--ln-soft); }

/* Article */
.ln-article-head { padding-block: clamp(48px, 8vw, 96px) 40px; text-align: center; }
.ln-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; margin-top: 24px; color: var(--ln-soft); font-size: var(--ln-text-small); }
.ln-figure { margin: 0 var(--ln-inset); }
.ln-figure__tile { display: flex; align-items: flex-end; justify-content: center; gap: 28px; height: clamp(280px, 40vw, 520px); padding-bottom: 12%; border-radius: var(--ln-radius-lg); background: radial-gradient(70% 60% at 50% 40%, var(--ln-cream), var(--ln-linen)); }
.ln-figure figcaption { margin-top: 14px; color: var(--ln-soft); font-size: 13px; text-align: center; }
.ln-prose { font-size: 18px; line-height: 1.75; }
.ln-prose h2 { margin: 56px 0 16px; font-family: var(--ln-serif); font-size: 32px; font-weight: 300; letter-spacing: -.03em; line-height: 1.15; }
.ln-prose p { margin: 0 0 22px; }
.ln-prose ul { margin: 0 0 22px; padding-left: 22px; }
.ln-prose li { margin-bottom: 8px; }
.ln-prose li::marker { color: var(--ln-clay); }
.ln-prose blockquote { margin: 40px 0; padding: 0 0 0 24px; border-left: 2px solid var(--ln-clay); font-family: var(--ln-serif); font-size: 26px; font-weight: 300; letter-spacing: -.02em; line-height: 1.35; }
.ln-note { margin: 32px 0; padding: 22px 24px; border-radius: var(--ln-radius); background: var(--ln-oat); font-size: 16px; }
.ln-author { display: flex; align-items: center; gap: 14px; }
.ln-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ln-clay-soft); color: var(--ln-clay-dark); font-family: var(--ln-serif); font-size: 18px; }

/* Forms: soft white fields with hairlines, labels above */
.ln-form { display: grid; gap: 18px; }
.ln-field { display: grid; gap: 8px; }
.ln-label { font-size: var(--ln-text-small); font-weight: 500; }
.ln-input, .ln-select { width: 100%; padding: 14px 18px; border: 1px solid var(--ln-line-strong); border-radius: var(--ln-radius-sm); background: var(--ln-white); color: var(--ln-ink); font: 400 16px var(--ln-sans); transition: border-color .2s var(--ln-ease), box-shadow .2s var(--ln-ease); }
.ln-input::placeholder { color: var(--ln-faint); }
.ln-input:focus, .ln-select:focus { border-color: var(--ln-ink); outline: none; box-shadow: 0 0 0 4px var(--ln-clay-soft); }
.ln-hint { color: var(--ln-soft); font-size: 13px; }
.ln-check { display: flex; align-items: flex-start; gap: 12px; color: var(--ln-soft); font-size: 14px; }
.ln-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ln-ink); }
.ln-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.ln-choice { position: relative; display: grid; align-content: end; justify-items: center; gap: 10px; padding: 18px 12px 16px; border: 1px solid var(--ln-line-strong); border-radius: var(--ln-radius); background: var(--ln-white); font-size: 14px; font-weight: 500; text-align: center; cursor: pointer; }
.ln-choice input { position: absolute; opacity: 0; }
.ln-choice:has(input:checked) { border-color: var(--ln-ink); box-shadow: 0 0 0 1px var(--ln-ink); }
.ln-panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--ln-radius-lg); background: var(--ln-white); box-shadow: var(--ln-shadow); }

/* Steps: numbered circles in a row */
.ln-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.ln-steps span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ln-line-strong); border-radius: 50%; color: var(--ln-soft); font-size: 12px; font-weight: 600; }
.ln-steps span[aria-current] { border-color: var(--ln-ink); background: var(--ln-ink); color: var(--ln-cream); }

/* Newsletter: an inline email field and button in one pill */
.ln-subscribe { display: flex; gap: 6px; max-width: 440px; padding: 6px; border: 1px solid rgba(251, 248, 243, .25); border-radius: var(--ln-radius-pill); }
.ln-subscribe input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; color: inherit; font: 400 15px var(--ln-sans); outline: none; }
.ln-subscribe input::placeholder { color: rgba(251, 248, 243, .55); }
.ln-center .ln-subscribe { margin-inline: auto; }

/* Footer */
.ln-footer { padding-block: 72px 40px; font-size: var(--ln-text-small); }
.ln-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.ln-footer__title { margin: 0 0 14px; color: var(--ln-soft); font-size: var(--ln-text-micro); font-weight: 600; letter-spacing: var(--ln-tracking-caps); text-transform: uppercase; }
.ln-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ln-footer a { text-decoration: none; }
.ln-footer a:hover { color: var(--ln-clay); }
.ln-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: var(--ln-border); color: var(--ln-soft); }

/* Phones and small tablets */
@media (max-width: 860px) {
  .ln-nav__links { display: none; }
  .ln-split { grid-template-columns: 1fr; }
  .ln-footer__grid { grid-template-columns: 1fr 1fr; }
  .ln-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ln-nav { padding-left: 20px; }
  .ln-stage__objects { transform: scale(.66); transform-origin: bottom center; }
  .ln-products { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .ln-products .ln-object--lg { transform: scale(.85); }
  .ln-products .ln-mug, .ln-products .ln-bowl, .ln-products .ln-vase { zoom: .7; }
  .ln-product__meta { flex-direction: column; gap: 2px; }
  .ln-plan__price { font-size: 52px; }
  .ln-figure__tile { gap: 10px; }
  .ln-figure__tile > * { zoom: .55; }
}
