  /* Justine Paints site styles. Brand colours sampled from her logo. */
  :root {
    --teal: #53ACB4;
    --teal-deep: #1D646C;
    --teal-soft: #DCEFF0;
    --orange: #E0663A;
    --orange-deep: #A8421C;
    --cream: #F7EFE0;
    --paper: #FFFBF3;
    --kraft: #CDA878;
    --ink: #2E2B28;
    --muted: #5E5850;
    --line: #E6D9C2;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  img { max-width: 100%; height: auto; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 400 17px/1.6 "Figtree", "Helvetica Neue", Arial, sans-serif;
  }
  .gutter { padding-inline: 20px; }
  .wrap { max-width: 1140px; margin-inline: auto; }
  h1, h2, h3 { margin: 0; text-wrap: balance; }
  h1, h2 {
    font-family: "Shrikhand", "Cooper Black", Georgia, serif;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: .005em;
  }
  h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
  h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
  h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
  p { margin: 0; }
  a { color: var(--orange-deep); text-underline-offset: 3px; }
  :focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 4px; }
  .eyebrow {
    font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange-deep);
  }
  .lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
  .skip {
    position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--cream);
    padding: 10px 14px; border-radius: 6px; z-index: 10;
  }
  .skip:focus { top: 12px; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 1rem/1 "Figtree", Arial, sans-serif;
    padding: 15px 24px; border-radius: 999px; border: 2px solid var(--ink);
    background: var(--ink); color: var(--cream); text-decoration: none; cursor: pointer;
    box-shadow: 4px 4px 0 var(--orange);
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--orange); }
  .btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--orange); }
  .btn.light { background: var(--paper); color: var(--ink); }

  /* Header */
  header.site {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
    background: var(--cream); border-bottom: 2px solid var(--ink);
  }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 10px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
  .brand img { width: 58px; height: auto; }
  .brand span { font-family: "Shrikhand", Georgia, serif; font-size: 1.35rem; }
  nav.main ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
  nav.main a {
    display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem;
  }
  nav.main a:hover { background: var(--teal-soft); }
  nav.main a[aria-current="page"] { background: var(--ink); color: var(--cream); }
  nav.main a.cta:not([aria-current="page"]) { background: var(--orange); color: var(--ink); }
  .socials { display: flex; gap: 8px; }
  .socials a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    border: 2px solid var(--ink); color: var(--ink); background: var(--paper);
  }
  .socials a:hover { background: var(--teal); }
  .socials svg { width: 20px; height: 20px; }

  /* Views (pages) */
  .view { display: block; }
  .js .view { display: none; }
  .js .view.active { display: block; }
  .band { padding-block: 64px; }
  .band + .band { border-top: 2px solid var(--line); }
  .section-head { display: grid; gap: 10px; margin-bottom: 32px; }

  /* Hero */
  .hero { background: var(--teal); border-bottom: 2px solid var(--ink); }
  .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
    gap: 32px; align-items: center; padding-block: 56px 64px;
  }
  .hero .eyebrow { color: var(--ink); }
  .hero h1 { margin-top: 12px; }
  .hero .lede { color: var(--ink); margin-top: 18px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
  .hero-logo { justify-self: center; width: min(100%, 380px); animation: spinIn 1s cubic-bezier(.2,.9,.3,1.15) both; }
  @keyframes spinIn { from { transform: rotate(-12deg) scale(.9); } to { transform: none; } }
  .promises {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
  }
  .promise { padding: 22px 20px; display: grid; gap: 4px; border-right: 2px solid var(--line); }
  .promise:last-child { border-right: 0; }
  .promise strong { font-size: 1.05rem; }
  .promise span { color: var(--muted); font-size: .96rem; }

  /* Instagram-style gallery */
  .feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
  .feed a {
    position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
    border-radius: 10px; border: 2px solid var(--ink); background: var(--kraft); color: var(--cream);
  }
  .feed img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
  .feed a:hover img { transform: scale(1.04); }
  .feed .when {
    position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px;
    background: rgba(46, 43, 40, .82); font-size: .78rem; font-weight: 700;
  }
  .feed .kind {
    position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(46, 43, 40, .82); display: grid; place-items: center;
  }
  .feed .kind svg { width: 14px; height: 14px; fill: var(--cream); }
  .feed-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
  .feed-foot p { color: var(--muted); }

  /* Review */
  .review {
    background: var(--orange); border: 2px solid var(--ink); border-radius: 18px;
    padding: clamp(24px, 5vw, 48px); display: grid; gap: 16px; box-shadow: 8px 8px 0 var(--ink);
  }
  .review blockquote {
    margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.4; font-weight: 600; max-width: 48ch;
  }
  .review figcaption { font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
  /* Review slideshow: slides stack in one grid cell so the box keeps the tallest slide's height */
  .review { position: relative; }
  .review-slides { display: grid; }
  .review-slide {
    grid-area: 1 / 1; margin: 0; display: grid; grid-template-columns: minmax(0, 128px) minmax(0, 1fr);
    align-items: center; gap: clamp(18px, 3vw, 36px);
    opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
  }
  .review-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
  .review-controls { position: absolute; right: 16px; bottom: 10px; display: flex; align-items: center; gap: 2px; }
  .review-dot, .review-pause {
    width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
    display: grid; place-items: center; color: var(--ink); border-radius: 50%;
  }
  .review-dot::before {
    content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: transparent;
  }
  .review-dot[aria-current="true"]::before { background: var(--ink); }
  .review-pause { font-size: .7rem; font-weight: 800; }
  .review-dot:hover::before { background: rgba(46, 43, 40, .35); }
  .review-photo { display: block; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
  .review-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; }
  .review-text { display: grid; gap: 16px; }
  @media (max-width: 640px) {
    .review-slide { grid-template-columns: 1fr; }
    .review-photo { max-width: 110px; }
    .review-controls { position: static; justify-self: end; margin: -8px -8px -12px 0; }
  }

  .cta-band { background: var(--ink); color: var(--cream); }
  .cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 44px; }
  .cta-band h2 { color: var(--cream); }
  .cta-band .btn { background: var(--orange); color: var(--ink); border-color: var(--orange); box-shadow: 4px 4px 0 var(--teal); }

  /* Portfolio */
  .works { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 28px; }
  .work { margin: 0; display: grid; gap: 12px; align-content: start; }
  .work .frame {
    position: relative; display: block; background: var(--kraft); padding: 12px;
    border-radius: 4px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--teal);
  }
  .work .frame::before, .work .frame::after {
    /* painter's tape */
    content: ""; position: absolute; top: -10px; width: 64px; height: 20px;
    background: rgba(242, 226, 190, .92); border: 1px solid rgba(46,43,40,.15);
  }
  .work .frame::before { left: 14px; transform: rotate(-6deg); }
  .work .frame::after { right: 14px; transform: rotate(5deg); }
  .work img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
  .works-h { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 8px 0 26px; }
  .works + .works-h { margin-top: 56px; }
  /* Justine's own photos: show each one whole */
  .works.finished { display: block; columns: 3 280px; column-gap: 28px; }
  .finished .work { break-inside: avoid; margin-bottom: 40px; }
  .finished .work img { aspect-ratio: auto; object-fit: initial; }
  .work figcaption { display: grid; gap: 2px; }
  .work figcaption span { color: var(--muted); font-size: .95rem; }
  .tagline { font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }

  /* About */
  .about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
  .about-photo { background: var(--teal); border: 2px solid var(--ink); border-radius: 18px; padding: 28px; box-shadow: 8px 8px 0 var(--orange); }
  .about-photo img { width: 100%; }
  .prose { display: grid; gap: 16px; max-width: 62ch; }
  .prose p { font-size: 1.08rem; }
  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 12px; }
  .fact { background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 16px 18px; }
  .fact strong { display: block; font-size: 1.02rem; }
  .fact span { color: var(--muted); font-size: .95rem; }

  /* Quote */
  .quote-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 44px; align-items: start; }
  .steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
  .steps li::before {
    content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--teal); border: 2px solid var(--ink); font-weight: 800;
  }
  .steps span { color: var(--muted); display: block; font-size: .96rem; }
  .direct { margin-top: 28px; padding-top: 20px; border-top: 2px dashed var(--line); display: grid; gap: 6px; }
  .direct .addr { font-weight: 700; user-select: all; }

  form.quote {
    background: var(--paper); border: 2px solid var(--ink); border-radius: 18px;
    padding: clamp(20px, 4vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    box-shadow: 8px 8px 0 var(--teal);
  }
  .field { display: grid; gap: 6px; align-content: start; }
  .full { grid-column: 1 / -1; }
  .field label, legend { font-weight: 700; font-size: .98rem; }
  .req { color: var(--orange-deep); }
  .hint { color: var(--muted); font-size: .88rem; }
  input[type="text"], input[type="email"], input[type="date"], textarea {
    font: inherit; color: var(--ink); background: #FFFFFF;
    border: 2px solid #8C8274; border-radius: 10px; padding: 11px 13px; width: 100%;
  }
  input:focus, textarea:focus { border-color: var(--teal-deep); }
  textarea { min-height: 96px; resize: vertical; }
  fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
  legend { padding: 0; margin-bottom: 8px; }
  .choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .choices.two { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .choice { position: relative; }
  .choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .choice label {
    display: grid; gap: 2px; height: 100%; cursor: pointer;
    border: 2px solid #8C8274; border-radius: 12px; padding: 12px 14px; background: #FFFFFF;
    font-weight: 700;
  }
  .choice label small { font-weight: 500; color: var(--muted); font-size: .85rem; }
  .choice input:checked + label { border-color: var(--ink); background: var(--teal-soft); box-shadow: 3px 3px 0 var(--ink); }
  .choice input:focus-visible + label { outline: 3px solid var(--orange-deep); outline-offset: 2px; }
  .size-dims { font-variant-numeric: tabular-nums; }
  .hp { position: absolute; left: -9999px; }
  .form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .status { font-weight: 600; }
  .status.error { color: #9B1C1C; }
  .copy-btn {
    font: 700 .85rem/1 "Figtree", sans-serif; padding: 7px 12px; border-radius: 999px;
    border: 2px solid var(--ink); background: #FFFFFF; color: var(--ink); cursor: pointer;
  }

  footer.site { background: var(--teal); border-top: 2px solid var(--ink); }
  footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 28px; }
  footer.site p { font-weight: 600; }
  footer.site .socials a { background: var(--cream); }

  @media (max-width: 860px) {
    .hero-grid, .about-grid, .quote-grid { grid-template-columns: 1fr; }
    .hero-logo { width: min(55%, 220px); grid-row: 1; }
    .promise { border-right: 0; border-bottom: 2px solid var(--line); }
    .band { padding-block: 48px; }
  }
  @media (max-width: 560px) {
    form.quote { grid-template-columns: 1fr; }
    .brand span { display: none; }
    .bar { justify-content: center; }
    nav.main a { padding: 7px 11px; font-size: .92rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  /* Thank-you page */
  .thanks-page { padding-block: 72px 88px; }
  .thanks-card {
    max-width: 640px; margin-inline: auto; text-align: center;
    background: var(--paper); border: 2px solid var(--ink); border-radius: 18px;
    padding: clamp(28px, 6vw, 56px); box-shadow: 8px 8px 0 var(--teal);
    display: grid; gap: 18px; justify-items: center;
  }
  .thanks-card img { width: 150px; height: auto; }
  .thanks-card p { font-size: 1.12rem; max-width: 46ch; }
  .thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
  .thanks-card h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
  .privacy-note { color: var(--muted); font-size: .9rem; margin-top: -6px; }
  /* "Please read" notice at the top of the quote form */
  .notice {
    background: var(--teal-soft); border: 2px solid var(--ink); border-radius: 12px;
    padding: 18px 20px; display: grid; gap: 10px;
  }
  .notice h2 { font-family: "Figtree", Arial, sans-serif; font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
  .notice p, .notice li { font-size: .96rem; }
  .notice ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
  .notice a { color: var(--teal-deep); font-weight: 700; }
