/* =========================================================
   The Tip Sheet: main stylesheet
   Palette, type and spacing follow the approved design proposal.
   Mobile-first: base styles are for phones, then 640px / 1024px.
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Fraunces Variable";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces Variable";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations"),
       url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DM Sans Variable";
  src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --ivory: #FAF6F1; --blush: #F3E4DF; --nude: #E6C3B9; --berry: #7A1F3D;
  --berry-dark: #611631; --ink: #2A2124; --taupe: #6F605B; --cherry: #B8263F;
  --pine: #2F4A3E; --gold: #B08442; --linen: #F1ECE4; --white: #FFFFFF;
  --accent: var(--berry);

  --font-serif: "Fraunces Variable", "Iowan Old Style", Georgia, serif;
  --font-sans: "DM Sans Variable", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-card: 14px; --radius-img: 4px; --radius-pill: 999px;
  --max: 1280px; --narrow: 720px; --wide: 940px;
  --gutter: 20px;
  --space-section: 64px;
  --shadow-soft: 0 1px 2px rgba(42, 33, 36, .04), 0 8px 24px rgba(42, 33, 36, .06);
}
@media (min-width: 640px)  { :root { --gutter: 32px; --space-section: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 80px; --space-section: 104px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 2px; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0; color: var(--ink); font-optical-sizing: auto; }
em { font-style: italic; }
p { margin: 0 0 1em; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--ivory); }
main:focus { outline: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(var(--narrow) + 2 * 20px); margin-inline: auto; padding-inline: 20px; }
.wrap-wide { width: 100%; max-width: var(--wide); margin-inline: auto; }
@media (min-width: 1000px) { .wrap-wide { padding-inline: 0; } }
.section { margin-block: var(--space-section); }
.section--band { background: var(--linen); padding-block: var(--space-section); margin-block: 0; }

/* ---------- Type helpers ---------- */
.label, .kicker {
  font-family: var(--font-sans); font-size: 11.5px; line-height: 1.4; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin: 0 0 .6em;
}
.kicker { font-weight: 500; color: var(--taupe); }
.h1 { font-size: clamp(34px, 6vw, 60px); }
.h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: .5em; }
.h1 em, .h2 em, .article-title em, .hero__title em { color: var(--accent); font-weight: 400; }
.section-intro { color: var(--taupe); max-width: 60ch; margin-top: -.2em; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head .h2 { margin: 0; }
.link-arrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--ivory); border: 1.5px solid var(--accent);
  font: 600 13.5px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: var(--ivory); }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--ivory); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 12px; }
.btn--soon { background: transparent; color: var(--taupe); border: 1.5px dashed var(--nude); cursor: default; letter-spacing: .06em; }
.btn--soon:hover { background: transparent; color: var(--taupe); border-color: var(--nude); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--nude); color: var(--ink); text-decoration: none; font-size: 14px; background: transparent;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--ivory); }

/* ---------- Media / images ---------- */
.media { position: relative; display: block; overflow: hidden; background: var(--linen); }
.media picture, .media img { width: 100%; height: 100%; }
.media img { object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-23 { aspect-ratio: 2 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-hero { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .ratio-hero { aspect-ratio: 16 / 10; } }
.ph-chip {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(42, 33, 36, .72); color: #fff; font-size: 10.5px; letter-spacing: .06em;
  padding: 3px 8px; border-radius: var(--radius-pill); pointer-events: none;
}

/* ---------- Top strip & header ---------- */
.top-strip { background: var(--ink); text-align: center; font-size: 12.5px; letter-spacing: .06em; padding: 8px 16px; }
.top-strip a { color: var(--ivory); text-decoration: none; }
.top-strip a:hover { text-decoration: underline; color: var(--ivory); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--nude); }
.site-header__inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; transition: height .2s; }
.site-header.is-compact .site-header__inner { height: 56px; }
.site-logo { justify-self: center; display: block; }
.site-logo img { height: 34px; width: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; padding: 0; }
.icon-btn:hover { color: var(--accent); }
.search-btn { justify-self: end; }
.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 36px; }
.primary-nav a { color: var(--ink); text-decoration: none; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
@media (min-width: 1024px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; height: 92px; }
  .site-header.is-compact .site-header__inner { height: 64px; }
  .site-logo img { height: 46px; }
  .site-header.is-compact .site-logo img { height: 36px; }
  .menu-toggle { display: none; }
  .primary-nav { display: block; }
}

.mobile-menu { position: fixed; inset: 0; top: 0; z-index: 60; background: var(--ivory); padding: 120px 20px 40px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__links { margin-bottom: 32px; }
.mobile-menu__links a { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--blush); }
.mobile-menu__links a:hover { color: var(--accent); }
.mobile-menu .label { margin-top: 24px; }
.menu-open .menu-toggle { position: relative; z-index: 70; }
.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Homepage hero ---------- */
.hero { padding-top: 0; }
.hero__grid { display: grid; gap: 0; }
.hero__media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero__media .media { aspect-ratio: 4 / 5; }
.hero__badge { position: absolute; left: 20px; bottom: 20px; z-index: 3; background: var(--ivory); color: var(--berry); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--radius-pill); }
.hero__text { padding-top: 32px; }
.hero__title { font-size: clamp(36px, 8.5vw, 54px); letter-spacing: -.015em; margin-bottom: 16px; }
.hero__title em { display: block; }
.hero__dek { color: var(--taupe); font-size: 17px; max-width: 34ch; margin-bottom: 24px; }
.hero .btn-row .btn { flex: 1 1 100%; }
@media (min-width: 640px) {
  .hero .btn-row .btn { flex: 0 0 auto; }
  .hero__media { margin-inline: 0; }
  .hero__media .media { aspect-ratio: 16 / 11; border-radius: var(--radius-img); }
}
@media (min-width: 1024px) {
  .hero { padding-top: 32px; }
  .hero__grid { grid-template-columns: 55fr 45fr; gap: 64px; align-items: center; }
  .hero__media .media { aspect-ratio: 760 / 560; }
  .hero__text { padding-top: 0; }
  .hero__dek { font-size: 18px; }
}

