/* ORLA NAILS subpages: guides, styles, tools, collections and service pages. Loads after styles.css and reuses its tokens. */

.sub main { display: block; }
.sub main > section { padding: clamp(56px, 8vw, 120px) var(--m); }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 18px var(--m) 0; font-size: var(--t-12); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 .7em; color: var(--rule); color: rgba(35, 31, 32, .35); }
.crumbs a { text-decoration: none; display: inline-block; padding: 6px 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); display: inline-block; padding: 6px 0; }

/* ---------- Page heads ---------- */
.hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: clamp(28px, 4vw, 64px) var(--m) 0;
}
.hero__text { grid-column: 1 / span 6; padding-bottom: clamp(8px, 2vw, 32px); }
.hero__figure { grid-column: 7 / -1; }
.hero__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.sub h1 {
  font-size: var(--t-56); font-weight: 350; line-height: 1.02; letter-spacing: -.035em; margin-top: 14px; max-width: 18ch;
  text-wrap: balance; overflow-wrap: break-word; hyphens: auto;
}
.hero__dek, .article__dek, .style__dek, .accessory__dek { margin-top: 22px; color: var(--muted); font-size: var(--t-18); max-width: 50ch; }
.hero__actions, .style__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.collection-head, .quote-head { padding: clamp(28px, 4vw, 64px) var(--m) clamp(36px, 5vw, 72px); }
.collection-head h1, .quote-head h1 { max-width: 20ch; }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap);
  margin: clamp(40px, 5vw, 80px) var(--m) 0;
}
.facts div { border-top: 1px solid var(--ink); padding-top: 12px; }
.facts dt { font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: var(--t-32); font-weight: 350; letter-spacing: -.03em; line-height: 1.15; margin-top: 6px; }

/* ---------- Long-form text ---------- */
.longform {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: clamp(48px, 6vw, 96px) var(--m);
}
.longform > .prose { grid-column: 1 / span 8; }
.longform > .prose--wide { grid-column: 1 / span 9; }
.longform--narrow > .prose { grid-column: 3 / span 8; }
.side-figure { grid-column: 10 / -1; position: sticky; top: calc(var(--head) + 24px); }
.side-figure img { aspect-ratio: 4 / 5; object-fit: cover; }

.prose { font-size: var(--t-18); line-height: 1.65; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: var(--t-32); font-weight: 350; line-height: 1.12; letter-spacing: -.025em;
  margin-top: 2.2em; padding-top: 18px; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--head) + 16px);
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-22); font-weight: 450; letter-spacing: -.015em; line-height: 1.25; margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--cherry); }
.prose a { color: var(--cherry); text-decoration-thickness: 1px; }
.prose a:hover { color: var(--cherry-deep); }
.prose strong { font-weight: 600; }
.prose .lede { color: var(--muted); font-size: var(--t-22); line-height: 1.45; }
.prose .callout {
  font-size: var(--t-16); background: var(--paper-2); border-left: 3px solid var(--cherry); padding: 16px 20px;
}
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-16); line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.prose thead th { font-size: var(--t-12); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.prose tbody th { font-weight: 600; }

.specs { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 24px; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-14); }
.specs dt { font-size: var(--t-12); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.prose .specs { font-size: var(--t-16); }

/* ---------- Guides ---------- */
.article__head { padding: clamp(28px, 4vw, 64px) var(--m) 0; max-width: calc(980px + 2 * var(--m)); }
.article__head h1 { max-width: 22ch; }
.article__kicker { color: var(--cherry); }
.article__meta { margin-top: 18px; font-size: var(--t-14); color: var(--muted); }
.article__figure { margin: clamp(36px, 4vw, 60px) var(--m) 0; }
.article__figure img { width: 100%; max-height: 560px; object-fit: cover; background: var(--paper-2); }
.article__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: clamp(40px, 5vw, 80px) var(--m);
}
.article__aside { grid-column: 1 / span 3; position: sticky; top: calc(var(--head) + 24px); display: grid; gap: 36px; }
.article__grid > .prose { grid-column: 5 / span 7; }
.toc ol { margin-top: 10px; border-top: 1px solid var(--rule); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 9px 0; font-size: var(--t-14); line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--cherry); text-decoration: underline; }
.aside-cta { border-top: 1px solid var(--ink); padding-top: 14px; display: grid; gap: 16px; justify-items: start; font-size: var(--t-14); color: var(--muted); }

/* ---------- Related cards ---------- */
.related { padding: clamp(48px, 6vw, 96px) var(--m); background: var(--paper-2); }
.related h2 { font-size: var(--t-32); font-weight: 350; letter-spacing: -.025em; margin-bottom: 28px; }
.related__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.card { display: grid; align-content: start; gap: 8px; height: 100%; padding-top: 14px; border-top: 1px solid var(--ink); text-decoration: none; }
.card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; background: var(--paper); }
.card--img { border-top: 0; padding-top: 0; }
.card__kicker { font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cherry); }
.card__title { font-size: var(--t-22); line-height: 1.2; letter-spacing: -.015em; }
.card__dek { font-size: var(--t-14); color: var(--muted); }
.card:hover .card__title { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Style pages ---------- */
.style__hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: clamp(24px, 3vw, 48px) var(--m) 0;
}
.style__plate { grid-column: 1 / span 6; position: sticky; top: calc(var(--head) + 24px); }
.style__plate img, .style__detail img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.style__intro { grid-column: 8 / -1; padding-top: clamp(0px, 2vw, 24px); }
.style__kicker { color: var(--cherry); }
.style__intro .specs { margin-top: 40px; }
.style__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: clamp(56px, 7vw, 112px) var(--m);
}
.style__body > .prose { grid-column: 1 / span 7; }
.style__detail { grid-column: 9 / -1; position: sticky; top: calc(var(--head) + 24px); }

