/* Rebecca Flynn Interior Design - v4 revamp
   Shared design system for index.html and process.html.
   Brand: Montserrat (headings, logo) + Raleway (body), plum and gray. */

:root {
  /* Brand palette (from the logo and the live site) */
  --plum: #722382;          /* primary brand plum (live site #722382, logo DESIGN #732A83) */
  --plum-deep: #4c1757;     /* hover, headings on light tints */
  --orchid: #9456a1;        /* logo INTERIOR, secondary accent */
  --lilac: #e6d5ea;         /* icon accent fill, soft tags */
  --mauve: #dbced5;         /* backdrop of her portrait photo */
  --mist: #f6f2f5;          /* quiet alternate section background */
  --logo-gray-1: #aaabaa;
  --logo-gray-2: #8f908f;
  --logo-rule: #404040;

  --ink: #3d3a40;           /* headings and strong text */
  --text: #55525a;          /* body copy, 7.6:1 on white */
  --muted: #6c6970;         /* meta text, 5.4:1 on white */
  --line: #e4dfe5;          /* hairlines */
  --white: #ffffff;
  --footer: #4f4e52;        /* her gray footer, deepened for contrast */

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;

  /* Type scale (classic 12/14/16/18/21/24/36/48/60) */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.3125rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem);

  /* Spacing (8px base) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --section: clamp(4rem, 3rem + 4vw, 7rem);

  --container: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --radius: 3px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  font-variant-numeric: lining-nums; /* Raleway defaults to old-style figures, which made the phone number look broken */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0 0 var(--s-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--white); }

.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: var(--s-2); top: -100px; z-index: 100;
  background: var(--plum); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: var(--s-2); color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Rules for sprite internals must not depend on .icon ancestry: <use> clones match selectors in the symbol's own tree */
.acc { fill: var(--lilac); }
.fill { fill: currentColor; stroke: none; }

/* ---------- Buttons: one shape, three tones ---------- */
.btn {
  --btn-bg: var(--plum);
  --btn-fg: var(--white);
  --btn-bd: var(--plum);
  --btn-bg-h: var(--plum-deep);
  --btn-fg-h: var(--white);
  --btn-bd-h: var(--plum-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; padding: 0.7rem 1.5rem;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9375rem; line-height: 1.2; letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { color: var(--btn-fg-h); background: var(--btn-bg-h); border-color: var(--btn-bd-h); }
.btn .icon { font-size: 1.125rem; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--plum-deep); --btn-bd: var(--white); --btn-bg-h: var(--mist); --btn-fg-h: var(--plum-deep); --btn-bd-h: var(--mist); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--plum); --btn-bd: currentColor; --btn-bg-h: var(--plum); --btn-fg-h: var(--white); --btn-bd-h: var(--plum); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.7); --btn-bg-h: var(--white); --btn-fg-h: var(--plum-deep); --btn-bd-h: var(--white); }

