/* Business profile pages: four styles (Bold, Modern, Business, Executive), each with three colour pairs.
   Colours are solid. Every button and tile in a row is the same size. */

@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Colour pairs ----------
   --P page   --A accent   --AT text on accent   --T text on page
   --S boxes  --B lines    --LB logo edge        --RING ring around the logo */
.pal-bold-1 { --P: #2F5BFF; --A: #FFC93C; --AT: #16181D; --T: #FFFFFF; --H: #2F5BFF; --MH: #FFC93C; --MB: #FFC93C; --MBT: #16181D; }
.pal-bold-2 { --P: #E8604C; --A: #FFF1CF; --AT: #16181D; --T: #FFF1CF; --H: #E8604C; --MH: #FFF1CF; --MB: #E8604C; --MBT: #FFFFFF; }
.pal-bold-3 { --P: #8FE3B0; --A: #16181D; --AT: #FFFFFF; --T: #16181D; --H: #16181D; --MH: #8FE3B0; --MB: #8FE3B0; --MBT: #16181D; --LB: #8FE3B0; --RING: #16181D; }

.pal-modern-1 { --P: #1F3A5F; --S: #26476F; --A: #FF7A2F; --AT: #FFFFFF; --T: #F4F1EA; --B: #3E5E86; }
.pal-modern-2 { --P: #1F4D3A; --S: #275C46; --A: #F3E9D2; --AT: #1F4D3A; --T: #F3EFE6; --B: #3B7259; }
.pal-modern-3 { --P: #2B2F36; --S: #343943; --A: #5EC8FF; --AT: #12161C; --T: #F2F2F2; --B: #4A505C; }

.pal-business-1 { --P: #14213D; --S: #1B2A4A; --A: #F3E9D2; --AT: #14213D; --T: #F3E9D2; --B: #33436A; }
.pal-business-2 { --P: #2A2D34; --S: #32363F; --A: #F5C6A5; --AT: #2A2D34; --T: #F4EDE6; --B: #474B55; }
.pal-business-3 { --P: #3D4A2F; --S: #465538; --A: #F2C4C4; --AT: #3D4A2F; --T: #F5EFE6; --B: #5C6B4C; }

.pal-executive-1 { --P: #111111; --S: #1B1B1B; --A: #C9A227; --AT: #111111; --T: #F2EEE3; --B: #3A3A3A; }
.pal-executive-2 { --P: #0F1B33; --S: #16243F; --A: #C9CED6; --AT: #0F1B33; --T: #EEF1F5; --B: #2C3B58; }
.pal-executive-3 { --P: #F4F1EA; --S: #FFFFFF; --A: #111111; --AT: #F4F1EA; --T: #111111; --B: #D8D3C8; --LB: #F4F1EA; --RING: #111111; }

/* ---------- Layout shared by every style ---------- */
.profile-body { background: var(--P); color: var(--T); }
.profile-cover { background: var(--A); height: 170px; }
.profile { max-width: 780px; margin: -100px auto 0; padding: 0 20px 70px; position: relative; }
.profile .notice { margin-top: 120px; }
.profile-hero { text-align: center; }
.profile-logo {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 40px;
  background: var(--A);
  color: var(--AT);
  border: 5px solid var(--LB, var(--P));
  box-shadow: 0 0 0 4px var(--RING, var(--A));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-logo .logo-letter { font-size: 6rem; }
.profile-name { font-size: 4rem; margin: 28px 0 6px; color: var(--T); }
.profile-tagline { font-size: 1.3rem; margin: 0; color: var(--T); text-wrap: balance; }
.profile-cat { margin: 16px 0 0; }
.profile-cat span { display: inline-block; border-radius: 999px; padding: 5px 16px; font-weight: 700; font-size: 0.9rem; color: var(--A); box-shadow: inset 0 0 0 1.5px var(--A); }
.profile-hero .btn-row { margin-top: 34px; }

.profile .btn { background: transparent; color: var(--T); border: 0; box-shadow: inset 0 0 0 1.5px var(--B); }
.profile .btn:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--A); }
.profile .btn:active { transform: none; }
.st-bold .profile .btn:hover { transform: translate(-1px, -1px); box-shadow: inset 0 0 0 3px #16181D; }
.profile .btn.is-main { background: var(--A); color: var(--AT); box-shadow: none; }

.react-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin: 6px 0 4px; }
.react-row .btn { min-height: 46px; min-width: 110px; padding: 8px 26px; font-size: 1.05rem; }
.profile .react-row .btn.is-on { background: var(--A); color: var(--AT); box-shadow: none; }
.react-count { font-weight: 800; font-size: 1rem; color: var(--T); }
.react-note { flex-basis: 100%; text-align: center; margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--T); }

.link-buttons { display: grid; gap: 14px; margin: 18px 0 0; }
.profile-section {
  background: var(--S);
  color: var(--T);
  border: 1px solid var(--B);
  border-radius: 22px;
  padding: 32px 36px;
  margin-top: 28px;
}
.profile-section h2 { font-size: 1.6rem; margin: 0 0 16px; color: var(--A); }
.about-text { font-size: 1.1rem; line-height: 1.65; }

/* Services: equal tiles in a grid */
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.service-list li { display: flex; align-items: center; justify-content: center; text-align: center; text-wrap: balance; min-height: 64px; padding: 8px 10px; border-radius: 999px; border: 1.5px solid var(--B); color: var(--T); font-weight: 600; }

/* Social links: equal buttons in a row */
.social-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.social-links .btn { width: 100%; min-height: 46px; padding: 8px 10px; font-size: 1rem; }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-count-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
.photo-count-2, .photo-count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-thumb { padding: 0; border: 1px solid var(--B); border-radius: 14px; overflow: hidden; background: none; cursor: zoom-in; aspect-ratio: 1; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-count-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.photo-count-5 .photo-thumb { grid-column: span 2; }
.photo-count-5 .photo-thumb:nth-child(4) { grid-column: 2 / span 2; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--B); border-radius: 14px; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-bold .video-frame { border: 3px solid #16181D; }
.st-business .video-frame { border-radius: 12px; }
.st-executive .video-frame { border-radius: 10px; }
.hours-list { margin: 0; display: grid; gap: 6px; }
.hours-item { display: flex; justify-content: space-between; gap: 16px; font-size: 1.1rem; }
.hours-item dt, .hours-item dd { margin: 0; }
.hours-item.is-today { font-weight: 800; }

.message-section label, .message-section .form-terms, .message-section .form-terms a { color: var(--T); }
.profile .message-section .btn { background: var(--A); color: var(--AT); box-shadow: none; }
.message-section .notice { color: #16181D; }

.share-section { text-align: center; }
.qr { width: 190px; margin: 0 auto 14px; border-radius: 16px; overflow: hidden; background: #fff; }
.qr canvas { width: 100%; height: auto; display: block; }
.share-url { font-weight: 800; overflow-wrap: anywhere; margin: 0 0 20px; }

.profile-footer {
  background: var(--S, #16181D);
  color: var(--T);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 36px 20px;
  font-size: 1.1rem;
}
.profile-footer a { color: var(--T); }
.footer-brand { text-decoration: none; }

/* ---------- Bold: chunky outlines, white boxes, playful font ---------- */
.st-bold .profile-logo { border-color: var(--LB, #16181D); }
.st-bold .profile-tagline { font-family: var(--display); font-size: 1.4rem; }
.st-bold .profile-cat span { color: var(--T); box-shadow: inset 0 0 0 2px var(--T); }
.st-bold .profile .btn { background: #fff; color: #16181D; box-shadow: inset 0 0 0 3px #16181D; }
.st-bold .profile .btn.is-main { background: var(--A); color: var(--AT); box-shadow: inset 0 0 0 3px #16181D; }
.st-bold .profile-section { background: #fff; color: #16181D; border: 4px solid #16181D; border-radius: 32px; box-shadow: 7px 7px 0 #16181D; }
.st-bold .profile-section h2 { font-size: 2.2rem; color: var(--H); }
.st-bold .service-list li { background: var(--A); color: var(--AT); border: 3px solid #16181D; font-weight: 700; }
.st-bold .photo-thumb, .st-bold .qr { border: 3px solid #16181D; }
.st-bold .message-section { background: #16181D; color: #fff; }
.st-bold .message-section h2 { color: var(--MH); }
.st-bold .message-section label, .st-bold .message-section .form-terms, .st-bold .message-section .form-terms a { color: #fff; }
.st-bold .profile .message-section .btn { background: var(--MB); color: var(--MBT); box-shadow: none; }
.st-bold .profile-footer { background: #16181D; color: #FFF1CF; font-family: var(--display); }
.st-bold .profile-footer a { color: #FFF1CF; }

/* ---------- Modern, Business and Executive: clean font, business name in the same font ---------- */
.st-modern, .st-business, .st-executive { --display: var(--font); }
.st-modern .profile-name, .st-business .profile-name { font-weight: 800; letter-spacing: -0.02em; }
.st-modern .profile-section h2, .st-business .profile-section h2 { font-weight: 700; }
.st-modern .profile .btn, .st-business .profile .btn, .st-executive .profile .btn { font-weight: 700; font-size: 1.05rem; }

/* Business: calmer shapes */
.st-business .profile-section { border-radius: 16px; }
.st-business .profile .btn { border-radius: 12px; }
.st-business .service-list li { border-radius: 10px; }

/* Executive: square corners, banking fonts */
.st-executive { --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-family: var(--font); }
.st-executive .profile-name, .st-executive .profile-section h2 { font-family: "Libre Baskerville", Georgia, serif; font-weight: 700; letter-spacing: 0; }
.st-executive .profile-section h2 { font-size: 1.35rem; }
.st-executive .profile-section { border-radius: 12px; }
.st-executive .profile .btn { border-radius: 10px; }
.st-executive .service-list li { border-radius: 8px; }
.st-executive .profile-cat span { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }

@media (max-width: 700px) {
  .profile-cover { height: 130px; }
  .profile { margin-top: -74px; padding: 0 14px 50px; }
  .profile-logo { width: 130px; height: 130px; border-radius: 30px; border-width: 4px; }
  .profile-logo .logo-letter { font-size: 4.2rem; }
  .profile-name { font-size: 2.6rem; }
  .profile-tagline { font-size: 1.1rem; }
  .profile-section { padding: 22px 20px; }
  .st-bold .profile-section { border-width: 3px; border-radius: 24px; box-shadow: 5px 5px 0 #16181D; }
  .st-bold .profile-section h2 { font-size: 1.8rem; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-hero .btn-row-3 { grid-template-columns: 1fr; }
  .photo-grid { gap: 8px; }
  .profile-footer { font-size: 1rem; }
}