.swatches-strip { background: var(--rose); }
.swatches-strip h2 { font-size: var(--t-32); font-weight: 350; letter-spacing: -.025em; max-width: 24ch; }
.swatches-strip > p { margin-top: 12px; color: var(--muted); max-width: 60ch; }
.swatch-links { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px var(--gap); margin-top: 32px; }
.swatch-link { display: grid; gap: 8px; text-decoration: none; font-size: var(--t-14); }
.swatch-link img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--rule); transition: transform .3s var(--ease); }
.swatch-link:hover img { transform: translateY(-3px); }
.swatch-link:hover span { text-decoration: underline; }

/* ---------- Accessories ---------- */
.accessory__head { padding: clamp(28px, 4vw, 64px) var(--m) 0; }
.accessory__head h1 { max-width: 20ch; }
.accessory__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: clamp(48px, 6vw, 96px) var(--m);
}
.accessory__specs { grid-column: 1 / span 5; position: sticky; top: calc(var(--head) + 24px); }
.accessory__specs h2 { font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.accessory__specs .specs { margin-top: 12px; }
.accessory__specs .note { margin-top: 14px; font-size: var(--t-14); color: var(--muted); }
.accessory__grid > .prose { grid-column: 7 / -1; }

/* ---------- Collections ---------- */
.style-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gap);
  padding: 0 var(--m);
}
.style-card { display: grid; align-content: start; gap: 8px; }
.style-card > a:first-child { display: grid; gap: 10px; text-decoration: none; }
.style-card__img { display: block; overflow: hidden; background: var(--paper-2); }
.style-card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease); }
.style-card > a:first-child:hover img { transform: scale(1.03); }
.style-card__name { font-size: var(--t-22); letter-spacing: -.015em; line-height: 1.2; }
.style-card > a:first-child:hover .style-card__name { text-decoration: underline; text-underline-offset: .2em; }
.style-card__dek { font-size: var(--t-14); color: var(--muted); }
.style-card__book { font-size: var(--t-14); font-weight: 500; color: var(--cherry); min-height: 32px; display: inline-flex; align-items: center; }

.acc-list { list-style: none !important; padding: 0 !important; border-top: 1px solid var(--ink); }
.acc-list li { margin: 0 !important; border-bottom: 1px solid var(--rule); }
.acc-list a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px var(--gap); padding: 14px 0; color: var(--ink) !important; text-decoration: none; }
.acc-list a:hover .acc-list__name { color: var(--cherry); text-decoration: underline; }
.acc-list__name { font-size: var(--t-18); }
.acc-list__dek { font-size: var(--t-16); color: var(--muted); }

/* ---------- Guide hub: heading, featured guide, topic directory (scoped to .sub--hub) ---------- */
.sub--hub .hub-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: clamp(24px, 3vw, 48px) var(--m) clamp(28px, 3.4vw, 52px);
}
.sub--hub .hub-head__title { grid-column: 1 / span 7; }
.sub--hub .hub-head h1 { font-size: clamp(2.2rem, 1.5rem + 2.3vw, 3.5rem); max-width: 16ch; }
.sub--hub .hub-head__dek { grid-column: 8 / -1; color: var(--muted); font-size: var(--t-18); max-width: 44ch; padding-bottom: .3em; }
.sub--hub .hub { padding: 0 var(--m) clamp(64px, 8vw, 128px); }
.sub--hub .hub__feature {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  background: var(--cherry-deep); color: var(--cream); text-decoration: none;
}
.sub--hub .hub__frame { grid-column: 1 / span 7; overflow: hidden; aspect-ratio: 6 / 5; background: var(--paper-2); }
.sub--hub .hub__frame picture, .sub--hub .hub__frame img { display: block; width: 100%; height: 100%; }
.sub--hub .hub__frame img { object-fit: cover; object-position: 50% 42%; transition: transform 1.2s var(--ease); }
.sub--hub .hub__copy { grid-column: 8 / -1; align-self: end; display: grid; gap: 16px; padding: clamp(28px, 4vw, 64px); }
.sub--hub .hub__copy .label { color: rgba(246, 238, 227, .8); }
.sub--hub .hub__title { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight: 350; line-height: 1.06; letter-spacing: -.03em; max-width: 13ch; text-wrap: balance; }
.sub--hub .hub__dek { color: rgba(246, 238, 227, .82); font-size: var(--t-18); max-width: 34ch; }
.sub--hub .hub__cta {
  margin-top: 10px; font-size: var(--t-14); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: rgba(246, 238, 227, .4); text-underline-offset: .5em;
  transition: text-decoration-color .25s var(--ease);
}
.sub--hub .hub__feature:hover .hub__frame img { transform: scale(1.03); }
.sub--hub .hub__feature:hover .hub__cta { text-decoration-color: currentColor; }
.sub--hub .hub__groups {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start;
  gap: clamp(48px, 5vw, 80px) clamp(24px, 3vw, 48px); margin-top: clamp(56px, 6vw, 96px);
}
.sub--hub .hub-group { padding: 0; }
.sub--hub .hub__langs { display: grid; gap: clamp(32px, 3vw, 44px); }
.hub-group h2 { font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cherry); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.hub-list li { border-bottom: 1px solid var(--rule); }
.hub-list a { display: grid; gap: 4px; padding: 14px 0; text-decoration: none; }
.hub-list__title { font-size: var(--t-22); letter-spacing: -.015em; line-height: 1.2; }
.hub-list__dek { font-size: var(--t-14); color: var(--muted); }
.hub-list a:hover .hub-list__title { color: var(--cherry); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 1500px) {
  /* Keep the 819 px source near its native size on wide screens. */
  .sub--hub .hub__frame { grid-column: 1 / span 6; aspect-ratio: 5 / 4; }
  .sub--hub .hub__copy { grid-column: 7 / -1; }
}
@media (max-width: 1080px) {
  .sub--hub .hub__frame { grid-column: 1 / span 6; aspect-ratio: 4 / 5; }
  .sub--hub .hub__copy { grid-column: 7 / -1; }
  .sub--hub .hub__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sub--hub .hub-head { display: block; }
  .sub--hub .hub-head__dek { margin-top: 18px; }
}
@media (max-width: 640px) {
  .sub--hub .hub__feature { display: block; margin: 0 calc(var(--m) * -1); }
  .sub--hub .hub__copy { padding: 26px var(--m) 32px; gap: 12px; }
  .sub--hub .hub__dek { font-size: var(--t-16); }
  .sub--hub .hub__groups { grid-template-columns: 1fr; margin-top: 52px; }
}

