/* Photo-first direction for the private homepage only. */
@font-face {
  font-family: "DM Sans";
  src: url("/assets/phase1/type/dm-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
body:has(> .p1-nav) {
  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-italic: var(--font-display);
  --font-body: var(--font-display);
  background: #fff;
}
.p1-nav, .phase-one {
  --p1-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --p1-ser: var(--p1-sans);
  --p1-green: #191919;
  --p1-muted: #555;
  --p1-paper: #fff;
  --p1-line: #e5e5e5;
}
.p1-nav {
  min-height: 64px;
  padding-block: 9px;
}
.p1-logo {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.045em;
}
.phase-one .p1-hero {
  display: block;
  width: min(100%, 1384px);
  min-height: 0;
  margin-inline: auto;
  padding: clamp(16px, 2vw, 28px) clamp(18px, 4vw, 52px) clamp(35px, 5vw, 60px);
  background: #fff;
  overflow: visible;
}
.p1-hero-media {
  position: relative;
  inset: auto;
  z-index: 0;
  width: 100%;
  background: #f4f4f4;
}
.p1-hero-media::after { display: none; }
.p1-hero-media img {
  height: clamp(178px, 35vw, 465px);
  object-fit: cover;
  object-position: center 53%;
}
.p1-hero-words {
  width: min(100%, 850px);
  padding: clamp(20px, 3vw, 37px) 0 0;
}
.p1-hero .p1-kicker {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: .08em;
}
.phase-one #p1-title {
  font: 650 clamp(27px, 3.4vw, 48px)/1.12 var(--p1-sans);
  letter-spacing: -.038em;
  text-wrap: pretty;
}
.p1-hero .p1-lede { margin-top: 12px; max-width: 62ch; }
.p1-hero .p1-actions { margin-top: 16px; }
.p1-actions .p1-button { min-height: 46px; }
.phase-one .p1-card {
  background: #fff;
  border: 0;
  border-top: 1px solid #e5e5e5;
}
.phase-one .p1-card-copy { padding-inline: 0; }
.phase-one .p1-section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.035em;
}
@media (max-width: 760px) {
  .p1-hero-media img { height: clamp(168px, 49vw, 265px); object-position: 76% 57%; }
  .phase-one #p1-title { font-size: clamp(27px, 7vw, 36px); }
}
.p1-hero-media img[src*="cart-whisk-"] { object-position: center 12%; }
@media (max-width: 760px) {
  .p1-hero-media img[src*="cart-whisk-"] { object-position: center 15%; }
}
/* The exact source serves large and high-density screens without a second JPEG encode. */
.p1-hero-media img[src*="cart-whisk-"] {
  image-rendering: auto;
}

/* Equal edge-to-edge case-study photos; each crop keeps its subject. */
.phase-one #work .p1-case > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: transparent;
}
.phase-one #work #case-spotify > img { object-position: 50% 85%; }
.phase-one #work #case-kpmg > img { object-position: 50% 50%; }
.phase-one #work #case-touch > img { object-position: 90% 50%; }

.p1-hero-media img[src*="meowcha-strawberry-latte-"] { object-position: center 5%; }

/* Client proof: original marks, in a static, accessible grid. */
.phase-one .p1-trusted {
  margin: 0 auto;
  width: min(100% - 36px, 1216px);
  padding: clamp(22px, 4vw, 52px) 0;
  border-block: 1px solid #dbe0d7;
}
.phase-one .p1-trusted h2 {
  margin: 0 0 18px;
  color: #505e46;
  font: 650 clamp(21px, 2.3vw, 30px)/1.16 var(--p1-sans);
  letter-spacing: -.03em;
}
/* Uses the canonical .b-logos rules embedded in the homepage. */
.phase-one .p1-trusted .b-logos { margin-bottom: 0; }