/* ---------- Almond shape tiles ---------- */
.shape-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.shape-row::-webkit-scrollbar { display: none; }
.shape-tile { scroll-snap-align: start; }
.shape-tile a { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.shape-tile__mask { display: block; aspect-ratio: 2 / 3; overflow: hidden; }
.shape-tile__mask .media { width: 100%; height: 100%; }
.shape-tile__label { display: block; font-family: var(--font-serif); font-size: 16px; margin-top: 10px; }
.shape-tile a:hover .shape-tile__label { color: var(--accent); }
.shape-tile img { transition: transform .4s ease; }
.shape-tile a:hover img { transform: scale(1.04); }
@media (min-width: 640px) { .shape-row { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); gap: 24px; overflow: visible; } .shape-tile__label { font-size: 20px; } }
/* Almond nail shape (fluid SVG mask) */
.shape-tile__mask { -webkit-mask: url("/assets/brand/almond-mask.svg") center / 100% 100% no-repeat; mask: url("/assets/brand/almond-mask.svg") center / 100% 100% no-repeat; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.product-grid > * { scroll-snap-align: start; }
@media (min-width: 640px) { .product-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 24px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { background: var(--white); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.product-card__img .media { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 20px; margin-bottom: 6px; }
.product-card__meta { color: var(--taupe); font-size: 13.5px; margin-bottom: 10px; }
.product-card__note { color: var(--taupe); font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; }
.product-card .btn { margin-top: auto; align-self: flex-start; }
.sample-tag { display: inline-block; margin: -2px 0 8px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--blush); color: var(--taupe); font-size: 10px; letter-spacing: .08em; vertical-align: 1px; }
.product-card--grid .sample-tag { background: var(--linen); }

.product-card--inline { flex-direction: row; background: var(--linen); padding: 12px; gap: 16px; align-items: center; margin: 24px 0 8px; }
.product-card--inline .product-card__img { flex: 0 0 112px; align-self: flex-start; }
.product-card--inline .product-card__img .media { border-radius: 8px; }
.product-card--inline .product-card__body { padding: 0; min-width: 0; }
.product-card--inline .label { margin-bottom: 4px; }
.product-card--inline .product-card__title { font-size: 19px; line-height: 1.2; }
.product-card--inline .product-card__meta { margin-bottom: 10px; font-size: 13px; }
.product-card--inline .sample-tag { background: var(--ivory); }
@media (min-width: 640px) { .product-card--inline { padding: 16px; gap: 24px; } .product-card--inline .product-card__img { flex-basis: 160px; } .product-card--inline .product-card__title { font-size: 22px; } }

/* ---------- Article cards & grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1024px) { .card-grid--3 { gap: 48px 32px; } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.article-card__link { display: block; text-decoration: none; color: var(--ink); }
.article-card .media { border-radius: var(--radius-img); margin-bottom: 14px; }
.article-card .kicker { color: var(--accent); margin-bottom: 6px; }
.article-card__title { font-size: 18px; line-height: 1.22; }
@media (min-width: 640px) { .article-card__title { font-size: 23px; } }
.article-card__link:hover .article-card__title { color: var(--accent); }
.article-card img { transition: transform .5s ease; }
.article-card__link:hover img { transform: scale(1.03); }
.look-card__from { color: var(--taupe); font-size: 13.5px; margin: 6px 0 0; }

/* ---------- Feature band (Holiday Home teaser) ---------- */
.feature-band { display: grid; background: var(--linen); border-radius: var(--radius-img); overflow: hidden; --accent: var(--pine); }
.feature-band .media { aspect-ratio: 3 / 2; }
.feature-band__text { padding: 28px 24px 32px; }
.feature-band .label { color: var(--pine); }
.feature-band h2 em { color: var(--pine); display: block; }
.feature-band p { color: var(--taupe); }
@media (min-width: 1024px) { .feature-band { grid-template-columns: 600fr 680fr; align-items: center; } .feature-band .media { aspect-ratio: auto; align-self: stretch; min-height: 380px; } .feature-band .media picture { position: absolute; inset: 0; } .feature-band__text { padding: 48px 60px; } }

/* ---------- Page headers (categories, browse) ---------- */
.page-head { padding-block: 40px 28px; }
.page-head .h1 { margin-bottom: 14px; }
.page-head p.lede { color: var(--taupe); font-size: 18px; max-width: 58ch; }
@media (min-width: 1024px) { .page-head { padding-block: 72px 40px; } }
.page-head--center { text-align: center; }
.page-head--center p.lede { margin-inline: auto; }
.page-head .chips { margin-top: 20px; }
.page-head--center .chips { justify-content: center; }
.filter-bar { border-block: 1px solid var(--nude); padding-block: 14px; margin-bottom: 36px; }
.filter-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filter-bar .chips::-webkit-scrollbar { display: none; }
.filter-bar .chip { white-space: nowrap; }
.browse-facet { margin-bottom: var(--space-section); }
.empty-state { background: var(--blush); padding: 28px; border-radius: var(--radius-card); color: var(--taupe); }

/* ---------- Article page ---------- */
.article-header { padding-top: 28px; }
@media (min-width: 1024px) { .article-header { padding-top: 56px; } }
.breadcrumb { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 18px; }
.breadcrumb a { color: var(--taupe); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.article-title { font-size: clamp(32px, 6.4vw, 56px); letter-spacing: -.015em; margin-bottom: 16px; }
.article-title em { display: block; }
.dek { font-size: 18px; color: var(--taupe); }
.article-meta { font-size: 13.5px; color: var(--taupe); margin-bottom: 14px; }
.disclosure-note { background: var(--linen); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--taupe); }
.disclosure-note a { color: var(--taupe); }
.article-hero { margin: 24px auto 0; }
@media (min-width: 1000px) { .article-hero .media { border-radius: var(--radius-img); } }

.quick-picks ul { border: 1px solid var(--nude); border-radius: 12px; padding: 8px 18px; }
.quick-picks { margin-top: 32px; }
.quick-picks h2 { margin-bottom: 10px; }
.quick-picks li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--blush); font-size: 15px; }
.quick-picks li:last-child { border-bottom: 0; }
.quick-picks li span { color: var(--taupe); }
.quick-picks li a { color: var(--ink); font-weight: 600; text-decoration: none; text-align: right; }
.quick-picks li a:hover { color: var(--accent); }