/* ---------- Partnership process and FAQ ---------- */
.process-list { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.process-list li { margin: 0 !important; border-top: 1px solid var(--rule); padding: 16px 0 20px; }
.process-list h3 { margin: 0; font-size: var(--t-18); font-weight: 500; }
.process-list p { margin-top: 6px; font-size: var(--t-16); color: var(--muted); }
.faq { display: grid; }
.faq__item { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq__item h3 { margin: 0; font-size: var(--t-18); font-weight: 500; }
.faq__item p { margin-top: 8px; font-size: var(--t-16); color: var(--muted); }

/* ---------- Quote page ---------- */
.quote-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 4vw, 56px); }
.quote-steps li { border-top: 1px solid var(--ink); padding-top: 14px; }
.quote-steps h2 { font-size: var(--t-22); font-weight: 400; letter-spacing: -.015em; }
.quote-steps p { margin-top: 8px; color: var(--muted); font-size: var(--t-16); }
.quote-steps a { color: var(--cherry); }
.sub--contact .request { padding: clamp(56px, 8vw, 120px) var(--m); }
.request__list .extra-tag { display: inline-grid; place-items: center; width: 56px; height: 56px; background: rgba(246, 238, 227, .12); font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Closing band ---------- */
.band { background: var(--bottle); color: var(--cream); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.band h2 { grid-column: 1 / span 6; font-size: var(--t-56); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.band > p { grid-column: 8 / -1; color: rgba(246, 238, 227, .85); max-width: 46ch; }
.band .band__actions { grid-column: 8 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.band :focus-visible { outline-color: var(--cream); }

/* ---------- Alias stubs ---------- */
.moved { padding: 20vh var(--m); }
.moved__text { margin-top: 12px; font-size: var(--t-22); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .swatch-links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .article__aside { grid-column: 1 / span 4; }
  .article__grid > .prose { grid-column: 5 / -1; }
  .longform > .prose, .longform > .prose--wide { grid-column: 1 / span 9; }
  .side-figure { grid-column: 10 / -1; }
}
@media (max-width: 860px) {
  .hero, .style__hero, .style__body, .accessory__grid, .article__grid, .longform, .band { display: block; }
  .hero__figure { margin-top: 28px; margin-left: calc(var(--m) * -1); margin-right: calc(var(--m) * -1); }
  .style__plate, .style__detail, .accessory__specs, .side-figure, .article__aside { position: static; }
  .style__intro { margin-top: 28px; }
  .style__detail { margin-top: 40px; max-width: 520px; }
  .accessory__grid > .prose { margin-top: 48px; }
  .article__aside { margin-bottom: 40px; }
  .side-figure { margin-top: 40px; max-width: 420px; }
  .longform--narrow > .prose { max-width: none; }
  .band > p { margin-top: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .facts dd { font-size: 1.6rem; }
  .quote-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related__list { grid-template-columns: 1fr; }
  .swatch-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-list { grid-template-columns: 1fr; }
  .acc-list a { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .prose { font-size: var(--t-16); }
  .prose table { font-size: var(--t-14); }
  .prose th, .prose td { padding-right: 10px; }
  .card--img img { max-width: 160px; }
  .crumbs ol { font-size: .6875rem; }
}
@media (max-width: 400px) {
  .style-grid { grid-template-columns: 1fr; }
}

/* ---------- Factory page ---------- */
.factory-head { padding: clamp(28px, 4vw, 64px) var(--m) clamp(28px, 3vw, 48px); }
.factory-head h1 { max-width: 22ch; }
.factory-lead { margin: 0 var(--m); max-width: 1120px; }
.factory-lead img { width: 100%; height: auto; background: var(--paper-2); }
.factory-process { max-width: 720px; }
.factory-lead figcaption, .photo figcaption { margin-top: 10px; font-size: var(--t-14); color: var(--muted); max-width: 60ch; }
.photo figcaption strong { color: var(--ink); font-weight: 600; }
.factory-essay {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) var(--gap); align-items: start;
  padding: clamp(8px, 2vw, 24px) var(--m) clamp(48px, 6vw, 96px);
}
.factory-essay .photo { grid-column: span 5; }
.factory-essay .photo--wide { grid-column: span 7; }
.factory-essay .photo--tall { grid-column: span 4; }
.factory-essay .photo--tall + .photo--wide { grid-column: span 8; }
.photo img { width: 100%; height: auto; background: var(--paper-2); }
.side-figure .photo img { aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Service pages ---------- */
.service-cta {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px var(--gap); align-items: end;
  margin: 0 var(--m) clamp(48px, 6vw, 88px); padding: clamp(28px, 4vw, 56px); background: var(--paper-2); border-top: 2px solid var(--cherry);
}
.service-cta h2 { font-size: var(--t-32); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.service-cta p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.service-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-self: end; }
.lamp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 8px; }
.lamp-cards li { list-style: none; }

@media (max-width: 860px) {
  .factory-essay { display: block; }
  .factory-essay .photo { margin-top: 36px; }
  .service-cta { display: block; }
  .service-cta__actions { margin-top: 22px; justify-content: flex-start; }
  .lamp-cards { grid-template-columns: 1fr; }
}

/* ---------- Service pages and partner hub: editorial layout ---------- */
.svc-hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: clamp(28px, 4vw, 64px) var(--m) 0;
}
.svc-hero__text { grid-column: 1 / span 6; padding-bottom: clamp(4px, 1.5vw, 24px); }
.svc-hero__figure { grid-column: 7 / -1; margin-right: calc(var(--m) * -1); }
.svc-hero__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.svc-hero--portrait { align-items: center; }
.svc-hero--portrait .svc-hero__text { grid-column: 1 / span 6; padding-bottom: 0; }
.svc-hero--portrait .svc-hero__figure { grid-column: 8 / -1; }
.svc-hero--portrait .svc-hero__figure img { aspect-ratio: 4 / 5; object-position: 50% 30%; background: var(--rose); }
.svc-hero__kicker { color: var(--muted); }
.svc-hero__dek { margin-top: 22px; color: var(--muted); font-size: var(--t-18); max-width: 46ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }

.svc-glance {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px var(--gap);
  margin: clamp(44px, 5vw, 80px) var(--m) 0;
}
.svc-glance div { border-top: 1px solid var(--ink); padding-top: 12px; }
.svc-glance dt { font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-glance dd { margin-top: 8px; font-size: var(--t-22); font-weight: 350; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }

/* A heading column beside the content; the heading stays in view while a long table scrolls past. */
.sub main > .svc-rail {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: clamp(56px, 7vw, 104px) var(--m) 0;
}
.sub main > .svc-rail--tight { padding-top: clamp(36px, 4.5vw, 64px); }
.svc-rail__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--head) + 24px); border-top: 1px solid var(--ink); padding-top: 16px; }
.svc-rail__head h2 { font-size: var(--t-32); font-weight: 350; line-height: 1.1; letter-spacing: -.025em; max-width: 13ch; text-wrap: balance; scroll-margin-top: calc(var(--head) + 16px); }
.svc-rail__figure { margin-top: clamp(24px, 3vw, 40px); max-width: 300px; }
.svc-rail__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.svc-rail__body { grid-column: 5 / -1; border-top: 1px solid var(--rule); padding-top: 16px; }
.svc-rail__body > p { max-width: 64ch; }
.svc-rail__body table { margin-top: 1.4em; }
.svc-rail__body > p:first-child { margin-top: 0; }

.svc-rail__body .svc-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); }
.svc-rail__body > p + .svc-fit { margin-top: 1.6em; }
.svc-rail__body .svc-fit h3 { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.svc-rail__body .svc-fit ul { list-style: none; padding: 0; margin: 0; }
.svc-rail__body .svc-fit li, .svc-rail__body .svc-list li, .svc-rail__body .svc-styles li { margin: 0; }
.svc-rail__body .svc-fit li { padding: 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.45; }
.svc-rail__body .svc-fit__col--other h3 { color: var(--muted); }
.svc-rail__body .svc-fit__col--other li { color: var(--muted); }
.svc-rail__body .svc-fit__col--other a { color: var(--cherry); }

.svc-rail__body .svc-list { list-style: none; padding: 0; }
.svc-rail__body .svc-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.5; max-width: 72ch; }
.svc-rail__body .svc-list li:first-child { padding-top: 0; }
.svc-rail__body .svc-list strong { font-weight: 500; }
.svc-rail__body .svc-next { margin-top: 28px; font-size: var(--t-16); color: var(--muted); }
.svc-next .link { color: var(--cherry); margin-left: .4em; }