.text-link {
  font-family: var(--font-head); font-weight: 500; font-size: 0.9375rem; color: var(--plum);
  text-decoration: underline; text-decoration-color: rgba(114,35,130,.35); text-underline-offset: 0.35em;
  transition: text-decoration-color .2s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Logo lockup (rebuilt from the 500px PNG; Montserrat 300 is a near-exact match) ---------- */
.logo {
  --s: 28px;
  display: inline-flex; align-items: stretch;
  font-family: var(--font-head); font-weight: 300; font-size: var(--s); line-height: 0.94;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.logo__l, .logo__r { display: flex; flex-direction: column; padding-block: 0.14em; }
.logo__l { align-items: flex-end; }
.logo__l > span:first-child { color: var(--logo-gray-1); }
.logo__l > span:last-child { color: var(--logo-gray-2); }
.logo__r > span:first-child { color: var(--orchid); }
.logo__r > span:last-child { color: #732a83; }
.logo__rule { width: max(1px, 0.04em); background: var(--logo-rule); margin: 0 0.11em 0 0.13em; }
.logo:hover { opacity: 0.85; }

/* Stacked alternate logo for the footer (left rule, four lines) */
.logo-stack {
  display: inline-flex; gap: 0.32em; font-family: var(--font-head); font-weight: 300; font-size: 2.125rem; line-height: 0.94;
  text-transform: uppercase; text-decoration: none;
}
.logo-stack::before { content: ""; width: 1px; background: rgba(255,255,255,.45); }
.logo-stack span { display: block; }
.logo-stack__names { color: #d9b9e0; }
.logo-stack__type { color: #c9c8cb; }
.logo-stack > span { padding-block: 0.1em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--plum); color: var(--white); font-size: 0.8125rem; font-family: var(--font-head); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); min-height: 2.5rem; }
.topbar__contact { display: flex; gap: var(--s-3); }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; padding-block: 0.4rem; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar .icon { font-size: 0.95rem; opacity: 0.85; }
.topbar .topbar__cta { font-weight: 500; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(60,20,70,.35); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-5); padding-block: 1.75rem 2rem; transition: padding .3s ease; }
.site-header .logo { --s: 30px; transition: font-size .3s ease; }
.site-header.is-stuck .site-header__inner { padding-block: 0.9rem 1rem; }
.site-header.is-stuck .logo { --s: 23px; }
.nav { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); list-style: none; }
.nav--left { justify-content: flex-end; }
.nav a {
  font-family: var(--font-head); font-size: 0.9375rem; font-weight: 400; color: var(--text); text-decoration: none;
  padding-block: 0.5rem; background: linear-gradient(var(--plum), var(--plum)) left bottom / 0 1px no-repeat;
  transition: background-size .25s var(--ease), color .2s ease;
}
.nav a:hover { color: var(--plum); background-size: 100% 1px; }
.nav a[aria-current="page"] { color: var(--plum); font-weight: 500; background-size: 100% 1px; }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; position: relative; }
.carousel__track { display: grid; }
.carousel__slide {
  grid-area: 1 / 1; transform: translateX(100%); visibility: hidden;
}
.carousel__slide.is-active { transform: translateX(0); visibility: visible; }
.carousel.is-animating .carousel__slide.is-moving { visibility: visible; transition: transform .8s var(--ease); }

.hero { background: var(--ink); }
.hero__slide { position: relative; height: clamp(520px, calc(100svh - 11rem), 720px); color: var(--white); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(34,14,40,.78) 0%, rgba(34,14,40,.55) 34%, rgba(34,14,40,0) 66%),
    linear-gradient(0deg, rgba(34,14,40,.45) 0%, rgba(34,14,40,0) 40%);
}
.hero__content { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.hero__copy { max-width: 42rem; padding-bottom: 3rem; }
.hero__copy h1, .hero__copy h2 { color: var(--white); font-size: var(--fs-h1); font-weight: 400; line-height: 1.1; margin-bottom: var(--s-3); }
.hero__copy p { font-size: var(--fs-lg); line-height: 1.6; color: rgba(255,255,255,.92); margin-bottom: var(--s-4); max-width: 31rem; }

.carousel__controls { display: flex; align-items: center; gap: var(--s-2); }
.hero .carousel__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 2rem; }
.hero .carousel__controls .container { display: flex; align-items: center; gap: var(--s-2); }
.carousel__dots { display: flex; gap: 0.5rem; list-style: none; margin-right: auto; }
.carousel__dot {
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.carousel__dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.4); border-radius: 2px;
}
.carousel__dot::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 0; background: var(--white); border-radius: 2px;
}
.carousel__dot[aria-current="true"]::after { width: 100%; }
.carousel.is-playing .carousel__dot[aria-current="true"]::after { animation: dot-progress var(--interval, 7000ms) linear forwards; }
@keyframes dot-progress { from { width: 0; } to { width: 100%; } }
.carousel__count { font-family: var(--font-head); font-size: var(--fs-sm); color: rgba(255,255,255,.85); min-width: 3.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.carousel__btn {
  width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.55); font-size: 1.25rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.carousel__btn:hover { background: var(--white); color: var(--plum-deep); border-color: var(--white); }
.carousel__btn .icon-play { display: none; }
.carousel.is-paused .carousel__btn .icon-pause { display: none; }
.carousel.is-paused .carousel__btn .icon-play { display: block; }

/* ---------- Photography band ---------- */
.photo-band { background: var(--plum); color: rgba(255,255,255,.92); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.photo-band__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-4) var(--s-6); align-items: start; }
.photo-band h2 { color: var(--white); font-size: var(--fs-h2); }
.photo-band__kicker { font-family: var(--font-head); font-weight: 500; color: var(--white); margin-bottom: var(--s-1); font-size: var(--fs-lg); }
.photo-band p { max-width: 38rem; }
.photo-band a:not(.btn) { color: var(--white); text-decoration-color: rgba(255,255,255,.6); }
.photo-band .btn { margin-top: var(--s-3); }

