/* Content pages: Our Process, Our Story, Team, Careers, FAQ, Contact, Privacy, Sitemap.
   Shared pieces (page hero, FAQ list, estimate band, guarantee band) live in main.css. */

.section-band--dark { background: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--panel); color: var(--ink); }

/* Centred intro (Our Process, Our Story, Team, FAQ) */
.intro__lead a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Our Process */
.process-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: clamp(20px, 3vw, 40px); width: 100%; max-width: 960px; margin-top: clamp(20px, 3vw, 36px); }
.process-nav__item { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.process-nav__item:hover { color: var(--ink); }
.process-nav__item:hover .process-nav__title { text-decoration: underline; text-underline-offset: 4px; }
.process-nav__icon { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--panel); color: var(--accent); transition: background-color .2s ease; }
.process-nav__item:hover .process-nav__icon { background: var(--panel-2); }
.process-nav__icon svg { display: block; }
.process-nav__text { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.process-nav__label { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.process-nav__title { font-size: 17px; font-weight: 600; line-height: 1.3; }

.pstep { scroll-margin-top: 96px; }
.pstep__inner { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 44px); max-width: 1100px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.pstep__grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: clamp(28px, 4vw, 64px); align-items: center; }
.pstep__grid--flip { grid-template-columns: 200px minmax(0, 1fr); }
.pstep__grid--flip .pstep__icon { order: -1; }
.pstep--last .pstep__grid { grid-template-columns: minmax(0, 1fr) 160px; }
.pstep__text { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.pstep--last .pstep__text { max-width: 640px; }
.pstep__heading { font-size: clamp(28px, 3vw, 36px); line-height: 1.08; }
.pstep__para { font-size: 17px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.pstep__para a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 41, 30, .3); }
.pstep__icon { width: 100%; max-width: 200px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--panel); color: var(--accent); justify-self: center; }
.pstep__icon svg { display: block; width: 56%; height: 56%; }
.pstep__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.pcard { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius-card); background: var(--white); }
.pstep.section-band--white .pcard { background: var(--bg); }
.pcard__title { font-size: 26px; line-height: 1.15; }
.pcard__list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16.5px; line-height: 1.55; color: var(--text); }
.pcard .arrow-link { margin-top: auto; }
@media (max-width: 719.98px) {
  .pstep__grid, .pstep__grid--flip, .pstep--last .pstep__grid { grid-template-columns: 1fr; }
  .pstep__grid--flip .pstep__icon { order: 0; }
  .pstep__icon { max-width: 120px; justify-self: start; order: -1; }
  .pcard { padding: 24px; }
}

/* Our Story */
.film__inner { padding-bottom: clamp(56px, 7vw, 96px); }
.film__frame { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 1180px; margin: 0 auto; border-radius: var(--radius-card); overflow: hidden; background: var(--ink); box-shadow: 0 24px 60px -30px rgba(21, 41, 30, .45); }
.film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: var(--ink); }
.film__video::cue { font-family: var(--font-body); font-size: clamp(14px, 1.7vw, 22px); line-height: 1.4; color: #fff; background: rgba(21, 41, 30, .8); }
.film__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 28px 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: var(--paper);
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55);
  transition: background-color .15s ease, transform .15s ease;
}
.film__play svg { fill: currentColor; }
.film__play:hover { background: var(--ink); transform: translate(-50%, -50%) scale(1.04); }
.film__play:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.film__frame.is-playing .film__play { display: none; }
.film__caption { margin: 18px auto 0; max-width: 1180px; font-size: 15px; line-height: 1.5; color: var(--muted); text-align: center; }