.svc-rail__body .svc-styles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: 1.4em; }
.svc-rail__body .svc-style { display: grid; gap: 10px; text-decoration: none; font-size: var(--t-14); color: var(--ink); }
.svc-style img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.svc-style:hover span { text-decoration: underline; text-underline-offset: .2em; }

.svc-rail__body .svc-example { margin-top: 1.6em; padding: clamp(20px, 2.6vw, 32px); background: var(--paper-2); max-width: none; }
.svc-example > * + * { margin-top: 12px; }
.svc-example p { font-size: var(--t-16); }
.svc-example .label { color: var(--muted); font-size: var(--t-12); }
.svc-calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px var(--gap); margin-top: 20px !important; }
.svc-calc div { border-top: 1px solid var(--rule); padding-top: 10px; }
.svc-calc dt { font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-calc dd { margin-top: 6px; font-size: var(--t-22); font-weight: 350; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }

.svc-rail--faq .faq { max-width: 76ch; }
.svc-rail--faq .faq__item:first-child { border-top: 0; padding-top: 0; }

/* Sampling steps run across the page on a quiet field; order is carried by position, not numerals. */
.sub main > .svc-steps {
  margin-top: clamp(64px, 8vw, 120px); padding: clamp(56px, 7vw, 104px) var(--m);
  background: var(--paper-2);
}
.sub main > .svc-steps + .svc-rail { padding-top: clamp(64px, 8vw, 120px); }
.svc-steps__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.svc-steps__head h2 { grid-column: 1 / span 6; font-size: var(--t-32); font-weight: 350; line-height: 1.1; letter-spacing: -.025em; }
.svc-steps__intro { grid-column: 8 / -1; color: var(--muted); max-width: 46ch; }
.svc-steps__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.svc-steps__list li { border-top: 1px solid var(--ink); padding-top: 14px; }
.svc-steps__list h3 { font-size: var(--t-18); font-weight: 500; line-height: 1.3; }
.svc-steps__list p { margin-top: 8px; font-size: var(--t-16); color: var(--muted); }
.svc-steps__list a { color: var(--cherry); }
.svc-steps__after { margin-top: clamp(28px, 3vw, 44px); max-width: 70ch; color: var(--muted); }
.svc-steps__after a { color: var(--cherry); }

.sub main > .svc-quote {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  margin-top: clamp(64px, 8vw, 120px); padding: clamp(56px, 7vw, 104px) var(--m);
  background: var(--cherry); color: var(--cream);
}
.svc-quote h2 { grid-column: 1 / span 6; font-size: var(--t-56); font-weight: 300; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.svc-quote__text { grid-column: 8 / -1; }
.svc-quote__text > p:first-child { color: rgba(246, 238, 227, .86); max-width: 46ch; }
.svc-quote__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.svc-quote :focus-visible { outline-color: var(--cream); }

.sub main > .svc-others { padding: clamp(56px, 7vw, 104px) var(--m); }
.svc-others__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 28px; border-top: 1px solid var(--ink); padding-top: 16px; }
.svc-others__head h2 { font-size: var(--t-32); font-weight: 350; letter-spacing: -.025em; line-height: 1.1; }
.svc-others__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: clamp(28px, 3vw, 44px); }
.svc-route { display: grid; align-content: start; gap: 10px; text-decoration: none; }
.svc-route__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; background: var(--paper-2); }
.svc-route__title { margin: 6px 0 0; font-size: var(--t-22); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
.svc-route__dek { font-size: var(--t-14); color: var(--muted); }
.svc-route:hover .svc-route__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Partner hub */
.svc-hub {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: clamp(28px, 4vw, 64px) var(--m) 0;
}
.svc-hub__title { grid-column: 1 / span 7; }
.svc-hub__text { grid-column: 9 / -1; }
.svc-hub__text .svc-hero__dek { margin-top: 0; }
.svc-hub__figure { grid-column: 1 / -1; margin: clamp(36px, 4.5vw, 64px) calc(var(--m) * -1) 0; }
.svc-hub__figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--paper-2); }
.sub main > .svc-compare { padding: clamp(64px, 8vw, 120px) var(--m) 0; }
.svc-compare__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; border-top: 1px solid var(--ink); padding-top: 16px; }
.svc-compare__head h2 { grid-column: 1 / span 6; font-size: var(--t-32); font-weight: 350; letter-spacing: -.025em; line-height: 1.1; }
.svc-compare__head p { grid-column: 8 / -1; color: var(--muted); max-width: 46ch; }
.svc-compare__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.svc-compare__item { display: flex; flex-direction: column; }
.svc-compare__facts { flex: 1; }
.svc-compare .svc-route__img img { aspect-ratio: 4 / 5; }
.svc-compare__facts { margin-top: 18px; }
.svc-compare__facts div { border-top: 1px solid var(--rule); padding: 10px 0 12px; }
.svc-compare__facts dt { font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-compare__facts dd { margin-top: 4px; font-size: var(--t-16); line-height: 1.45; }
.svc-compare__quote { border-top: 1px solid var(--rule); padding-top: 14px; }
.svc-compare__quote .link { color: var(--cherry); }

@media (max-width: 1080px) {
  .svc-rail__head { grid-column: 1 / span 4; }
  .svc-steps__list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-compare__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-rail__body .svc-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .svc-hero, .svc-hub, .sub main > .svc-rail, .svc-steps__head, .sub main > .svc-quote, .svc-compare__head { display: block; }
  .svc-hero__figure { margin: 32px calc(var(--m) * -1) 0; }
  .svc-hero--portrait .svc-hero__figure img { aspect-ratio: 4 / 5; }
  .svc-hub__text { margin-top: 22px; }
  .svc-rail__head { position: static; }
  .svc-rail__head h2 { max-width: 22ch; }
  .svc-rail__figure { max-width: 240px; }
  .svc-rail__body { border-top: 0; padding-top: 0; margin-top: 20px; }
  .svc-steps__intro, .svc-compare__head p { margin-top: 14px; }
  .svc-quote__text { margin-top: 24px; }
  .svc-others__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-glance dd { font-size: var(--t-18); }
  .svc-rail__body .svc-fit { grid-template-columns: 1fr; }
  .svc-steps__list, .svc-compare__list, .svc-others__list { grid-template-columns: 1fr; }
  .svc-compare .svc-route__img img { aspect-ratio: 3 / 2; }
  .svc-calc { grid-template-columns: 1fr; }
  .svc-rail__figure { max-width: 200px; }
  .svc-others .svc-route { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start; }
  .svc-others .svc-route__img { grid-row: 1 / span 2; }
  .svc-others .svc-route__img img { aspect-ratio: 1; }
  .svc-others .svc-route__title { margin-top: 0; }
  .svc-others__list { gap: 20px; }
}

/* ---------- Editorial folio (18 Nov 2026): page leads, article reading layout, contents, tables ----------
   Every non-home content page opens with its own editorial photograph (assets/editorial). Heads put the text
   beside the photograph on wide screens and above it on phones. Fallback markup without a lead is unchanged. */
.lead { width: 100%; max-width: var(--lead-w, 100%); background: var(--paper-2); }
.lead .lead__img { width: 100%; height: auto; }
.lead--art img { width: 100%; height: 100%; object-fit: cover; }

/* Shared head geometry: text on the left, the photograph at the right edge of the grid at no more than its own size. */
.article__head:not(.article__head--plain), .accessory__head--lead, .collection-head--lead, .quote-head--lead,
.factory-head--lead, .page-head--lead, .style__hero--lead {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; max-width: none;
}
.article__intro, .accessory__intro, .collection-head__intro, .quote-head__intro, .factory-head__intro, .page-head__intro { min-width: 0; }
.article__head .lead, .accessory__lead, .collection-head__lead, .quote-head__lead, .factory-head__lead, .page-head__lead, .style__lead {
  grid-column: 8 / -1; justify-self: end;
}
.article__head .lead--wide, .accessory__lead.lead--wide, .collection-head__lead.lead--wide, .quote-head__lead.lead--wide,
.factory-head__lead.lead--wide, .page-head__lead.lead--wide, .style__lead.lead--wide { grid-column: 7 / -1; }

/* Guides: a compact head, so the first section starts close to the fold. */
.article__head:not(.article__head--plain) { padding-bottom: 0; }
.article__intro { grid-column: 1 / span 7; padding-bottom: clamp(4px, 1vw, 16px); }
.sub--guide .article__head h1 { font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.6rem); max-width: 20ch; }
.sub--guide .article__dek { max-width: 54ch; }
.article__head .lead--art { grid-column: 8 / -1; justify-self: stretch; aspect-ratio: 5 / 4; max-height: min(520px, 62vh); overflow: hidden; }
.article__head .lead--art picture { display: block; height: 100%; }