/* Light variant used on the process page so it does not stack against the plum CTA */
.photo-band--light { background: var(--white); color: var(--text); border-top: 1px solid var(--line); }
.photo-band--light h2 { color: var(--plum-deep); }
.photo-band--light .photo-band__kicker { color: var(--ink); }
.photo-band--light a:not(.btn) { color: var(--plum); text-decoration-color: rgba(114,35,130,.4); }

/* ---------- I love what I do ---------- */
.about { background: var(--mauve); position: relative; overflow: hidden; }
.about__media { position: absolute; inset: 0; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.about__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(460px, 38vw, 560px); align-items: center; }
.about__copy { grid-column: 2; padding-block: var(--s-6); max-width: 32rem; }
.about h2 { font-size: var(--fs-h2); color: var(--plum-deep); margin-bottom: var(--s-3); }
.about p { color: #463f49; font-size: var(--fs-lg); line-height: 1.65; }
.about__sign { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); flex-wrap: wrap; }
.about__sig { width: 150px; height: auto; mix-blend-mode: multiply; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--muted); margin-top: var(--s-1); max-width: 36rem; }

/* ---------- Before & after ---------- */
.ba { --slide-gap: 4rem; }
.ba .carousel__controls { gap: var(--s-1); }
.ba .carousel__btn { color: var(--plum); border-color: rgba(114,35,130,.4); }
.ba .carousel__btn:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.ba .carousel__count { color: var(--muted); margin-right: var(--s-1); }
.ba__pair { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0 clamp(1rem, 2.5vw, 2rem); }
.ba__rule { background: var(--logo-rule); opacity: .8; }
.ba__fig { margin: 0; }
.ba__label {
  display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: var(--s-2);
}
.ba__fig--before .ba__label { color: var(--logo-gray-2); text-align: right; }
.ba__fig--after .ba__label { color: var(--orchid); }
.ba__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ba__caption { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--line); }
.ba__caption h3 { font-size: var(--fs-h4); font-weight: 500; }
.ba__caption p { color: var(--muted); font-size: var(--fs-sm); margin: 0.25rem 0 0; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-5) var(--s-6); align-items: start; }
.testimonials__side { display: grid; gap: var(--s-5); }
.quote { margin: 0; }
.quote__mark { width: 2.5rem; height: 2.5rem; color: var(--orchid); margin-bottom: var(--s-2); }
.quote blockquote { margin: 0; color: var(--ink); }
.quote blockquote p { font-size: var(--fs-base); line-height: 1.75; }
.quote--feature blockquote p { font-size: var(--fs-lg); line-height: 1.75; }
.quote figcaption { margin-top: var(--s-3); display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); color: var(--muted); }
.quote figcaption::before { content: ""; width: 1.5rem; height: 1px; background: var(--orchid); }
.quote figcaption strong { font-family: var(--font-head); font-weight: 500; color: var(--plum); letter-spacing: 0.04em; }