.letter__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 5vw, 88px); align-items: center; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.letter__text { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.letter__heading { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; }
.letter__para { font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.letter__sig { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.letter__sig strong { font-weight: 600; }
.letter__sig span { color: var(--muted); }
.letter__media { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; border-radius: var(--radius-card); overflow: hidden; background: var(--panel-2); }
.letter__media picture, .letter__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.glance__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 4vw, 48px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.glance__heading { text-align: center; }
.glance__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(16px, 3vw, 40px); width: 100%; max-width: 1100px; }
.glance__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 16px; border-top: 1px solid var(--line); }
.glance__value { font-family: var(--font-display); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.glance__label { font-size: 15px; line-height: 1.45; color: var(--text); }

.values__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 4vw, 64px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.values__aside { flex: 1 1 280px; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.values__heading { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.08; color: var(--paper); }
.values__intro { font-size: 17px; line-height: 1.6; color: rgba(248, 246, 241, .78); text-wrap: pretty; }
.values__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 2 1 480px; max-width: 640px; }
.values__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; align-items: start; padding: 18px 0; border-top: 1px solid rgba(248, 246, 241, .12); }
.values__item:last-child { border-bottom: 1px solid rgba(248, 246, 241, .12); }
.values__icon { grid-row: span 2; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: rgba(203, 162, 68, .14); color: var(--gold); }
.values__icon svg { display: block; }
.values__title { font-size: 18px; font-weight: 600; color: var(--paper); align-self: center; }
.values__text { font-size: 16px; line-height: 1.55; color: rgba(248, 246, 241, .72); text-wrap: pretty; }
.values__item--plain { display: flex; flex-direction: column; gap: 4px; }

.team-teaser__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.team-teaser__avatars { display: flex; }
.team-teaser__avatars picture { display: block; }
.team-teaser__avatar { display: block; width: 72px; height: 72px; border-radius: var(--radius-pill); object-fit: cover; border: 3px solid var(--white); background: var(--panel-2); }
.team-teaser__avatars picture + picture { margin-left: -14px; }
.team-teaser__avatars picture { display: block; width: 72px; height: 72px; }
.team-teaser__heading { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.08; max-width: 640px; text-wrap: balance; }

/* Our Team */
.leadership__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 4.5vw, 56px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.leadership__label { text-align: center; }
.owner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; width: 100%; max-width: 1180px; }
.owner__media { display: flex; justify-content: flex-end; }
.owner__media picture { display: block; width: min(100%, 320px); }
.person__round { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-pill); object-fit: cover; background: var(--panel-2); }
.owner .person__text { max-width: 520px; }
.person__text { display: flex; flex-direction: column; gap: 6px; }
.person__name { font-size: 26px; line-height: 1.1; }
.owner .person__name { font-size: clamp(28px, 2.8vw, 36px); }
.owner .person__text { gap: 14px; }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.owner .person__role { font-size: 14px; }
.person__bio { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.owner .person__bio { margin-top: 0; font-size: 17px; }
.office { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(32px, 4vw, 48px) clamp(32px, 5vw, 80px); width: 100%; max-width: 1040px; }
.person--centred { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; flex: 1 1 260px; max-width: 460px; }
.person--centred .person__media picture { display: block; width: min(100%, 200px); margin: 0 auto; }
.person--centred .person__text { align-items: center; }
.crew-leaders__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 5vw, 64px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.crew-leaders__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.crew-leaders__intro { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 580px; text-wrap: pretty; }
.crew-leaders__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); width: 100%; max-width: 1240px; }
.person--card { display: flex; flex-direction: column; gap: 16px; }
.person__photo { display: block; height: clamp(240px, 64vw, 375px); border-radius: var(--radius-card); overflow: hidden; background: var(--panel-2); }
.person__photo picture, .person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719.98px) {
  .owner__media { justify-content: center; }
  .owner .person__text { align-items: center; text-align: center; }
}

/* Careers */
.careers-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: clamp(28px, 6vw, 88px); padding-bottom: clamp(28px, 6vw, 88px); }
.careers-hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.careers-hero__lead { max-width: 520px; }
.careers-hero__media { height: clamp(200px, 52vw, 650px); max-width: 520px; width: 100%; justify-self: center; border-radius: var(--radius-card); overflow: hidden; background: var(--panel-2); }
.careers-hero__media picture, .careers-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719.98px) { .careers-hero__media { order: -1; } }

.why__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 4vw, 72px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.why__aside { flex: 1 1 280px; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.why__heading { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.why__intro { font-size: 17px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.why__list { margin: 0; display: flex; flex-direction: column; flex: 2 1 480px; min-width: 0; }
.why__row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.why__row:last-child { border-bottom: 1px solid var(--line); }
.why__icon { flex: none; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--panel); color: var(--accent); }
.why__icon svg { display: block; }
.why__title { flex: 1 1 120px; font-size: 18px; font-weight: 600; color: var(--ink); padding-top: 14px; }
.why__text { flex: 2 1 260px; margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text); padding-top: 14px; text-wrap: pretty; }
.why__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 41, 30, .3); }
@media (max-width: 719.98px) {
  .why__row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 18px; }
  .why__title { padding-top: 0; align-self: center; }
  .why__text { grid-column: 2; padding-top: 0; }
}