.prose { margin-top: 32px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 32px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--gold); font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--ink); }
.prose .callout { background: var(--linen); border-left: 3px solid var(--gold); border-radius: 12px; padding: 18px 20px; margin: 1.6em 0; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--nude); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--gold); width: 60px; margin: 2em 0; }

.looks { margin-top: 48px; }
.look { margin-bottom: 64px; scroll-margin-top: 80px; }
.look__title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.look__num { font-style: italic; color: var(--accent); font-weight: 400; margin-right: 4px; }
.look__img .media { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .look__img { max-width: 720px; } .look__img .media { border-radius: var(--radius-img); } }
.look__tags { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--taupe); margin: 14px 0 8px; }
.look__tags a { color: var(--taupe); }
.look__tags a:hover { color: var(--accent); }
.look__text p { margin-bottom: .8em; }

.shop-the-look { margin-block: var(--space-section) 0; padding-block: 48px; background: var(--linen); max-width: none; }
.shop-the-look > * { max-width: var(--max); margin-inline: auto; }
.shop-the-look .product-card--grid { background: var(--white); }
.faq { margin-top: var(--space-section); }
.faq__item { border-bottom: 1px solid var(--nude); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--font-serif); font-size: 20px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--font-sans); font-size: 24px; color: var(--accent); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { color: var(--taupe); padding-bottom: 18px; margin: 0; }

.article-footer { margin-top: 48px; }
.pin-block { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; margin-top: 48px; padding-block: 28px; border-block: 1px solid var(--nude); }
.pin-block__img { border-radius: 6px; box-shadow: var(--shadow-soft); }
.pin-block .h2 { font-size: 24px; margin-bottom: 6px; }
.pin-block p { color: var(--taupe); font-size: 15px; }
@media (min-width: 640px) { .pin-block { grid-template-columns: 180px 1fr; gap: 32px; } }
.related { margin-top: var(--space-section); }

/* Home & Decor uses Pine instead of Berry */
.section-home-decor { --accent: var(--pine); }
.section-home-decor .product-card--inline { background: var(--linen); }
.section-home-decor .shop-the-look { background: var(--linen); }
.section-home-decor .btn:hover { background: #22372d; border-color: #22372d; }

/* ---------- Simple pages (About, legal, contact) ---------- */
.page-body { padding-bottom: var(--space-section); }
.page-body .prose { margin-top: 8px; }
.legal-meta { font-size: 13.5px; color: var(--taupe); }
.notice { background: var(--blush); border-radius: 12px; padding: 16px 20px; font-size: 15px; color: var(--ink); margin-bottom: 28px; }
.notice strong { color: var(--berry); }

/* Contact form (Netlify Forms) */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--nude);
  border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--berry); outline-offset: 1px; border-color: var(--berry); }
.form .hp { display: none; }
.form-hint { font-size: 13.5px; color: var(--taupe); }

/* ---------- Search page (Pagefind UI themed) ---------- */
.search-page { min-height: 50vh; padding-bottom: var(--space-section); }
#search {
  --pagefind-ui-scale: 1; --pagefind-ui-primary: #7A1F3D; --pagefind-ui-text: #2A2124;
  --pagefind-ui-background: #FFFFFF; --pagefind-ui-border: #E6C3B9; --pagefind-ui-tag: #F3E4DF;
  --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 12px; --pagefind-ui-font: "DM Sans Variable", system-ui, sans-serif;
}
#search .pagefind-ui__result-title { font-family: var(--font-serif); font-weight: 500; }
.search-fallback { color: var(--taupe); }