/* ---------- Three blocks ---------- */
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.block { display: flex; flex-direction: column; align-items: flex-start; }
.block__icon { width: 4.5rem; height: 4.5rem; color: var(--plum); margin-bottom: var(--s-3); stroke-width: 1.3; }
.block h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.block p { margin-bottom: var(--s-4); }
.block .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.86); font-size: 0.9375rem; }
.site-footer a { color: var(--white); }
.footer__main { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; gap: var(--s-5) var(--s-5); padding-block: var(--s-6) var(--s-5); }
.footer__brand .logo-stack { margin-bottom: var(--s-4); }
.footer__contact { display: grid; gap: 0.35rem; }
.footer__contact a { text-decoration: none; display: inline-flex; gap: 0.6rem; align-items: center; }
.footer__contact a:hover { text-decoration: underline; }
.footer__contact .icon { color: #d9b9e0; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 500; color: var(--white); letter-spacing: 0.02em; margin-bottom: var(--s-2); }
.footer__list { list-style: none; display: grid; gap: 0.45rem; line-height: 1.5; }
.footer__news p { margin-bottom: var(--s-2); line-height: 1.6; }
.form { display: grid; gap: 0.75rem; }
.form label { display: grid; gap: 0.3rem; font-size: var(--fs-sm); }
.form input {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid transparent; border-radius: var(--radius);
  min-height: 2.75rem; padding: 0.5rem 0.75rem; width: 100%;
}
.form input:focus-visible { outline: 2px solid #d9b9e0; outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 0.25rem; }
.form__status { font-size: var(--fs-sm); min-height: 1.4em; margin: 0; color: #f0dff3; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer__bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); padding-block: var(--s-3); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.25rem var(--s-3); list-style: none; }
.footer__nav a { text-decoration: none; font-family: var(--font-head); font-size: var(--fs-sm); color: rgba(255,255,255,.86); }
.footer__nav a:hover, .footer__nav a[aria-current="page"] { color: var(--white); text-decoration: underline; }
.footer__legal { display: flex; align-items: center; gap: var(--s-3); font-size: 0.8125rem; color: rgba(255,255,255,.7); }
.footer__social { display: flex; gap: 0.25rem; list-style: none; }
.footer__social a { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.25rem; color: var(--white); transition: background-color .2s ease; }
.footer__social a:hover { background: rgba(255,255,255,.12); }

/* =========================================================
   Our Process page
   ========================================================= */
.page-intro { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.page-intro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-4) var(--s-6); align-items: end; }
.page-intro h1 { font-size: var(--fs-h1); color: var(--plum-deep); margin-bottom: var(--s-3); }
.page-intro__lead { font-size: 1.375rem; line-height: 1.55; color: var(--ink); max-width: 34rem; }
.page-intro__aside { color: var(--text); }

/* Overview: three numbered steps */
.overview { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--s-6); border-top: 1px solid var(--line); counter-reset: none; }
.overview li + li { border-left: 1px solid var(--line); }
.overview a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: var(--s-2); padding: var(--s-4) var(--s-3) var(--s-4) 0; text-decoration: none; color: inherit; height: 100%; }
.overview li + li a { padding-left: var(--s-4); }
.overview .icon { grid-row: 1 / 3; width: 3rem; height: 3rem; color: var(--plum); stroke-width: 1.4; }
.overview__num { font-family: var(--font-head); font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.overview__title { font-family: var(--font-head); font-size: var(--fs-h4); color: var(--ink); line-height: 1.3; transition: color .2s ease; }
.overview a:hover .overview__title { color: var(--plum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }

/* Steps timeline */
.steps { position: relative; }
.step { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(1rem, 3vw, 3rem); position: relative; padding-bottom: var(--section); }
.step__rail { grid-column: 1; grid-row: 1 / span 2; }
.step__head { grid-column: 2; grid-row: 1; }
.step__content { grid-column: 2; grid-row: 2; min-width: 0; }
.step:last-child { padding-bottom: 0; }
.step__rail { position: relative; display: flex; justify-content: center; }
.step__rail::before { content: ""; position: absolute; top: 5.5rem; bottom: calc(-1 * var(--section)); left: 50%; width: 1px; background: linear-gradient(var(--orchid), rgba(148,86,161,.25)); }
.step:last-child .step__rail::before { display: none; }
.step__badge {
  position: relative; z-index: 1; width: 5.5rem; height: 5.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--white);
  border: 1px solid rgba(148,86,161,.45); color: var(--plum);
}
.step__badge .icon { width: 3rem; height: 3rem; stroke-width: 1.4; }
.step__num {
  position: absolute; z-index: 2; top: -0.25rem; right: -0.25rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum); color: var(--white); font-family: var(--font-head); font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.step__head { padding-top: 0.9rem; margin-bottom: var(--s-4); }
.step__eyebrow { font-family: var(--font-head); font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.35rem; display: block; }
.step__head h2 { font-size: var(--fs-h2); color: var(--plum-deep); }
.step__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-5) var(--s-6); align-items: start; }
.step__body--wide-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.step h3 { font-size: var(--fs-h4); font-weight: 500; margin-bottom: var(--s-2); }

/* Ordered sub-steps inside step 1 */
.substeps { list-style: none; counter-reset: sub; display: grid; gap: 0; }
.substeps li { counter-increment: sub; display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: baseline; padding-block: 0.7rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.substeps li:first-child { padding-top: 0; }
.substeps li::before { content: counter(sub); font-family: var(--font-head); font-size: var(--fs-sm); color: var(--orchid); font-variant-numeric: tabular-nums; }

/* Check list for step 2 and 3 */
.checks { list-style: none; display: grid; gap: 0.7rem; }
.checks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; color: var(--ink); line-height: 1.55; }
.checks .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--orchid); stroke-width: 1.8; }

