/* =========================================================
   Calm Clarity Interiors — Guide landing (start.calmclarity.ca)

   Type and colour taken from the live site, calmclarity.ca,
   so the landing reads as part of the same site:
     Questrial       — headings and hero
     Libre Franklin  — body, weight 300
     Montserrat      — uppercase UI, +1px tracking
     #22241C heading · #41483D body · #6C6353 warm
     #D1DDCF sage panel · #B37F3A brass CTA · square corners
   ========================================================= */

:root {
  --ink-strong: #22241C;
  --ink:        #41483D;
  --warm:       #6C6353;
  --sage:       #D1DDCF;
  --sage-deep:  #A7B2A1;
  --brass:      #B37F3A;
  --brass-dark: #9C6C2E;
  --white:      #FFFFFF;
  --cream:      #FBFAF7;

  --wrap: 1160px;
  --shadow: 0 2px 6px rgba(34,36,28,.06), 0 20px 48px rgba(34,36,28,.13);

  --f-head: 'Questrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --f-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --f-ui:   'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
/* Author display rules outrank the UA rule for [hidden], so buttons
   and steps stay visible without this. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--ink-strong);
  line-height: 1.2;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- shared UI ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,.88); }

.btn {
  display: inline-block;
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 19px 45px;
  border: 0;
  border-radius: 0;                 /* the site uses square corners */
  cursor: pointer;
  transition: background-color .18s ease;
}
.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover { background: var(--brass-dark); }
.btn--brass:focus-visible {
  outline: 3px solid rgba(179,127,58,.45);
  outline-offset: 2px;
}
.btn--block { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 0 36px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(34,36,28,.70) 0%, rgba(34,36,28,.58) 40%, rgba(34,36,28,.78) 100%);
}
.hero__inner { text-align: center; }
.hero__grid { display: grid; gap: 26px; }
.hero__copy { display: flex; flex-direction: column; }

.logo {
  width: 148px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  /* the supplied logo is sage on transparent; on photography it
     needs to read as white without shipping a second file */
  filter: brightness(0) invert(1);
  opacity: .95;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.14;
  max-width: 19ch;
  margin: 0 auto;
}
.hero h1 .h1__turn {
  display: block;
  margin-top: .42em;
  font-size: .58em;
  line-height: 1.32;
  color: rgba(255,255,255,.9);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.lede {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
  max-width: 54ch;
}
.lede--light { color: rgba(255,255,255,.9); margin-left: auto; margin-right: auto; }
.lede--center { margin-left: auto; margin-right: auto; }

/* Sits with the planning ranges, not in the hero: it belongs
   next to the numbers, and it kept the form off the fold. */
.qualifier {
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(65,72,61,.16);
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--warm);
}

/* ---------- form card ---------- */
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-top: 16px;
  text-align: left;
}
.card--center { margin-left: auto; margin-right: auto; max-width: 520px; }
/* width + justify-self, not auto margins: an auto margin on a grid
   item turns off stretching, so the card would shrink to its content
   width instead of filling the track up to the cap. */
.hero .card { width: 100%; max-width: 520px; justify-self: center; }

.card__title {
  font-size: 22px;
  margin-bottom: 16px;
}

.field { margin-bottom: 13px; }
.field label {
  display: block;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  padding: 14px 15px;
  font-family: var(--f-body);
  font-size: 16px;                  /* 16px avoids iOS zoom on focus */
  font-weight: 300;
  color: var(--ink-strong);
  background: var(--cream);
  border: 1px solid #D9DCD5;
  border-radius: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(179,127,58,.16);
}
.field input[aria-invalid="true"] { border-color: #A5522F; }

.err {
  margin-top: 6px;
  font-size: 13px;
  color: #A5522F;
}

.fineprint {
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--warm);
  text-align: center;
}
.step p { margin-top: 8px; }
.step__flag {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 8px !important;
}
.step__note {
  margin: -8px 0 18px !important;
  font-size: 14.5px;
  color: var(--warm);
}

.field--choice { border: 0; padding: 0; margin-bottom: 13px; }
.field--choice legend {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
  padding: 0;
  margin-bottom: 8px;
}
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: block;
  padding: 13px 10px;
  text-align: center;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #D9DCD5;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice label:hover { border-color: var(--brass); }
.choice input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.choice input:focus-visible + label {
  outline: 3px solid rgba(179,127,58,.4);
  outline-offset: 2px;
}

.field textarea {
  width: 100%;
  padding: 14px 15px;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-strong);
  background: var(--cream);
  border: 1px solid #D9DCD5;
  border-radius: 0;
  resize: vertical;
  min-height: 88px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(179,127,58,.16);
}