/* ---------- Follow block & footer ---------- */
.follow { text-align: center; padding-block: var(--space-section); }
.follow p { color: var(--taupe); }
.site-footer { background: var(--ink); color: #E9DFDB; padding-block: 56px 32px; font-size: 15px; }
.site-footer a { color: #E9DFDB; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer__brand p { color: #CBBDB8; }
.site-footer .label { color: var(--nude); }
.site-footer li { margin-bottom: 8px; }
.site-footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(230, 195, 185, .2); font-size: 13px; color: #B8A9A4; }
.site-footer__legal a { color: #E9DFDB; text-decoration: underline; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .site-footer__brand { grid-column: auto; } }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-block: 72px var(--space-section); }
.not-found__mark { width: 96px; margin: 0 auto 24px; }
.chip__count { color: var(--taupe); font-size: 12px; margin-left: 6px; }

.shape-tile .ph-chip { display: none; }
.product-card .sample-tag { align-self: flex-start; }
.product-card--inline .ph-chip { font-size: 9px; padding: 2px 6px; right: 4px; bottom: 4px; }
#search .pagefind-ui__search-clear { font: 600 12px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--berry); background: transparent; }
#search .pagefind-ui__result-thumb { display: none; }

/* =========================================================
   v2 (26 Nov 2026): editorial refresh, Look Cards, Press-On Hub
   Same palette and fonts; fewer pink fills, more ink, hairlines
   and white space, so it reads as a publication.
   ========================================================= */
:root { --rule: rgba(42, 33, 36, .14); --ok: #2F4A3E; }
.site-header { border-bottom-color: var(--rule); }
.h1, .h2, .article-title, .ed-hero__title { letter-spacing: -.02em; }

/* Header tools + mobile chip row */
.site-header__inner { grid-template-columns: 44px 1fr auto; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.tool-link--text { display: none; color: var(--ink); text-decoration: none; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-right: 18px; }
.tool-link--text:hover { color: var(--accent); }
.saved-link { position: relative; }
.saved-count { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--berry); color: var(--ivory); font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; }
.chip-nav { border-top: 1px solid var(--rule); }
.chip-nav__list { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; padding-block: 10px; }
.chip-nav__list::-webkit-scrollbar { display: none; }
.chip-nav a { color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; }
.chip-nav a[aria-current="page"], .chip-nav a:hover { color: var(--accent); }
.mobile-menu__sub { margin: -12px 0 24px; }
.mobile-menu__sub a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); font-size: 16px; }
@media (min-width: 1024px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; }
  .tool-link--text { display: inline; }
  .chip-nav { display: none; }
}

/* Editorial hero */
.ed-hero { padding-top: 20px; }
.ed-hero__grid { display: grid; gap: 24px; }
.ed-hero__media { display: block; margin-inline: calc(var(--gutter) * -1); }
.ed-hero__media .media { aspect-ratio: 1 / 1; }
.ed-hero__title { font-size: clamp(38px, 8vw, 68px); line-height: 1.02; margin-bottom: 16px; }
.ed-hero__title em { display: block; color: var(--accent); font-weight: 400; }
.ed-hero__dek { color: var(--taupe); font-size: 17px; max-width: 46ch; }
.ed-hero__toc { list-style: none; padding: 0; counter-reset: toc; border-top: 1px solid var(--rule); margin: 22px 0 26px; }
.ed-hero__toc li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.ed-hero__toc a { display: flex; gap: 14px; padding: 11px 0; color: var(--ink); text-decoration: none; font-family: var(--font-serif); font-size: 19px; }
.ed-hero__toc a::before { content: counter(toc, upper-roman); min-width: 2.2em; font: 600 11px/2.4 var(--font-sans); letter-spacing: .14em; color: var(--gold); }
.ed-hero__toc a:hover { color: var(--accent); }
@media (min-width: 640px) { .ed-hero__media { margin-inline: 0; } .ed-hero__media .media { border-radius: var(--radius-img); } }
@media (min-width: 1024px) { .ed-hero { padding-top: 48px; } .ed-hero__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }

/* Start here */
.start-grid { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.start-card { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.start-card__n { font: 400 13px var(--font-serif); color: var(--gold); }
.start-card__t { font-family: var(--font-serif); font-size: 24px; line-height: 1.15; }
.start-card__d { color: var(--taupe); font-size: 15px; }
.start-card:hover .start-card__t { color: var(--accent); }
.start-card .label { margin: 0; }
@media (min-width: 640px) { .start-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 0; } .start-card { border-top: 1px solid var(--ink); border-bottom: 0; } }

/* Grids */
@media (min-width: 640px) { .card-grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .card-grid--6 { grid-template-columns: repeat(6, 1fr); gap: 32px 20px; } .card-grid--6 .article-card__title { font-size: 18px; } }
.article-card__count { color: var(--taupe); font-size: 13px; margin: 6px 0 0; }
.browse-rows { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 1024px) { .browse-rows { grid-template-columns: 1.4fr 1fr .6fr; gap: 40px; } }
.chip--swatch .dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* Problem Solver band */
.solver-band { background: var(--ink); color: #EFE6E2; padding-block: var(--space-section); margin-block: var(--space-section); --accent: #E6C3B9; }
.solver-band .h2 { color: var(--ivory); }
.solver-band .h2 em { color: var(--nude); }
.solver-band .label { color: var(--nude); }
.solver-band .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.solver-band .btn:hover { background: var(--nude); border-color: var(--nude); color: var(--ink); }
.solver-band__grid { display: grid; gap: 32px; }
.solver-list { border-top: 1px solid rgba(250,246,241,.2); }
.solver-list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(250,246,241,.2); color: var(--ivory); text-decoration: none; font-family: var(--font-serif); font-size: 19px; }
.solver-list a:hover { color: var(--nude); }
@media (min-width: 1024px) { .solver-band__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

/* Complete the vibe */
.vibe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .vibe-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.vibe-card { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.vibe-card .media { border-radius: var(--radius-img); margin-bottom: 8px; }
.vibe-card__t { font-family: var(--font-serif); font-size: 20px; line-height: 1.2; }
.vibe-card__d { color: var(--taupe); font-size: 14.5px; }
.vibe-card:hover .vibe-card__t { color: var(--accent); }
.vibe { margin-top: var(--space-section); }
.feature-band { background: #EEF1EC; }

/* AI caption */
.ai-caption { font-size: 12px; color: var(--taupe); margin-top: 8px; letter-spacing: .01em; }
.ai-caption a { color: var(--taupe); }
.ai-caption--hero { margin-top: 10px; }

/* Jump list */
.jump { margin-top: 28px; border: 1px solid var(--rule); border-radius: 10px; padding: 0 18px; }
.jump summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.jump summary::-webkit-details-marker { display: none; }
.jump__count { color: var(--taupe); font-weight: 500; }
.jump__list { columns: 1; padding: 0 0 16px 1.4em; margin: 0; list-style: decimal; font-size: 15px; }
.jump__list li { margin-bottom: 6px; break-inside: avoid; }
.jump__list a { color: var(--ink); }
@media (min-width: 640px) { .jump__list { columns: 2; column-gap: 32px; } }

/* Look groups + Look Cards (v3: one card per row at every width) */
.looks { margin-top: 40px; }
.look-group { margin-bottom: 64px; }
.look-group__head { border-top: 1px solid var(--ink); padding-top: 20px; margin-bottom: 8px; }
.look-group__head p { color: var(--taupe); margin-bottom: 0; }
/* Outer list: always a single column, one card per row, controlled width */
.look-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: calc(880px + 2 * var(--gutter)); }
/* Card (layout per Intesar's reference): eyebrow row; square image left (~46%) | name, tags, description, best for;
   divider; collapsible "How to recreate this look"; quiet Save · Pin it · More like this row. Stacked on phones. */
.look-card { scroll-margin-top: 130px; padding: 14px 16px 16px; }
.look-card.is-target, .look-card:target { outline: 2px solid var(--gold); outline-offset: 3px; }
.look-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin-bottom: 10px; }
.look-card__eyebrow { margin: 0; font: 600 12px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.look-card__heart { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: -6px; border: 0; border-radius: 50%; background: transparent; color: var(--taupe); cursor: pointer; }
.look-card__heart:hover { color: var(--berry); background: var(--blush); }
.look-card__heart[aria-pressed="true"] { color: var(--berry); }
.look-card__heart[aria-pressed="true"] svg path { fill: currentColor; }
.look-card__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 768px) { .look-card { padding: 16px 20px 18px; } .look-card__main { grid-template-columns: minmax(0, 49fr) minmax(0, 51fr); gap: 22px; } }
.look-card__fig { margin: 0; }
.look-card__fig .media { border-radius: 12px; }
.look-card__fig .ai-caption { font-size: 11.5px; line-height: 1.4; margin-top: 6px; }
.look-card__body { min-width: 0; }
.look-card__title { font: 600 clamp(20px, 2vw, 23px)/1.2 var(--font-serif); margin: 2px 0 10px; }
.look-card__tax { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; }
.recipe { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.recipe a, .recipe span { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--linen); color: var(--ink); text-decoration: none; }
.recipe a:hover { background: var(--nude); }
.swatches { display: inline-flex; padding-left: 4px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; margin-left: -4px; border: 2px solid var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.look-card__text { font-size: 16px; line-height: 1.6; }
.look-card__text p { margin-bottom: .5em; }
.look-card__text p:last-child { margin-bottom: 0; }
.look-card__best { font-size: 16px; line-height: 1.6; margin: 4px 0 0; }
.look-card__best strong { font-weight: 700; }
.look-card__more { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 4px; }
.recreate > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0 6px; border-radius: 6px; }
.recreate > summary::-webkit-details-marker { display: none; }
.recreate > summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 20px; line-height: 1; color: var(--taupe); }
.recreate[open] > summary::after { content: "\2212"; }
.recreate__title { font: 600 17px/1.3 var(--font-serif); color: var(--ink); }
.recreate__hint { font-size: 14px; color: var(--taupe); }
.recreate > summary:hover .recreate__title { color: var(--berry); }
.recreate dl { margin: 8px 0 4px; display: grid; gap: 10px; font-size: 15px; line-height: 1.55; }
.recreate dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.recreate dt { font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.recreate dd { margin: 0; }
.look-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 12px; font-size: 13px; color: var(--taupe); }
.qa { display: inline-flex; align-items: center; min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--taupe); font: 500 13px/1 var(--font-sans); text-decoration: none; cursor: pointer; }
.qa:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.qa--save[aria-pressed="true"] { color: var(--berry); font-weight: 700; }
.qa-sep { color: var(--nude); }
.more-like > summary { list-style: none; }
.more-like > summary::-webkit-details-marker { display: none; }
.more-like[open] { flex-basis: 100%; order: 10; }
.more-like[open] > summary { color: var(--berry); }
.qa-sep:has(+ .more-like[open]) { display: none; }
.more-like .link-arrow { margin-left: 2px; }
.more-like ul { margin: 4px 0 8px; padding: 12px 16px 12px 2em; list-style: disc; background: var(--linen); border-radius: 10px; font-size: 15px; color: var(--ink); }
.more-like li { margin-bottom: 4px; }
.more-like .link-arrow { font-size: 14px; }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.act:hover { background: var(--ink); color: var(--ivory); }
.act--save[aria-pressed="true"] { background: var(--berry); border-color: var(--berry); color: var(--ivory); }
.diff { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--rule); color: var(--taupe); }
.diff--press-on { border-color: var(--berry); color: var(--berry); }
.diff--salon { border-color: var(--ink); color: var(--ink); }
.look-tile .act--save { margin-top: 10px; }