.openings__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3.4vw, 44px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.openings__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 2.4vw, 32px); width: 100%; max-width: 1100px; }
.job { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-card); background: var(--white); }
.job__head { display: flex; flex-direction: column; gap: 6px; }
.job__title { font-size: 28px; line-height: 1.15; }
.job__meta { font-size: 15px; color: var(--text); }
.job__text { font-size: 16.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.job__points { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--text); }
.job__btn { align-self: flex-start; margin-top: auto; }

.apply__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 4vw, 72px); align-items: start; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.apply__aside { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.apply__heading { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.apply__text { font-size: 17px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.apply__email { font-size: 16px; line-height: 1.6; color: var(--text); }
.apply__email a { color: var(--ink); font-weight: 600; text-decoration: none; }
.apply__email a:hover { text-decoration: underline; text-underline-offset: 4px; }
.apply__media { border-radius: var(--radius-card); overflow: hidden; background: var(--panel-2); max-width: 520px; width: 100%; }
.apply__media picture, .apply__media img { display: block; width: 100%; height: auto; }
.apply-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--bg); width: 100%; max-width: 640px; justify-self: end; }
.apply-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.apply-form__notice { padding: 14px 16px; border-radius: 12px; background: var(--panel); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field__optional { font-size: 13.5px; font-weight: 400; color: var(--text); }
.field__input { height: 48px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.field__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field__input--area { height: auto; min-height: 132px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.field__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315291e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field__file { font: inherit; font-size: 15px; color: var(--text); width: 100%; padding: 10px 14px; border: 1.5px dashed var(--line-hover); border-radius: 12px; background: var(--white); }
.field__hint { font-size: 13.5px; color: var(--text); }
.apply-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.apply-form__reply { font-size: 14px; color: var(--text); }

/* FAQ page */
.pill-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pill-nav__link { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--line-btn); background: var(--white); color: var(--ink); font-size: 15.5px; font-weight: 600; text-decoration: none; transition: border-color .2s ease; }
.pill-nav__link:hover { border-color: var(--line-hover); color: var(--ink); }
.faq-group { scroll-margin-top: 96px; }
.faq-group__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 4vw, 64px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.faq-group__heading { flex: 1 1 280px; max-width: 400px; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.faq-group__list { flex: 2 1 480px; min-width: 0; }
@media (min-width: 1100px) { .faq-group__heading { max-width: 320px; } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 5vw, 88px); align-items: start; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 104px); }
.contact__main { display: flex; flex-direction: column; gap: 32px; max-width: 560px; }
.contact__head { display: flex; flex-direction: column; gap: 18px; }
.contact__lead { max-width: none; }
.contact__list { margin: 0; display: flex; flex-direction: column; }
.contact__row { display: grid; grid-template-columns: minmax(120px, 160px) minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__row:last-child { border-bottom: 1px solid var(--line); }
.contact__row dt { font-size: 15px; font-weight: 600; color: var(--text); padding-top: 4px; }
.contact__row dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.contact__phone { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: var(--ink); text-decoration: none; }
.contact__phone:hover, .contact__email:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.contact__email { font-size: 18px; color: var(--ink); text-decoration: none; }
.contact__address { display: block; }
.contact__note { display: block; margin-top: 4px; font-size: 15px; color: var(--text); }
.contact__card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius-card); background: var(--white); }
.contact__card-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.contact__card-text { font-size: 16px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.contact__side { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.contact__media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--panel-2); }
.contact__media picture, .contact__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.contact__areas { font-size: 15px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.contact__areas a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 41, 30, .3); }
.contact__areas a:hover { color: var(--ink); }
@media (max-width: 479.98px) { .contact__row { grid-template-columns: 1fr; gap: 4px; } }

