/* Fresh Home Renovations — style.css
 *
 * Art direction: the Cruv theme, home one, measured off the live demo and
 * themes/cruv/assets/css/master.css. Every value marked "theme" is the
 * theme's own; everything else is the adaptation. See tools/shell.py for the
 * token notes.
 */

:root {
  --ink: #000000;            /* theme --primary / --black */
  --white: #ffffff;
  --sand: #E5E0D0;           /* theme .theme-bg-gray */
  --cream: #FBF7F0;          /* theme counter and testimonial cards */
  --lime: #B3EC11;           /* theme --secondary / --action */
  --blue: #3B4EFF;           /* theme --blue */
  --grey: #AAAAAA;           /* theme paragraph grey, used on black only */
  --text: #3A3A3A;           /* body text on white and sand */
  --muted: #5C5C5C;          /* small print on white and cream (6.6:1) */
  --line-dark: rgba(255, 255, 255, .12);
  --radius: 10px;            /* theme cards and images */
  --pill: 100px;             /* theme buttons */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 30px);
  --space: clamp(64px, 9vw, 120px);   /* theme .section-space */
  --stripes: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .045) 0 18px, transparent 18px 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section-top { padding: var(--space) 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 18px; border-radius: var(--pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- buttons --
 * Theme .rr-btn: a pill, 18px/500, whose label rolls up and out while a copy
 * rises from below and a fill climbs from the bottom edge. */
.btn {
  position: relative; overflow: hidden; z-index: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 22px 30px; border: 0; border-radius: var(--pill);
  background: var(--ink); color: var(--white);
  font: 700 16px/1 var(--body); text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: -1;
  background: var(--lime); transition: height .5s;
}
.btn .bt { position: relative; display: inline-block; overflow: hidden; }
.btn .bt::after {
  content: attr(data-t); position: absolute; left: 0; top: 100%; white-space: nowrap;
  transition: transform .5s;
}
.btn .bt { transition: color .5s; }
.btn .spark { width: 14px; height: 14px; flex: none; transition: transform .5s; }
.btn:hover::before, .btn:focus-visible::before { height: 100%; }
.btn:hover .bt, .btn:focus-visible .bt { color: transparent; }
.btn:hover .bt::after, .btn:focus-visible .bt::after { transform: translateY(-100%); color: var(--ink); }
.btn:hover .spark, .btn:focus-visible .spark { transform: rotate(90deg); color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white::before { background: var(--lime); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime::before { background: var(--white); }
.btn--wide { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  .btn::before, .btn .bt, .btn .bt::after, .btn .spark { transition: none; }
}

/* ------------------------------------------------------------ section label --
 * Theme .section-sub__wrapper: a lime pill then a hairline to the edge. */
.sub { display: flex; align-items: center; margin-bottom: 24px; }
.sub span {
  background: var(--lime); color: var(--ink); border-radius: 90px; padding: 5px 25px;
  font: 500 18px/28px var(--display); white-space: nowrap;
}
.sub i { flex: 1; height: 1px; background: rgba(0, 0, 0, .55); }
.sub--light i, .big-head--dark .sub i { background: var(--line-dark); }

/* -------------------------------------------------------------- big titles --
 * Theme section titles: 140px, 700, uppercase. They fill from grey to full
 * ink as they scroll through the viewport; main.js sets --p on each line. */
/* The title takes its own row; the paragraph and button sit beneath it in
 * the right half. (First version set them beside the title with the
 * theme's 103px first-line indent; when the title was wide they wrapped
 * under it at the left with the indent still on, 2026-10-05.) */
.big-head { margin-bottom: clamp(40px, 5vw, 70px); }
.big-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 90px); }
.big {
  grid-column: 1 / -1;
  font: 700 clamp(48px, 8.4vw, 120px)/1 var(--display);
  text-transform: uppercase; letter-spacing: -.01em; color: var(--ink);
}
.big .ln { display: block; }
.js .fill .ln {
  --p: 0%;
  background: linear-gradient(90deg, var(--ink) var(--p), #BDBDBD var(--p));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.big-head--dark .big { color: var(--white); }
.js .big-head--dark .fill .ln { background-image: linear-gradient(90deg, var(--white) var(--p), #3A3A3A var(--p)); }
.big-aside { display: inline-block; font: 500 .42em/1 var(--display); margin-left: .5em; vertical-align: .55em; color: var(--white); -webkit-text-fill-color: var(--white); white-space: nowrap; }
.big-side {
  grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; flex-wrap: wrap; margin-top: clamp(22px, 2.6vw, 34px);
}
.big-side p { font-size: 19px; line-height: 1.65; color: var(--text); margin: 0; max-width: 36em; }
.big-head--dark .big-side p { color: var(--grey); }
@media (max-width: 760px) {
  .big-row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ header -- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 96px; }
.site-header.is-stuck {
  position: fixed; background: rgba(0, 0, 0, .92); backdrop-filter: blur(10px);
  animation: drop .45s ease both;
}
.site-header.is-stuck .wrap { height: 76px; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: currentColor; margin-right: auto; }
.brand .mark { width: 48px; height: 40px; }
.brand-word { font: 700 30px/1 var(--display); letter-spacing: -.02em; }
.brand-word i { font-style: normal; color: var(--lime); }

/* Theme .header__nav: a blurred, glassy pill holding the menu. */
.site-nav ul {
  display: flex; list-style: none; border-radius: 90px; padding: 0 12px;
  backdrop-filter: blur(17.5px); -webkit-backdrop-filter: blur(17.5px);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 -8px 10px rgba(0, 0, 0, .25), inset 0 8px 10px rgba(0, 0, 0, .25);
}
.site-nav a { display: block; padding: 15px 20px; font-size: 16px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--lime); }
.head-cta {
  background: var(--lime); color: var(--ink); text-decoration: none; border-radius: var(--pill);
  padding: 13px 22px; font: 700 15px/1 var(--body);
}
.head-cta:hover { background: var(--white); }
.nav-toggle {
  display: none; width: 50px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 8px; padding: 0 4px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 4px; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    background: var(--ink); border-top: 1px solid var(--line-dark); padding: 10px var(--gutter) 24px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; border-radius: 0; }
  .site-nav a { padding: 14px 0; font: 500 24px/1.2 var(--display); border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .head-cta { display: none; }
  .brand-word { font-size: 26px; }
}

/* ------------------------------------------------------------------- hero --
 * Theme .hero: black, the 45-degree stripe texture, an 800-weight uppercase
 * headline with a paragraph set into its first line, an outlined arrow at
 * the start of the second and a pill at the end of the third. */
.hero, .page-hero, .site-footer {
  background-color: var(--ink);
  background-image: radial-gradient(120% 90% at 85% 10%, transparent 0 40%, var(--ink) 75%), var(--stripes);
}
/* Two columns: the headline, lede and buttons on the left, and the room
 * slider filling the right. (First version set a paragraph inside the
 * headline and a photo pill after it, as the theme does; the operator found
 * it scattered, 2026-10-05.) */
.hero { color: var(--white); padding: 150px 0 90px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-title {
  color: var(--white); font: 800 clamp(40px, 7vw, 104px)/.98 var(--display);
  text-transform: uppercase; letter-spacing: -.015em;
}
/* RENOVATIONS measures 6.1em, so the headline is sized from its own column
 * rather than the viewport: 14.2% of the column keeps it inside with room for font fallback. */
.hero__copy { container-type: inline-size; }
@supports (font-size: 1cqi) { .hero-title { font-size: clamp(34px, 14.2cqi, 100px); } }
.hero-title .ln { display: block; }
.h-arrow { display: inline-block; width: .62em; height: .62em; vertical-align: -.02em; margin-right: .2em; }
.hero-lede { font-size: 20px; line-height: 1.6; color: #D6D6D6; max-width: 31em; margin: 32px 0 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Page-load sequence: the one orchestrated moment. Each line rises out of
 * its own mask, then the lede, the buttons and the card follow. */
.js .hero-title .ln { clip-path: inset(0 0 -8% 0); }
.js .hero-title .ln > * { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .7, .1, 1); }
.js .hero-title .ln-2 > * { transition-delay: .1s; }
.js .hero-title .ln-3 > * { transition-delay: .2s; }
.js .hero-lede, .js .hero-btns, .js .featured { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s; }
.js .hero-lede { transition-delay: .45s; }
.js .hero-btns { transition-delay: .55s; }
.js .featured { transition-delay: .35s; }
.js .hero.is-in .hero-title .ln > *, .js .hero.is-in .hero-lede, .js .hero.is-in .hero-btns, .js .hero.is-in .featured { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-title .ln > *, .js .hero-lede, .js .hero-btns, .js .featured { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* Theme .hero__featured: the white card with a slider and pill arrows,
 * here given the whole right column. */
.featured { padding: 18px; background: var(--white); border-radius: var(--radius); color: var(--ink); }
.featured__frame { position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.featured .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.featured .slide.is-on { opacity: 1; }
.featured .slide img { width: 100%; height: 100%; object-fit: cover; }
.featured__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 0 4px; }
.featured__title { margin: 0; font: 600 clamp(20px, 1.9vw, 26px)/1.3 var(--display); }
.featured__arrows { display: flex; gap: 10px; }
.featured__arrows button {
  width: 62px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 80px;
  background: var(--sand); cursor: pointer; transition: background .3s;
}
.featured__arrows button:hover { background: var(--lime); }
.featured__arrows svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-lede { font-size: 18px; margin: 22px 0 26px; }
  .featured { padding: 10px; }
  .featured__frame { aspect-ratio: 4 / 3; }
}

/* Theme .hero-video__wrapper: blue | lime square | white. */
.strip { display: flex; }
.strip a { text-decoration: none; }
.strip__work {
  flex: 1; display: flex; align-items: center; background: var(--blue); color: var(--white);
  padding: 47px 40px 47px clamp(20px, 5vw, 75px); font: 700 18px/1 var(--body); text-transform: uppercase;
}
.strip__work, .strip__end a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.strip__work:hover { text-decoration-color: transparent; }
.strip__play { width: 156px; flex: none; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.strip__play svg { width: 30px; height: 30px; transition: transform .3s; }
.strip__play:hover svg { transform: translateY(5px); }
.strip__end {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--white); color: var(--ink); padding: 47px clamp(20px, 5vw, 75px) 47px 40px;
  font: 700 16px/1.2 var(--body); text-transform: uppercase;
}
.strip__end a:hover { text-decoration-color: transparent; }
@media (max-width: 760px) {
  .strip { flex-wrap: wrap; }
  .strip__work { flex: 1 0 calc(100% - 90px); padding: 30px 20px; }
  .strip__play { width: 90px; }
  .strip__end { flex: 1 0 100%; padding: 22px 20px; }
}

/* ------------------------------------------------------------------ about --
 * Theme .about-us on the sand band, then the three counter cards. */
.about { background: var(--sand); padding: var(--space) 0 calc(var(--space) - 30px); color: var(--ink); }
.about--page { padding-bottom: var(--space); }
.about__in { display: grid; grid-template-columns: 332px 1fr; gap: 30px; }
.about__tag span {
  display: inline-block; background: var(--white); color: var(--ink); border-radius: 90px;
  padding: 5px 26px; font: 500 18px/28px var(--display);
}
.about__meta { font: 500 24px/1.3 var(--display); margin-bottom: 18px; }
.about__text { font: 500 clamp(26px, 3.3vw, 44px)/1.28 var(--display); color: var(--ink); margin-bottom: 40px; letter-spacing: -.01em; }
@media (max-width: 900px) { .about__in { grid-template-columns: 1fr; } }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(50px, 7vw, 100px); }
.about--page .counters { margin-top: 0; }
.counter {
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  background: var(--cream); border: 2px solid var(--white); border-radius: var(--radius);
  padding: 40px 45px 45px; margin-bottom: 30px;
}
.counter .num { margin: 0; font: 700 clamp(64px, 7vw, 90px)/1 var(--display); color: var(--ink); display: flex; }
.counter .odo { display: inline-block; min-width: .6em; }
.counter .lbl { margin: 0; text-align: right; font: 500 20px/1.35 var(--display); color: var(--ink); align-self: flex-end; max-width: 15em; }
@media (max-width: 900px) { .counters { grid-template-columns: 1fr; gap: 0; } }

/* Theme photo band with the blue card in a sand frame over its corner. */
.band { position: relative; background: var(--sand); }
.band > img { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; }
.band .wrap { position: relative; }
.band__card {
  position: absolute; right: var(--gutter); bottom: 0; max-width: 640px;
  background: var(--sand); padding: 20px 20px 0; border-radius: var(--radius) var(--radius) 0 0;
}
.band__in {
  display: flex; align-items: center; gap: 30px; background: var(--blue); color: var(--white);
  border-radius: var(--radius); padding: 30px 34px;
}
.band__num { margin: 0; font: 700 clamp(40px, 4.4vw, 64px)/1 var(--display); white-space: nowrap; }
.band__in p { margin: 0; font: 500 18px/1.5 var(--body); }
.band__in .band__num { font: 700 clamp(40px, 4.4vw, 64px)/1 var(--display); }
@media (max-width: 760px) {
  .band__card { position: relative; right: auto; margin-top: -60px; padding: 14px 14px 0; }
  .band__in { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
}

/* ---------------------------------------------------------------- marquee --
 * Theme .title-slider: two rows of 60px uppercase words with photo pills
 * between them, running in opposite directions. */
.marquee { background: var(--sand); padding: var(--space) 0; overflow: hidden; }
.mq { overflow: hidden; }
.mq + .mq { margin-top: 35px; }
.mq-track { display: flex; align-items: center; gap: 35px; width: max-content; animation: mq 46s linear infinite; }
.mq--rev .mq-track { animation-direction: reverse; }
.mq-word { font: 500 clamp(36px, 5vw, 60px)/1 var(--display); text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.mq-pic { width: clamp(120px, 14vw, 190px); height: clamp(60px, 6.5vw, 90px); border-radius: var(--pill); overflow: hidden; flex: none; }
.mq-pic img { width: 100%; height: 100%; object-fit: cover; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee:hover .mq-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* --------------------------------------------------------------- services --
 * Theme .services__item: rows ruled in black, a 60px title on the left and a
 * photograph on the right that opens to full height on hover. */
.svc-list { border-bottom: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: 35px 0; border-top: 1px solid var(--ink); }
.svc__title { font: 500 clamp(34px, 4.4vw, 60px)/1.16 var(--display); margin-bottom: 18px; }
.svc__title a { text-decoration: none; }
.svc__text p { max-width: 34em; color: var(--text); }
.svc__more { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.svc__media { display: block; height: clamp(220px, 22vw, 300px); border-radius: var(--radius); overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.svc:hover .svc__media img, .svc:focus-within .svc__media img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .svc__media img { transition: none; } }
.svc--plain { grid-template-columns: 1fr auto; }
.svc__idx { font: 500 clamp(34px, 4.4vw, 60px)/1 var(--display); color: var(--ink); }
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc--plain { grid-template-columns: 1fr auto; }
}

/* -------------------------------------------------------------- portfolio --
 * Theme .portfolio on black: two columns, a tag pill on each image, the
 * title beside a white date pill (here the category). */
.portfolio, .blog { background: var(--ink); color: var(--white); }
.portfolio .big, .blog .big { color: var(--white); }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 30px; }
.work__thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 458 / 310; }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.work:hover .work__thumb img { transform: scale(1.05); }
.work__tags {
  position: absolute; top: 28px; right: 28px; background: var(--white); color: var(--ink);
  border-radius: var(--pill); padding: 8px 22px; font-size: 16px;
}
.work__tags i { font-style: normal; color: #6A6A6A; }
.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.work__title { font: 500 clamp(26px, 2.6vw, 36px)/1.2 var(--display); color: var(--white); }
.work__title a { text-decoration: none; }
.work__title .ch { display: inline-block; }
.js .work__title.split .ch { transform: translateY(.5em) rotate(8deg); opacity: 0; transition: transform .6s, opacity .6s; }
.js .work__title.split.in .ch { transform: none; opacity: 1; }
.work__cat { flex: none; background: var(--white); color: var(--ink); border-radius: var(--pill); padding: 8px 20px; font-size: 16px; }
.work__cat i { font-style: normal; }
@media (max-width: 760px) {
  .works { grid-template-columns: 1fr; }
  .work__tags { top: 14px; right: 14px; font-size: 14px; padding: 6px 16px; }
}

/* ---------------------------------------------------------------- process --
 * Theme .testimonial: cream panels in a row, one wide and the rest narrow
 * strips showing only their number, with tall arrow buttons beside them. */
.process { background: var(--sand); }
.stages { display: flex; align-items: stretch; gap: 30px; }
.stages__arrows { display: flex; flex-direction: column; gap: 30px; }
.stages__arrows button {
  flex: 1; width: clamp(90px, 9vw, 140px); border: 0; border-radius: var(--radius); background: var(--cream);
  display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s;
}
.stages__arrows button:hover { background: var(--blue); color: var(--white); }
.stages__arrows svg { width: 30px; height: 30px; }
.stages__list { flex: 1; display: flex; gap: 16px; list-style: none; min-height: 460px; }
.stage {
  flex: 0 0 84px; display: flex; gap: 34px; background: var(--cream); border-radius: var(--radius);
  padding: 50px 0 50px 28px; overflow: hidden; transition: flex-basis .6s cubic-bezier(.2, .7, .1, 1);
}
.stage.is-open { flex: 1 1 auto; padding-right: 50px; }
/* The progress line along the foot of the open panel while the stages run
 * on their own. main.js sets its width from the time elapsed. */
.stage { position: relative; }
.stage__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--blue); }
.stages:not(.is-auto) .stage__bar { display: none; }
.stages__arrows .stages__pause { flex: 0 0 56px; }
.stages__pause svg { width: 22px; height: 22px; }
.stages__pause .i-play, .stages__pause[aria-pressed="true"] .i-pause { display: none; }
.stages__pause[aria-pressed="true"] .i-play { display: block; }
.stage__num { border: 0; background: none; padding: 0; cursor: pointer; align-self: flex-start; color: var(--ink); }
.stage__num span:first-child { font: 500 36px/46px var(--display); }
.stage__body h3 { font: 500 clamp(30px, 3vw, 44px)/1.15 var(--display); margin: 0 0 20px; }
.stage__body p { font-size: 20px; line-height: 1.6; color: var(--text); max-width: 30em; margin: 0; }
.stage.is-open .stage__body { animation: rise .6s .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stage, .stage.is-open .stage__body { transition: none; animation: none; } }
@media (max-width: 900px) {
  .stages { flex-direction: column; }
  .stages__arrows { display: none; }
  .stage__bar { display: none; }
  .stages__list { flex-direction: column; min-height: 0; }
  .stage, .stage.is-open { flex: none; padding: 28px; gap: 20px; }
  .stage__body[hidden] { display: block; }
}

/* ------------------------------------------------------------------- blog --
 * Theme .blog__item: bordered cards on black, author and date ruled under
 * the photo, a white square arrow beside Read more. */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { border: 1px solid var(--line-dark); padding: 25px; display: flex; flex-direction: column; }
.post__media { display: block; overflow: hidden; aspect-ratio: 4 / 3.3; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.post:hover .post__media img { transform: scale(1.1); }
.post__meta {
  display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 0; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark); font-size: 15px; color: var(--grey); text-transform: uppercase;
}
.post__title { font: 700 clamp(24px, 2.2vw, 30px)/1.3 var(--display); color: var(--white); margin: 28px 0 34px; flex: 1; }
.post__title a { text-decoration: none; }
.post__title a:hover { color: var(--lime); }
.post__more { display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-size: 16px; text-transform: uppercase; }
.post__more .sq { width: 50px; height: 50px; display: grid; place-items: center; background: var(--white); color: var(--ink); transition: background .3s; }
.post__more:hover .sq { background: var(--lime); }
.post__more svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .posts { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- cta --
 * Theme .cta: sand with sweeping arcs, a centred 800-weight question with
 * one word in blue, a black button. */
.cta { position: relative; overflow: hidden; background: var(--sand); padding: var(--space) 0; text-align: center; color: var(--ink); }
.cta__arcs { position: absolute; inset: 0; pointer-events: none; }
.cta__arcs::before, .cta__arcs::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46%;
  background: repeating-radial-gradient(circle at var(--at), transparent 0 30px, rgba(255, 255, 255, .5) 30px 32px);
}
.cta__arcs::before { left: 0; --at: -30% 135%; -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 90%); mask-image: linear-gradient(90deg, #000 10%, transparent 90%); }
.cta__arcs::after { right: 0; --at: 130% -35%; -webkit-mask-image: linear-gradient(-90deg, #000 10%, transparent 90%); mask-image: linear-gradient(-90deg, #000 10%, transparent 90%); }
.cta__in { position: relative; max-width: 900px; margin: 0 auto; }
.cta-title { font: 800 clamp(40px, 7vw, 90px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 26px; }
.cta-title em { font-style: normal; color: var(--blue); }
.cta-lede { font-size: 20px; max-width: 36em; margin: 0 auto 36px; color: var(--ink); }
.cta-form { text-align: left; max-width: 860px; margin: 0 auto; }

/* ------------------------------------------------------------------ forms -- */
.panel { background: var(--cream); border: 2px solid var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 45px); }
.section .panel { background: var(--cream); }
.panel-head { margin-bottom: 26px; }
.panel-head h2, .panel-head h3 { font: 600 clamp(26px, 2.6vw, 34px)/1.2 var(--display); margin-bottom: 6px; }
.fine { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.fine a { color: var(--ink); }
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field-2, .field-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-3 { grid-template-columns: 1fr 1.2fr 1.2fr; }
@media (max-width: 680px) { .field-2, .field-3 { grid-template-columns: 1fr; } }
.field label { display: block; font: 500 16px/1.3 var(--display); color: var(--ink); margin-bottom: 8px; }
.opt { font: 400 14px var(--body); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(0, 0, 0, .22); border-radius: var(--radius); background: var(--white);
  font: 400 17px/1.4 var(--body); color: var(--ink); padding: 15px 16px; min-height: 54px;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B3261E; }
.consents { margin: 8px 0 24px; display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check.is-invalid span { color: #B3261E; }
.check a { color: var(--ink); }
.form-error { display: none; background: #FDECEA; color: #8C1D18; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; font-size: 16px; }
.form-error.is-shown { display: block; }
.form-done { display: none; text-align: left; }
.form-done.is-shown { display: block; }
.form-done h2, .form-done h3 { font: 600 32px/1.2 var(--display); margin: 18px 0 10px; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.done-ic svg { width: 30px; height: 30px; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .form-grid { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 100px; }
@media (max-width: 980px) { .sticky-col { position: static; } }

/* -------------------------------------------------------------- page hero -- */
.page-hero { color: var(--white); padding: 180px 0 clamp(60px, 8vw, 110px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 16px; color: var(--grey); margin-bottom: 30px; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.hero-tag { display: inline-block; background: var(--lime); color: var(--ink); border-radius: 90px; padding: 5px 22px; font: 500 16px/26px var(--display); margin-bottom: 26px; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ph-title { font: 800 clamp(52px, 10.4vw, 150px)/1 var(--display); text-transform: uppercase; color: var(--white); letter-spacing: -.015em; }
.ph-title .ln { display: block; }
.ph-side { max-width: 420px; padding-bottom: 10px; }
.ph-side p { font-size: 20px; line-height: 1.55; color: var(--grey); margin-bottom: 26px; }
.js .ph-title .ln { clip-path: inset(0 0 -6% 0); }
.js .ph-title .ln > span, .js .ph-title .ln { transition: transform 1s cubic-bezier(.2, .7, .1, 1); }
.js .page-hero:not(.is-in) .ph-title .ln { transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) { .js .page-hero .ph-title .ln { transform: none; transition: none; } }

.page-hero--article .art-title { font: 700 clamp(36px, 5.4vw, 76px)/1.08 var(--display); color: var(--white); max-width: 17ch; margin-bottom: 26px; }
.art-lede { font-size: 22px; line-height: 1.5; color: var(--grey); max-width: 38em; }
.art-meta { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; text-transform: uppercase; color: var(--grey); border-top: 1px solid var(--line-dark); padding-top: 16px; margin: 30px 0 0; max-width: 760px; }

/* -------------------------------------------------------------- detail pages -- */
.wide-img { margin: 0 0 clamp(40px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; height: clamp(260px, 42vw, 560px); }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }
.wide-img--tall { height: clamp(300px, 48vw, 640px); }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } }
.detail__main > p { max-width: 42em; }
.detail__h { font: 500 clamp(28px, 3vw, 40px)/1.2 var(--display); margin: 56px 0 22px; }
.detail__h:first-child { margin-top: 0; }
.defs { list-style: none; border-bottom: 1px solid var(--ink); }
.defs li { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--ink); }
.defs strong { font: 600 21px/1.3 var(--display); color: var(--ink); }
@media (max-width: 680px) { .defs li { grid-template-columns: 1fr; gap: 6px; } }
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 70px minmax(150px, 230px) 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--ink); }
.steps li:last-child { border-bottom: 1px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 30px/1 var(--display); color: var(--ink); }
.steps strong { font: 600 21px/1.3 var(--display); color: var(--ink); }
@media (max-width: 680px) { .steps li { grid-template-columns: 50px 1fr; } .steps li span { grid-column: 2; } }

.side-card { background: var(--cream); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.side-card h2 { font: 600 24px/1.25 var(--display); margin-bottom: 12px; }
.side-card p { font-size: 17px; margin-bottom: 18px; }
.side-card p:last-child { margin-bottom: 0; }
.side-card a { color: var(--ink); }
.side-card--blue { background: var(--blue); color: var(--white); }
.side-card--blue h2, .side-card--blue a:not(.btn) { color: var(--white); }
.side-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); margin-bottom: 18px; }
.side-ic svg { width: 24px; height: 24px; color: var(--ink); }
.side-links { list-style: none; }
.side-links li { border-top: 1px solid rgba(0, 0, 0, .15); }
.side-links a { display: block; padding: 12px 0; text-decoration: none; font: 500 19px/1.3 var(--display); }
.side-links a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0 0 50px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 26px 0; }
.facts dt { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font: 500 21px/1.35 var(--display); color: var(--ink); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 16px; } }
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: clamp(360px, 46vw, 620px); margin-bottom: clamp(50px, 7vw, 90px); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery img { height: auto; aspect-ratio: 3 / 2; }
}

.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.story__text p { font-size: 19px; line-height: 1.75; }
.story__img { margin: 0; border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

.prose { max-width: 720px; }
.prose h2 { font: 500 clamp(26px, 2.6vw, 34px)/1.25 var(--display); margin: 46px 0 16px; }
.prose p, .prose li { font-size: 19px; line-height: 1.75; }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); outline: 1px solid var(--ink); }
.prose a { color: var(--ink); }
.prose--doc { max-width: 780px; }
.prose--doc h2 { font-size: 28px; }
.prose--doc p { font-size: 18px; }

/* -------------------------------------------------------------------- faq -- */
.faq { border-bottom: 1px solid var(--ink); max-width: 1000px; }
.faq-item { border-top: 1px solid var(--ink); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border: 0; background: none; padding: 26px 0; text-align: left; cursor: pointer;
  font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--display); color: var(--ink);
}
.faq-q i { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); transition: background .3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s; }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q i { background: var(--lime); }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s; }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { max-width: 46em; font-size: 18px; padding-bottom: 26px; margin: 0; }

/* ----------------------------------------------------------------- footer --
 * Theme footer one: the giant address, the white "Let's talk" card with a
 * lime arrow, three link columns, and a lime bar along the very bottom. */
.site-footer { color: var(--white); padding-top: clamp(70px, 8vw, 110px); }
.foot-top { border-bottom: 1px solid var(--line-dark); padding-bottom: 40px; margin-bottom: 60px; }
.foot-kicker { font: 500 18px/1.4 var(--display); margin-bottom: 18px; }
.foot-mail { display: inline-block; font: 500 clamp(30px, 7vw, 96px)/1.05 var(--display); color: var(--white); text-decoration: none; letter-spacing: -.02em; word-break: break-word; }
.foot-mail:hover { color: var(--lime); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px 30px; }
.talk {
  grid-column: 1 / -1; max-width: 540px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px 20px;
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 30px; text-decoration: none;
}
.talk-h { font: 600 clamp(40px, 5vw, 60px)/1 var(--display); }
.talk-arrow { width: 70px; height: 70px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; transition: transform .4s; }
.talk-arrow svg { width: 26px; height: 26px; }
.talk:hover .talk-arrow { transform: rotate(-45deg); }
.talk-p { grid-column: 1 / -1; font: 600 clamp(20px, 2vw, 26px)/1.25 var(--display); }
.foot-col h2 { font: 700 30px/1.2 var(--display); color: var(--white); margin-bottom: 24px; }
.foot-col ul { list-style: none; display: grid; gap: 14px; }
.foot-col a { color: var(--grey); text-decoration: none; font-size: 16px; }
.foot-col a:hover { color: var(--lime); }
.foot-contact li { color: var(--grey); font-size: 16px; line-height: 1.6; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .foot-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-notes { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.foot-notes p { font-size: 14px; line-height: 1.65; color: var(--grey); margin: 0; }
.foot-notes strong { color: var(--white); }
@media (max-width: 760px) { .foot-notes { grid-template-columns: 1fr; } }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; border-top: 1px solid var(--line-dark); margin-top: 50px; padding: 30px 0 34px; }
.foot-bottom p { margin: 0; font-size: 15px; }
.foot-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bottom a { font-size: 15px; color: var(--grey); text-decoration: none; }
.foot-bottom a:hover { color: var(--lime); }
.back-top { border: 0; background: none; padding: 0; cursor: pointer; font: 700 15px var(--body); text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; color: var(--white); }
.foot-bar { height: 10px; background: var(--lime); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--white); background: var(--ink); color: var(--white); display: grid; place-items: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------- reveal --
 * Theme .wow.fade-in-bottom. Hidden only once the script has marked the
 * page, so a failed script cannot blank the content. */
.js .fade { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .1, 1); }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------- home insurance --
 * Added 2026-10-05 at the operator's request: what to tell your insurer
 * before, during and after a renovation, and where to read more. Built from
 * the theme's own parts: ruled rows, a rounded photograph, cream link cards. */
.insure { background: var(--white); }
.insure__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.insure__img { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.insure__img img { width: 100%; height: 100%; object-fit: cover; }
.insure__steps { list-style: none; counter-reset: ins; border-bottom: 1px solid var(--ink); }
.insure__steps li { counter-increment: ins; position: relative; padding: 28px 0 28px 70px; border-top: 1px solid var(--ink); }
.insure__steps li::before { content: counter(ins, decimal-leading-zero); position: absolute; left: 0; top: 30px; font: 500 30px/1 var(--display); color: var(--ink); }
.insure__steps h3 { font: 500 clamp(24px, 2.4vw, 32px)/1.2 var(--display); margin-bottom: 10px; }
.insure__steps p { margin-bottom: 12px; max-width: 34em; }
.insure__res { margin-top: clamp(50px, 6vw, 80px); }
.insure__res h3 { font: 600 24px/1.2 var(--display); margin-bottom: 20px; }
.insure__res .fine { margin-top: 20px; max-width: 60em; }
.resources { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.resources a {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%;
  background: var(--cream); border-radius: var(--radius); padding: 22px 56px 22px 22px;
  text-decoration: none; color: var(--ink); transition: background .3s;
}
.resources a:hover { background: var(--lime); }
.resources strong { font: 600 19px/1.25 var(--display); }
.resources span { font-size: 14px; color: var(--muted); }
.resources a:hover span { color: var(--ink); }
.resources i { position: absolute; right: 18px; top: 22px; width: 22px; height: 22px; transform: rotate(-45deg); }
.resources svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .resources { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .insure__grid { grid-template-columns: 1fr; } .insure__img { aspect-ratio: 3 / 2; min-height: 0; } }
@media (max-width: 520px) { .resources { grid-template-columns: 1fr; } }
.insure__res--dark h3 { color: var(--white); }
.insure__res--dark .fine { color: var(--grey); }
.blog--next { padding-top: 0; }
.blog__intro { color: var(--grey); font-size: 19px; max-width: 40em; margin: -4px 0 34px; }
.prose .resources { grid-template-columns: 1fr 1fr; margin: 6px 0 0; }
.prose .resources li { padding: 0; margin: 0; }
.prose .resources li::before { content: none; }
.prose .note { font-size: 15px; line-height: 1.6; color: var(--muted); border-top: 1px solid rgba(0, 0, 0, .15); padding-top: 16px; margin-top: 26px; }
@media (max-width: 520px) { .prose .resources { grid-template-columns: 1fr; } }