/* Heads that already had an image column take the photograph at its own ratio. */
.lead.hero__figure, .lead.svc-hero__figure { justify-self: end; margin-right: 0; }
.lead.hero__figure img, .lead.svc-hero__figure img, .svc-hero--portrait .lead.svc-hero__figure img { aspect-ratio: auto; object-fit: initial; }
.svc-hub--lead { align-items: start; grid-template-rows: auto 1fr; }
.svc-hub--lead .svc-hub__title { grid-column: 1 / span 7; grid-row: 1; }
.svc-hub--lead .svc-hub__text { grid-column: 1 / span 6; grid-row: 2; margin-top: 26px; }
.svc-hub--lead .lead.svc-hub__figure { grid-column: 8 / -1; grid-row: 1 / span 2; justify-self: end; align-self: end; margin: 0; }
.svc-hub--lead .lead.svc-hub__figure img { aspect-ratio: auto; object-fit: initial; }
.sub--hub .hub__feature .lead.hub__frame { max-width: none; aspect-ratio: 2 / 1; align-self: stretch; }
.sub--hub .hub__feature .lead.hub__frame img { height: 100%; object-fit: cover; }
@media (min-width: 1500px) { .sub--hub .hub__feature .lead.hub__frame { grid-column: 1 / span 6; aspect-ratio: 2 / 1; } }

