/* The six demo sites: fictional businesses, each in its own look. Laid out at a 1200px virtual width
   and scaled into the frames; container queries give the loupe a phone layout. Home page only. */

.mini { display: block; container-type: inline-size; font-size: 16px; line-height: 1.5; color: var(--m-ink); background: var(--m-bg); text-align: left; letter-spacing: 0; }
.mini * { box-sizing: border-box; }
.mini .m-copy, .mini .m-h, .mini .m-p, .mini .m-strip > span, .mini .m-strip b { display: block; }
.m-nav { display: flex; align-items: center; gap: 28px; padding: 22px 48px; }
.m-brand { font-size: 22px; margin-right: auto; }
.m-links { display: flex; gap: 26px; font-size: 15px; opacity: .8; }
.m-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 48px 56px; }
.m-h { font-size: 76px; line-height: .98; margin: 0 0 20px; }
.m-p { font-size: 19px; margin: 0 0 28px; max-width: 30ch; opacity: .85; }
.m-p:last-child { margin-bottom: 0; }
.mini .nw { white-space: nowrap; }
.m-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.m-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 48px 44px; }
.m-strip b { display: block; font-size: 19px; margin-bottom: 4px; }
.m-strip > span > span { font-size: 15px; opacity: .75; }
/* Below the fold: a short full page for the loupe. The thumbnails stop at the footer. */
.frame .m-sec { display: none; }
.m-sec { display: block; padding: 88px 48px; }
.m-t { display: block; font-size: 52px; line-height: 1.05; margin: 0 0 28px; }
.m-sec img { display: block; width: 100%; height: auto; object-fit: cover; }
.m-lead { display: block; font-size: 18px; max-width: 60ch; opacity: .85; margin: 0 0 24px; }
.m-lead:last-child { margin-bottom: 0; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.m-grid > span, .m-grid b, .m-grid i { display: block; }
.m-grid b { font-size: 19px; margin-bottom: 6px; }
.m-grid i { font-style: normal; font-size: 15px; opacity: .8; }
.m-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dotted color-mix(in srgb, var(--m-ink) 32%, transparent); font-size: 17px; }
.m-row em { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-foot { padding: 18px 48px; font-size: 14px; display: flex; justify-content: space-between; }
@container (max-width: 700px) {
  .m-nav { padding: 16px 20px; gap: 14px; }
  .m-links { display: none; }
  .m-hero { grid-template-columns: 1fr; padding: 8px 20px 32px; gap: 24px; }
  .m-h { font-size: 44px; }
  .m-p { font-size: 17px; }
  .m-hero img { order: -1; aspect-ratio: 3 / 2; }
  .m-strip { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .m-foot { padding: 16px 20px; flex-direction: column; gap: 4px; }
  .m-sec { padding: 40px 20px; }
  .m-t { font-size: 34px; margin-bottom: 20px; }
  .m-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* 1. Bakery: warm stone, a high-contrast italic serif */
.d-bakery { --m-bg: #F2EADC; --m-ink: #3A2A1D; font-family: 'Hanken Grotesk', sans-serif; }
.d-bakery .m-brand, .d-bakery .m-h { font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 500; }
.d-bakery .m-h { font-weight: 400; letter-spacing: -.02em; }
.d-bakery .m-strip { border-top: 1px solid rgba(58, 42, 29, .25); }
.d-bakery .m-strip b { font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 500; font-size: 22px; }
.d-bakery .m-strip > span > span { display: block; max-width: 34ch; }
.d-bakery .m-strip small { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.d-bakery .m-hero img { aspect-ratio: 3 / 2; }
.d-bakery .m-p { max-width: 40ch; margin-bottom: 0; }
.b-hmeta span + span::before { content: " · "; }
.b-hmeta { display: block; max-width: 426px; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(58, 42, 29, .25); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.d-bakery .m-t { font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.d-bakery .m-foot { background: #3A2A1D; color: #F2EADC; }

/* 2. Garage: black, safety yellow, condensed caps, a checker band */
.d-garage { --m-bg: #111111; --m-ink: #F4F4F0; font-family: 'Hanken Grotesk', sans-serif; }
.d-garage .m-brand, .d-garage .m-h, .d-garage .m-strip b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.d-garage .m-brand { font-size: 28px; color: #FFD100; }
.d-garage .m-h { font-size: 92px; line-height: .88; }
.d-garage .m-h em { font-style: normal; color: #FFD100; }
.d-garage .m-strip { background: repeating-linear-gradient(90deg, #111 0 12px, #FFD100 0 24px) 0 0 / 100% 12px no-repeat, #111; padding: 12px 0 0; gap: 0; }
.d-garage .m-strip > span { background: #111; padding: 22px 48px 26px; }
.d-garage .m-strip b { font-size: 28px; }
.d-garage .m-p { max-width: 34ch; }
.d-garage .m-t { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 56px; color: #FFD100; }
.d-garage .m-grid b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 26px; }
.d-garage .m-foot { color: #FFD100; border-top: 1px solid #333; }
@container (max-width: 700px) { .d-garage .m-h { font-size: 56px; } .d-garage .m-strip > span { padding: 16px 20px; } .d-garage .m-t { font-size: 40px; } }

/* 3. Law office: navy and ivory, engraved serif caps, a gold rule */
.d-law { --m-bg: #F5F1E8; --m-ink: #14213D; font-family: 'Hanken Grotesk', sans-serif; }
.d-law .m-nav { background: #14213D; color: #F5F1E8; }
.d-law .m-brand { font-family: 'Gloock', serif; letter-spacing: .08em; text-transform: uppercase; font-size: 20px; }
.d-law .m-brand small { display: block; font: 400 11px/1.4 'Hanken Grotesk', sans-serif; letter-spacing: .24em; color: #B89B5E; }
.d-law .m-h { font-family: 'Gloock', serif; font-weight: 400; font-size: 64px; line-height: 1.05; }
.d-law .m-h::after { content: ""; display: block; width: 72px; height: 2px; background: #B89B5E; margin-top: 24px; }
.d-law .m-strip b { font-family: 'Gloock', serif; font-weight: 400; }
.d-law .m-strip > span { border-left: 2px solid #B89B5E; padding-left: 18px; }
.d-law .m-t { font-family: 'Gloock', serif; font-weight: 400; }
.d-law .m-foot { border-top: 1px solid rgba(20, 33, 61, .2); }
.d-law .m-p { max-width: 40ch; margin-bottom: 0; }
.d-law .m-hero img { aspect-ratio: 3 / 2; }
.d-law .m-h { text-wrap: balance; }
.d-law .m-strip > span > span { max-width: 44ch; }
.d-law .m-p, .l-area i { text-wrap: pretty; }
.d-law .m-foot span { text-wrap: balance; }
@container (max-width: 700px) { .d-law .m-h { font-size: 40px; } .d-law .m-hero { padding-top: 20px; } }

/* 4. Landscaper: full-bleed photo, a rounded friendly face, lime on deep green */
.d-land { --m-bg: #1E4D2B; --m-ink: #F4F8EC; font-family: 'Fredoka', sans-serif; }
.d-land .m-brand { font-weight: 600; font-size: 24px; }
.d-land .m-hero { position: relative; display: block; padding: 0; }
.d-land .m-hero img { aspect-ratio: 12 / 5.2; border-radius: 0; }
.d-land .m-copy { position: absolute; left: 48px; bottom: 44px; width: 380px; padding: 32px 36px 34px; background: #F4F8EC; color: #1E4D2B; border-radius: 28px; }
.d-land .m-h { font-weight: 600; font-size: 64px; line-height: 1; }
.d-land .m-p { max-width: none; margin: 0; }
.d-land .m-strip { padding: 40px 48px 0; gap: 24px; }
.d-land .m-strip > span { border-top: 2px solid #C9E265; padding-top: 18px; }
.d-land .m-strip > span > span { font-size: 16px; line-height: 1.55; opacity: .85; max-width: 32ch; }
.d-land .m-strip b { font-weight: 600; color: #C9E265; }
.d-land .m-t { font-weight: 600; font-size: 44px; color: #C9E265; }
.d-land .n-work { padding-top: 80px; }
.d-land .m-foot { background: #163A20; }
@container (max-width: 700px) {
  .d-land .m-hero img { aspect-ratio: 4 / 3; }
  .d-land .m-copy { position: relative; inset: auto; width: auto; margin: -40px 20px 0; padding: 24px; }
  .d-land .m-h { font-size: 40px; }
  .d-land .m-strip { padding: 28px 20px 0; gap: 20px; }
  .d-land .n-work { padding-top: 48px; }
  .d-land .m-t { font-size: 32px; }
}

/* 5. Yoga studio: sage and clay, thin type, a lot of air */
.d-yoga { --m-bg: #E7ECE4; --m-ink: #2E3A30; font-family: 'Hanken Grotesk', sans-serif; font-weight: 300; }
.d-yoga .m-brand { font-weight: 200; font-size: 26px; letter-spacing: .02em; }
.d-yoga .m-hero { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 72px; padding-bottom: 72px; }
.d-yoga .m-p { max-width: 34ch; }
.d-yoga .m-h { font-weight: 200; font-size: 84px; letter-spacing: -.035em; }
.d-yoga .m-hero img { border-radius: 400px 400px 0 0; aspect-ratio: 1 / 1; object-position: 0% 50%; }
.d-yoga .m-strip { grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 0 48px; padding: 40px 0 8px; border-top: 1px solid rgba(46, 58, 48, .18); }
.d-yoga .m-strip b { font-weight: 400; font-size: 20px; color: #9A5536; margin-bottom: 8px; }
.d-yoga .m-strip > span > span { display: block; text-wrap: pretty; font-size: 16px; line-height: 1.55; font-weight: 400; opacity: 1; color: #4A574C; }
.d-yoga .m-t { font-weight: 200; font-size: 52px; letter-spacing: -.03em; }
.d-yoga .m-foot { color: #4A574C; margin: 0 48px; padding: 20px 0 28px; border-top: 1px solid rgba(46, 58, 48, .18); }
.d-yoga .m-sec { padding-top: 64px; padding-bottom: 64px; }
.y-info { display: block; margin-top: 8px; font-size: 16px; font-weight: 400; }
.y-info > span { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; padding: 11px 0; border-top: 1px solid rgba(46, 58, 48, .18); }
.y-info b { font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9A5536; }
@container (max-width: 700px) { .d-yoga .m-h { font-size: 46px; } .d-yoga .m-hero { grid-template-columns: 1fr; padding-top: 12px; padding-bottom: 32px; } .d-yoga .m-hero img { aspect-ratio: 4 / 3; } .d-yoga .m-strip { grid-template-columns: 1fr; gap: 20px; margin: 0 20px; padding: 24px 0 0; } .d-yoga .m-hero { gap: 24px; } .d-yoga .m-hero img { aspect-ratio: 1 / 1; } .d-yoga .m-t { font-size: 36px; } .d-yoga .m-foot { margin: 0 20px; padding: 16px 0 20px; } .y-sep { display: none; } .d-yoga .m-foot .nw { display: block; } .d-yoga .m-sec { padding-top: 40px; padding-bottom: 40px; } }

/* 6. Dog groomer: bright blue and orange, a loud script, rounded everything */
.d-dog { --m-bg: #FFF9F0; --m-ink: #1A2B6B; font-family: 'Fredoka', sans-serif; }
.d-dog .m-nav { background: #2D66F5; color: #fff; }
.d-dog .m-brand { font-family: 'Shrikhand', serif; font-size: 26px; }
.d-dog .m-h { font-family: 'Shrikhand', serif; font-weight: 400; font-size: 72px; line-height: 1; color: #2D66F5; }
.d-dog .m-hero img { border-radius: 32px; border: 6px solid #fff; box-shadow: 0 16px 40px -16px rgba(26, 43, 107, .35); }
.d-dog .m-strip > span { background: #fff; border-radius: 22px; padding: 20px 22px; }
.d-dog .m-strip b { color: #2D66F5; }
.d-dog .m-strip > span > span { display: block; text-wrap: pretty; font-size: 16px; opacity: .8; }
.d-dog .m-links { opacity: 1; }
.d-dog .m-p { max-width: 34ch; }
.p-when { display: block; margin-top: 22px; padding-left: 14px; border-left: 4px solid #FF8A3D; font-size: 17px; font-weight: 500; }
.d-dog .m-t { font-family: 'Shrikhand', serif; font-weight: 400; color: #2D66F5; }
.d-dog .m-foot { background: #1A2B6B; color: #fff; }
@container (max-width: 700px) { .d-dog .m-h { font-size: 44px; } }

/* ---------- Lower halves: each sample its own structure ---------- */

/* Bakery: a photo story, a receipt laid over the case, a sign for the hours */
.b-story { text-align: center; padding-top: 56px; }
.b-story img { height: 420px; object-position: 50% 70%; margin-bottom: 40px; }
.b-story .m-lead { margin-inline: auto; max-width: 52ch; }
.b-case { display: grid; grid-template-columns: 560px 1fr; align-items: center; padding-top: 24px; }
.b-case .b-photo { width: 560px; aspect-ratio: 4 / 5; }
.b-receipt { display: block; position: relative; z-index: 1; margin-left: -72px; max-width: 600px; padding: 36px 40px 56px; background: #FBF6EC; box-shadow: 0 22px 44px -22px rgba(58, 42, 29, .5); transform: rotate(-1deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; }
.b-rh { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.b-receipt .m-row { border-bottom-color: rgba(58, 42, 29, .3); }
.b-rf { display: block; margin-top: 22px; text-align: center; font: italic 500 22px/1.2 'Bodoni Moda', serif; }
.b-visit { text-align: center; padding-top: 48px; padding-bottom: 72px; }
.b-kick { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.b-sign { display: block; margin-bottom: 16px; font: italic 400 48px/1.1 'Bodoni Moda', serif; letter-spacing: -.01em; }
.b-addr { display: block; font-size: 17px; opacity: .85; }
.b-addr b { font-weight: 600; white-space: nowrap; }
@container (max-width: 700px) {
  .b-story img { height: auto; aspect-ratio: 3 / 2; margin-bottom: 28px; }
  .b-case { grid-template-columns: 1fr; }
  .b-case .b-photo { width: 100%; aspect-ratio: 1; }
  .b-hmeta span { display: block; }
  .b-hmeta span + span::before { content: none; }
  .b-receipt { margin: -40px 12px 0; transform: none; padding: 28px 24px 48px; }
  .b-sign { font-size: 32px; }
  .b-story { text-align: left; }
  .b-story .m-lead { margin-inline: 0; }
}

/* Garage: numbered promises, a price board beside the work, the shop at dusk */
.g-num { display: block; margin-bottom: 8px; font: 900 64px/1 'Big Shoulders Display', sans-serif; font-style: normal; color: #FFD100; }
.g-why .m-grid b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 28px; }
.g-cost { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: stretch; padding-top: 0; }
.g-board { display: block; position: relative; padding: 48px 40px 36px; background: #1C1C1C; }
.g-board::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, #111 0 10px, #FFD100 0 20px); }
.g-note { display: block; margin-bottom: 18px; font-size: 16px; opacity: .8; max-width: 56ch; }
.g-board .m-row { align-items: baseline; padding: 14px 0; border-bottom: 1px solid #333; font: 700 22px/1.1 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.g-board .m-row em { font: 900 40px/1 'Big Shoulders Display', sans-serif; color: #FFD100; }
.g-board .m-row small { margin-right: 6px; font-size: 16px; letter-spacing: .06em; opacity: .8; }
.g-cost .g-photo { height: 100%; aspect-ratio: 1; }
.g-hours { position: relative; padding: 0; }
.g-hours img { height: 480px; object-position: 50% 0; }
.g-over { position: absolute; inset: -1px 0 0; display: flex; flex-direction: column; justify-content: center; padding: 0 48px; background: linear-gradient(90deg, #111 0%, rgba(17, 17, 17, .88) 34%, rgba(17, 17, 17, 0) 68%); }
.g-open { display: block; font: 900 88px/.9 'Big Shoulders Display', sans-serif; text-transform: uppercase; }
.g-time { display: block; margin: 16px 0 18px; max-width: 26ch; font-size: 20px; }
.g-addr { display: block; margin: -6px 0 18px; font-size: 17px; opacity: .75; }
.g-call { display: block; font: 900 44px/1 'Big Shoulders Display', sans-serif; color: #FFD100; }
@container (max-width: 700px) {
  .g-num { font-size: 44px; margin-bottom: 4px; }
  .g-cost { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .g-board { padding: 36px 20px 24px; }
  .g-board .m-row { font-size: 17px; }
  .g-board .m-row em { font-size: 28px; }
  .g-cost .g-photo { height: auto; aspect-ratio: 3 / 2; }
  .g-hours img { height: auto; aspect-ratio: 3 / 2; }
  .g-over { position: static; padding: 28px 20px 36px; background: #111; }
  .g-open { font-size: 44px; }
  .g-call { font-size: 34px; }
}

/* Law office: a tall desk beside the practice, two attorneys, the office in navy */
.l-help { display: grid; grid-template-columns: 440px 1fr; gap: 88px; align-items: center; }
.l-help .l-desk { width: 440px; aspect-ratio: 4 / 5; }
.l-areas { display: block; }
.l-area { display: block; position: relative; padding: 22px 0; border-top: 1px solid rgba(184, 155, 94, .55); }
.l-area em { position: absolute; left: -48px; top: 26px; width: 32px; text-align: right; font: 400 20px/1 'Gloock', serif; font-style: normal; color: #7A6230; }
.l-area b { display: block; margin-bottom: 6px; font: 400 26px/1.2 'Gloock', serif; }
.l-area i { display: block; max-width: 46ch; font-style: normal; font-size: 16px; opacity: .8; }
.l-people { padding-top: 24px; }
.l-two { display: grid; grid-template-columns: 1fr 1fr; }
.l-two > span { display: grid; grid-template-columns: 200px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 32px; padding: 0 48px; }
.l-two > span:last-child { padding-right: 0; }
.l-two img { grid-row: 1 / 5; width: 200px; aspect-ratio: 4 / 5; }
.l-two b, .l-two small, .l-two i, .l-two em { grid-column: 2; }
.l-two > span:first-child { padding-left: 0; border-right: 1px solid #B89B5E; }
.l-two b { display: block; margin-top: -6px; font: 400 34px/1.1 'Gloock', serif; }
.l-two small { display: block; text-wrap: balance; margin: 10px 0 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #7A6230; }
.l-two i { display: block; font-style: normal; font-size: 16px; opacity: .85; }
.l-two em { display: block; margin-top: 14px; font-style: normal; font-size: 15px; font-variant-numeric: tabular-nums; opacity: .75; }
.l-office { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: #14213D; color: #F5F1E8; }
.l-frame { display: block; position: relative; }
.l-frame img { aspect-ratio: 3 / 2; }
.l-frame::after { content: ""; position: absolute; inset: 12px; outline: 1px solid #B89B5E; pointer-events: none; }
.l-info { display: block; }
.l-big { display: block; margin-bottom: 18px; font: 400 30px/1.3 'Gloock', serif; }
.l-hours { display: block; font-size: 16px; opacity: .85; }
.l-free { display: block; margin-top: 18px; font-size: 16px; color: #D9C08A; }
.d-law .m-foot { background: #14213D; color: #F5F1E8; border-top: 1px solid rgba(184, 155, 94, .3); }
@container (max-width: 700px) {
  .l-help { grid-template-columns: 1fr; gap: 28px; }
  .l-help .l-desk { width: 100%; aspect-ratio: 1 / 1; object-position: 50% 60%; }
  .l-area { padding-left: 36px; }
  .l-area em { left: 0; text-align: left; }
  .l-two { grid-template-columns: 1fr; }
  .l-two > span, .l-two > span:first-child, .l-two > span:last-child { grid-template-columns: 104px 1fr; grid-template-rows: 1fr 1fr auto auto; column-gap: 16px; padding: 0 0 24px; border-right: 0; }
  .l-two img { grid-row: 1 / 3; width: 104px; }
  .l-two b { align-self: end; margin: 0; font-size: 26px; }
  .l-two small { align-self: start; margin: 8px 0 0; }
  .l-two i, .l-two em { grid-column: 1 / -1; }
  .l-two i { margin-top: 16px; }
  .l-two > span:first-child { margin-bottom: 24px; border-bottom: 1px solid #B89B5E; }
  .l-office { grid-template-columns: 1fr; gap: 28px; }
  .l-big { font-size: 24px; }
}

/* Landscaper: a mosaic of recent work, a timeline, a lime call band */
.n-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; height: 460px; }
.n-big { grid-column: span 2; }
.n-tile { display: block; position: relative; overflow: hidden; border-radius: 28px; }
.n-tile img { height: 100%; }
.n-tile small { position: absolute; left: 18px; bottom: 18px; padding: 8px 16px; border-radius: 999px; background: #F4F8EC; color: #1E4D2B; font-size: 14px; font-weight: 600; }
.n-steps { padding-top: 24px; }
.n-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.n-line::before { content: ""; position: absolute; left: 22px; right: calc(33.333% - 38px); top: 21px; height: 2px; background: #C9E265; }
.n-line > span { display: block; position: relative; }
.n-line em { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: #C9E265; color: #1E4D2B; font-style: normal; font-weight: 600; font-size: 18px; }
.n-line b { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 600; }
.n-line i { display: block; font-style: normal; font-size: 16px; line-height: 1.55; max-width: 32ch; opacity: .85; }
.n-call { background: #C9E265; color: #1E4D2B; text-align: center; padding: 72px 48px; }
.n-k { display: block; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.n-num { display: block; margin: 10px 0; font: 600 64px/1.1 'Fredoka', sans-serif; }
.n-sub { display: block; font-size: 17px; }
.n-sub { text-wrap: balance; }
@container (max-width: 700px) {
  .n-mosaic { grid-template-columns: 1fr; height: auto; }
  .n-big { grid-column: auto; }
  .n-big img { aspect-ratio: 3 / 2; }
  .n-tile:not(.n-big) img { aspect-ratio: 4 / 3; }
  .n-line { grid-template-columns: 1fr; gap: 24px; }
  .n-line::before { display: none; }
  .n-line > span:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: -24px; width: 2px; background: #C9E265; }
  .n-line > span { padding-left: 64px; }
  .n-line em { position: absolute; left: 0; top: 0; }
  .n-call { padding: 40px 20px; }
  .n-num { font-size: 40px; }
}

/* Yoga: a timetable under a pill of the room, big thin prices, the props in the hero's arch */
.y-week .y-pill { height: 340px; margin-bottom: 44px; border-radius: 999px; object-position: 50% 72%; }
.y-table { display: grid; grid-template-columns: 110px repeat(6, 1fr); grid-template-rows: 40px repeat(3, minmax(92px, auto)); }
.y-h { grid-row: 1 / 5; display: block; padding: 0 12px; border-left: 1px solid rgba(46, 58, 48, .18); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.y-rl { grid-column: 1; display: block; align-self: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.y-mon { grid-column: 2; } .y-tue { grid-column: 3; } .y-wed { grid-column: 4; } .y-thu { grid-column: 5; } .y-fri { grid-column: 6; } .y-sat { grid-column: 7; }
.y-am { grid-row: 2; } .y-mid { grid-row: 3; } .y-pm { grid-row: 4; }
.y-c { display: block; align-self: center; margin: 6px 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .6); }
.y-c b { display: none; }
.y-c em { display: block; font: 200 26px/1 'Hanken Grotesk', sans-serif; font-style: normal; letter-spacing: -.02em; }
.y-c i { display: block; margin-top: 4px; font-style: normal; font-size: 15px; color: #9A5536; }
.y-figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.y-figs > span { display: block; }
.y-figs em { display: block; font: 200 80px/1 'Hanken Grotesk', sans-serif; font-style: normal; letter-spacing: -.035em; }
.y-figs .y-free { color: #B86B4B; }
.y-figs i { display: block; margin-top: 10px; font-style: normal; font-size: 15px; font-weight: 400; color: #4A574C; }
.y-note { margin-top: 36px; font-size: 16px; max-width: none; }
.y-new { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.y-new .y-arch { width: 420px; aspect-ratio: 1 / 1; object-position: 50% 60%; border-radius: 400px 400px 0 0; }
.y-new .m-lead { font-size: 20px; margin-bottom: 20px; }
@container (max-width: 700px) {
  .y-week .y-pill { height: 180px; margin-bottom: 24px; }
  .y-table { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .y-h, .y-rl { display: none; }
  .y-c { grid-column: auto; grid-row: auto; margin: 0; display: grid; grid-template-columns: 104px 76px 1fr; align-items: baseline; }
  .y-c.y-am em::after { content: " am"; font-size: 13px; }
  .y-c.y-pm em::after { content: " pm"; font-size: 13px; }
  .y-c.y-mon + .y-c.y-mon b, .y-c.y-tue + .y-c.y-tue b, .y-c.y-wed + .y-c.y-wed b, .y-c.y-thu + .y-c.y-thu b, .y-c.y-fri + .y-c.y-fri b { visibility: hidden; }
  .y-new .y-info > span { grid-template-columns: 1fr; row-gap: 2px; }
  .y-c b { display: block; font-weight: 400; font-size: 15px; }
  .y-c em { font-size: 22px; }
  .y-c i { margin: 0; }
  .y-figs { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .y-figs em { font-size: 48px; }
  .y-new { grid-template-columns: 1fr; gap: 28px; }
  .y-new .y-arch { width: 100%; max-width: 320px; }
}

/* Dog groomer: tilted snapshots beside the groomers, a price chart by size, a blue question band */
.p-team { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.p-snaps { display: block; position: relative; height: 580px; }
.p-snaps img { position: absolute; border: 10px solid #fff; border-radius: 6px; box-shadow: 0 16px 40px -16px rgba(26, 43, 107, .35); }
.p-snaps .p-towel { left: 16px; top: 12px; width: 330px; aspect-ratio: 4 / 5; transform: rotate(-4deg); }
.p-snaps .p-paw { left: 150px; top: 320px; width: 360px; aspect-ratio: 3 / 2; transform: rotate(3deg); }
.p-people { display: block; }
.p-who { display: block; margin-bottom: 24px; }
.p-who b { display: block; font: 400 32px/1.1 'Shrikhand', serif; color: #2D66F5; }
.p-who i { text-wrap: pretty; display: block; margin-top: 6px; font-style: normal; font-size: 17px; }
.p-prices { padding-top: 24px; }
.p-chart { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); align-items: end; }
.p-chart > * { display: block; padding: 16px 0; border-bottom: 2px dotted rgba(26, 43, 107, .2); }
.p-hd { text-align: center; font-size: 16px; font-weight: 600; }
.p-hd small { display: block; font-size: 13px; font-weight: 400; opacity: .7; }
.p-svc { font-size: 19px; font-weight: 500; }
.p-chart em { text-align: center; font: 400 30px/1 'Shrikhand', serif; font-style: normal; color: #2D66F5; }
.p-extras { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 36px; margin-top: 28px; padding: 18px 26px; background: #FFE9D8; border-radius: 22px; }
.p-extras b { font-weight: 600; }
.p-extras > span { display: block; font-size: 17px; font-weight: 500; }
.p-faq { background: #2D66F5; color: #fff; }
.p-faq .m-t { color: #fff; }
.p-faq .m-grid b { font-size: 20px; }
.p-faq .m-grid i { opacity: 1; text-wrap: pretty; }
@container (max-width: 700px) {
  .p-team { grid-template-columns: 1fr; gap: 12px; }
  .p-snaps { height: 390px; }
  .p-snaps .p-towel { left: 10px; top: 10px; width: 200px; }
  .p-snaps .p-paw { left: auto; right: 8px; top: 230px; width: 200px; }
  .p-chart { grid-template-columns: 1fr repeat(3, 64px); }
  .p-extras { flex-direction: column; gap: 6px; padding: 16px 22px; }
  .p-svc { font-size: 16px; }
  .p-hd { font-size: 13px; }
  .p-hd small { display: block; font-size: 11px; white-space: nowrap; }
  .p-chart em { font-size: 20px; }
}
