/* Design Taste · route: the homepage's locked system (design.md rule: pages share the system, never differ)
 * page types: service page and blog post · structure: answer-first, proof, local, convert · grounds from ground.css
 * every class here carries the ip- prefix (inner page) so no homepage rule reaches it by accident, and every colour is a
 * homepage token (tokens.css, ground.css): this file adds layout and type steps, never a new colour */

[hidden] { display: none !important; }
.ip main > section { scroll-margin-top: 96px; }

/* ---------- section heads (single-column heads centre where the page has room: Ali, 30 Oct) ---------- */
.ip-head { max-width: 860px; }
.ip-head .lead { margin-top: 22px; max-width: 62ch; }
.ip-head--c { margin-inline: auto; text-align: center; }
.ip-head--c .lead { margin-inline: auto; }
.ip-head--c .eyebrow { margin-inline: auto; }

/* ---------- breadcrumbs: one line, the current page may shorten, links never wrap ---------- */
.ip-crumbs { margin: 0 0 26px; }
.ip-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.ip-crumbs li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ip-crumbs li + li::before { content: ''; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--spring-ink); }
.ip-crumbs a { color: inherit; text-decoration: none; white-space: nowrap; }
.ip-crumbs [aria-current] { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42ch; }
@media (hover: hover) and (pointer: fine) { .ip-crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair-3); } }

/* ---------- the drawn specimen card: the page's own subject, named like a plate in a field guide ---------- */
.ip-spec { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start;
  padding: 14px 18px 16px 14px; border-radius: 18px; background: var(--g-paper);
  box-shadow: inset 0 0 0 1px var(--hair), 0 18px 34px -18px rgb(22 34 48 / 0.28); color: var(--ink); }
.ip-spec__art { grid-row: 1 / span 3; display: block; width: 112px; border-radius: 12px; overflow: hidden; background: var(--g-stone); }
.ip-spec__art img { width: 100%; height: auto; }
.ip-spec__name { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.01em; margin-top: 4px; }
.ip-spec__latin { font: 500 11.5px/1.35 var(--font-mono); letter-spacing: 0.06em; color: var(--ink-2); margin-top: 6px; text-transform: lowercase; }
.ip-spec__note { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; }
.ip-spec figcaption { display: contents; }

/* ---------- hero: service ---------- */
.ip-hero { position: relative; padding: clamp(118px, 13vw, 172px) 0 clamp(64px, 8vw, 108px); }
.ip-hero__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(36px, 5.4vw, 96px); align-items: center; }
.ip-hero__h1 { max-width: 14ch; }
.ip-hero__lead { margin-top: 24px; max-width: 56ch; }
.ip-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ip-hero__media { position: relative; margin: 0 0 40px 40px; }
/* square on wide screens, so at 1440 x 900 the specimen card clears the fixed island bar on first paint; 4:5 on phones */
.ip-hero__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--g-stone); }
@media (max-width: 960px) { .ip-hero__photo { aspect-ratio: 4 / 5; } }
.ip-hero__img { width: 100%; height: 100%; object-fit: cover; }
.ip-hero__media .ip-spec { position: absolute; left: -40px; bottom: -40px; width: min(340px, 78%); }
.ip-proof__wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-top: clamp(56px, 7vw, 96px); }
.ip-proof__photo { width: clamp(116px, 11vw, 160px); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--g-stone); }
.ip-proof__img { width: 100%; height: 100%; object-fit: cover; }
.ip-proof { list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ip-proof li { display: grid; gap: 6px; }
.ip-proof b { font: 800 clamp(30px, 3.2vw, 46px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.ip-proof span { font-size: 15px; color: var(--ink-2); }
.ip-proof__line { margin-top: 22px; max-width: 72ch; font-size: 16px; color: var(--ink-2); }

/* ---------- the short answer: one panel, a hairline all round, never a side stripe ---------- */
.ip-answer { padding-top: clamp(24px, 3vw, 40px); }
.ip-answer__panel { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(28px, 4.4vw, 72px);
  padding: clamp(28px, 4.6vw, 64px); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--hair-2); }
.ip-answer__p { margin-top: 22px; color: var(--ink); }
.ip-facts { align-self: start; }
.ip-facts__h { color: var(--spring-ink); margin-bottom: 8px; }
.ip-facts dl { margin: 0; }
.ip-facts__row { padding: 16px 0; border-top: 1px solid var(--hair); }
.ip-facts__row:last-child { border-bottom: 1px solid var(--hair); }
.ip-facts dt { color: var(--ink-2); }
.ip-facts dd { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }

/* ---------- the article body and its contents list ---------- */
.ip-body { display: grid; grid-template-columns: minmax(0, 248px) minmax(0, 720px); gap: clamp(40px, 6vw, 112px);
  justify-content: center; margin-top: clamp(72px, 9vw, 132px); }
.ip-body--post { margin-top: 0; }
.ip-body__side { position: relative; }
.ip-toc { position: sticky; top: 108px; }
.ip-toc__box summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: default;
  padding-bottom: 14px; border-bottom: 1px solid var(--hair); color: var(--spring-ink); }
.ip-toc__box summary::-webkit-details-marker { display: none; }
.ip-toc__icon { display: none; }
.ip-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.ip-toc li { counter-increment: toc; border-bottom: 1px solid var(--hair); }
.ip-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; padding: 12px 0; font-size: 14.5px; line-height: 1.4;
  color: var(--ink-2); text-decoration: none; transition: color var(--dur-quick) var(--ease-calm); }