/* Privacy policy and other legal pages */
.legal__inner { display: flex; flex-direction: column; gap: 28px; max-width: calc(820px + 2 * var(--gutter)); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 104px); font-size: 17px; line-height: 1.7; color: #2b322e; }
.legal__head { display: flex; flex-direction: column; gap: 14px; }
.legal__title { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.06; }
.legal__updated { font-size: 15px; color: var(--text); }
.legal__body { color: #2b322e; }
.legal__body > * + * { margin-top: 1em; }
.legal__body h2 { margin-top: 1.6em; font-size: 28px; line-height: 1.15; color: var(--ink); }
.legal__body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal__body a { color: var(--ink); }

/* HTML sitemap */
.sitemap__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 104px); }
.sitemap__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(28px, 3.4vw, 48px); }
.sitemap__group--wide { grid-column: 1 / -1; }
.sitemap__group--wide .sitemap__list { columns: 3 260px; column-gap: 32px; }
.sitemap__heading { font-size: 24px; line-height: 1.15; margin-bottom: 14px; }
.sitemap__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.sitemap__group--wide .sitemap__list { display: block; }
.sitemap__group--wide .sitemap__list li { break-inside: avoid; padding: 4px 0; }
.sitemap__list a { color: var(--text); text-decoration: none; }
.sitemap__list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ Reviews page (templates/page-reviews.php) */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.intro--reviews .intro__inner { gap: 22px; padding-bottom: clamp(40px, 5vw, 64px); }
.rv-sources { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 32px); margin-top: 8px; }
.rv-source {
  display: flex; align-items: center; gap: 16px; padding: 18px 26px; min-width: 0;
  background: var(--white); border-radius: 16px; color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease;
}
.rv-source:hover { box-shadow: var(--shadow-card); color: var(--ink); }
.rv-source__logo img { display: block; width: 36px; height: 36px; }
.rv-source__text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.rv-source__top { display: flex; align-items: baseline; gap: 8px; }
.rv-source__rating { font-family: var(--font-display); font-size: 32px; line-height: 1; }
.rv-source__name { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--ink); }
.rv-source__count { font-size: 14.5px; color: var(--text); }

.rv__inner { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); padding-bottom: clamp(64px, 8vw, 104px); }
.rv-tabs { display: flex; justify-content: center; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.rv-tabs::-webkit-scrollbar { display: none; }
.rv-tab {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 4px 14px;
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font: 600 16px/1.2 var(--font-body); color: var(--muted); cursor: pointer;
}
.rv-tab:hover { color: var(--ink); }
.rv-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.rv-tab:focus-visible { outline-offset: 3px; border-radius: 4px; }
.rv-tab__logo img { display: block; width: 18px; height: 18px; }

.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.review--grid { flex: none; min-height: 0; margin: 0; gap: 16px; padding: clamp(22px, 2.4vw, 30px); border: 0; scroll-snap-align: none; }
.review--grid .review__text { font-size: 16.5px; line-height: 1.6; color: var(--ink); margin: 0; }
.review--grid .review__who { margin-top: auto; }
.review--grid .review__source { font-size: 14px; }
.review--grid .review__text:focus { outline: none; }
.review--grid .review__text--clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.review--grid .review__more { margin-top: -6px; min-height: 36px; }
.review--grid .review__more[hidden] { display: none; }
.rv-empty, .rv-note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); text-align: center; max-width: 60ch; align-self: center; text-wrap: pretty; }
.rv-more { display: flex; justify-content: center; }
.rv-more[hidden] { display: none; }
.rv-links { justify-content: center; }

@media (max-width: 479.98px) {
  .rv-source { width: 100%; justify-content: center; }
  .rv-tabs { gap: 18px; justify-content: flex-start; }
}