.phase-one .p1-reviews { width: min(100% - 36px, 1216px); margin-inline: auto; padding: clamp(20px, 4vw, 52px) 0; color: #222620; }
.phase-one .p1-reviews h2 { margin: 0 0 18px; color: #505e46; font: 650 clamp(22px, 2.3vw, 30px)/1.16 var(--p1-sans); letter-spacing: -.03em; }
.p1-review-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid #dbe0d7; background: #f6f7f3; }
.p1-review-track::-webkit-scrollbar { display: none; }
.p1-review { margin: 0; min-width: 0; flex: 0 0 100%; scroll-snap-align: start; padding: clamp(20px, 4vw, 52px); }
.p1-review blockquote { margin: 0 0 18px; max-width: 42ch; font: 550 clamp(21px, 3vw, 34px)/1.27 var(--p1-sans); letter-spacing: -.025em; }
.p1-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #505e46; font: 650 15px/1.45 var(--p1-sans); }
.p1-review-badge { padding: 3px 8px; border: 1px solid #aab6a4; font-weight: 500; font-size: 13px; max-width: 100%; }
.p1-review-controls { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 9px; color: #505e46; font: 600 14px/1 var(--p1-sans); }
.p1-review-controls[hidden] { display: none; }
.p1-review-controls button { width: 44px; height: 44px; border-radius: 0; border: 1px solid #aab6a4; background: white; color: #505e46; font: 600 20px/1 var(--p1-sans); cursor: pointer; }
.p1-review-controls button:hover { background: #edf1ea; }
.p1-review-controls button:focus-visible,.p1-review-track:focus-visible { outline: 2px solid #505e46; outline-offset: 2px; }
.p1-review-controls span { min-width: 36px; text-align: center; }

.phase-one .p1-recent-events { margin-top: clamp(34px, 6vw, 76px); }
.phase-one .p1-recent-events h3 { margin: 0 0 16px; color: #505e46; font: 650 clamp(23px, 2.4vw, 31px)/1.18 var(--p1-sans); letter-spacing: -.03em; }
.p1-recent-events ul { margin: 0; padding: 0; border-top: 1px solid #dbe0d7; list-style: none; }
.p1-recent-events li { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 1.3fr) minmax(0, 2.3fr); align-items: baseline; column-gap: clamp(12px, 2.6vw, 36px); padding: 12px 0; border-bottom: 1px solid #dbe0d7; font: 400 16px/1.45 var(--p1-sans); }
.p1-event-dates { color: #505e46; font-weight: 600; }
.p1-event-dates time { white-space: nowrap; }
.p1-recent-events li strong { color: #222620; font-weight: 650; }
.p1-event-detail { color: #464b44; }
@media (max-width: 650px) {
  .p1-recent-events li { grid-template-columns: minmax(72px, .53fr) minmax(0, 1fr); column-gap: 12px; row-gap: 2px; font-size: 15px; }
  .p1-event-dates { grid-row: span 2; }
  .p1-event-detail { grid-column: 2; }
}

/* Keep the original roster geometry; balance visible logo weight. */
.phase-one .p1-trusted .b-logo img:not([alt="Spin Master"]):not([alt="Oxygen Yoga & Fitness"]) { opacity: .71; }
.phase-one .p1-trusted .b-logo img[alt="Spin Master"] { width: 121px; max-height: 96px; }
@media (max-width: 760px) {
  .phase-one .p1-trusted .b-logo img[alt="Spin Master"] { width: min(121px, 100%); max-height: 80px; }
}
.phase-one .p1-trusted-more {
  margin: 12px 0 0;
  text-align: center;
  color: #505e46;
  font: 500 15px/1.4 var(--p1-sans);
}

/* Scale only the eight client marks, not the grid or their original crops. */
.phase-one .p1-trusted .b-logo > img,
.phase-one .p1-trusted .b-logo > .cpp-logo-window { scale: .75; transform-origin: center; }
@media (min-width: 980px) {
  .phase-one .p1-trusted .b-logo { width: calc((100% - 140px) / 6); }
}

/* This official knockout mark needs dark ink on the light roster background. */
.phase-one .p1-trusted .b-logo img[alt="Chiefs of Ontario"] { filter: brightness(0); }
.p1-review-controls button { width: auto; min-width: 66px; padding-inline: 12px; font: 600 14px/1 var(--p1-sans); }
.phase-one .p1-weddings { background: #f6f7f3; padding: clamp(24px, 4vw, 50px); margin-block: clamp(20px, 3vw, 40px); }
.phase-one .p1-weddings .p1-section-head { margin-bottom: 12px; }
.phase-one .p1-weddings .p1-lede { max-width: 58ch; }
.phase-one .p1-weddings .p1-button { white-space: normal; text-align: center; }

.phase-one .p1-trusted-event { justify-content: center; margin: 20px auto 0; padding-top: 18px; border-top: 1px solid #dbe0d7; max-width: 480px; }
.phase-one .p1-trusted-event img { opacity: .71; }
.phase-one .p1-card-copy .p1-case-event { margin: 6px 0; color: #505e46; }

/* Native links and scroll-snap: reviews do not require JavaScript. */
.p1-review { display: flex; flex-direction: column; scroll-margin-block: 88px 20px; }
.p1-review-next-native { align-self: end; display: inline-grid; place-items: center; min-width: 66px; min-height: 44px; padding: 0 12px; margin-top: auto; border: 1px solid #aab6a4; color: #505e46; background: white; font: 600 14px/1 var(--p1-sans); text-decoration: none; }
.p1-review figcaption { margin-bottom: 14px; }
.p1-review-next-native:hover { background: #edf1ea; }
.p1-review-next-native:focus-visible { outline: 2px solid #505e46; outline-offset: 2px; }

.p1-wedding-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin: 20px 0; }
.p1-wedding-gallery img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; }
.p1-wedding-gallery img:first-child { object-position: 59% 50%; }
.p1-wedding-gallery img:last-child { object-position: 43% 50%; }
@media (max-width: 590px) { .p1-wedding-gallery { grid-template-columns: 1fr; } }

/* Approved homepage structure: full-bleed photograph, then three equal service links. */
.phase-one .p1-hero { width: 100%; max-width: none; padding: 0 0 clamp(24px, 4vw, 42px); }
.phase-one .p1-hero-media { margin: 0; }
.phase-one .p1-hero-media img { height: clamp(185px, 38vw, 540px); }
.phase-one .p1-hero-words, .p1-home-offerings {
  width: min(100% - clamp(36px, 9vw, 144px), 1216px);
  margin-inline: auto;
}
.phase-one .p1-hero-words { padding: clamp(24px, 4vw, 54px) 0 0; }
.phase-one #p1-title { max-width: 24ch; }
.p1-home-offerings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.15vw, 32px); margin-bottom: clamp(27px, 5vw, 68px); }
.p1-home-offering { min-width: 0; display: flex; flex-direction: column; color: #242722; text-decoration: none; border-bottom: 1px solid #dbe0d7; padding-bottom: 16px; }
.p1-home-offering img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 56%; }
.p1-home-offering h2 { color: #505e46; margin: 16px 0 6px; font: 650 clamp(20px, 2vw, 27px)/1.18 var(--p1-sans); letter-spacing: -.033em; }
.p1-home-offering p { margin: 0 0 12px; font: 400 16px/1.5 var(--p1-sans); color: #474b46; }
.p1-offer-label { margin-top: auto; color: #505e46; font: 650 15px/1.4 var(--p1-sans); }
.p1-home-offering:hover .p1-offer-label, .p1-home-offering:focus-visible .p1-offer-label { text-decoration: underline; text-underline-offset: 4px; }
.phase-one .p1-review-track { background: transparent; border: 0; }
.phase-one .p1-review { padding: clamp(8px, 1.5vw, 18px) 2px 16px; }
.phase-one .p1-review blockquote { color: #343631; font: normal 400 clamp(22px, 3vw, 37px)/1.35 Georgia, "Times New Roman", serif; letter-spacing: -.012em; }
@media (min-width: 761px) { .p1-links { gap: clamp(10px, 2vw, 33px); } .p1-links a { font-size: clamp(13px, 1.2vw, 15px); } }
@media (max-width: 620px) { .p1-home-offerings { grid-template-columns: 1fr; gap: 22px; } }

/* Latest text layout: native controls, no carousel script. */
.phase-one .p1-reviews { position: relative; text-align: center; }
.phase-one .p1-review-track { display: grid; overflow: visible; max-width: 890px; margin-inline: auto; scroll-snap-type: none; }
.phase-one .p1-review { grid-area: 1/1; min-width: 0; visibility: hidden; padding: 8px clamp(2px, 3vw, 32px) 68px; scroll-margin-top: 76px; }
.phase-one .p1-review blockquote { margin: 0 auto 18px; }
.phase-one .p1-review figcaption { justify-content: center; margin-bottom: 0; }
.phase-one .p1-review .p1-review-next-native, .phase-one .p1-review .p1-review-play-native, .p1-review-toggle {
  position: absolute; bottom: 0; min-height: 44px; min-width: 66px; padding: 0 12px; display: inline-grid; place-items: center;
  border: 1px solid #aab6a4; color: #505e46; background: #fff; font: 600 14px/1 var(--p1-sans); text-decoration: none;
}
.phase-one .p1-review-track { position: relative; }
.phase-one .p1-review .p1-review-next-native { left: calc(50% + 4px); }
.phase-one .p1-review .p1-review-play-native, .p1-review-toggle { right: calc(50% + 4px); }
.phase-one .p1-review .p1-review-play-native { display: none; }
.p1-review-toggle { cursor: pointer; bottom: clamp(20px, 4vw, 52px); }
.p1-review-toggle span:last-child, .p1-review-stop:checked ~ .p1-review-toggle span:first-child { display: none; }
.p1-review-stop:checked ~ .p1-review-toggle span:last-child { display: inline; }
.p1-review-stop { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden; }
.p1-review-stop:focus-visible ~ .p1-review-toggle { outline: 2px solid #505e46; outline-offset: 2px; }
@keyframes p1-review-slot { 0%, 24.999% { visibility: visible; } 25%, 100% { visibility: hidden; } }
.phase-one .p1-review:not(:target) { animation: p1-review-slot 8s steps(1, end) infinite; }
.phase-one .p1-review:nth-child(2) { animation-delay: -6s; }
.phase-one .p1-review:nth-child(3) { animation-delay: -4s; }
.phase-one .p1-review:nth-child(4) { animation-delay: -2s; }
.p1-review-stop:checked ~ .p1-review-track .p1-review { animation-play-state: paused; }
.p1-review-track:has(.p1-review:target) .p1-review { animation: none; }
.p1-review-track .p1-review:target { visibility: visible; }
.p1-review-track:has(.p1-review:target) ~ .p1-review-toggle { display: none; }
.phase-one .p1-review-track .p1-review:target .p1-review-play-native { display: inline-grid; }
@media (prefers-reduced-motion: reduce) {
  .phase-one .p1-review:not(:target) { animation: none; }
  .phase-one .p1-review-track:not(:has(.p1-review:target)) .p1-review:first-child { visibility: visible; }
  .p1-review-toggle, .phase-one .p1-review-track .p1-review:target .p1-review-play-native { display: none; }
  .phase-one .p1-review .p1-review-next-native { left: 50%; transform: translateX(-50%); }
}
.p1-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.p1-photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p1-home-footer { margin: 0 auto; width: min(100% - 36px, 1216px); padding: 26px 0 36px; border-top: 1px solid #dbe0d7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; align-items: baseline; color: #505e46; font: 600 15px/1.45 var(--font-body); }
.p1-home-footer a { color: inherit; padding: 8px 0; }
.p1-home-footer address { font-style: normal; }
@media (max-width: 620px) { .p1-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 761px) {
  .p1-nav { display: grid; grid-template-columns: 1fr auto auto auto 1fr; gap: clamp(10px, 2vw, 33px); }
  .p1-links { display: contents; }
  .p1-links .p1-navquote { justify-self: end; }
}

/* Photo bank contact sheet: 10 thumbnails at desktop sizes, fewer on phones. */
@media (min-width: 621px) { .p1-photo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; } }
@media (min-width: 950px) { .p1-photo-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 620px) { .p1-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }

/* Five seconds per testimonial; each boundary slides left across the track. */
.phase-one .p1-review-track { overflow: clip; }
@keyframes p1-review-slide-left {
  0% { visibility: visible; transform: translateX(100%); }
  .266667% { visibility: visible; transform: translateX(0); }
  3.333333% { visibility: visible; transform: translateX(0); }
  3.6% { visibility: hidden; transform: translateX(-100%); }
  100% { visibility: hidden; transform: translateX(-100%); }
}
@keyframes p1-review-manual-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: no-preference) {
  .phase-one .p1-review:not(:target) { animation: p1-review-slide-left 150s linear infinite; }
  .phase-one .p1-review:nth-child(2) { animation-delay: -145s; }
  .phase-one .p1-review:nth-child(3) { animation-delay: -140s; }
  .phase-one .p1-review:nth-child(4) { animation-delay: -135s; }
  .phase-one .p1-review:nth-child(5) { animation-delay: -130s; }
  .phase-one .p1-review:nth-child(6) { animation-delay: -125s; }
  .phase-one .p1-review:nth-child(7) { animation-delay: -120s; }
  .phase-one .p1-review:nth-child(8) { animation-delay: -115s; }
  .phase-one .p1-review:nth-child(9) { animation-delay: -110s; }
  .phase-one .p1-review:nth-child(10) { animation-delay: -105s; }
  .phase-one .p1-review:nth-child(11) { animation-delay: -100s; }
  .phase-one .p1-review:nth-child(12) { animation-delay: -95s; }
  .phase-one .p1-review:nth-child(13) { animation-delay: -90s; }
  .phase-one .p1-review:nth-child(14) { animation-delay: -85s; }
  .phase-one .p1-review:nth-child(15) { animation-delay: -80s; }
  .phase-one .p1-review:nth-child(16) { animation-delay: -75s; }
  .phase-one .p1-review:nth-child(17) { animation-delay: -70s; }
  .phase-one .p1-review:nth-child(18) { animation-delay: -65s; }
  .phase-one .p1-review:nth-child(19) { animation-delay: -60s; }
  .phase-one .p1-review:nth-child(20) { animation-delay: -55s; }
  .phase-one .p1-review:nth-child(21) { animation-delay: -50s; }
  .phase-one .p1-review:nth-child(22) { animation-delay: -45s; }
  .phase-one .p1-review:nth-child(23) { animation-delay: -40s; }
  .phase-one .p1-review:nth-child(24) { animation-delay: -35s; }
  .phase-one .p1-review:nth-child(25) { animation-delay: -30s; }
  .phase-one .p1-review:nth-child(26) { animation-delay: -25s; }
  .phase-one .p1-review:nth-child(27) { animation-delay: -20s; }
  .phase-one .p1-review:nth-child(28) { animation-delay: -15s; }
  .phase-one .p1-review:nth-child(29) { animation-delay: -10s; }
  .phase-one .p1-review:nth-child(30) { animation-delay: -5s; }


  .p1-review-track:has(.p1-review:target) .p1-review { animation: none; }
  .phase-one .p1-review-track .p1-review:target { animation: p1-review-manual-enter 400ms ease-out both; }
}

/* Controls occupy their own stationary row, outside the animated slides. */
.phase-one .p1-review { padding-bottom: 16px; }
.p1-review-toolbar { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 6px auto 0; }
.phase-one .p1-review-toolbar :is(.p1-review-toggle,.p1-review-play-static,.p1-review-next-slot label) {
  display: inline-grid; position: static; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0;
  border: 0; border-radius: 4px; text-decoration: none; color: #505e46; background: transparent; line-height: 1;
}
.phase-one .p1-review-toolbar :is(label,a):hover { background: #f3f4ef; }
.phase-one .p1-reviews .p1-review-stop:focus-visible ~ .p1-review-toolbar label,
.phase-one .p1-review-toolbar label:has(input:focus-visible) { outline: 2px solid #505e46; outline-offset: 2px; }
.p1-review-next-slot { display: grid; }
.p1-review-next-slot label { grid-area: 1/1; visibility: hidden; }
.p1-review-toolbar .p1-icon-next { width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }
.p1-review-toolbar .p1-icon-pause { width: 9px; height: 13px; border-inline: 2px solid currentColor; }
.p1-review-toolbar .p1-icon-play { width: 0; height: 0; margin-left: 2px; border-block: 6px solid transparent; border-left: 9px solid currentColor; }
.phase-one .p1-review-toolbar .p1-review-play-static, .p1-review-toolbar .p1-review-toggle .p1-icon-play { display: none; }
.p1-review-stop:checked ~ .p1-review-toolbar .p1-review-toggle .p1-icon-pause { display: none; }
.p1-review-stop:checked ~ .p1-review-toolbar .p1-review-toggle .p1-icon-play { display: inline-block; }
@keyframes p1-review-next-slot { 0%, 3.333332% { visibility: visible; } 3.333333%,100% { visibility: hidden; } }
@media (prefers-reduced-motion: no-preference) {
  .p1-review-next-slot label { animation: p1-review-next-slot 150s steps(1,end) infinite; }
  .p1-review-next-slot label:nth-child(2) { animation-delay: -145s; }
  .p1-review-next-slot label:nth-child(3) { animation-delay: -140s; }
  .p1-review-next-slot label:nth-child(4) { animation-delay: -135s; }
  .p1-review-next-slot label:nth-child(5) { animation-delay: -130s; }
  .p1-review-next-slot label:nth-child(6) { animation-delay: -125s; }
  .p1-review-next-slot label:nth-child(7) { animation-delay: -120s; }
  .p1-review-next-slot label:nth-child(8) { animation-delay: -115s; }
  .p1-review-next-slot label:nth-child(9) { animation-delay: -110s; }
  .p1-review-next-slot label:nth-child(10) { animation-delay: -105s; }
  .p1-review-next-slot label:nth-child(11) { animation-delay: -100s; }
  .p1-review-next-slot label:nth-child(12) { animation-delay: -95s; }
  .p1-review-next-slot label:nth-child(13) { animation-delay: -90s; }
  .p1-review-next-slot label:nth-child(14) { animation-delay: -85s; }
  .p1-review-next-slot label:nth-child(15) { animation-delay: -80s; }
  .p1-review-next-slot label:nth-child(16) { animation-delay: -75s; }
  .p1-review-next-slot label:nth-child(17) { animation-delay: -70s; }
  .p1-review-next-slot label:nth-child(18) { animation-delay: -65s; }
  .p1-review-next-slot label:nth-child(19) { animation-delay: -60s; }
  .p1-review-next-slot label:nth-child(20) { animation-delay: -55s; }
  .p1-review-next-slot label:nth-child(21) { animation-delay: -50s; }
  .p1-review-next-slot label:nth-child(22) { animation-delay: -45s; }
  .p1-review-next-slot label:nth-child(23) { animation-delay: -40s; }
  .p1-review-next-slot label:nth-child(24) { animation-delay: -35s; }
  .p1-review-next-slot label:nth-child(25) { animation-delay: -30s; }
  .p1-review-next-slot label:nth-child(26) { animation-delay: -25s; }
  .p1-review-next-slot label:nth-child(27) { animation-delay: -20s; }
  .p1-review-next-slot label:nth-child(28) { animation-delay: -15s; }
  .p1-review-next-slot label:nth-child(29) { animation-delay: -10s; }
  .p1-review-next-slot label:nth-child(30) { animation-delay: -5s; }


  .p1-review-stop:checked ~ .p1-review-toolbar .p1-review-next-slot label { animation-play-state: paused; }
  .phase-one .p1-reviews:has(.p1-review-anchor:not(#p1-show-review-auto):checked) .p1-review-next-slot label { animation: none; }
  .phase-one .p1-reviews:has(.p1-review-anchor:not(#p1-show-review-auto):checked) .p1-review-toggle { display: none; }
  .phase-one .p1-reviews:has(.p1-review-anchor:not(#p1-show-review-auto):checked) .p1-review-play-static { display: inline-grid; }
}
.phase-one .p1-reviews:has(#p1-show-review-1:checked) .p1-review-next-slot label:nth-child(1),
.phase-one .p1-reviews:has(#p1-show-review-2:checked) .p1-review-next-slot label:nth-child(2),
.phase-one .p1-reviews:has(#p1-show-review-3:checked) .p1-review-next-slot label:nth-child(3),
.phase-one .p1-reviews:has(#p1-show-review-4:checked) .p1-review-next-slot label:nth-child(4),
.phase-one .p1-reviews:has(#p1-show-review-5:checked) .p1-review-next-slot label:nth-child(5),
.phase-one .p1-reviews:has(#p1-show-review-6:checked) .p1-review-next-slot label:nth-child(6),
.phase-one .p1-reviews:has(#p1-show-review-7:checked) .p1-review-next-slot label:nth-child(7),
.phase-one .p1-reviews:has(#p1-show-review-8:checked) .p1-review-next-slot label:nth-child(8),
.phase-one .p1-reviews:has(#p1-show-review-9:checked) .p1-review-next-slot label:nth-child(9),
.phase-one .p1-reviews:has(#p1-show-review-10:checked) .p1-review-next-slot label:nth-child(10),
.phase-one .p1-reviews:has(#p1-show-review-11:checked) .p1-review-next-slot label:nth-child(11),
.phase-one .p1-reviews:has(#p1-show-review-12:checked) .p1-review-next-slot label:nth-child(12),
.phase-one .p1-reviews:has(#p1-show-review-13:checked) .p1-review-next-slot label:nth-child(13),
.phase-one .p1-reviews:has(#p1-show-review-14:checked) .p1-review-next-slot label:nth-child(14),
.phase-one .p1-reviews:has(#p1-show-review-15:checked) .p1-review-next-slot label:nth-child(15),
.phase-one .p1-reviews:has(#p1-show-review-16:checked) .p1-review-next-slot label:nth-child(16),
.phase-one .p1-reviews:has(#p1-show-review-17:checked) .p1-review-next-slot label:nth-child(17),
.phase-one .p1-reviews:has(#p1-show-review-18:checked) .p1-review-next-slot label:nth-child(18),
.phase-one .p1-reviews:has(#p1-show-review-19:checked) .p1-review-next-slot label:nth-child(19),
.phase-one .p1-reviews:has(#p1-show-review-20:checked) .p1-review-next-slot label:nth-child(20),
.phase-one .p1-reviews:has(#p1-show-review-21:checked) .p1-review-next-slot label:nth-child(21),
.phase-one .p1-reviews:has(#p1-show-review-22:checked) .p1-review-next-slot label:nth-child(22),
.phase-one .p1-reviews:has(#p1-show-review-23:checked) .p1-review-next-slot label:nth-child(23),
.phase-one .p1-reviews:has(#p1-show-review-24:checked) .p1-review-next-slot label:nth-child(24),
.phase-one .p1-reviews:has(#p1-show-review-25:checked) .p1-review-next-slot label:nth-child(25),
.phase-one .p1-reviews:has(#p1-show-review-26:checked) .p1-review-next-slot label:nth-child(26),
.phase-one .p1-reviews:has(#p1-show-review-27:checked) .p1-review-next-slot label:nth-child(27),
.phase-one .p1-reviews:has(#p1-show-review-28:checked) .p1-review-next-slot label:nth-child(28),
.phase-one .p1-reviews:has(#p1-show-review-29:checked) .p1-review-next-slot label:nth-child(29),
 .phase-one .p1-reviews:has(#p1-show-review-30:checked) .p1-review-next-slot label:nth-child(30) { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .phase-one .p1-review-toolbar .p1-review-toggle, .phase-one .p1-review-toolbar .p1-review-play-static, .p1-review-stop { display: none; }
  .p1-reviews:not(:has(.p1-review-anchor:not(#p1-show-review-auto):checked)) .p1-review-next-slot label:first-child { visibility: visible; }
}

.p1-review-toolbar label:has(.p1-review-anchor) { position: relative; cursor: pointer; }
.p1-review-anchor { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

.phase-one .p1-reviews:has(.p1-review-anchor:not(#p1-show-review-auto):checked) .p1-review { animation: none; }
.phase-one .p1-reviews:not(:has(.p1-review-anchor:not(#p1-show-review-auto):checked)) .p1-review:first-child { /* initial state is handled by the base motion media rule */ }
.phase-one .p1-reviews:has(#p1-show-review-1:checked) #client-review-1 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-2:checked) #client-review-2 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-3:checked) #client-review-3 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-4:checked) #client-review-4 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-5:checked) #client-review-5 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-6:checked) #client-review-6 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-7:checked) #client-review-7 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-8:checked) #client-review-8 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-9:checked) #client-review-9 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-10:checked) #client-review-10 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-11:checked) #client-review-11 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-12:checked) #client-review-12 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-13:checked) #client-review-13 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-14:checked) #client-review-14 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-15:checked) #client-review-15 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-16:checked) #client-review-16 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-17:checked) #client-review-17 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-18:checked) #client-review-18 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-19:checked) #client-review-19 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-20:checked) #client-review-20 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-21:checked) #client-review-21 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-22:checked) #client-review-22 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-23:checked) #client-review-23 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-24:checked) #client-review-24 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-25:checked) #client-review-25 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-26:checked) #client-review-26 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-27:checked) #client-review-27 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-28:checked) #client-review-28 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-29:checked) #client-review-29 { visibility: visible; }
.phase-one .p1-reviews:has(#p1-show-review-30:checked) #client-review-30 { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .phase-one .p1-reviews:has(.p1-review-anchor:not(#p1-show-review-auto):checked) .p1-review:first-child { visibility: hidden; } .phase-one .p1-reviews:has(#p1-show-review-1:checked) .p1-review:first-child { visibility: visible; } }
@media (prefers-reduced-motion: no-preference) {
.phase-one .p1-reviews:has(#p1-show-review-1:checked) #client-review-1,.phase-one .p1-reviews:has(#p1-show-review-2:checked) #client-review-2,.phase-one .p1-reviews:has(#p1-show-review-3:checked) #client-review-3,.phase-one .p1-reviews:has(#p1-show-review-4:checked) #client-review-4,.phase-one .p1-reviews:has(#p1-show-review-5:checked) #client-review-5,.phase-one .p1-reviews:has(#p1-show-review-6:checked) #client-review-6,.phase-one .p1-reviews:has(#p1-show-review-7:checked) #client-review-7,.phase-one .p1-reviews:has(#p1-show-review-8:checked) #client-review-8,.phase-one .p1-reviews:has(#p1-show-review-9:checked) #client-review-9,.phase-one .p1-reviews:has(#p1-show-review-10:checked) #client-review-10,.phase-one .p1-reviews:has(#p1-show-review-11:checked) #client-review-11,.phase-one .p1-reviews:has(#p1-show-review-12:checked) #client-review-12,.phase-one .p1-reviews:has(#p1-show-review-13:checked) #client-review-13,.phase-one .p1-reviews:has(#p1-show-review-14:checked) #client-review-14,.phase-one .p1-reviews:has(#p1-show-review-15:checked) #client-review-15,.phase-one .p1-reviews:has(#p1-show-review-16:checked) #client-review-16,.phase-one .p1-reviews:has(#p1-show-review-17:checked) #client-review-17,.phase-one .p1-reviews:has(#p1-show-review-18:checked) #client-review-18,.phase-one .p1-reviews:has(#p1-show-review-19:checked) #client-review-19,.phase-one .p1-reviews:has(#p1-show-review-20:checked) #client-review-20,.phase-one .p1-reviews:has(#p1-show-review-21:checked) #client-review-21,.phase-one .p1-reviews:has(#p1-show-review-22:checked) #client-review-22,.phase-one .p1-reviews:has(#p1-show-review-23:checked) #client-review-23,.phase-one .p1-reviews:has(#p1-show-review-24:checked) #client-review-24,.phase-one .p1-reviews:has(#p1-show-review-25:checked) #client-review-25,.phase-one .p1-reviews:has(#p1-show-review-26:checked) #client-review-26,.phase-one .p1-reviews:has(#p1-show-review-27:checked) #client-review-27,.phase-one .p1-reviews:has(#p1-show-review-28:checked) #client-review-28,.phase-one .p1-reviews:has(#p1-show-review-29:checked) #client-review-29,.phase-one .p1-reviews:has(#p1-show-review-30:checked) #client-review-30 { animation: p1-review-manual-enter 400ms ease-out both; }
}
.phase-one .p1-review-toolbar :is(.p1-review-next-slot label,.p1-review-play-static) { position: relative; }
.phase-one .p1-quote-section { text-align: center; background: transparent; }
.phase-one .p1-quote-section .p1-section-head { margin: 0 auto 12px; }
.phase-one .p1-quote-section .p1-lede { margin: 0 auto; }
.phase-one .p1-quote-section .p1-actions { justify-content: center; margin-top: 20px; }
.phase-one .p1-quote-form { width: min(100%, 760px); margin: 24px auto 0; text-align: left; background: #edf2e9; padding: clamp(16px, 4vw, 34px); color: #293128; }
.phase-one .p1-quote-form .form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.phase-one .p1-quote-form .field { display: grid; gap: 6px; min-width: 0; margin-bottom: 15px; }
.phase-one .p1-quote-form :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 10px 11px; border: 1px solid #a4b19e; border-radius: 0; background: #fff; color: #293128; font: 400 16px/1.35 var(--p1-sans); }
.phase-one .p1-quote-form textarea { resize: vertical; }
.phase-one .p1-quote-form label { font: 650 15px/1.35 var(--p1-sans); }
.phase-one .p1-quote-form :is(.opt,.form-required-note,#p1-quote-preview-note,.p1-quote-handoff) { font: 400 14px/1.4 var(--p1-sans); color: #475343; }
.phase-one .p1-quote-form #p1-quote-preview-note { margin: 0 0 10px; }
.phase-one .p1-quote-form .form-required-note { margin: 0 0 15px; }
.phase-one .p1-quote-form .p1-quote-handoff { margin: 8px 0 0; text-align: center; }
@media (max-width: 580px) { .phase-one .p1-quote-form .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Edge-to-edge quote band; keep the form at its existing reading width. */
.phase-one #get-a-quote { width: 100%; max-width: none; margin-inline: 0; padding-inline: clamp(18px, 4vw, 52px); background: #edf2e9; }

/* Match the height of the native date, number and select controls to text inputs. */
.phase-one .p1-quote-form :is(input,select) { box-sizing: border-box; height: 46px; min-height: 46px; max-height: 46px; margin: 0; }
.phase-one .p1-quote-form input[type="date"]::-webkit-date-and-time-value { min-height: 0; text-align: left; }

/* Shared form grid: each pair lines up by label and by field edge. */
.phase-one .p1-quote-form .form-row { align-items: start; }
.phase-one .p1-quote-form .field { width: 100%; min-width: 0; box-sizing: border-box; align-content: start; padding: 0; }
.phase-one .p1-quote-form .field label { display: block; margin: 0; line-height: 21px; }
.phase-one .p1-quote-form .field :is(input,select,textarea) { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }
.phase-one .p1-quote-form input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.phase-one .p1-quote-form input[type="number"]::-webkit-inner-spin-button,
.phase-one .p1-quote-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 581px) {
    .phase-one .p1-quote-form .form-row { grid-template-rows: auto auto; column-gap: 16px; row-gap: 6px; }
    .phase-one .p1-quote-form .form-row .field { grid-row: span 2; grid-template-rows: subgrid; }
  }
}

.p1-home-footer { display: block; color: #505e46; padding-block: clamp(28px, 4vw, 50px) 28px; }
.p1-footer-main { display: flex; align-items: start; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; }
.p1-footer-location { display: grid; gap: 7px; }
.p1-home-footer .p1-footer-brand { display: inline-flex; align-items: center; justify-self: start; gap: 8px; font-size: 18px; padding-top: 0; font-weight: 650; text-decoration: none; }
.p1-home-footer address { font-weight: 400; }
.p1-footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.p1-home-footer small { display: block; padding-top: 14px; margin-top: 20px; border-top: 1px solid #dbe0d7; color: #525950; font-weight: 400; }

/* Keep the quote action at the right of the sticky home navigation. */
.p1-nav { position: sticky; top: 0; z-index: 12; background: #fff; }
.p1-nav .p1-header-quote { justify-self: end; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 7px clamp(9px, 1.3vw, 17px); color: #fff; background: #505e46; border: 1px solid #505e46; text-decoration: none; font: 650 14px/1.2 var(--p1-sans); white-space: nowrap; }
.p1-nav .p1-header-quote:hover { background: #3d4a35; border-color: #3d4a35; }
.p1-nav .p1-links a:nth-child(1) { color: #3d5037; }
.p1-nav .p1-links a:nth-child(2) { color: #536145; }
.p1-nav .p1-links a:nth-child(3) { color: #626b4f; }
@media (min-width: 761px) {
  .p1-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr); }
  .p1-nav .p1-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
  .p1-nav .p1-links a { text-align: center; white-space: normal; min-width: 0; }
}
@media (max-width: 760px) {
  .p1-nav { display: grid; grid-template-columns: minmax(0,1fr) auto auto; column-gap: clamp(4px,2vw,14px); }
  .p1-nav .p1-logo { min-width: 0; font-size: clamp(17px,5vw,22px); }
  .p1-nav .p1-logo img { width: clamp(26px,8vw,35px); height: auto; }
  .p1-nav .p1-menu { grid-row: 1; grid-column: 2; min-width: 50px; padding-inline: 6px; }
  .p1-nav .p1-header-quote { grid-row: 1; grid-column: 3; font-size: 13px; }
  .p1-nav .p1-links { grid-row: 2; grid-column: 1 / -1; }
}

/* Use the whole space between the actual logo and quote button, not weighted side columns. */
@media (min-width: 761px) {
  .p1-nav { grid-template-columns: max-content minmax(0,1fr) max-content; column-gap: clamp(13px, 2vw, 30px); }
  .p1-nav .p1-logo { justify-self: start; }
  .p1-nav .p1-links { width: 100%; min-width: 0; }
}

/* Focus the portrait hero on the team and decorated service counter. */
.phase-one .p1-hero-media img[src*="mobile-matcha-bar-"] { object-position: center 52%; }
@media (min-width: 1600px) { .phase-one .p1-hero-media img[src*="mobile-matcha-bar-"] { object-position: center 55%; } }
@media (max-width: 760px) { .phase-one .p1-hero-media img[src*="mobile-matcha-bar-"] { object-position: center 54%; } }
/* Use the face-free cart crop and keep the sign above the flowers in frame. */
.phase-one .p1-hero-media img[src*="mobile-matcha-cart-"] { object-position: center 7%; }

/* Present every pixel of the original portrait in the full-width hero band. */
.phase-one .p1-hero-media:has(img[src*="mobile-matcha-full-original"]) { background: #f4f3f0; }
.phase-one .p1-hero-media img[src*="mobile-matcha-full-original"] { display: block; margin-inline: auto; width: 100%; height: clamp(580px,79svh,825px); object-fit: contain; object-position: center; }
@media (max-width: 620px) { .phase-one .p1-hero-media img[src*="mobile-matcha-full-original"] { height: auto; } }

/* Fit the deliberate worktop-and-cart crop without cropping either side. */
.phase-one .p1-hero-media:has(img[src*="mobile-matcha-action-cart"]) { background: #f4f3f0; }
.phase-one .p1-hero-media img[src*="mobile-matcha-action-cart"] { display: block; width: 100%; height: min(70svh,750px); object-fit: contain; object-position: center; }
@media (max-width: 620px) { .phase-one .p1-hero-media img[src*="mobile-matcha-action-cart"] { height: auto; } }

/* Let the selected cart photo itself run edge to edge at its natural ratio. */
.phase-one .p1-hero-media img[src*="mobile-matcha-action-cart"] { width: 100%; max-width: none; height: auto; max-height: none; }
.phase-one .p1-quote-form #home-quote-phone-help { font: 400 13px/1.4 var(--p1-sans); color: #475343; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 581px) {
    .phase-one .p1-quote-form .form-row:has(#home-quote-phone) { grid-template-rows: auto auto auto; }
    .phase-one .p1-quote-form .form-row:has(#home-quote-phone) .field { grid-row: span 3; }
  }
}

/* Desktop: the service links and quote button share four equal slots on the right. */
@media (min-width: 1100px) {
  .p1-nav { grid-template-columns: minmax(0,1fr) 37.5vw 12.5vw; column-gap: 0; }
}

@font-face {font-family:"Cormorant Garamond"; font-style:italic; font-weight:400; font-display:swap; src:url("./assets/testimonial-fonts/cormorant-garamond-italic.woff2") format("woff2");}
@font-face {font-family:"EB Garamond"; font-style:italic; font-weight:400; font-display:swap; src:url("./assets/testimonial-fonts/eb-garamond-italic.woff2") format("woff2");}
@font-face {font-family:"EB Garamond"; font-style:normal; font-weight:400; font-display:swap; src:url("./assets/testimonial-fonts/eb-garamond-normal.woff2") format("woff2");}
@font-face {font-family:"Lora"; font-style:italic; font-weight:400; font-display:swap; src:url("./assets/testimonial-fonts/lora-italic.woff2") format("woff2");}
@font-face {font-family:"Playfair Display"; font-style:italic; font-weight:400; font-display:swap; src:url("./assets/testimonial-fonts/playfair-display-italic.woff2") format("woff2");}

/* Testimonial type roles: base, lead, long, and one accent. */
.phase-one .p1-review blockquote { font: normal 400 clamp(20px, 3vw, 22px)/1.4 "EB Garamond", Georgia, serif; font-synthesis: none; letter-spacing: normal; }
.phase-one .p1-review:nth-child(even) blockquote { font-style: italic; }
.phase-one #client-review-1 blockquote { font: italic 400 clamp(24px, 3vw, 30px)/1.3 "Cormorant Garamond", Georgia, serif; }
.phase-one :is(#client-review-3,#client-review-4,#client-review-8,#client-review-12,#client-review-14,#client-review-15) blockquote { font: italic 400 clamp(18px, 2.75vw, 19px)/1.45 "Lora", Georgia, serif; }
.phase-one #client-review-5 blockquote { font: italic 400 clamp(24px, 3vw, 26px)/1.3 "Playfair Display", Georgia, serif; }