.field select {
  width: 100%;
  padding: 14px 15px;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-strong);
  background: var(--cream);
  border: 1px solid #D9DCD5;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236C6353' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.field select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(179,127,58,.16);
}

.linkbtn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 4px;
  background: none;
  border: 0;
  font-family: var(--f-body);
  font-size: 13.5px;
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linkbtn:hover { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 68px 0; }
.section--white { background: var(--white); }
.section--sage  { background: var(--sage); }
.section--dark  { background: var(--ink); color: rgba(255,255,255,.86); }

.section__title {
  font-size: clamp(26px, 3.3vw, 40px);
  max-width: 24ch;
}
.center .section__title { margin-left: auto; margin-right: auto; }
/* Scoped to the section rather than relying on a modifier class, so a
   heading dropped into a dark band can't come out dark-on-dark. */
.section--dark h2,
.section--dark h3,
.section__title--light { color: var(--white); }

.section--tight { padding: 54px 0; background: var(--cream); }
/* Both this strip and the block after it are pale, so without a
   tone change the space between them reads as a void, not a break. */
.section--tight + .section { padding-top: 62px; }

.ranges {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
}
.ranges li { display: block; }
.ranges__num {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink-strong);
  line-height: 1.2;
}
.ranges__lbl {
  display: block;
  margin-top: 4px;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
}
.ranges__foot {
  margin: 30px auto 0;
  max-width: 60ch;
  font-size: 15px;
  color: var(--warm);
}

.btn--jump { align-self: flex-start; margin-top: 24px; text-decoration: none; }
.closing-cta { margin-top: 28px; }
.section--ba .closing-cta { margin-top: 22px; }
.closing-cta .btn { text-decoration: none; }

/* Fit Call proof strip — same rhythm as the guide page ranges,
   but the number carries a word, not a dollar figure. */
.proof {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
  text-align: left;
}
.proof li {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(65,72,61,.18);
}
.proof li:last-child { border-bottom: 0; padding-bottom: 0; }
.proof__num {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(24px, 3.1vw, 33px);
  color: var(--ink-strong);
  line-height: 1.18;
}
.proof__lbl {
  display: block;
  margin-top: 9px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 62ch;
}

.section--dark .quote + .quote { margin-top: 30px; }

.trust__areas {
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--sage-deep);
  max-width: 50ch;
}

/* recognition */
.reco {
  list-style: none;
  margin: 38px auto 0;
  padding: 0;
  max-width: 720px;
}
.reco li {
  position: relative;
  padding: 20px 0 20px 36px;
  border-top: 1px solid rgba(65,72,61,.16);
}
.reco li:last-child { border-bottom: 1px solid rgba(65,72,61,.16); }
.reco li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 33px;
  width: 18px;
  height: 1px;
  background: var(--brass);
}

/* what's inside */
.inside__grid { display: grid; gap: 44px; align-items: start; }
.inside {
  list-style: none;
  counter-reset: step;
  margin: 34px 0 0;
  padding: 0;
}
.inside li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 48px;
}
.inside li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--brass);
}
.inside h3 { font-size: 20px; margin-bottom: 6px; }
.inside p { font-size: 16px; }

.inside__visual { display: flex; justify-content: center; }
.guidecover {
  width: 100%;
  max-width: 300px;
  height: auto;
  box-shadow: var(--shadow);
}

/* trust */
.trust__grid { display: grid; gap: 40px; align-items: center; }
.trust__body {
  max-width: 54ch;
  font-size: 18px;
}
.quote {
  margin: 34px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--brass);
  max-width: 52ch;
}
.quote p {
  font-family: var(--f-head);
  color: var(--white);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.42;
}
.quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.trust__visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* footer */
.footer {
  padding: 34px 0 42px;
  background: var(--white);
  border-top: 1px solid rgba(65,72,61,.12);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__logo { width: 132px; height: auto; opacity: .8; }
.footer__meta {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
}



/* ---------- booking quiz ---------- */
.quiz__bar {
  height: 3px;
  background: rgba(65,72,61,.14);
  margin-bottom: 10px;
}
.quiz__bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--brass);
  transition: width .25s ease;
}
.quiz__count {
  font-family: var(--f-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 16px !important;
}

/* Dead end for non-owners. Deliberately calm — this person may well
   be the one who forwards the page to the owner. */
.qstop {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--cream);
  border-left: 2px solid var(--brass);
}
.qstop p { font-size: 15px; line-height: 1.55; color: var(--ink); }
.qstop p + p { margin-top: 10px; }