.note {
  margin-top: var(--s-4); padding: var(--s-3); background: var(--mist); border-left: 2px solid var(--orchid); color: var(--ink);
  font-size: var(--fs-base);
}
.note strong { font-family: var(--font-head); font-weight: 500; color: var(--plum-deep); }

.figure { margin: 0; }
.figure img { width: 100%; border-radius: 2px; }
.figure figcaption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }

/* Deliverables (step 2) */
.deliverables { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-2); }
.deliverable { display: flex; flex-direction: column; }
.deliverable__img { aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; margin-bottom: var(--s-2); }
.deliverable__img img { width: 100%; height: 100%; object-fit: cover; }
.deliverable__img--contain img { object-fit: contain; padding: 0.5rem; }
.deliverable__title { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink); }
.deliverable__title .icon { width: 1.75rem; height: 1.75rem; color: var(--plum); stroke-width: 1.5; }
.deliverable p { font-size: var(--fs-sm); color: var(--muted); margin-top: 0.35rem; line-height: 1.55; }
.deliverable a { font-size: var(--fs-sm); }

.retainer { margin-bottom: var(--s-5); }
.gate {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; margin-top: var(--s-5); padding: var(--s-4);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.gate .icon { width: 2.5rem; height: 2.5rem; color: var(--plum); stroke-width: 1.5; }
.gate p { color: var(--ink); }
.gate p + p { margin-top: var(--s-1); }

.reality { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.reality figure { margin: 0; }
.reality img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.reality figcaption { font-family: var(--font-head); font-size: var(--fs-sm); color: var(--muted); margin-top: 0.5rem; }
.reality__caption { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Rendering gallery */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--white); cursor: zoom-in; border-radius: 2px; overflow: hidden; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline-offset: 3px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(30,14,36,.88); }
.lightbox img { max-width: min(92vw, 1200px); max-height: 82vh; width: auto; height: auto; margin-inline: auto; border-radius: 2px; background: var(--white); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-2); color: var(--white); font-size: var(--fs-sm); }
.lightbox__nav { display: flex; gap: var(--s-1); }
.lightbox .carousel__btn { color: var(--white); }

