/* 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-cta, .m-btn { display: inline-flex; align-items: center; padding: 12px 22px; font-size: 15px; font-weight: 600; }
.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-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 { font-size: 15px; opacity: .75; }
.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; }
}

/* 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-cta { border: 1px solid #3A2A1D; }
.d-bakery .m-btn { background: #3A2A1D; color: #F2EADC; }
.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-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-cta, .d-garage .m-btn { background: #FFD100; color: #111; text-transform: uppercase; letter-spacing: .06em; }
.d-garage .m-strip { background: repeating-conic-gradient(#FFD100 0 25%, #111 0 50%) 0 0 / 24px 24px; padding: 12px 0 0; gap: 0; }
.d-garage .m-strip > div { background: #111; padding: 22px 48px 26px; }
.d-garage .m-strip b { font-size: 28px; }
.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 > div { padding: 16px 20px; } }

/* 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-cta { border: 1px solid #B89B5E; color: #F5F1E8; }
.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-btn { background: #14213D; color: #F5F1E8; }
.d-law .m-strip b { font-family: 'Gloock', serif; font-weight: 400; }
.d-law .m-strip > div { border-left: 2px solid #B89B5E; padding-left: 18px; }
.d-law .m-foot { border-top: 1px solid rgba(20, 33, 61, .2); }
@container (max-width: 700px) { .d-law .m-h { font-size: 40px; } }

/* 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-cta { background: #C9E265; color: #1E4D2B; border-radius: 999px; }
.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; max-width: 560px; padding: 30px 34px; background: #F4F8EC; color: #1E4D2B; border-radius: 28px; }
.d-land .m-h { font-weight: 600; font-size: 60px; line-height: 1; }
.d-land .m-p { margin-bottom: 20px; }
.d-land .m-btn { background: #1E4D2B; color: #F4F8EC; border-radius: 999px; }
.d-land .m-strip b { font-weight: 600; color: #C9E265; }
.d-land .m-foot { background: #163A20; }
@container (max-width: 700px) {
  .d-land .m-hero img { aspect-ratio: 4 / 3; }
  .d-land .m-copy { position: static; margin: -40px 16px 0; padding: 22px; max-width: none; position: relative; }
  .d-land .m-h { font-size: 38px; }
}

/* 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-cta { color: #B86B4B; font-weight: 400; padding: 0; }
.d-yoga .m-hero { grid-template-columns: .9fr 1.1fr; padding-top: 72px; padding-bottom: 72px; }
.d-yoga .m-h { font-weight: 200; font-size: 84px; letter-spacing: -.035em; }
.d-yoga .m-btn { border: 1px solid #B86B4B; color: #B86B4B; font-weight: 400; border-radius: 999px; }
.d-yoga .m-hero img { border-radius: 400px 400px 0 0; aspect-ratio: 5 / 6; }
.d-yoga .m-strip { grid-template-columns: repeat(4, 1fr); }
.d-yoga .m-strip b { font-weight: 300; font-size: 17px; color: #B86B4B; }
.d-yoga .m-foot { opacity: .7; }
@container (max-width: 700px) { .d-yoga .m-h { font-size: 46px; } .d-yoga .m-hero { padding-top: 12px; padding-bottom: 32px; } .d-yoga .m-hero img { aspect-ratio: 4 / 3; } .d-yoga .m-strip { grid-template-columns: 1fr 1fr; } }

/* 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: #2F6BFF; color: #fff; }
.d-dog .m-brand { font-family: 'Shrikhand', serif; font-size: 26px; }
.d-dog .m-cta { background: #FF8A1F; color: #fff; border-radius: 999px; }
.d-dog .m-h { font-family: 'Shrikhand', serif; font-weight: 400; font-size: 72px; line-height: 1; color: #2F6BFF; }
.d-dog .m-btn { background: #FF8A1F; color: #fff; border-radius: 999px; }
.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 > div { background: #fff; border-radius: 22px; padding: 20px 22px; }
.d-dog .m-strip b { color: #2F6BFF; }
.d-dog .m-foot { background: #1A2B6B; color: #fff; }
@container (max-width: 700px) { .d-dog .m-h { font-size: 44px; } }