/* Product cards: no-photo design (used until a real image is authorised) */
.no-photo { display: grid; place-items: center; align-content: center; gap: 6px; background: repeating-linear-gradient(135deg, var(--linen) 0 12px, #EDE6DC 12px 24px); color: var(--taupe); }
.no-photo__mono { width: 54px; height: 54px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; font: 400 26px var(--font-serif); color: var(--ink); }
.no-photo__txt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.product-card--inline .no-photo__mono { width: 38px; height: 38px; font-size: 18px; }
.product-card--inline .no-photo__txt { font-size: 9px; }
.product-card__match { font-size: 13px; color: var(--taupe); margin-bottom: 10px; }

/* Fix-it, sources */
.fixit { margin-top: var(--space-section); border: 1px solid var(--ink); border-radius: 4px; padding: 24px; }
.fixit .h2 { font-size: 26px; }
.sources { margin-top: 40px; font-size: 14px; }
.sources ul { list-style: disc; padding-left: 1.2em; }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--taupe); }

/* Press-On Hub: problems, steps, bed types, checklist, print sheets */
.problems { margin-top: 48px; max-width: calc(980px + 2 * var(--gutter)); }
.problem-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.problem-index .chip { min-height: 34px; font-size: 13.5px; }
.problem { border-top: 1px solid var(--ink); padding: 24px 0 36px; scroll-margin-top: 130px; }
.problem.is-target { background: linear-gradient(var(--linen), var(--linen)) padding-box; }
.problem__title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.problem__quick { font-size: 17px; background: var(--linen); padding: 12px 16px; border-radius: 8px; }
.problem__cols { display: grid; gap: 24px; margin-top: 18px; }
.problem__cols h4 { font: 700 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
.problem__cols ul { list-style: disc; padding-left: 1.2em; }
.problem__cols ol { list-style: decimal; padding-left: 1.3em; }
.problem__cols li { margin-bottom: 6px; }
@media (min-width: 768px) { .problem__cols { grid-template-columns: 1fr 1.4fr; gap: 40px; } }
.problem__conflict { margin-top: 16px; border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; color: var(--ink); font-size: 15.5px; }
.problem__products { margin-top: 12px; }
.steps { margin-top: 48px; }
.steps__list { counter-reset: st; }
.steps__list li { counter-increment: st; position: relative; padding: 0 0 22px 52px; }
.steps__list li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--font-serif); }
.steps__list h3 { font-size: 21px; margin-bottom: 4px; }
.bed-types { margin-top: 48px; }
.bed-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .bed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bed-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.bed-card { border: 1px solid var(--rule); border-radius: 10px; padding: 20px; background: var(--white); scroll-margin-top: 130px; }
.bed-card h3 { font-size: 21px; margin-bottom: 8px; }
.bed-card__signs { font-size: 14.5px; color: var(--taupe); }
.bed-card ul { list-style: disc; padding-left: 1.1em; font-size: 15px; }
.checklist-groups { margin-top: 40px; }
.checklist__group { font-size: 20px; margin: 24px 0 8px; }
.checklist li, .prose .checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--rule); list-style: none; }
.prose ul.checklist { list-style: none; padding-left: 0; }
.checklist .box { flex: 0 0 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 3px; margin-top: 4px; }
.print-sheet { border: 1px solid var(--ink); border-radius: 6px; padding: 22px; margin: 2em 0; background: var(--white); }
.size-chart { width: 100%; border-collapse: collapse; }
.size-chart th, .size-chart td { border: 1px solid var(--rule); padding: 12px 10px; text-align: left; }
.size-chart td { height: 46px; }
.print-btn { margin-top: 12px; }
.callout--safety { border-left-color: var(--cherry) !important; }