.ip-toc a::before { content: counter(toc, decimal-leading-zero); font: 500 11.5px/1.9 var(--font-mono); color: var(--ink-2); }
.ip-toc a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.ip-toc a[aria-current="true"]::before { color: var(--spring-ink); }
@media (hover: hover) and (pointer: fine) { .ip-toc a:hover { color: var(--ink); } }

.ip-prose { font-size: 18.5px; line-height: 1.72; color: var(--ink); min-width: 0; }
.ip-prose > * + * { margin-top: 1.05em; }
.ip-prose h2, .ip-prose .ip-h2 { font: 800 clamp(27px, 2.4vw, 37px)/1.12 var(--font-display); letter-spacing: -0.026em;
  margin-top: 2.3em; text-wrap: balance; scroll-margin-top: 112px; }
.ip-prose > h2:first-child { margin-top: 0; }
.ip-prose h3, .ip-prose .ip-h3 { font: 700 clamp(20px, 1.6vw, 24px)/1.25 var(--font-display); letter-spacing: -0.014em; margin-top: 1.9em;
  scroll-margin-top: 112px; text-wrap: balance; }
.ip-prose h2 + *, .ip-prose h3 + * { margin-top: 0.6em; }
.ip-anchor { display: block; position: relative; top: -112px; visibility: hidden; height: 0; }
.ip-prose a { color: var(--ink); text-decoration-color: var(--spring-ink); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
@media (hover: hover) and (pointer: fine) { .ip-prose a:hover { text-decoration-thickness: 2.5px; } }
.ip-prose strong { font-weight: 650; }
.ip-list { padding-left: 1.15em; }
.ip-list li + li { margin-top: 0.55em; }
.ip-list li::marker { color: var(--spring-ink); }
.ip-figure { margin-block: 2em; border-radius: var(--radius-lg); overflow: hidden; background: var(--g-stone); }
.ip-figure__img { width: 100%; height: auto; }
.ip-takeaway { font-weight: 600; }
.ip-quote { padding: 22px 26px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair-2); }