.qstep { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.qstep__q {
  display: block;
  padding: 0;
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink-strong);
  margin-bottom: 14px;
}
.qstep__note {
  margin-top: 14px !important;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--warm);
}

/* stacked options — one tap targets, not tiny radio dots */
.opts { display: grid; gap: 9px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label {
  display: block;
  padding: 15px 18px;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #D9DCD5;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.opts label:hover { border-color: var(--brass); }
.opts input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.opts input:focus-visible + label {
  outline: 3px solid rgba(179,127,58,.4);
  outline-offset: 2px;
}

.quiz__nav { margin-top: 22px; }
.quiz__nav .btn { margin-top: 0; }

/* ---------- recent projects ---------- */
.projects {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}
.projects figure { margin: 0; }
.projects img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.projects figcaption { padding-top: 18px; }
.projects h3 {
  font-size: 21px;
  margin-bottom: 7px;
}
.projects p { font-size: 16px; }

/* ---------- before / after ---------- */
.ba { display: grid; gap: 18px; margin-top: 38px; }
.ba figure { margin: 0; }
.ba img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.ba figcaption {
  margin-top: 10px;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--warm);
}
.ba__note {
  margin: 20px auto 0;
  max-width: 52ch;
  font-size: 15px;
  color: var(--warm);
}
.section--dark .ba figcaption { color: var(--sage-deep); }
.section--dark .ba__note { color: rgba(255,255,255,.72); }

/* ---------- google rating + reviews ---------- */
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.rating__score {
  font-family: var(--f-head);
  font-size: 40px;
  color: var(--ink-strong);
  line-height: 1;
}
.rating__src {
  /* The star glyph sits tight to the right edge of its box, so the
     label needs a little more air than the flex gap alone gives it. */
  margin-left: 6px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--warm);
}
.stars { display: inline-flex; gap: 4px; }
.stars svg {
  width: 22px;
  height: 22px;
  fill: #E8A33D;              /* Google's review star, not the brand brass */
}
.stars--sm svg { width: 15px; height: 15px; }

.reviews {
  display: grid;
  gap: 26px;
  margin-top: 40px;
}
.reviews blockquote {
  margin: 0;
  padding: 28px 26px;
  background: var(--cream);
  border-top: 2px solid var(--brass);
}
.reviews blockquote p {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.6;
}
.reviews cite {
  display: block;
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--warm);
}

/* ---------- founder ---------- */
.founder {
  display: grid;
  gap: 34px;
  align-items: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(65,72,61,.14);
}
.founder img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}
.founder .section__title { margin-bottom: 18px; }

/* ---------- desktop ---------- */
@media (min-width: 880px) {
  body { font-size: 18px; }

  .hero { padding: 40px 0 72px; }
  .logo { width: 176px; margin: 0 0 30px; }
  .lede { margin-top: 20px; }

  .ranges { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .projects { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .ba { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ba img { height: 300px; }
  /* This band is meant to be taken in at a glance, so it runs
     tighter than the standard section rhythm. */
  .section--ba { padding: 68px 0 62px; }
  .section--ba .ba { margin-top: 30px; }
  .projects img { height: 300px; }
  .reviews { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .founder { grid-template-columns: 380px 1fr; gap: 56px; }

  .section { padding: 104px 0; }
  /* Must come after .section or it loses on source order —
     same specificity, both single class. */
  .section--tight { padding: 66px 0; }
  .section--tight + .section { padding-top: 78px; }

  .inside__grid { grid-template-columns: 1.12fr .88fr; gap: 76px; align-items: center; }
  .trust__grid  { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .trust__visual img { height: 480px; }

  /* Seven fields plus the sub-note push the submit button past the
     fold at 1440x900 without this. */
  .card { padding: 30px 34px; }
  .card__title { margin-bottom: 12px; }
  .step__note { margin: -6px 0 14px !important; }
  .field { margin-bottom: 12px; }
}

/* The hero splits later than everything else: below this the form
   column squeezes under ~400px, which is too narrow for the option
   cards. Single column keeps it at a comfortable 520px instead. */
@media (min-width: 1040px) {
  /* Copy left, form right — the form has to stay on screen,
     and it gets taller as soon as step 2 exists. */
  .hero__inner { text-align: left; }
  .hero__grid {
    grid-template-columns: 1.02fr .98fr;
    gap: 60px;
    align-items: center;
  }
  .hero h1,
  .hero h1 .h1__turn,
  .lede--light { margin-left: 0; margin-right: 0; }
  .hero h1 { max-width: 16ch; }
  .hero .card { margin-top: 0; max-width: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
