/* assets/types/ideas.css: GENERATED by build.py assets. Verbatim copies of the page-type v3 design:
   page-types/ideas/shared/ideas.css, page-types/ideas/v3/page.css
   Do not edit here; the source stays in page-types/. */
/* ---- page-types/ideas/shared/ideas.css ---- */
/* Sundial Blinds · page type "ideas" (Gallery / Inspiration / Blog) · parts shared by v1–v4.
   d12 tokens only (Clean White). Every class starts with pt-. Loaded after d12/styles.css, before page.css. */

/* key facts are sentences, so full-size ink-2 text (d12's .note is 14px grey, fine only for short labels) */
.pt-consult { margin-top: 2px; max-width: 32em; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* phones: d12's fixed Call/Book bar covers the bottom ~90px, so keyboard focus must never scroll under it (WCAG 2.4.11) */
@media (max-width: 720px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- product link rows (44px targets) ---------- */
.pt-plink {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 0 2px; border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.pt-plink .i { color: var(--iris-text); transition: transform .2s var(--ease); }
.pt-plink:hover { color: var(--iris-text); }
.pt-plink:hover .i { transform: translateX(3px); }

/* ---------- small helpers ---------- */
.pt-more { display: flex; justify-content: center; margin-top: 40px; }
.pt-more[hidden] { display: none; }
.pt-linkbtn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none;
  color: var(--iris-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.pt-tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--sun-soft); color: var(--sun-ink); font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
}

/* ---------- Guides strip (shows the blog index card style) ---------- */
.pt-guides .sec__head { margin-bottom: 40px; }
.pt-guides .sec__head .lede { max-width: 31em; }
/* keep running text under ~70 characters a line (d12's CTA is shared, so only narrowed here) */
.cta__copy .lede { max-width: 31em; }
.cta__meta { max-width: 31em; }
.pt-guides .sec__head--row .btn { align-self: end; }
.pt-guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pt-guides__grid > li { display: flex; }
.pt-guide {
  display: flex; flex-direction: column; width: 100%; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  color: inherit; text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.sec--white .pt-guide { background: var(--paper); }
.pt-guide:hover { border-color: var(--line-h1); box-shadow: var(--shadow-1); }
.pt-guide__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.pt-guide__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-guide__media--cut { position: relative; background: var(--mist); }
.pt-guide__media--cut img { position: absolute; top: 10%; left: 0; width: 100%; height: 80%; object-fit: contain; }
.pt-guide__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 22px; }
.pt-guide__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pt-guide__topic { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pt-guide__t { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.pt-guide__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--iris-text); }
.pt-guide:hover .pt-guide__more .i { transform: translateX(3px); }
.pt-guide__more .i { transition: transform .2s var(--ease); }

@media (max-width: 1024px) {
  .pt-guides__grid { gap: 16px; }
  .pt-guide__t { font-size: 17.5px; }
}
@media (max-width: 900px) {
  .pt-guides .sec__head--row { grid-template-columns: 1fr; }
  .pt-guides .sec__head--row .btn { justify-self: start; }
  .pt-guides__grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .pt-guide { flex-direction: row; }
  /* the photo fills the card's height instead of setting it, so all three cards are as tall as their text */
  .pt-guide__media { position: relative; flex: none; width: 34%; max-width: 220px; aspect-ratio: auto; min-height: 150px; }
  .pt-guide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .pt-guide__media--cut img { top: 10%; height: 80%; bottom: auto; object-fit: contain; }
}
@media (max-width: 720px) {
  .pt-guide__media { width: 112px; min-height: 0; }
  .pt-guide__body { padding: 16px 16px 16px; gap: 8px; }
  .pt-guide__t { font-size: 16.5px; }
  .pt-guide__topic { display: none; }
}
@media (max-width: 359px) {
  .pt-guide__media { width: 88px; }
}

/* ---- page-types/ideas/v3/page.css ---- */
/* Ideas v3 · "By window type": pick a drawn window, see 4 photos of what works on it, with product links.
   The photo area has one fixed size (all groups share one grid cell), so switching never moves anything. */

/* ---------- top + picker ---------- */
.pt-win { background: var(--white); padding: 56px 0 56px; border-bottom: 1px solid var(--line); }
.pt-win__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; }
.pt-win__copy { display: grid; gap: 16px; max-width: 700px; }
.pt-win__copy .lede { max-width: 31em; }
.pt-win__side { display: grid; gap: 12px; justify-items: start; max-width: 460px; }
.pt-win__q { margin: 48px 0 18px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.025em; line-height: 1.2; }
.pt-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt-wbtn {
  position: relative; display: grid; grid-template-columns: 1fr; align-content: start; justify-items: start; gap: 4px;
  min-height: 148px; padding: 16px 18px 18px; margin: 0;
  background: var(--white); border: 1px solid var(--line-d2); border-radius: var(--r);
  color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.pt-wbtn:hover { border-color: var(--ink); }
.pt-wbtn__art { display: block; height: 60px; margin-bottom: 6px; }
.pt-wsvg { width: 60px; height: 60px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-wbtn__name { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.pt-wbtn__n { font-size: 15px; color: var(--ink-3); line-height: 1.35; }
.pt-wbtn__tick {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px;
  border: 1.5px solid var(--line-d2); border-radius: 50%; background: var(--white); color: transparent;
}
/* selected = ink (blue is kept for actions), like the v1 chips and v2 thumbnails */
.pt-wbtn[aria-pressed="true"] { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 1px var(--ink); }
.pt-wbtn[aria-pressed="true"] .pt-wbtn__tick { background: var(--ink); border-color: var(--ink); color: var(--on-accent); }
.pt-wbtn[aria-pressed="true"] .pt-wbtn__tick .i { stroke-width: 2.6; }
.pt-wbtn--ask { background: var(--paper); border-style: dashed; }
/* wide screens: all 8 cards in one row, so the photos start inside the first screen */
@media (min-width: 1200px) {
  .pt-win { padding-bottom: 36px; }
  .pt-win__q { margin-top: 40px; }
  .pt-picker { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
  .pt-wbtn { min-height: 0; padding: 14px 14px 16px; }
  .pt-wbtn__art { height: 52px; margin-bottom: 4px; }
  .pt-wsvg { width: 52px; height: 52px; }
  .pt-wbtn__name { font-size: 16px; }
  .pt-wbtn__tick { top: 12px; right: 12px; }
  .pt-results { padding-top: 28px; }
}
.pt-wbtn--ask .pt-wbtn__n { color: var(--ink-2); }
html:not(.pt-js) .pt-wbtn__tick { display: none; }

/* ---------- results ---------- */
.pt-results { background: var(--paper); padding: 48px 0 var(--sec); }
.pt-status { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-groups { display: grid; gap: 24px; }
.pt-groups.is-stacked { gap: 0; }
.pt-groups.is-stacked > .pt-group { grid-area: 1 / 1; }
.pt-group.is-off { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .pt-group.is-in { animation: pt-group-in .25s var(--ease); }
  @keyframes pt-group-in { from { opacity: 0; } to { opacity: 1; } }
}
.pt-group {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px;
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
}
/* photos come first (right under the picker), then the advice with the product links beside it */
.pt-group__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 56px; row-gap: 10px; align-content: start;
  padding-top: 24px; border-top: 1px solid var(--line); }
.pt-group__text > * { grid-column: 1; }
.pt-group__text > .pt-group__prods { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.pt-group__t { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.pt-wsvg--s { width: 52px; height: 52px; flex: none; padding: 7px; background: var(--paper); border-radius: var(--r-s); stroke-width: 2.4; }
.pt-group__k { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pt-group__lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 31em; }
.pt-group__note { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 32em; }
.pt-group__prods { border-top: 1px solid var(--line); }
.pt-group__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pt-group__photos > li { display: flex; min-width: 0; }
.pt-wph { margin: 0; display: grid; gap: 8px; width: 100%; align-content: start; }
.pt-wph__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.pt-wph__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-wph__cap { display: grid; gap: 0; }
.pt-wph__cap a { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-d2); text-underline-offset: 4px; }
.pt-wph__cap a:hover { color: var(--iris-text); text-decoration-color: currentColor; }
.pt-wph__cap span { font-size: 16px; line-height: 1.45; color: var(--ink-2); min-height: 2.9em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- widths ---------- */
@media (max-width: 1024px) {
  .pt-win { padding: 40px 0 36px; }
  .pt-win__q { margin-top: 36px; }
  .pt-results { padding-top: 28px; }
  .pt-win__head { grid-template-columns: 1fr; }
  .pt-win__side { max-width: none; }
  .pt-group { gap: 24px; padding: 24px; }
  .pt-group__text { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: 36px; }
  .pt-group__photos { gap: 12px; }
  .pt-wph__cap a { font-size: 15.5px; }
  .pt-wbtn { min-height: 140px; padding: 14px 14px 16px; }
}
@media (max-width: 860px) {
  .pt-group__text { grid-template-columns: minmax(0, 1fr); }
  .pt-group__text > .pt-group__prods { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-top: 6px; }
  .pt-group__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
}
@media (max-width: 720px) {
  .pt-win { padding: 28px 0 32px; }
  .pt-win .h1 { font-size: 44px; }
  .pt-win .lede { font-size: 17.5px; }
  .pt-win__side { width: 100%; max-width: none; }
  .pt-win__side .actions { display: grid; width: 100%; }
  .pt-win__side .btn { width: 100%; white-space: normal; text-align: center; }
  .pt-win__q { margin: 32px 0 14px; font-size: 22px; }
  .pt-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pt-wbtn { grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 10px; min-height: 64px; padding: 8px 10px; }
  .pt-wbtn__art { position: relative; height: 40px; margin: 0; }
  .pt-wsvg { width: 40px; height: 40px; stroke-width: 2.4; }
  .pt-wbtn__name { font-size: 15.5px; line-height: 1.2; }
  .pt-wbtn__n { display: none; }
  .pt-wbtn__tick { top: -4px; right: auto; left: -4px; width: 20px; height: 20px; }
  .pt-wbtn__tick .i { width: 12px; height: 12px; }
  .pt-wbtn:not([aria-pressed="true"]) .pt-wbtn__tick { display: none; }
  .pt-results { padding-top: 20px; }
  .pt-group { padding: 16px; gap: 16px; border-radius: var(--r); }
  .pt-group__text { padding-top: 16px; }
  .pt-group__t { font-size: 26px; }
  .pt-wsvg--s { width: 44px; height: 44px; padding: 6px; }
  .pt-group__text > .pt-group__prods { grid-template-columns: 1fr; }
  .pt-group__photos { gap: 12px 10px; }
  .pt-wph__cap a { font-size: 15px; line-height: 1.3; }
  .pt-wph__cap span { display: none; }
}

/* d12 gives every element a tiny transition under reduced motion: keep visibility switches instant */
@media (prefers-reduced-motion: reduce) {
  .pt-group, .pt-group * { transition-property: none !important; }
}