/* tables: enclosed by a hairline (Ali, 1 Oct); a caption on top; on a phone each row becomes a card, never a sideways scroll */
.ip-table { margin-block: 2.1em; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair-2); overflow: hidden; }
.ip-table__cap { padding: 18px 20px 14px; font: 700 16.5px/1.35 var(--font-display); letter-spacing: -0.01em; }
.ip-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.ip-table th, .ip-table td { padding: 14px 20px; text-align: left; vertical-align: top; }
.ip-table thead th { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  background: var(--wash); border-top: 1px solid var(--hair); }
.ip-table tbody tr { border-top: 1px solid var(--hair); }
.ip-table tbody th { font-weight: 650; color: var(--ink); }
.ip-table td { color: var(--ink-2); }
@media (max-width: 639px) {
  .ip-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ip-table table, .ip-table tbody, .ip-table tr, .ip-table th, .ip-table td { display: block; width: auto; }
  .ip-table tbody tr { padding: 16px 20px; }
  .ip-table tbody th, .ip-table td { padding: 0; }
  .ip-table td { margin-top: 10px; }
  .ip-table td::before { content: attr(data-col); display: block; margin-bottom: 2px; font: 500 11px/1.4 var(--font-mono);
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
}

/* ---------- cards: what we install, related pages, recent posts ---------- */
.ip-cards { list-style: none; margin: clamp(44px, 5.4vw, 72px) 0 0; padding: 0; display: grid; gap: clamp(18px, 2.2vw, 30px); }
.ip-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-card { display: grid; grid-template-rows: auto auto 1fr auto; padding: 12px 12px 24px; border-radius: var(--radius-lg);
  background: var(--g-paper); box-shadow: inset 0 0 0 1px var(--hair); }
.ip-card__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--g-stone); }
.ip-card__img { width: 100%; height: 100%; object-fit: cover; }
.ip-card__t { margin: 22px 10px 0; }
.ip-card__p { margin: 10px 10px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ip-card__best { margin: 18px 10px 0; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.5; color: var(--ink); }
.ip-card__best .label { display: block; margin-bottom: 4px; color: var(--spring-ink); }
.ip-rel { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; padding: 26px 26px 24px; border-radius: var(--radius-lg);
  background: var(--g-paper); box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow var(--dur-quick) var(--ease-calm); }
.ip-rel__type { color: var(--spring-ink); }
.ip-rel h3 { margin-top: 14px; }
.ip-rel__a { color: var(--ink); text-decoration: none; }
.ip-rel__a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ip-rel p:not(.label) { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ip-rel__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; font-size: 15px; color: var(--ink); }
.ip-rel__go svg { width: 16px; height: 16px; transition: transform var(--dur-quick) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ip-rel:hover { box-shadow: inset 0 0 0 1px var(--hair-3); }
  .ip-rel:hover .ip-rel__go svg { transform: translateX(3px); }
}
.ip-rel:active { box-shadow: inset 0 0 0 1px var(--ink); }

.ip-rel--post { padding-top: 12px; }
.ip-rel__art { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--g-stone); margin-bottom: 18px; }
/* CHANGES.md 3: the recent cards show the linked post's own cover photo, framed as the drawing was */
.ip-rel__fig { margin: 0 0 18px; }
.ip-rel__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--g-stone); }
/* CHANGES.md 3: the post's live tag links, after its sources */
.ip-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); }
.ip-tags .label { color: var(--ink-2); }
.ip-tags ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ip-topics { margin-top: clamp(48px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--hair); text-align: center; }
.ip-topics .label { color: var(--ink-2); }
.ip-topics ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ip-topics .ip-pill { min-height: 40px; padding: 0 16px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ip-pill:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
.ip-pill:active { background: var(--wash); }

/* ---------- why ClearQuest (navy): six promises on hairlines ---------- */
.ip-why-wrap { position: relative; }
.ip-why { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3.4vw, 56px); }
.ip-why li { padding: 26px 0 30px; border-top: 1px solid var(--hair); }
.ip-why__t { font: 700 clamp(19px, 1.5vw, 22px)/1.25 var(--font-display); letter-spacing: -0.012em; color: var(--ink); }
.ip-why p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ip-why + * { margin-top: 0; }

/* ---------- recent installs ---------- */
.ip-gal { list-style: none; margin: clamp(44px, 5.4vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px); }
.ip-gal__fig { margin: 0; }
.ip-gal__img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--g-stone); }
.ip-gal__t { margin-top: 14px; font: 600 15px/1.4 var(--font-body); color: var(--ink); }