/* Saved page */
.saved-tools { margin-top: 28px; }
.btn-row--center { justify-content: center; margin-top: 18px; }
.follow .label { margin-bottom: 10px; }

/* Print: only the useful bit */
@media print {
  .recreate > *:not(summary) { display: block !important; } .look-card__heart { display: none !important; }
  .top-strip, .site-header, .site-footer, .follow, .pin-block, .related, .look-actions, .jump, .print-btn, .fixit, .vibe, .shop-the-look, .breadcrumb, .disclosure-note, .article-hero, .problem-index { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .print-sheet { border: 1px solid #000; break-inside: avoid; }
  .size-chart td { height: 36pt; }
  a { color: #000; text-decoration: none; }
}
.print-sheet { overflow-x: auto; }
@media (max-width: 639px) { .print-sheet { padding: 16px 12px; } .size-chart { font-size: 13px; } .size-chart th, .size-chart td { padding: 8px 5px; } }

/* =========================================================
   v4 (27 Nov 2026): editorial Look Cards, Browse band, hub FAQ,
   editorial link hover, New this week strip, Problem Solver rhythm.
   Everything below overrides earlier rules of the same name.
   ========================================================= */

/* ---------- Content widths (Intesar's change: text and images line up at 1040px) ---------- */
.wrap-narrow { width: min(100% - 40px, 1040px); max-width: none; margin-inline: auto; padding-inline: 0; }
.wrap-wide   { width: min(100% - 40px, 1040px); max-width: none; margin-inline: auto; padding-inline: 0; }
.prose p, .prose li { max-width: 78ch; }

/* ---------- Look groups: headings, intros and separators between categories ---------- */
.looks { margin-top: 56px; }
.look-group { margin-bottom: 0; padding-block: 8px 72px; }
.look-group + .look-group { border-top: 1px solid var(--rule); padding-top: 64px; }
.look-group__head { border-top: 0; padding-top: 0; margin-bottom: 32px; display: grid; gap: 10px; }
.look-group__head::before { content: ""; width: 48px; height: 2px; background: var(--gold); }
.look-group__head .h2 { font-size: clamp(30px, 4vw, 42px); margin: 0; }
.look-group__head p { color: var(--taupe); font-size: 17px; max-width: 64ch; margin: 0; }

/* ---------- Look Card: editorial blog card ---------- */
.look-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: none; padding-inline: 0;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-card);
}
.look-card {
  width: 100%; max-width: none; margin-inline: 0;
  padding: 22px 18px 18px; scroll-margin-top: 130px;
}
.look-card.is-target, .look-card:target { outline: 2px solid var(--gold); outline-offset: 4px; }
.look-card__head { margin-bottom: 16px; }
.look-card__eyebrow { margin: 0 0 6px; font: 600 12px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.look-card__title { font: 500 clamp(24px, 3vw, 32px)/1.15 var(--font-serif); letter-spacing: -.015em; margin: 0; }
.look-card__fig { margin: 0 0 18px; }
.look-card__fig .media { border-radius: 10px; }
.look-card__fig .ai-caption { font-size: 12px; margin-top: 8px; }
.look-card__body { display: grid; gap: 14px; }
.look-card__text { font-size: 17px; line-height: 1.7; }
.look-card__text p { margin: 0 0 .6em; }
.look-card__text p:last-child { margin-bottom: 0; }
.look-card__tax { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.look-card__best { font-size: 16.5px; line-height: 1.6; margin: 0; }
.look-card__best strong { font-weight: 700; }

/* How to recreate: inline, part of the main content (no expander) */
.how { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--rule); }
.how__title { font: 600 19px/1.3 var(--font-serif); margin: 0 0 12px; color: var(--ink); }
.how__list { display: grid; gap: 12px; margin: 0; }
.how__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.how__row dt { font: 700 11px/1.6 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.how__row dd { margin: 0; font-size: 16px; line-height: 1.65; }
@media (min-width: 640px) { .how__row { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; } }

/* Action bar: real buttons */
.look-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
.act {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: var(--radius-pill); border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 12.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.act:hover { background: var(--ink); color: var(--ivory); }
.act:active { transform: translateY(1px); }
.act:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }
.act__icon { flex: none; }
.act--save { border-color: var(--berry); color: var(--berry); }
.act--save:hover { background: var(--blush); color: var(--berry); }
.act--save[aria-pressed="true"] { background: var(--berry); border-color: var(--berry); color: var(--ivory); }
.act--save[aria-pressed="true"] .act__icon path { fill: currentColor; }
.act--more[aria-expanded="true"] { background: var(--ink); color: var(--ivory); }
@media (max-width: 479px) { .look-actions .act { flex: 1 1 auto; justify-content: center; padding: 0 12px; } }

/* More like this panel */
.look-more { margin-top: 14px; padding: 16px; background: var(--linen); border-radius: 12px; }
.look-more[hidden] { display: none; }
.look-more__label { font: 700 11px/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 0 0 10px; }
.look-more__list { display: grid; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
@media (min-width: 640px) { .look-more__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.look-more__list a { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.look-more__list img { width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.look-more__txt { display: grid; gap: 2px; min-width: 0; }
.look-more__t { font: 500 16px/1.25 var(--font-serif); }
.look-more__from { font-size: 12.5px; color: var(--taupe); }
.look-more__list a:hover .look-more__t { color: var(--berry); }
.look-more__list a:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

@media (min-width: 768px) {
  .look-card { padding: 32px 36px 28px; }
  .look-card__fig { margin-bottom: 24px; }
}

/* ---------- Editorial link interaction (Start here, hub links, New this week) ---------- */
.ed-link { position: relative; color: var(--ink); text-decoration: none; }
.ed-link__line {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 2px; transition: background-size .35s ease, color .25s ease;
}
.ed-link__title { transition: color .25s ease; }
.ed-link__idx, .ed-link__arrow { display: inline-block; transition: transform .3s ease, color .25s ease; }
.ed-link__arrow { color: var(--accent); }
.ed-link:hover .ed-link__title, .ed-link:focus-visible .ed-link__title { color: var(--accent); }
.ed-link:hover .ed-link__line, .ed-link:focus-visible .ed-link__line { background-size: 100% 1px; }
.ed-link:hover .ed-link__idx, .ed-link:focus-visible .ed-link__idx { transform: translateX(4px); }
.ed-link:hover .ed-link__arrow, .ed-link:focus-visible .ed-link__arrow { transform: translateX(6px); }
.ed-link:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .ed-link__line { transition: none; }
  .ed-link:hover .ed-link__idx, .ed-link:hover .ed-link__arrow, .ed-link:focus-visible .ed-link__idx, .ed-link:focus-visible .ed-link__arrow { transform: none; }
}

/* Start here cards use the editorial link */
.start-card { gap: 6px; padding: 24px 0 26px; }
.start-card__n { font: 500 14px var(--font-serif); color: var(--gold); }
.start-card__t { font-size: clamp(22px, 2.4vw, 26px); }
.start-card:hover .start-card__t { color: var(--accent); }
.start-card .ed-link__arrow { font-size: 18px; margin-top: 4px; }

/* ---------- Nail Ideas hub: Browse as a dark ink band ---------- */
.browse-band { background: var(--ink); color: #EFE6E2; padding-block: var(--space-section); margin-block: var(--space-section); --accent: var(--nude); }
.browse-band .h2 { color: var(--ivory); }
.browse-band .h2 em { color: var(--nude); }
.browse-band .label { color: var(--nude); }
.browse-band .link-arrow { color: var(--ivory); }
.browse-band .link-arrow:hover { color: var(--nude); }
.browse-rows--band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 36px; }
@media (min-width: 640px) { .browse-rows--band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; } }
@media (min-width: 1024px) { .browse-rows--band { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }
.browse-col { border-top: 1px solid rgba(250, 246, 241, .22); padding-top: 16px; min-width: 0; }
.browse-col__label { font: 600 12px/1.4 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--nude); margin: 0 0 14px; }
.browse-band .chips { gap: 8px; }
.browse-band .chip { min-height: 34px; padding: 0 13px; font-size: 13.5px; color: var(--ivory); border-color: rgba(250, 246, 241, .28); background: rgba(250, 246, 241, .06); }
.browse-band .chip:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.browse-band .chip:hover .chip__count { color: var(--taupe); }
.browse-band .chip:focus-visible { outline: 2px solid var(--nude); outline-offset: 2px; }
.browse-band .chip__count { color: rgba(250, 246, 241, .6); }
.browse-band .chip .dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 1px rgba(250, 246, 241, .35); }

/* ---------- Hub FAQ: same outer alignment as other sections ---------- */
.faq--hub { margin-block: var(--space-section); }
.faq--hub .faq__item summary { font-size: clamp(19px, 2vw, 22px); }
.faq--hub .faq__item p { max-width: 70ch; }
@media (min-width: 1024px) { .faq--hub { display: grid; grid-template-columns: 4fr 8fr; gap: 0 64px; align-items: start; } .faq--hub .h2 { grid-row: 1 / span 20; } }

/* ---------- Homepage: New this week editorial strip ---------- */
.new-edit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.ne { display: grid; gap: 14px; align-content: start; }
.ne__media .media { border-radius: 6px; }
.ne__text { display: grid; gap: 6px; }
.ne .label { margin: 0; }
.ne__title { font: 500 clamp(21px, 2vw, 24px)/1.2 var(--font-serif); }
.ne__dek { color: var(--taupe); font-size: 15px; line-height: 1.55; }
.ne__cta { margin-top: 8px; font: 600 12.5px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ne--lead .media { aspect-ratio: 1 / 1; }
.ne--tall .media { aspect-ratio: 4 / 5; }
@media (min-width: 640px) and (max-width: 1023px) { .ne--tall .media { aspect-ratio: 2 / 3; } }
.ne--wide .media { aspect-ratio: 3 / 2; }
.ne--square .media { aspect-ratio: 1 / 1; }
.ne--landscape .media { aspect-ratio: 4 / 3; }
.ne--lead .ne__title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; }
.ne--lead .ne__dek { font-size: 16.5px; max-width: 46ch; }
.new-edit__note { margin-top: 24px; }
@media (min-width: 640px) {
  .new-edit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .ne--lead { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .new-edit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
  .ne--lead { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .ne--tall { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  .ne--tall .media { aspect-ratio: 4 / 5; }
  .ne--wide { grid-column: 1 / span 5; }
  .ne--square { grid-column: 6 / span 3; }
  .ne--landscape { grid-column: 9 / span 4; }
  .ne--square .ne__title, .ne--landscape .ne__title { font-size: 21px; }
}

/* ---------- Problem Solver: more breathing room, clearer rhythm ---------- */
.problems { margin-top: 56px; }
.problem-index { gap: 10px; margin: 8px 0 72px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.problem { border-top: 1px solid var(--ink); padding: 36px 0 56px; }
.problem:first-of-type { border-top: 0; padding-top: 0; }
.problem .label { margin-bottom: 10px; }
.problem__title { margin: 0 0 18px; line-height: 1.15; }
.problem__quick { font-size: 17px; line-height: 1.6; padding: 16px 20px; border-left: 3px solid var(--berry); border-radius: 0 8px 8px 0; margin: 0 0 32px; }
.problem__cols { margin-top: 0; padding-top: 28px; border-top: 1px dashed var(--rule); gap: 32px; }
.problem__cols h4 { margin-bottom: 14px; }
.problem__cols li { margin-bottom: 10px; line-height: 1.7; }
.problem__conflict { margin-top: 28px; line-height: 1.65; }
.problem__see { margin-top: 24px; }
@media (min-width: 768px) { .problem__cols { gap: 56px; } }
@media (max-width: 767px) { .problem__cols { gap: 28px; } .problem__cols > div + div { padding-top: 24px; border-top: 1px solid var(--rule); } .problem { padding-bottom: 44px; } }

@media print {
  .look-actions, .look-more { display: none !important; }
  .look-card { border: 0; padding: 0; break-inside: avoid; }
}