/* ------------------------------------------------------------------ Gallery page (templates/page-gallery.php) */
.intro--gallery .intro__inner { padding-bottom: clamp(32px, 4vw, 48px); }
.gal__inner { padding-bottom: clamp(64px, 8vw, 104px); }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.gal-tile { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gal-tile[hidden] { display: none; }
.gal-tile__media { display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--panel-2); }
.gal-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.gal-tile:hover .gal-tile__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gal-tile__media img { transition: none; } .gal-tile:hover .gal-tile__media img { transform: none; } }
.gal-tile__caption { display: flex; flex-direction: column; gap: 0; }
.gal-tile__title { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.gal-tile__area { display: inline-flex; align-items: center; align-self: flex-start; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
a.gal-tile__area:hover { text-decoration: underline; text-underline-offset: 4px; }
.gal-empty { margin: 24px 0 0; text-align: center; color: var(--text); }
@media (max-width: 479.98px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Request Estimate (templates/page-estimate.php). Design: Hemlock Request Estimate.dc.html. Desktop: heading
   and the "what to expect" list on the left, the form card on the right. Under 840px: heading, card, list. */
.est__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "aside";
  gap: 24px; align-items: start; padding-top: clamp(16px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 104px);
}
.est__head { grid-area: head; display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.est__title { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.est__card { grid-area: card; display: flex; flex-direction: column; width: 100%; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--white); box-shadow: 0 18px 48px rgba(21, 41, 30, .08); scroll-margin-top: 96px; }
.est__card-title { display: none; margin: 0 0 18px; font-family: var(--font-display); font-size: 26px; line-height: 1.15; font-weight: 400; color: var(--ink); }
.est__aside { grid-area: aside; display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.est__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16.5px; color: var(--text); }
.est__points li { display: flex; gap: 12px; align-items: baseline; }
.est__points li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--gold); transform: translateY(-2px); }
.est__talk { padding-top: 22px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text); }
.est__phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; }
.est__phone:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 840px) {
  .est__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head card" "aside card"; grid-template-rows: auto 1fr; gap: 28px clamp(24px, 5vw, 88px); }
  .est__head { padding-top: clamp(0px, 2vw, 24px); }
  .est__card { min-height: 520px; }
}
/* Narrow state as designed (owner, 2026-11-04): no eyebrow, headline or list above the card; the card starts
   under the header with the title inside it; the list and "Prefer to talk?" follow the card. The H1 stays in
   the document for assistive tech and search. */
@media (max-width: 839.98px) {
  .est__grid { padding-top: 16px; gap: 22px; }
  .est__head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .est__card { padding: 24px 20px; border-radius: 20px; }
  .est__card-title { display: block; }
  .est-progress { margin-bottom: 22px; }
  .est-step__heading { font-size: 26px; }
  .est-step__hint { margin-bottom: 18px; }
  .est-step__nav { padding-top: 14px; }
  .est__aside { gap: 18px; }
}