/* ---------- local knowledge (stone) ---------- */
.ip-local__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(36px, 5.4vw, 96px); align-items: start; }
.ip-local__p { margin-top: 20px; max-width: 64ch; font-size: 17.5px; line-height: 1.7; }
.ip-local__words .h-l { max-width: 18ch; }
.ip-local__src { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.ip-local__src .label { display: block; margin-bottom: 6px; }
.ip-local__src a { color: var(--ink); text-decoration-color: var(--spring-ink); text-underline-offset: 0.2em; }
.ip-local__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--g-paper); }
.ip-local__img { width: 100%; height: 100%; object-fit: cover; }
.ip-callout { position: relative; z-index: 1; margin: -64px 22px 0; padding: 22px 24px; border-radius: 18px; background: var(--g-paper);
  box-shadow: inset 0 0 0 1px var(--hair), 0 18px 34px -20px rgb(22 34 48 / 0.3); font-size: 15.5px; line-height: 1.6; color: var(--ink); }

/* ---------- ownership: three stops on one drawn water line that ends at its first and last stop ---------- */
.ip-timeline { --tl-gap: clamp(24px, 3.4vw, 56px); position: relative; list-style: none; margin: clamp(48px, 6vw, 84px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tl-gap); }
.ip-stop { position: relative; padding-top: 38px; }
/* each stop draws its own run of water to the next stop, so the line starts and ends at a stop on every width */
.ip-stop:not(:last-child)::after { content: ''; position: absolute; top: 7px; left: 22px; width: calc(100% + var(--tl-gap) - 28px); height: 2px;
  border-radius: 2px; background: var(--spring-ink); opacity: 0.45; }
.ip-stop__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ground);
  box-shadow: inset 0 0 0 2px var(--spring-ink); }
.ip-stop__when { color: var(--spring-ink); }
.ip-stop h3 { margin-top: 10px; }
.ip-stop p:last-child { margin-top: 10px; font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 44ch; }
.ip-tips__head { margin-top: clamp(96px, 11vw, 150px); }
.ip-tips { list-style: none; margin: clamp(44px, 5.4vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 72px); }
.ip-tip { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 10px; padding: 28px 0 30px; border-top: 1px solid var(--hair); }
.ip-tip__n { grid-row: 1 / span 2; font: 500 13px/2 var(--font-mono); letter-spacing: 0.08em; color: var(--spring-ink); }
.ip-tip p { margin-top: 8px; font-size: 16px; line-height: 1.62; color: var(--ink-2); }

/* ---------- areas ---------- */
.ip-areas { text-align: center; }
.ip-areas__more { max-width: 66ch; margin: 18px auto 0; }
.ip-areas__p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.ip-towns { list-style: none; margin: clamp(34px, 4vw, 52px) auto 0; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px; }
.ip-towns a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink); font-weight: 500; font-size: 15.5px; text-decoration: none;
  transition: box-shadow var(--dur-quick) var(--ease-calm), background-color var(--dur-quick) var(--ease-calm); }
@media (hover: hover) and (pointer: fine) { .ip-towns a:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
.ip-towns a:active { background: var(--wash); }
.ip-areas__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; color: var(--ink);
  text-decoration: none; }
.ip-areas__all svg { width: 16px; height: 16px; }

/* ---------- the closing byline (inside the booking section) ---------- */
.ip-byline { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px; align-items: center; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ip-byline > div { display: grid; gap: 4px; }
.ip-byline__mark { width: 52px; height: 52px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--hair); }
.ip-author__img { width: 100%; height: 100%; }