/* Reading measure and the contents rail. */
.article__grid > .prose { max-width: 46rem; }
.article__aside { max-height: calc(100vh - var(--head) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 6px; }
.toc__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; cursor: pointer; list-style: none; }
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::after {
  content: ""; width: 7px; height: 7px; margin-right: 4px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); flex: none;
}
.toc__details:not([open]) .toc__summary::after { transform: translateY(1px) rotate(-135deg); }
.toc a { border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a[aria-current] { color: var(--cherry); border-left-color: var(--cherry); }

/* Citations: source links read as links, quietly. */
.prose a.ext { text-decoration-style: solid; text-decoration-color: rgba(110, 20, 32, .45); text-underline-offset: .18em; overflow-wrap: anywhere; }
.prose a.ext:hover { text-decoration-color: currentColor; }

/* Tables: contained horizontal scroll with edge shadows; the hint shows only while a table overflows. */
.table-wrap { position: relative; }
.prose .table-wrap { margin-top: 1.4em; }
.prose .table-wrap + * { margin-top: 1.4em; }
.table-hint { display: none; margin-bottom: 8px; font-size: var(--t-12); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table-wrap.is-overflowing .table-hint { display: block; }
.table-scroll {
  background:
    linear-gradient(to right, var(--paper) 30%, rgba(244, 240, 234, 0)) left / 40px 100% no-repeat local,
    linear-gradient(to left, var(--paper) 30%, rgba(244, 240, 234, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(35, 31, 32, .16), rgba(35, 31, 32, 0)) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(35, 31, 32, .16), rgba(35, 31, 32, 0)) right / 14px 100% no-repeat scroll;
}
.table-scroll:focus-visible { outline: 2px solid var(--cherry-bright); outline-offset: 4px; }
.prose table:has(thead th:nth-child(5)) { min-width: 44rem; }
.prose table:has(thead th:nth-child(6)) { min-width: 52rem; }
.prose tbody tr:hover > * { background: rgba(236, 218, 209, .35); }

/* Style pages with a lead: the plate and the specification follow as the product record. */
.style__hero--product { align-items: center; }
.style__hero--product .style__plate { position: static; }
.style__hero--lead .style__intro { grid-column: 1 / span 6; padding-top: 0; }
.style__body--record > .prose { grid-column: 1 / span 7; grid-row: 1; }
.style__record { grid-column: 9 / -1; grid-row: 1; }
.style__record .style__plate { position: static; }
.style__record .style__plate img { aspect-ratio: 4 / 3; }
@media (min-width: 861px) and (min-height: 940px) { .style__record { position: sticky; top: calc(var(--head) + 24px); } }
.style__record .specs { margin-top: 24px; }

/* Accessories, collections, quote, factory and policy heads. */
.accessory__intro, .collection-head__intro, .factory-head__intro, .page-head__intro { grid-column: 1 / span 6; padding-bottom: clamp(4px, 1vw, 16px); }
.quote-head--lead .quote-head__intro { grid-column: 1 / span 6; align-self: end; }
.quote-head--lead .quote-steps { grid-column: 1 / -1; }
.page-head { padding: clamp(28px, 4vw, 64px) var(--m) 0; }
.page-head .lede { margin-top: 22px; color: var(--muted); font-size: var(--t-22); line-height: 1.45; max-width: 40ch; }
.page-head--lead + .longform { padding-top: clamp(48px, 6vw, 88px); }

/* Other routes as a quiet text index once each service has its own photograph. */
.svc-others--text .svc-others__list { gap: 0 var(--gap); }
.svc-route--text { border-top: 1px solid var(--rule); padding: 16px 0 6px; min-height: 100%; }
.svc-route--text .svc-route__title { margin-top: 0; }

@media (max-width: 1080px) {
  .article__head .lead--art { aspect-ratio: 4 / 5; }
  .style__record { grid-column: 8 / -1; }
  .svc-hub--lead .lead.svc-hub__figure { grid-column: 7 / -1; }
}
@media (max-width: 860px) {
  .article__head:not(.article__head--plain), .accessory__head--lead, .collection-head--lead, .quote-head--lead,
  .factory-head--lead, .page-head--lead, .style__hero--lead, .svc-hub--lead { display: block; }
  .article__head .lead, .accessory__lead, .collection-head__lead, .quote-head__lead, .factory-head__lead, .page-head__lead, .style__lead,
  .lead.hero__figure, .lead.svc-hero__figure, .svc-hub--lead .lead.svc-hub__figure { margin: 28px 0 0; justify-self: start; }
  .article__head .lead--art { max-height: none; aspect-ratio: 3 / 2; margin: 28px calc(var(--m) * -1) 0; }
  .style__record { position: static; margin-bottom: 48px; }
  .style__record .style__plate { max-width: 420px; }
  .article__aside { max-height: none; overflow: visible; padding-right: 0; }
  .toc { border: 1px solid var(--rule); padding: 6px 14px; }
  .toc__summary { min-height: 44px; }
  .toc ol { margin-top: 2px; }
  .toc li:last-child { border-bottom: 0; }
  .svc-route--text { padding-bottom: 14px; }
}
@media (max-width: 480px) {
  /* Phones: the photograph runs edge to edge, still no wider than the file. */
  .lead.lead--square, .lead.lead--tall, .lead.lead--wide { margin-left: calc(var(--m) * -1) !important; width: calc(100% + 2 * var(--m)); max-width: none; }
  .sub--hub .hub__feature .lead.hub__frame { margin-left: 0 !important; width: 100%; }
}
@media (max-width: 640px) {
  .svc-others--text .svc-others__list { gap: 0; }
  .svc-others--text .svc-route { display: grid; grid-template-columns: 1fr; }
  /* Tables of three or more columns become labelled rows; headings stay available to assistive technology. */
  .table-wrap--stack .table-scroll { overflow: visible; background: none; }
  .table-wrap--stack .table-hint { display: none !important; }
  .prose .table-wrap--stack table.table--stack { min-width: 0; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td { display: block; width: auto; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table--stack tbody tr { padding: 14px 0 12px; border-top: 1px solid var(--rule); }
  .table--stack tbody tr:first-child { border-top-color: var(--ink); }
  .table--stack tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .table--stack tbody tr:hover > * { background: none; }
  .prose .table--stack th, .prose .table--stack td { padding: 0; border: 0; }
  .table--stack tbody > tr > :first-child { font-size: var(--t-16); font-weight: 600; line-height: 1.35; }
  .table--stack tbody > tr > * + * { margin-top: 8px; }
  .table--stack tbody > tr > * + *::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  }
}
.lamp-cards li + li { margin-top: 0; }

/* ---------- Colourway gallery on style pages (product first; the model portrait follows in the record) ---------- */
/* Without JavaScript the checked radio picks the slide through :has(); app.js adds deep links and the quote carry. */
.style__hero--gallery { align-items: start; }
.gallery { display: grid; gap: 14px; }
.gallery__stage { position: relative; }
.gallery__slide { display: none; margin: 0; }
.gallery__slide:first-child { display: block; }
.gallery__slide img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.gallery__slide figcaption { margin-top: 10px; font-size: var(--t-14); font-weight: 500; }
.gallery__slide figcaption span { color: var(--muted); font-weight: 400; }
.gallery__slide figcaption span::before { content: "·"; margin: 0 .5em; }
@supports selector(:has(*)) {
  .gallery:has(.gallery__thumb:nth-child(1) > input:checked) .gallery__slide:not(:nth-child(1)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(1) > input:checked) .gallery__slide:nth-child(1) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(2) > input:checked) .gallery__slide:not(:nth-child(2)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(2) > input:checked) .gallery__slide:nth-child(2) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(3) > input:checked) .gallery__slide:not(:nth-child(3)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(3) > input:checked) .gallery__slide:nth-child(3) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(4) > input:checked) .gallery__slide:not(:nth-child(4)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(4) > input:checked) .gallery__slide:nth-child(4) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(5) > input:checked) .gallery__slide:not(:nth-child(5)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(5) > input:checked) .gallery__slide:nth-child(5) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(6) > input:checked) .gallery__slide:not(:nth-child(6)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(6) > input:checked) .gallery__slide:nth-child(6) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(7) > input:checked) .gallery__slide:not(:nth-child(7)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(7) > input:checked) .gallery__slide:nth-child(7) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(8) > input:checked) .gallery__slide:not(:nth-child(8)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(8) > input:checked) .gallery__slide:nth-child(8) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(9) > input:checked) .gallery__slide:not(:nth-child(9)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(9) > input:checked) .gallery__slide:nth-child(9) { display: block; }
  .gallery:has(.gallery__thumb:nth-child(10) > input:checked) .gallery__slide:not(:nth-child(10)) { display: none; }
  .gallery:has(.gallery__thumb:nth-child(10) > input:checked) .gallery__slide:nth-child(10) { display: block; }
}
@supports not selector(:has(*)) {
  .gallery.is-js .gallery__slide { display: none; }
  .gallery.is-js .gallery__slide.is-on { display: block; }
}
.gallery__picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.gallery__legend { padding: 0; margin-bottom: 10px; font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.gallery__legend span { color: var(--muted); margin-left: .6em; letter-spacing: .04em; text-transform: none; font-weight: 400; }
/* The thumbnails sit below the picture on every screen: five across, so ten colourways read as two rows. */
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 12px; }
.gallery__thumb { position: relative; display: grid; align-content: start; gap: 6px; min-width: 0; cursor: pointer; font-size: var(--t-12); line-height: 1.3; overflow-wrap: break-word; }
.gallery__thumb input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.gallery__thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); outline: 1px solid var(--rule); outline-offset: 0; transition: outline-color .2s var(--ease); }
.gallery__thumb:hover img { outline-color: var(--muted); }
.gallery__thumb input:checked + img { outline: 2px solid var(--ink); outline-offset: 3px; }
.gallery__thumb input:checked ~ span { font-weight: 600; }
.gallery__thumb input:focus-visible + img { outline: 3px solid var(--cherry-bright); outline-offset: 3px; }
.gallery__thumb input:focus-visible ~ span { text-decoration: underline; text-underline-offset: .2em; }
.gallery__note { font-size: var(--t-12); color: var(--muted); max-width: 52ch; }
.gallery__carry { margin-top: 14px; font-size: var(--t-14); color: var(--muted); }