/* Final CTA */
.cta { background: var(--plum); color: rgba(255,255,255,.92); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-4) var(--s-6); align-items: center; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.cta h2 { color: var(--white); font-size: var(--fs-h2); margin-bottom: var(--s-2); }
.cta p { font-size: var(--fs-lg); max-width: 34rem; }
.cta__actions { display: grid; gap: var(--s-2); justify-items: start; }
.cta__actions .text-link { color: var(--white); text-decoration-color: rgba(255,255,255,.5); }
.cta__actions small { color: rgba(255,255,255,.8); font-size: var(--fs-sm); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .site-header__inner { gap: var(--s-4); }
  .nav { gap: 1.25rem; }
  .site-header .logo { --s: 25px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar .topbar__cta { display: none; }
  .topbar .container { justify-content: center; }
  .site-header__inner { grid-template-columns: 1fr auto; padding-block: 1.1rem 1.25rem; gap: var(--s-2); }
  .site-header .logo { --s: 21px; font-weight: 330; }
  .site-header.is-stuck .site-header__inner { padding-block: 0.7rem 0.8rem; }
  .site-header.is-stuck .logo { --s: 18px; }
  .nav { display: none; }
  .site-header .logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; justify-self: end; grid-column: 2; grid-row: 1;
    min-height: 2.75rem; padding: 0 0.25rem 0 0.75rem; background: none; border: 0; color: var(--plum); cursor: pointer;
    font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 500;
  }
  .menu-toggle .icon { width: 1.75rem; height: 1.75rem; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  .mobile-menu {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 49;
    background: var(--white); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-0.75rem);
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease), visibility 0s; }
  .mobile-menu__inner { padding-block: 0.5rem var(--s-5); display: flex; flex-direction: column; min-height: 100%; }
  .mobile-menu ul { list-style: none; }
  .mobile-menu li { border-bottom: 1px solid var(--line); }
  .mobile-menu ul a {
    display: flex; justify-content: space-between; align-items: center; padding-block: 1rem; text-decoration: none;
    font-family: var(--font-head); font-size: 1.375rem; font-weight: 400; color: var(--ink);
  }
  .mobile-menu ul a .icon { color: var(--orchid); font-size: 1.25rem; }
  .mobile-menu ul a[aria-current="page"] { color: var(--plum); font-weight: 500; }
  .mobile-menu__foot { margin-top: var(--s-5); display: grid; gap: var(--s-2); }
  .mobile-menu__foot .btn { width: 100%; }
  .mobile-menu__contact { display: grid; gap: 0.25rem; margin-top: var(--s-1); }
  .mobile-menu__contact a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); min-height: 2.75rem; }
  .mobile-menu__contact .icon { color: var(--plum); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--white); backdrop-filter: none; border-bottom-color: var(--line); box-shadow: none; }

  /* Hero: photo on top, copy below so long copy never sits on a busy photo */
  .hero { background: var(--plum-deep); }
  .hero__slide { height: auto; display: flex; flex-direction: column; }
  .hero__slide::after { display: none; }
  .hero__img { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .hero__content { height: auto; flex: 1; align-items: flex-start; }
  .hero__copy { padding-block: var(--s-4) 6.5rem; max-width: 40rem; }
  .hero .carousel__controls { bottom: 1.5rem; }

  .photo-band__inner { grid-template-columns: 1fr; }

  .about__media { position: relative; inset: auto; height: auto; }
  .about__media img { aspect-ratio: 5 / 4; height: auto; object-position: 12% 20%; }
  .about__inner { grid-template-columns: 1fr; min-height: 0; }
  .about__copy { grid-column: 1; padding-block: var(--s-5) var(--s-6); max-width: 40rem; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .blocks { grid-template-columns: 1fr; gap: var(--s-5); }
  .block { padding-top: var(--s-5); border-top: 1px solid var(--line); }
  .block:first-child { padding-top: 0; border-top: 0; }

  .page-intro__grid { grid-template-columns: 1fr; }
  .overview { grid-template-columns: 1fr; }
  .overview li + li { border-left: 0; border-top: 1px solid var(--line); }
  .overview a, .overview li + li a { padding: var(--s-3) 0; }
  .step { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--s-2); }
  .step__rail { grid-row: 1; align-self: center; }
  .step__rail::before { display: none; }
  .step__head { padding-top: 0; margin-bottom: 0; align-self: center; }
  .step__content { grid-column: 1 / -1; grid-row: 2; margin-top: var(--s-4); }
  .step__head h2 { font-size: 1.75rem; }
  .step__body { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --fs-base: 1rem; --fs-lg: 1.0625rem; }
  .topbar { font-size: 0.75rem; }
  .topbar__contact { gap: var(--s-2); }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: var(--s-4); }
  .ba .section-head .carousel__controls { display: none; }
  .ba__pair { grid-template-columns: 1fr; gap: var(--s-3); }
  .ba__rule { display: none; }
  .ba__label { font-size: 1.125rem; margin-bottom: 0.6rem; }
  .ba__fig--before .ba__label { text-align: left; }
  .ba__mobile-controls { display: flex !important; }
  .hero .carousel__count { display: none; }
  .carousel__dot { width: 2rem; }
  .footer__main { grid-template-columns: 1fr; gap: var(--s-4); padding-block: var(--s-5) var(--s-4); }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-direction: column-reverse; align-items: flex-start; gap: var(--s-1); }
  .footer__social { margin-left: -0.75rem; }
  .deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-2); }
  .deliverable__title { font-size: 0.9375rem; align-items: flex-start; }
  .deliverable__title .icon { width: 1.375rem; height: 1.375rem; }
  .cta .btn .icon { display: none; }
  .cta .btn { width: 100%; }
  .gate { grid-template-columns: 1fr; padding: var(--s-3); }
  .reality { grid-template-columns: 1fr; }
  .page-intro__lead { font-size: 1.1875rem; }
  .step__badge { width: 4.5rem; height: 4.5rem; }
  .step__badge .icon { width: 2.5rem; height: 2.5rem; }
  .gallery { gap: 0.5rem; }
}

.ba__mobile-controls { display: none; align-items: center; margin-top: var(--s-3); }
.ba__mobile-controls .carousel__count { text-align: left; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .carousel.is-animating .carousel__slide.is-moving { transition: none; }
}

.steps { list-style: none; padding: 0; margin: 0; }
.deliverables__credit { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--muted); }