/* ---------- hero: post ---------- */
.ip-hero--post { padding-bottom: clamp(40px, 5vw, 72px); }
.ip-post__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: clamp(36px, 5vw, 88px); align-items: end; }
.ip-post__top > * { grid-column: 1; }
.ip-post__cat { margin-bottom: 18px; }
.ip-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2);
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--spring-ink); text-decoration: none; white-space: nowrap; }
.ip-post__h1 { font-size: clamp(34px, 4.4vw, 64px); max-width: 21ch; }
.ip-post__meta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: var(--ink-2); }
.ip-post__by { font-weight: 650; color: var(--ink); }
.ip-post__top > .ip-post__art { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
.ip-spec--post { width: min(360px, 100%); margin: 0 0 0 auto; }
.ip-prose--post .ip-figure { max-width: 520px; margin-inline: auto; }
.ip-post__coverwrap { margin-top: clamp(32px, 4vw, 56px); }
.ip-post__cover { max-width: 1120px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--g-stone); }
.ip-post__img { width: 100%; height: 100%; object-fit: cover; }
.ip-post__hook:first-child { font-size: 20px; line-height: 1.65; }

/* quick summary: a named aside in a hairline frame (never the old quote's coloured left edge) */
.ip-summary { margin-block: 1.8em; padding: 24px 28px 26px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair-2); background: var(--wash); }
.ip-summary__h { color: var(--spring-ink); }
.ip-summary__p { margin-top: 10px; font-size: 18.5px; line-height: 1.65; color: var(--ink); }
.ip-faqlist { margin-top: 1.2em; border-top: 1px solid var(--hair); }
.ip-qa { padding: 6px 0 26px; border-bottom: 1px solid var(--hair); }
.ip-qa > .ip-h3 { margin-top: 22px; }
.ip-qa p { margin-top: 10px; color: var(--ink-2); font-size: 17.5px; }
.ip-svcs { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 14px; }
.ip-svc { padding: 22px 24px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair-2); }
.ip-svc p { font-size: 17px; line-height: 1.65; }
.ip-svc__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 15.5px; color: var(--ink);
  text-decoration: none !important; }
.ip-svc__go svg { width: 16px; height: 16px; }
.ip-close { font-weight: 600; }
.ip-author { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; margin-top: 2.4em !important; padding-top: 28px;
  border-top: 1px solid var(--hair); }