/* Hardware: documented alternative models and sibling products as a quiet index. */
.models { padding: clamp(40px, 5vw, 72px) var(--m) 0; }
.models h2 { font-size: var(--t-32); font-weight: 350; letter-spacing: -.025em; }
.models > p { margin-top: 10px; color: var(--muted); max-width: 60ch; }
.models__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.models__card { display: grid; align-content: start; gap: 6px; height: 100%; padding: 14px 0 6px; border-top: 1px solid var(--ink); text-decoration: none; min-height: 44px; }
.models__name { font-size: var(--t-18); line-height: 1.25; }
.models__facts { font-size: var(--t-14); color: var(--muted); }
.models__tag { justify-self: start; font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--cherry); }
.models__card[aria-current] { border-top-width: 3px; padding-top: 12px; }
.models__card:not([aria-current]):hover .models__name { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 860px) {
  .gallery__thumbs { gap: 12px 8px; }
  .models__list { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .gallery__thumb { gap: 5px; font-size: .6875rem; line-height: 1.25; }
}

/* Closing factory feature on product pages */
.product-factory { padding: 0; background: var(--paper); }
.product-factory__story { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(22rem, 38vw, 36rem); color: #fff9f2; background: #302726; }
.product-factory__cover, .product-factory__cover img, .product-factory__story::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-factory__cover { z-index: -2; }
.product-factory__cover img { object-fit: cover; object-position: 50% 46%; }
.product-factory__story::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(24,15,17,.91), rgba(24,15,17,.74) 46%, rgba(24,15,17,.10) 85%); }
.product-factory__copy { max-width: 45rem; padding: clamp(2rem, 5vw, 5rem) var(--m); }
.product-factory__copy h2 { max-width: 16ch; font-size: clamp(2.25rem, 4.4vw, 4.6rem); font-weight: 350; letter-spacing: -.04em; line-height: 1.04; }
.product-factory__copy p { max-width: 42ch; margin: 1rem 0 1.5rem; line-height: 1.5; }
.product-factory__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.product-factory__strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); padding: var(--gap) var(--m) clamp(2rem,4vw,4rem); }
.product-factory__strip img { width: 100%; height: auto; aspect-ratio: 2.6; object-fit: cover; }
.product-factory__strip figcaption { padding-top: .45rem; font-size: var(--t-14); }
@media (max-width: 650px) {
  .product-factory__story::after { background: linear-gradient(0deg, rgba(24,15,17,.95), rgba(24,15,17,.77) 58%, rgba(24,15,17,.12)); }
  .product-factory__strip img { aspect-ratio: 1.45; }
}

.product-spec-heading { margin: clamp(1.75rem,3vw,3rem) 0 .75rem; font-size: var(--t-22); font-weight: 400; }
.style__intro .product-spec-heading + .specs { margin-top: 0; }
@media (min-width: 861px) {
  .style__hero--gallery { max-width: 88rem; margin-inline: auto; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); }
  .style__hero--gallery > .gallery, .style__hero--gallery > .style__plate { grid-column: 1; }
  .style__hero--gallery > .style__intro { grid-column: 2; padding-top: 0; }
}

.about-story { max-width: 82rem; margin: auto; padding: 0 var(--m); }
.about-story section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; border-top: 1px solid var(--rule); padding: clamp(2rem,5vw,5rem) 0; }
.about-story img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.about-story h2 { font-size: clamp(2rem,3.4vw,3.75rem); font-weight: 350; line-height: 1.06; letter-spacing: -.04em; }
.about-story p { max-width: 48ch; margin: 1rem 0 1.5rem; }
@media(min-width:761px){.about-story section:nth-child(even) img { order: 1; }}
@media(max-width:760px){.about-story section { grid-template-columns: 1fr; gap: 1.25rem; }}