.est-form { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.est-form__notice { margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; background: var(--panel); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.est-form__notice a { color: var(--ink); font-weight: 600; text-decoration: none; }
.est-form__notice a:hover { text-decoration: underline; text-underline-offset: 3px; }
.est-progress { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.est-progress[hidden] { display: none; }
.est-progress__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.est-progress__step { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.est-progress__hint { font-size: 14px; color: var(--text); }
.est-progress__bars { display: flex; gap: 6px; }
.est-progress__bars span { height: 3px; flex: 1; border-radius: 2px; background: #e1e6e2; transition: background-color .2s ease; }
.est-progress__bars span.is-on { background: var(--accent); }

.est-step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; flex: 1; }
.est-step[hidden] { display: none; }
.est-step + .est-step { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.is-stepped .est-step + .est-step { margin-top: 0; padding-top: 0; border-top: 0; }
.est-step__legend { padding: 0; margin: 0 0 6px; }
.est-step__heading { display: block; margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 400; color: var(--ink); }
.est-step__heading:focus { outline: none; }
.est-step__heading:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.est-step__hint { margin: 0 0 22px; font-size: 15px; color: var(--text); }
.est-step .field + .field, .est-row + .est-row, .est-row + .field, .scope + .field { margin-top: 14px; }
.est-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.est-row > .field + .field { margin-top: 0; }
.est-step .field + .est-row { margin-top: 14px; }
.est-row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Two equal columns at every width (owner, 2026-11-05): the 150px minimum stacked them at 375px and in a narrowed desktop window. */
.est-row--names { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.est-address { min-width: 0; }
/* Address suggestions: an in-flow list under the input, 48px rows, nothing floating (owner, 2026-11-04). */
.est-suggest { list-style: none; margin: 6px 0 0; padding: 4px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 10px 28px rgba(21, 41, 30, .08); }
.est-suggest[hidden] { display: none; }
.est-suggest__item { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 48px; padding: 6px 14px; cursor: pointer; }
.est-suggest__item + .est-suggest__item { border-top: 1px solid var(--line-soft); }
.est-suggest__item:hover, .est-suggest__item.is-active { background: var(--accent-tint); }
.est-suggest__main { font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.est-suggest__sub { font-size: 13.5px; color: var(--text); line-height: 1.3; }
.est-step .field[hidden] { display: none; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.scope__opt { position: relative; display: flex; min-width: 0; cursor: pointer; }
.scope__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.scope__label {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 18px;
  border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--white); color: var(--ink);
  font-size: 16px; font-weight: 600; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.scope__opt:hover .scope__label { border-color: var(--ink); }
.scope__input:checked + .scope__label { border-color: var(--accent); background: var(--accent); color: var(--paper); }
.scope__input:focus-visible + .scope__label { outline: 2px solid var(--ink); outline-offset: 3px; }
.est-details { min-height: 96px; }
.field__input[aria-invalid="true"], gmp-place-autocomplete[aria-invalid="true"] { border-color: #a4402e; }
.est-error { margin: 14px 0 0; font-size: 14px; color: #a4402e; }
.est-error[hidden] { display: none; }
.est-step__nav { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; }
.est-btn { height: 52px; flex: 1; font-size: 16px; }
.est-btn--back { flex: 0 0 auto; padding: 0 22px; }
.est-btn[hidden] { display: none; }
/* Before estimate.js runs, lay the form out the way the script will leave it (progress bar shown, step 1 with its
   Continue button, steps 2 and 3 hidden), so nothing moves at load (CLS 0.6 on mobile, seen 2026-11-10). The html
   element gets the js class from an inline script in the head; without JavaScript the whole form shows as before. */
/* !important beats the global [hidden] { display: none !important } in main.css. */
.js .est-form:not(.is-stepped) .est-progress[hidden] { display: flex !important; }
.js .est-form:not(.is-stepped) .est-step + .est-step { display: none; }
.js .est-form:not(.is-stepped) .est-step[data-step="1"] .est-btn[data-next][hidden] { display: inline-flex !important; }
.est-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.est-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.est-form__foot { margin: 12px 0 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--text); }
.est-form__foot a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.est-form__foot a:hover { color: var(--ink); }
/* Places Autocomplete element (new API): the host takes the field styling, its inner input inherits the font. */
gmp-place-autocomplete.field__input { display: block; height: auto; min-height: 48px; padding: 0; overflow: visible; position: relative; color-scheme: light; font-family: var(--font-body); }
gmp-place-autocomplete.field__input:focus-within { z-index: 20; }
gmp-place-autocomplete.field__input:focus-within { outline: none; border-color: var(--accent); }
gmp-place-autocomplete[aria-invalid="true"] { outline: 2px solid #a4402e; outline-offset: 1px; border-radius: 12px; }

/* Thank you (templates/page-thanks.php). Design: Hemlock Thank You.dc.html. */
.thanks__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.thanks__check { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: var(--radius-pill); background: var(--accent); color: var(--paper); }
.thanks__check svg { display: block; }
.thanks__title { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.thanks__text { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 44ch; text-wrap: pretty; }
.thanks__sooner { margin-top: 6px; font-size: 16px; color: var(--text); }
.thanks__phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; }
.thanks__phone:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.quotes__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.quotes__head .section-title { margin: 0; }
.quote--card { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-card); background: var(--white); gap: 16px; }
.thanks-crew { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: clamp(24px, 3vw, 36px) clamp(16px, 2.6vw, 36px); max-width: 1200px; }
.thanks-crew__link { color: var(--ink); text-decoration: none; border-radius: var(--radius-card); }
.thanks-crew__link:hover .person__name { text-decoration: underline; text-underline-offset: 4px; }
.thanks-crew__link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.thanks-crew__photo { height: auto; aspect-ratio: 4 / 5; }
.thanks-crew__photo img { object-position: 50% 25%; }
.thanks-crew .person__name { font-size: 24px; line-height: 1.15; }
.thanks-crew__role { font-size: 14.5px; color: var(--text); }
.thanks-pricing__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.thanks-pricing__title { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.thanks-pricing__text { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 48ch; text-wrap: pretty; }
.est-turnstile { margin-top: 14px; }
.est-turnstile:empty { display: none; }
.est-form__notice--error { background: #fbeae6; border-color: #e6b8ae; color: #6b2415; margin-top: 14px; }
.est-form__notice--error a { color: inherit; font-weight: 600; }
.contact__form { display: flex; flex-direction: column; gap: 12px; }
.contact__form-heading { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.contact__form-text { font-size: 16px; line-height: 1.55; color: var(--text); }
.msg-form { max-width: none; justify-self: stretch; background: var(--white); margin-top: 6px; }
.form-success { padding: 16px 18px; border-radius: 12px; background: #e6f0ea; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.form-success:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.apply-form .est-error:not([hidden]) { margin-top: -4px; }
.apply-form .est-error a { color: inherit; font-weight: 600; }