.ip-author__mark { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); background: #FFFFFF; }
.ip-author__mark svg { width: 100%; height: 100%; }
.ip-author__name { font: 700 18px/1.3 var(--font-display); }
.ip-author__line { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.ip-author__upd { margin-top: 8px; font: 500 12px/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ip-author__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: 15px;
  text-decoration: none !important; }
.ip-author__more svg { width: 16px; height: 16px; }
.ip-sources { margin-top: 2.6em !important; padding-top: 24px; border-top: 1px solid var(--hair); }
.ip-sources__h { font: 700 18px/1.3 var(--font-display) !important; margin-top: 0 !important; }
.ip-sources ol { margin: 12px 0 0; padding-left: 1.3em; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ip-sources li + li { margin-top: 6px; }
.ip-sources li::marker { font: 500 12px var(--font-mono); color: var(--ink-2); }

/* ---------- the booking form near the top, the drawn bank at the foot (CHANGES.md 10) ---------- */
/* the form's section keeps the section rhythm below it now that no bank fills its foot, and its intro loses the air
   the bank's 80 px tuck needed */
.book--top { padding-bottom: clamp(80px, 11vw, 158px); }
/* on the static pages the next section is tan (#F0EADF), one shade from the form's stone (#F1EBE0), so the two read as
   one ground: two full section paddings there left a 320 px hole under the form. One padding's worth across the join */
.book--top:has(+ [data-theme="tan"]) { padding-bottom: clamp(48px, 5vw, 80px); }
.book--top + [data-theme="tan"] { padding-top: clamp(32px, 4vw, 72px); }
@media (min-width: 961px) { .book--top .book__intro { padding-bottom: 0; } }
/* the post's opening (hook and quick summary) holds the article's column, its contents list waits for the body */
.ip-body--lead > .ip-prose { grid-column: 2; }
@media (max-width: 1099px) { .ip-body--lead > .ip-prose { grid-column: auto; } }
/* the page's last section stands on the bank: no bottom padding, and air above the bank's tuck so no line runs under it */
.ip-closer, .ip-related--ground { padding-bottom: 0; }
.ip-closer__wrap, .ip-related--ground > .wrap { position: relative; z-index: 1; padding-bottom: clamp(96px, 9vw, 120px); }
.ip-closer__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
/* the static pages close on their two calls alone (CHANGES.md 11): no heading above them, so less ground above too */
.ip-closer--calls { padding-top: clamp(56px, 6vw, 88px); }
.ip-closer--calls .ip-closer__cta { margin-top: 0; }

/* ---------- tablets and phones: re-composed, never squeezed ---------- */
@media (max-width: 1099px) {
  .ip-body { grid-template-columns: minmax(0, 720px); }
  .ip-toc { position: static; }
  .ip-toc__box { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair-2); padding: 0 18px; }
  .ip-toc__box summary { cursor: pointer; padding: 16px 0; border-bottom: 0; min-height: 52px; }
  .ip-toc__box[open] summary { border-bottom: 1px solid var(--hair); }
  .ip-toc__icon { display: block; position: relative; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair-2); }
  .ip-toc__icon::before, .ip-toc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; border-radius: 2px;
    background: var(--ink); transform: translate(-50%, -50%); transition: transform var(--dur-quick) var(--ease-out); }
  .ip-toc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
  .ip-toc__box[open] .ip-toc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
  .ip-toc li:last-child { border-bottom: 0; }
  .ip-post__top { grid-template-columns: minmax(0, 1fr); }
  .ip-post__top > .ip-post__art { grid-column: 1; grid-row: auto; }
  .ip-spec--post { margin: 30px 0 0; }
}
@media (max-width: 960px) {
  .ip-hero__grid, .ip-answer__panel, .ip-local__grid { grid-template-columns: minmax(0, 1fr); }
  .ip-hero__media { margin: 8px 0 44px; max-width: 560px; }
  .ip-hero__media .ip-spec { left: 16px; bottom: -36px; width: min(330px, calc(100% - 32px)); }
  .ip-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-cards--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ip-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-local__side { max-width: 560px; }
}
@media (max-width: 720px) {
  .ip-timeline { --tl-gap: 30px; grid-template-columns: minmax(0, 1fr); }
  .ip-stop { padding: 0 0 0 40px; }
  .ip-stop__dot { top: 2px; }
  .ip-stop:not(:last-child)::after { top: 24px; left: 7px; width: 2px; height: calc(100% + var(--tl-gap) - 28px); }
  .ip-tips { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .ip-cards--3, .ip-why { grid-template-columns: minmax(0, 1fr); }
  .ip-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .ip-proof__wrap { grid-template-columns: minmax(0, 1fr); }
  .ip-proof__photo { display: none; }
  .ip-proof span { font-size: 13.5px; }
  .ip-answer__panel { padding: 24px 20px; }
  .ip-prose { font-size: 17.5px; }
  .ip-crumbs [aria-current] { max-width: 24ch; }
  .ip-spec { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; }
  .ip-spec__art { width: 88px; }
  .ip-summary { padding: 20px 20px 22px; }
  .ip-callout { margin: -48px 12px 0; }
  .ip-tip { grid-template-columns: 44px minmax(0, 1fr); }
}

/* ---------- motion: a slow drop on the specimen's subject; nothing moves for reduced motion or the lite tier ---------- */
.ip-spec__art { position: relative; }
.ip-spec__art::after { content: ''; position: absolute; top: 8px; right: 14px; width: 6px; height: 9px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--spring); opacity: 0; animation: ip-drip 6.5s var(--ease-in-out) infinite 1.2s; }
@keyframes ip-drip { 0%, 64% { opacity: 0; transform: translateY(0) scale(0.7); } 70% { opacity: 0.85; transform: translateY(2px) scale(1); }
  92% { opacity: 0; transform: translateY(26px) scale(0.9); } 100% { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) { .ip-spec__art::after { animation: none; } .ip-toc a, .ip-rel, .ip-towns a { transition-duration: 1ms; } }
html.lite .ip-spec__art::after { animation: none; }
