/* ==========================================================================
   Dr. Rinal Parmar, BDS — Portfolio & Clinic Schedule Stylesheet
   Fonts: Coconat (Display H1 & Brand), Clash Display (H2, H3),
          Satoshi (Body, UI, Pills), Corinthia (Signature), Kaushan Script
   ========================================================================== */

/* 1. EXACT @FONT-FACE DECLARATIONS FROM  */
@font-face {
  font-family: "Coconat";
  src: url("https://framerusercontent.com/assets/ajqZQvqHcHYfzV6VYjZCsDHG6kM.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Clash Display";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/VFMK2COV3DN37JR7JQ4CAOJPZ7KWKNY7/ODD5YJNDLHZZB2MIT3DPVH4EIHAMZ34D/BSY64LPTT3OPLVKAZKL3AHKRWZ3D74AC.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Clash Display";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Clash Display";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/BFBSY7LX5W2U2EROCLVVTQP4VS7S4PC3/IIUX4FGTMD2LK2VWD3RVTAS4SSMUN7B5/53RZKGODFYDW3QHTIL7IPOWTBCSUEZK7.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Satoshi";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/TTX2Z3BF3P6Y5BQT3IV2VNOK6FL22KUT/7QYRJOI3JIMYHGY6CH7SOIFRQLZOLNJ6/KFIAZD4RUMEZIYV6FQ3T3GP5PDBDB6JY.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Satoshi";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/P2LQKHE6KA6ZP4AAGN72KDWMHH6ZH3TA/ZC32TK2P7FPS5GFTL46EU6KQJA24ZYDB/7AHDUZ4A7LFLVFUIFSARGIWCRQJHISQP.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Satoshi";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/LAFFD4SDUCDVQEXFPDC7C53EQ4ZELWQI/PXCT3G6LO6ICM5I3NTYENYPWJAECAWDD/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Corinthia";
  src: url("https://fonts.gstatic.com/s/corinthia/v13/wEO_EBrAnchaJyPMHE01VvoK.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Corinthia";
  src: url("https://fonts.gstatic.com/s/corinthia/v13/wEO6EBrAnchaJyPMHE097d8f02oa.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Kaushan Script";
  src: url("https://fonts.gstatic.com/s/kaushanscript/v19/vm8vdRfvXFLG3OLnsO15WYS5DG74wNI.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "DM Sans";
  src: url("https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

/* 2. EXACT ROOT SIZING & COLOR TOKENS FROM  */
:root {
  font-size: 112.5%; /* 18px base on desktop >= 1200px, matching  */
  --framer-root-font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Exact Rhys1 Framer Tokens */
  --token-bg-page: #f7f5f2;          /* rgb(247, 245, 242) */
  --token-bg-card: #edece8;          /* rgb(237, 236, 232) */
  --token-bg-card-hover: #e6e4df;    /* rgb(230, 228, 223) */
  --token-bg-warm-cream: #faf6f0;    /* rgb(250, 246, 240) */
  --token-dark-pill: #383e42;        /* rgb(56, 62, 66) - Navbar, Dark About Section & Tag Pills */
  --token-ink-dark: #232526;         /* rgb(35, 37, 38) - Primary H1 / H3 Ink */
  --token-ink-warm: #25231f;         /* rgb(37, 35, 31) - Primary H2 / Body Ink */
  --token-ink-muted: rgba(35, 37, 38, 0.6);
  --token-ink-taupe: #7a7267;
  --token-cream-on-dark: #fcfaf5;    /* rgb(252, 250, 245) */
  --token-border-sand: #d4ccc0;

  /* Exact Rhys1 Pastel Deck & Sticker Palette */
  --pastel-sky: #d0e8f7;             /* rgb(208, 232, 247) */
  --pastel-sky-ink: #3e87b5;         /* rgb(62, 135, 181) */
  --pastel-mint: #cae8de;            /* rgb(202, 232, 222) */
  --pastel-mint-ink: #476b64;        /* rgb(71, 107, 100) */
  --pastel-butter: #ffd88a;          /* rgb(255, 216, 138) */
  --pastel-orange: #ffa754;          /* rgb(255, 167, 84) - Hero & Footer Sticker */
  --pastel-lime: #d7f2ae;            /* rgb(215, 242, 174) */
  --pastel-lime-bright: #e0f4ad;     /* rgb(224, 244, 173) - About Sticker */
  --pastel-lavender: #ebe8f1;        /* rgb(235, 232, 241) */
  --pastel-lilac: #f1e2ff;           /* rgb(241, 226, 255) */
  --pastel-peach: #ffc7ba;           /* rgb(255, 199, 186) */
  --pastel-sand: #e7dfd3;            /* rgb(231, 223, 211) */

  /* Font Stacks */
  --font-display: "Coconat", Georgia, serif;
  --font-heading: "Clash Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Satoshi", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Corinthia", cursive;
  --font-hand: "Kaushan Script", cursive;
}

@media (max-width: 1199px) {
  :root {
    font-size: 100%;
  }
}

/* 3. GLOBAL RESET & BASE TYPOGRAPHY */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: inherit;
}

html {
  scroll-behavior: smooth;
  background-color: var(--token-bg-page);
  color: var(--token-ink-warm);
}

body {
  background-color: var(--token-bg-page);
  color: var(--token-ink-warm);
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95); /* 17.1px on desktop */
  font-weight: 400;
  line-height: 1.65em;
  overflow-x: clip;
  min-height: 100vh;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

ul,
ol {
  list-style: none;
}

mark {
  background: transparent;
  color: inherit;
}

/* 4. EXACT RHYS1 HEADING & TEXT PRESETS (h1, h2, h3, p) */

/* Hero Display H1 (.framer-styles-preset-pmzbd0) */
h1,
.rhys-h1-hero {
  font-family: var(--font-display);
  font-size: calc(var(--framer-root-font-size, 1rem) * 6.2); /* 111.6px desktop */
  font-weight: 400;
  line-height: 1em;
  letter-spacing: 0em;
  color: var(--token-ink-dark);
  font-feature-settings: normal;
}

/* Section / Subpage / Footer Display H1 (.framer-styles-preset-zd9vgi) */
.rhys-h1-section {
  font-family: var(--font-display);
  font-size: calc(var(--framer-root-font-size, 1rem) * 4.5); /* 81px desktop */
  font-weight: 400;
  line-height: 1.1em;
  letter-spacing: 0em;
  color: var(--token-ink-warm);
}

/* Section Heading H2 (.framer-styles-preset-wmryha) */
h2,
.rhys-h2 {
  font-family: var(--font-heading);
  font-size: calc(var(--framer-root-font-size, 1rem) * 2.8); /* 50.4px desktop */
  font-weight: 500;
  line-height: 1.12em;
  letter-spacing: 0em;
  color: var(--token-ink-warm);
  font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
}

/* Exploration / Medium H2 (2.5rem = 45px) */
.rhys-h2-md {
  font-family: var(--font-heading);
  font-size: calc(var(--framer-root-font-size, 1rem) * 2.5);
  font-weight: 500;
  line-height: 1.12em;
  letter-spacing: 0em;
  color: var(--token-ink-warm);
}

/* Card & Item Heading H3 (.framer-styles-preset-1cttj2n) */
h3,
.rhys-h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4em;
  letter-spacing: -0.01em;
  color: var(--token-ink-dark);
  font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
}

/* Lead Paragraph (.framer-styles-preset-59s1wa) */
.rhys-lead {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 1.25); /* 22.5px */
  font-weight: 400;
  line-height: 1.55em;
  letter-spacing: 0em;
  color: var(--token-ink-warm);
}

/* Standard Body Paragraph (.framer-styles-preset-zhkjar) */
p,
.rhys-body {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95); /* 17.1px */
  font-weight: 400;
  line-height: 1.65em;
  letter-spacing: 0em;
  color: var(--token-ink-warm);
}

.rhys-body-medium {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95);
  font-weight: 500;
  line-height: 1.65em;
  color: var(--token-ink-warm);
}

/* UI Button / Action Text (.framer-styles-preset-11iope3) */
.rhys-ui-text {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.875); /* 15.75px */
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0.02em;
}

/* Eyebrow / Pill Tag Text (.framer-styles-preset-uwy0p2) */
.rhys-eyebrow,
.rhys-tag {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685); /* 12.33px */
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0.01em;
  color: var(--token-ink-taupe);
}

@media (max-width: 1199px) and (min-width: 810px) {
  h1,
  .rhys-h1-hero {
    font-size: calc(var(--framer-root-font-size, 1rem) * 4.96);
  }
  .rhys-h1-section {
    font-size: calc(var(--framer-root-font-size, 1rem) * 3.6);
  }
  h2,
  .rhys-h2 {
    font-size: calc(var(--framer-root-font-size, 1rem) * 2.24);
  }
  h3,
  .rhys-h3 {
    font-size: 20px;
  }
}

@media (max-width: 809px) {
  h1,
  .rhys-h1-hero {
    font-size: calc(var(--framer-root-font-size, 1rem) * 3.85);
  }
  .rhys-h1-section {
    font-size: calc(var(--framer-root-font-size, 1rem) * 2.88);
  }
  h2,
  .rhys-h2,
  .rhys-h2-md {
    font-size: calc(var(--framer-root-font-size, 1rem) * 1.9);
  }
  h3,
  .rhys-h3 {
    font-size: 18px;
  }
}

/* ==========================================================================
   5. FLOATING TRANSPARENT HORIZONTAL PILL NAVBAR (Home · About · Services · Clinics · Contact)
   ========================================================================== */
.rhys-nav-wrapper {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 24px);
}

.rhys-nav {
  background-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(35, 37, 38, 0.1);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(35, 37, 38, 0.07);
}

.rhys-nav-top,
.rhys-nav-brand,
.rhys-nav-toggle,
.rhys-nav-link-badge {
  display: none !important;
}

.rhys-nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  padding-right: 6px;
  border-right: 1px solid rgba(35, 37, 38, 0.12);
  color: var(--token-ink-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rhys-nav-logo:hover {
  transform: scale(1.06);
}

.rhys-nav-logo svg {
  width: 18px;
  height: 22px;
  display: block;
}

.rhys-nav-links,
.rhys-nav-dropdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  width: auto;
  max-height: none;
  opacity: 1;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.rhys-nav-link {
  width: auto;
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(35, 37, 38, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rhys-nav-link:hover {
  background-color: rgba(35, 37, 38, 0.07);
  color: var(--token-ink-dark);
}

.rhys-nav-link.is-active {
  background-color: rgba(35, 37, 38, 0.12);
  color: var(--token-ink-dark);
  font-weight: 600;
}

.rhys-nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(35, 37, 38, 0.12);
}

.rhys-nav-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(35, 37, 38, 0.8);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rhys-nav-social-btn:hover {
  background-color: rgba(35, 37, 38, 0.1);
  color: var(--token-ink-dark);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .rhys-nav-wrapper {
    top: 12px;
    width: calc(100vw - 20px);
    max-width: 420px;
  }
  .rhys-nav {
    width: 100%;
    justify-content: space-between;
    padding: 4px 6px;
    background-color: rgba(255, 255, 255, 0.82);
  }
  .rhys-nav-logo {
    width: 28px;
    height: 28px;
    margin-right: 4px;
    padding-right: 4px;
  }
  .rhys-nav-logo svg {
    width: 15px;
    height: 19px;
  }
  .rhys-nav-links,
  .rhys-nav-dropdown {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 1px;
  }
  .rhys-nav-link {
    height: 32px;
    padding: 0 7px;
    font-size: 12.5px;
    border-radius: 7px;
  }
  .rhys-nav-socials {
    margin-left: 4px;
    padding-left: 5px;
    gap: 2px;
    flex-shrink: 0;
  }
  .rhys-nav-social-btn {
    width: 28px;
    height: 28px;
  }
  .rhys-nav-social-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 370px) {
  .rhys-nav-link {
    padding: 0 5px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   6. RHYS1 BUTTONS & DARK CATEGORY PILLS
   ========================================================================== */
.rhys-hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .rhys-hero-actions {
    width: 100%;
    max-width: 340px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .rhys-hero-actions .rhys-btn-primary {
    grid-column: 1 / -1;
    width: 100%;
    padding: 13px 18px;
  }
  .rhys-hero-actions .rhys-hero-social-pill {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.88rem;
  }
}

.rhys-hero-social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #edece8;
  color: var(--token-ink-dark);
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.92);
  font-weight: 500;
  line-height: 1.4em;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid rgba(35, 37, 38, 0.1);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

.rhys-hero-social-pill:hover {
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(35, 37, 38, 0.18);
}

.rhys-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--token-dark-pill); /* #383e42 */
  color: var(--token-cream-on-dark);        /* #fcfaf5 */
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95);
  font-weight: 500;
  line-height: 1.4em;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              box-shadow 0.25s ease;
}

.rhys-btn-primary:hover {
  background-color: var(--token-ink-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(35, 37, 38, 0.25);
}

.rhys-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--token-ink-warm);
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.875);
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--token-dark-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              color 0.25s ease;
}

.rhys-btn-secondary:hover {
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
  transform: translateY(-2px);
}

.rhys-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95);
  font-weight: 500;
  color: var(--token-ink-warm);
  padding: 4px 0;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.rhys-text-link:hover {
  opacity: 0.75;
  gap: 10px;
}

/* Dark Slate Pill Tag (<mark> style in Rhys1 Works & Blog cards) */
.rhys-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--token-dark-pill); /* #383e42 */
  color: var(--token-cream-on-dark);        /* #fcfaf5 */
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685); /* 12.3px */
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0.01em;
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Soft Neutral Pill Tag */
.rhys-pill-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(35, 37, 38, 0.07);
  color: var(--token-ink-warm);
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685);
  font-weight: 500;
  line-height: 1.2em;
  padding: 5px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   7. CIRCULAR ROTATING PEEL STICKER (Exact match to Peel Sticker + Showcase/Stamp)
   ========================================================================== */
.rhys-peel-sticker {
  position: relative;
  width: 210px;
  height: 210px;
  overflow: visible;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  flex-shrink: 0;
}

.rhys-peel-sticker.is-grabbing {
  cursor: grabbing;
}

.rhys-peel-sticker.is-hero-floating {
  position: absolute;
  top: 96px;
  right: max(48px, calc((100% - 1380px) / 2 + 24px));
  z-index: 20;
}

/* Layer 1: Sticker Behind / Reveal Slot (.framer-136i7fr) */
.rhys-sticker-behind {
  position: absolute;
  inset: 0;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background-color: rgb(208, 232, 247); /* Sky Blue */
  color: rgb(62, 135, 181);             /* Sky Dark */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: clip;
}

.rhys-sticker-behind-smile-hero {
  width: 90px;
  height: 67px;
  flex: none;
  position: relative;
}

.rhys-sticker-behind-smile-about {
  width: 91px;
  height: 99px;
  flex: none;
  position: relative;
}

.rhys-sticker-behind-title {
  font-family: var(--font-heading); /* Clash Display */
  font-size: calc(var(--framer-root-font-size, 1rem) * 1.13);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 0.01em;
  color: rgb(62, 135, 181);
  text-align: center;
  position: relative;
  width: 100%;
}

.rhys-sticker-behind-title.is-footer-title {
  font-size: calc(var(--framer-root-font-size, 1rem) * 1.33);
}

.rhys-sticker-behind-ring {
  position: absolute;
  width: 184px;
  height: 184px;
  left: calc(50% - 92px);
  top: calc(50% - 92px);
  z-index: 1;
  pointer-events: none;
  animation: rhysSpin 12s linear infinite;
}

.rhys-sticker-behind-ring svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.rhys-sticker-behind-ring textPath {
  font-family: var(--font-sans);
  font-size: 7px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1em;
  fill: rgb(62, 135, 181);
}

/* Footer Behind Dashed Ring & Content (.framer-537snb & .framer-1quy8sd) */
.rhys-sticker-behind-dashed {
  position: absolute;
  width: 180px;
  height: 180px;
  left: calc(50% - 90px);
  top: calc(50% - 90px);
  pointer-events: none;
  animation: rhysSpin 12s linear infinite;
}

.rhys-sticker-behind-dashed svg {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 188px;
  height: 188px;
}

.rhys-sticker-behind-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.rhys-sticker-behind-footer-sub {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95);
  font-weight: 400;
  line-height: 1.4em;
  color: rgba(35, 37, 38, 0.6);
  margin: 0;
}

/* Layer 2: Front Sticker Face (.framer-8wom6m) */
.rhys-sticker-face {
  position: absolute;
  inset: 0;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background-color: rgb(255, 167, 84); /* Brand Warm Orange */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* 4px bleed circle so polygon/circle clip never shows a seam (.framer-gdj46b) */
.rhys-sticker-face::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: inherit;
  z-index: 0;
}

.rhys-sticker-face.is-lime {
  background-color: rgb(213, 255, 87); /* Lime Bright */
}

/* 184x184 Spinning ArcText Ring (.framer-1686yrq-container) */
.rhys-sticker-spin-svg {
  position: absolute;
  width: 184px;
  height: 184px;
  left: calc(50% - 92px);
  top: calc(50% - 92px);
  z-index: 1;
  transform-origin: center center;
  animation: rhysSpin 12s linear infinite;
  pointer-events: none;
}

.rhys-sticker-spin-svg text,
.rhys-sticker-spin-svg textPath {
  font-family: var(--font-sans); /* Satoshi */
  font-size: 7px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1em;
  fill: rgb(35, 37, 38);
}

/* Center Details Block inside 210x210 Peel Stickers */
.rhys-sticker-center-details {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 126px;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  pointer-events: none;
}

.rhys-sticker-icon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 3px;
  padding: 5px 9px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(35, 37, 38, 0.12);
  box-shadow: 0 2px 6px rgba(35, 37, 38, 0.06);
}

.rhys-sticker-flag-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.rhys-sticker-center-kicker {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(35, 37, 38, 0.72);
  line-height: 1.1;
}

.rhys-sticker-center-main {
  font-family: var(--font-heading); /* Clash Display */
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(35, 37, 38);
  line-height: 1.08;
}

.rhys-sticker-center-main.is-script {
  font-family: var(--font-script); /* Corinthia */
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 1px;
}

.rhys-sticker-center-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  color: rgba(35, 37, 38, 0.88);
  line-height: 1.18;
}

.rhys-sticker-center-pill {
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background-color: rgba(35, 37, 38, 0.11);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(35, 37, 38);
  line-height: 1.2;
}

/* 88x88 Center 6-Pointed Asterisk (.framer-163qm89) */
.rhys-sticker-center-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.rhys-sticker-center-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Center Corinthia 700 Script on Footer Sticker (.framer-11pf5o2) */
.rhys-sticker-center-script {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: var(--font-script); /* Corinthia */
  font-size: calc(var(--framer-root-font-size, 1rem) * 3.15);
  font-weight: 700;
  line-height: 1;
  white-space: pre;
  text-align: center;
  color: rgb(56, 62, 66);
  pointer-events: none;
}

@keyframes rhysSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 1199px) {
  .rhys-peel-sticker.is-hero-floating {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    transform: scale(0.76);
    margin: -22px auto -26px;
  }
  .rhys-hero-heading-block {
    order: 1;
  }
  .rhys-deck-stage {
    order: 3;
  }
}

/* ==========================================================================
   8. HERO SECTION & 5-CARD FANNED POLAROID DECK (Section - Hero)
   ========================================================================== */
.rhys-hero-section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 124px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: visible;
}

.rhys-hero-heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 820px;
  position: relative;
  z-index: 3;
}

.rhys-hero-title-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.rhys-hero-subtitle {
  max-width: 500px;
  color: var(--token-dark-pill); /* rgb(56, 62, 66) */
  text-align: center;
  text-wrap: balance;
}

/* 5-Card Fanned Polaroid Deck — Sticky reading runway so all 5 cards can be read first, then scatter */
.rhys-deck-stage {
  width: 100%;
  max-width: 1560px;
  height: 820px;
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}

.rhys-deck-track {
  position: sticky;
  top: 136px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 14px 0 64px;
  z-index: 1;
}

.rhys-deck-card {
  --base-y: 0px;
  --base-rot: 0deg;
  --hover-y: 0px;
  --hover-rot: 0deg;
  --hover-scale: 1;
  --scroll-x: 0px;
  --scroll-y: 0px;
  --scroll-rot: 0deg;
  --scroll-scale: 1;
  --scroll-opacity: 1;
  width: 280px;
  height: 418px;
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  opacity: var(--scroll-opacity, 1);
  transform: translate3d(
      var(--scroll-x, 0px),
      calc(var(--base-y, 0px) + var(--scroll-y, 0px) + var(--hover-y, 0px)),
      0
    )
    rotate(calc(var(--base-rot, 0deg) + var(--scroll-rot, 0deg) + var(--hover-rot, 0deg)))
    scale(calc(var(--scroll-scale, 1) * var(--hover-scale, 1)));
  box-shadow: 0 14px 34px -10px rgba(35, 37, 38, 0.11),
              0 3px 10px -2px rgba(35, 37, 38, 0.05);
  transition: box-shadow 0.35s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

/* Arc Fanning at Scroll = 0 (Original resting position) */
.rhys-deck-card:nth-child(1) {
  background-color: var(--pastel-sky); /* #d0e8f7 */
  --base-y: 58px;
  --base-rot: -8deg;
  z-index: 1;
}

.rhys-deck-card:nth-child(2) {
  background-color: var(--pastel-mint); /* #cae8de */
  --base-y: 18px;
  --base-rot: -4deg;
  z-index: 2;
}

.rhys-deck-card:nth-child(3) {
  background-color: var(--pastel-butter); /* #ffd88a - Center Portrait Card */
  --base-y: 0px;
  --base-rot: 0deg;
  z-index: 3;
}

.rhys-deck-card:nth-child(4) {
  background-color: var(--pastel-lime); /* #d7f2ae */
  --base-y: 18px;
  --base-rot: 4deg;
  z-index: 2;
}

.rhys-deck-card:nth-child(5) {
  background-color: var(--pastel-lavender); /* #ebe8f1 */
  --base-y: 58px;
  --base-rot: 8deg;
  z-index: 1;
}

.rhys-deck-card:hover {
  z-index: 10;
  --hover-y: -16px;
  --hover-scale: 1.03;
  box-shadow: 0 26px 54px -12px rgba(35, 37, 38, 0.22);
}

.rhys-deck-card:nth-child(1):hover { --hover-rot: 3deg; }
.rhys-deck-card:nth-child(2):hover { --hover-rot: 2deg; }
.rhys-deck-card:nth-child(3):hover { --hover-rot: 0deg; }
.rhys-deck-card:nth-child(4):hover { --hover-rot: -2deg; }
.rhys-deck-card:nth-child(5):hover { --hover-rot: -3deg; }

/* Inner Visual Window of each Polaroid Deck Card (.framer-i7e6hn) */
.rhys-deck-card-visual {
  flex: 1 1 auto;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background-color: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.rhys-deck-card-visual.is-photo {
  padding: 0;
  background-color: transparent;
}

.rhys-deck-card-visual.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 6px;
}

.rhys-deck-stat-big {
  font-family: var(--font-display); /* Coconat */
  font-size: 3.4rem;
  line-height: 1;
  color: var(--token-ink-dark);
  margin-bottom: 10px;
}

.rhys-deck-stat-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(35, 37, 38, 0.75);
  max-width: 200px;
  line-height: 1.45;
}

.rhys-deck-card-info {
  width: 100%;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 3px;
}

.rhys-deck-card-title {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95);
  font-weight: 400;
  line-height: 1.35em;
  color: var(--token-ink-dark);
}

.rhys-deck-card-meta {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685);
  font-weight: 500;
  line-height: 1.2em;
  color: var(--token-ink-taupe);
}

@media (max-width: 1380px) {
  .rhys-deck-card {
    width: 244px;
    height: 380px;
  }
}

@media (max-width: 1199px) {
  .rhys-hero-section {
    padding: 116px 24px 48px;
  }
  .rhys-deck-stage {
    height: auto;
    min-height: 460px;
  }
  .rhys-deck-track {
    position: relative;
    top: auto;
    flex-wrap: wrap;
    gap: 20px;
  }
  .rhys-deck-card,
  .rhys-deck-card:nth-child(1),
  .rhys-deck-card:nth-child(2),
  .rhys-deck-card:nth-child(3),
  .rhys-deck-card:nth-child(4),
  .rhys-deck-card:nth-child(5) {
    --base-y: 0px;
    --base-rot: 0deg;
    width: calc(50% - 12px);
    max-width: 304px;
    height: 390px;
  }
}

@media (max-width: 640px) {
  .rhys-hero-section {
    padding: 88px 16px 36px;
    gap: 20px;
  }
  .rhys-deck-stage {
    min-height: auto;
  }
  .rhys-deck-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 6px 0 24px;
  }
  .rhys-deck-card,
  .rhys-deck-card:nth-child(1),
  .rhys-deck-card:nth-child(2),
  .rhys-deck-card:nth-child(4),
  .rhys-deck-card:nth-child(5) {
    width: calc(50% - 6px);
    max-width: none;
    height: auto;
    min-height: 224px;
    padding: 12px;
    border-radius: 16px;
    gap: 10px;
  }
  /* Show Dr. Rinal's Portrait Photo first & full-width on mobile */
  .rhys-deck-card:nth-child(3) {
    order: -1;
    width: 100%;
    max-width: 340px;
    height: 360px;
    padding: 14px;
    border-radius: 20px;
  }
  .rhys-deck-card-visual {
    padding: 14px 10px;
  }
  .rhys-deck-stat-big {
    font-size: 2.25rem;
    margin-bottom: 6px;
  }
  .rhys-deck-stat-sub {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .rhys-deck-card-info {
    min-height: 34px;
    gap: 2px;
  }
  .rhys-deck-card-title {
    font-size: 0.84rem;
    font-weight: 600;
  }
  .rhys-deck-card-meta {
    font-size: 0.66rem;
  }
}

/* ==========================================================================
   9. SECTION - WORKS / PRACTICE LOCATIONS (2-Column Showcase .framer-ixbyxi)
   ========================================================================== */
.rhys-section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.rhys-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 680px;
}

.rhys-section-icon {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rhys-section-header-left {
  width: 100%;
  max-width: 1460px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(35, 37, 38, 0.14);
}

.rhys-title-with-count {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Light Beige Pill Count Badge matching Rhys1 Notes "6" badge */
.rhys-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 12px;
  border-radius: 99px;
  background-color: var(--token-bg-card); /* #edece8 */
  color: var(--token-ink-warm);           /* #25231f */
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685);
  font-weight: 500;
}

/* Horizontal Left-to-Right Scroll Track for Practice Locations (.rhys-works-grid) */
.rhys-works-scroll-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.rhys-works-scroll-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(35, 37, 38, 0.14);
  background-color: var(--token-bg-card); /* #edece8 */
  color: var(--token-ink-dark);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rhys-works-scroll-btn:hover {
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
  transform: translateY(-2px);
}

.rhys-works-grid {
  width: 100%;
  max-width: 1460px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 28px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 62, 66, 0.35) rgba(35, 37, 38, 0.07);
}

.rhys-works-grid::-webkit-scrollbar {
  height: 7px;
}

.rhys-works-grid::-webkit-scrollbar-track {
  background: rgba(35, 37, 38, 0.07);
  border-radius: 99px;
}

.rhys-works-grid::-webkit-scrollbar-thumb {
  background: rgba(56, 62, 66, 0.35);
  border-radius: 99px;
}

.rhys-works-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 62, 66, 0.6);
}

/* In , .framer-ixbyxi has NO outer grey box wrapping cover+text;
   the cover is a rounded 14px box, and the title/subtitle sit directly on #f7f5f2 below! */
.rhys-work-card {
  flex: 0 0 clamp(310px, 42vw, 540px);
  scroll-snap-align: start;
  background-color: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rhys-work-card:hover {
  transform: translateY(-6px);
}

/* Visual Cover inside Work Card (.framer-fxjkbc, 360px tall, radius 16px) */
.rhys-work-cover {
  width: 100%;
  min-height: 340px;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px -10px rgba(35, 37, 38, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.rhys-work-card:hover .rhys-work-cover {
  box-shadow: 0 22px 44px -12px rgba(35, 37, 38, 0.15);
}

.rhys-work-cover.tone-sky      { background-color: var(--pastel-sky); }
.rhys-work-cover.tone-mint     { background-color: var(--pastel-mint); }
.rhys-work-cover.tone-butter   { background-color: var(--pastel-butter); }
.rhys-work-cover.tone-lavender { background-color: var(--pastel-lavender); }
.rhys-work-cover.tone-lime     { background-color: var(--pastel-lime); }
.rhys-work-cover.tone-peach    { background-color: var(--pastel-peach); }

.rhys-work-cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}

.rhys-work-cover-center {
  margin: auto 0;
  padding: 20px 8px;
  z-index: 1;
}

.rhys-work-cover-display {
  font-family: var(--font-display); /* Coconat */
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1.06;
  color: var(--token-ink-dark);
}

.rhys-work-cover-sub {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(35, 37, 38, 0.75);
  margin-top: 10px;
}

.rhys-work-cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
  padding-top: 14px;
  border-top: 1px solid rgba(35, 37, 38, 0.1);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--token-ink-dark);
}

.rhys-work-body {
  padding: 2px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rhys-work-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rhys-work-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rhys-work-arrow {
  width: 38px;
  height: 38px;
  border-radius: 99px;
  background-color: var(--token-bg-card); /* #edece8 */
  color: var(--token-ink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.rhys-work-card:hover .rhys-work-arrow {
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
  transform: translate(2px, -2px);
}

@media (max-width: 960px) {
  .rhys-section {
    padding: 56px 16px;
    gap: 36px;
  }
  .rhys-work-card {
    flex: 0 0 85vw;
  }
  .rhys-work-cover {
    min-height: 290px;
    padding: 18px;
  }
  .rhys-work-cover-top {
    flex-wrap: wrap;
    gap: 6px;
  }
  .rhys-work-cover-bottom {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.76rem;
  }
  .rhys-section-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   10. SECTION - ABOUT (Exact Rhys1 Dark #383e42 3D Grid + Tilted Cream Sheet
       + Overlapping Yellow Polaroid + Top-Right Neon Lime Rotating Sticker!)
   ========================================================================== */
.rhys-about-stage {
  width: 100%;
  min-height: 920px;
  background-color: var(--token-dark-pill); /* #383e42 dark charcoal */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 40px 140px;
}

/* 3D Perspective Floor Grid SVG from  */
.rhys-about-grid-bg {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  width: max(100vw, 1800px);
  height: 520px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 1;
}

.rhys-about-grid-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rhys-about-composition {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1060px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tilted Cream Paper Sheet (#f7f5f2, rotated ~1.8deg) */
.rhys-about-paper-sheet {
  width: 680px;
  max-width: 100%;
  background-color: var(--token-bg-page); /* #f7f5f2 */
  border-radius: 22px;
  padding: 68px 72px 68px 136px;
  margin-left: 120px;
  transform: rotate(1.8deg);
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

/* Overlapping Yellow Polaroid Frame on Bottom-Left (rotated -6deg) */
.rhys-about-floating-polaroid {
  position: absolute;
  left: 20px;
  bottom: -24px;
  width: 312px;
  background-color: var(--pastel-butter); /* #ffd88a */
  border-radius: 14px;
  padding: 18px 18px 46px;
  transform: rotate(-6deg);
  z-index: 8;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12),
              0px 24px 48px -8px rgba(0, 0, 0, 0.28);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rhys-about-floating-polaroid:hover {
  transform: rotate(-3deg) scale(1.02);
}

.rhys-about-floating-polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 4px;
  display: block;
}

/* Overlapping Neon Lime Rotating Sticker on Top-Right of Cream Sheet */
.rhys-peel-sticker.is-about-floating {
  position: absolute;
  top: -64px;
  right: -46px;
  z-index: 12;
  transform: rotate(-2deg);
}

/* Clean 2-Column Editorial Split used on About subpage */
.rhys-about-split {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 80px;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 80px;
}

.rhys-about-polaroid-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.rhys-about-polaroid {
  width: 304px;
  background-color: var(--pastel-butter); /* #ffd88a */
  border-radius: 18px;
  padding: 16px 16px 42px;
  transform: rotate(-4deg);
  box-shadow: 0px 16px 36px -8px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rhys-about-polaroid:hover {
  transform: rotate(-1deg) scale(1.02);
}

.rhys-about-polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 6px;
  display: block;
}

.rhys-about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
}

.rhys-about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rhys-about-signature-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(35, 37, 38, 0.1);
}

.rhys-signature {
  font-family: var(--font-script); /* "Corinthia" */
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--token-ink-warm);
  transform: rotate(-2deg);
}

@media (max-width: 1024px) {
  .rhys-about-stage {
    min-height: auto;
    padding: 72px 16px 80px;
  }
  .rhys-about-composition {
    flex-direction: column;
    gap: 24px;
  }
  .rhys-about-paper-sheet {
    margin-left: 0;
    padding: 32px 22px;
    transform: none;
    border-radius: 18px;
  }
  .rhys-about-floating-polaroid {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 0;
    width: min(280px, 82vw);
    padding: 14px 14px 34px;
    transform: rotate(-3deg);
  }
  .rhys-peel-sticker.is-about-floating {
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    margin: -22px auto -24px;
    transform: scale(0.74);
  }
  .rhys-about-split {
    grid-template-columns: 1fr;
    padding: 36px 16px 48px;
    gap: 32px;
  }
  .rhys-about-polaroid {
    width: min(280px, 82vw);
    transform: rotate(-2deg);
  }
  .rhys-about-signature-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   11. SECTION - DENTAL SERVICES (Sticky Scroll-Up Stacking Cards matching
       https:/// + 3D Tooth Illustrations)
   ========================================================================== */
.rhys-services-stack {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  position: relative;
  padding-bottom: 32px;
}

.rhys-service-stack-card {
  position: sticky;
  top: 102px;
  width: 100%;
  background-color: #ecebe6;
  border-radius: 22px;
  padding: 16px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  min-height: 340px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(35, 37, 38, 0.06);
  box-shadow: 0 -10px 30px rgba(35, 37, 38, 0.06),
              0 18px 40px -12px rgba(35, 37, 38, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}

/* Staggered sticky top offsets so 01 -> 02 -> 03 -> 04 -> 05 -> 06 stack upward as you scroll */
.rhys-service-stack-card:nth-child(1) { top: 96px;  z-index: 1; }
.rhys-service-stack-card:nth-child(2) { top: 116px; z-index: 2; }
.rhys-service-stack-card:nth-child(3) { top: 136px; z-index: 3; }
.rhys-service-stack-card:nth-child(4) { top: 156px; z-index: 4; }
.rhys-service-stack-card:nth-child(5) { top: 176px; z-index: 5; }
.rhys-service-stack-card:nth-child(6) { top: 196px; z-index: 6; }

/* Left 3D Tooth Studio Card */
.rhys-service-stack-media {
  background-color: #f6f4ef;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.rhys-service-stack-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rhys-service-stack-card:hover .rhys-service-stack-media img {
  transform: scale(1.06) translateY(-4px);
}

/* Right White Content Panel (.framer-15rjats on ) */
.rhys-service-stack-panel {
  background-color: #fefffa;
  border-radius: 16px;
  padding: 36px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.rhys-service-stack-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rhys-service-stack-num {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  color: #9c9890;
  letter-spacing: -0.01em;
  line-height: 1;
}

.rhys-service-stack-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rhys-service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e4e5e0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.rhys-service-dot.is-active {
  background-color: #169c65;
  transform: scale(1.08);
}

.rhys-service-stack-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
}

.rhys-service-stack-title {
  font-family: var(--font-heading); /* Clash Display */
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #191b1a;
}

.rhys-service-stack-desc {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.62;
  color: #5c5a55;
  max-width: 520px;
}

.rhys-service-stack-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.rhys-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rhys-blog-read-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--token-ink-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .rhys-services-stack {
    gap: 20px;
  }
  .rhys-service-stack-card,
  .rhys-service-stack-card:nth-child(1),
  .rhys-service-stack-card:nth-child(2),
  .rhys-service-stack-card:nth-child(3),
  .rhys-service-stack-card:nth-child(4),
  .rhys-service-stack-card:nth-child(5),
  .rhys-service-stack-card:nth-child(6) {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px;
    border-radius: 18px;
  }
  .rhys-service-stack-media {
    min-height: 180px;
    max-height: 210px;
  }
  .rhys-service-stack-panel {
    padding: 20px 18px;
    gap: 16px;
  }
}

/* ==========================================================================
   12. SECTION - EXPLORATION / CLINICAL STANDARDS (.framer-eosn54)
   ========================================================================== */
.rhys-exploration-showcase-wrap {
  width: 100%;
  max-width: 1560px;
  position: relative;
  overflow: hidden;
  padding: 10px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.rhys-exploration-strip {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
}

.rhys-exp-card {
  width: 310px;
  min-height: 370px;
  border-radius: 22px;
  padding: 18px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}

.rhys-exp-card.is-wide {
  width: 490px;
  min-height: 420px;
}

.rhys-exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px -14px rgba(35, 37, 38, 0.16);
}

.rhys-exp-card.tone-butter { background-color: var(--pastel-butter); }
.rhys-exp-card.tone-sky    { background-color: var(--pastel-sky); }
.rhys-exp-card.tone-mint   { background-color: var(--pastel-mint); }
.rhys-exp-card.tone-peach  { background-color: var(--pastel-peach); }
.rhys-exp-card.tone-sand   { background-color: var(--pastel-sand); }
.rhys-exp-card.tone-lime   { background-color: var(--pastel-lime); }
.rhys-exp-card.tone-lilac  { background-color: var(--pastel-lavender); }

.rhys-exp-visual-box {
  background-color: rgba(255, 255, 255, 0.68);
  border-radius: 10px;
  padding: 24px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 1100px) {
  .rhys-exploration-showcase-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .rhys-exploration-strip {
    flex-wrap: wrap;
  }
  .rhys-exp-card,
  .rhys-exp-card.is-wide {
    width: 100%;
    max-width: 480px;
    min-height: 300px;
  }
}

/* ==========================================================================
   13. ABOUT PAGE SPECIFICS (Facts Row, How I Got Here, Expertise, FAQs)
   ========================================================================== */
.rhys-facts-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rhys-fact-card {
  background-color: var(--token-bg-card);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.rhys-fact-number {
  font-family: var(--font-display); /* Coconat */
  font-size: 2.8rem;
  line-height: 1;
  color: var(--token-ink-dark);
}

.rhys-timeline-list {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
}

.rhys-timeline-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(35, 37, 38, 0.12);
}

.rhys-timeline-row:first-child {
  border-top: 1px solid rgba(35, 37, 38, 0.12);
}

.rhys-timeline-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background-color: #edece8;
  border: 1px solid rgba(35, 37, 38, 0.09);
  white-space: nowrap;
}

.rhys-timeline-visual-badge.is-canada {
  background-color: #e6f2fa;
  border-color: rgba(62, 135, 181, 0.22);
}

.rhys-timeline-visual-badge.is-intl {
  background-color: #f3EFE6;
  border-color: rgba(35, 37, 38, 0.12);
}

.rhys-timeline-visual-icon-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: #fcfaf5;
  border: 1px solid rgba(35, 37, 38, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rhys-timeline-visual-flag {
  position: absolute;
  right: -4px;
  bottom: -3px;
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.rhys-timeline-visual-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rhys-timeline-visual-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--token-ink-dark);
  line-height: 1.2;
}

.rhys-timeline-visual-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(35, 37, 38, 0.65);
  line-height: 1.2;
}

.rhys-faq-list {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rhys-faq-item {
  background-color: var(--token-bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(35, 37, 38, 0.06);
}

.rhys-faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--token-ink-dark);
}

.rhys-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(35, 37, 38, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.rhys-faq-item.is-open .rhys-faq-icon {
  transform: rotate(45deg);
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
}

.rhys-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rhys-faq-answer-inner {
  padding: 0 26px 24px;
  color: rgba(35, 37, 38, 0.8);
}

@media (max-width: 900px) {
  .rhys-facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .rhys-fact-card {
    padding: 18px 16px;
    gap: 10px;
  }
  .rhys-fact-number {
    font-size: 2rem;
  }
  .rhys-timeline-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }
  .rhys-timeline-visual-badge {
    justify-self: start;
  }
  .rhys-faq-question {
    padding: 18px 18px;
    font-size: 17px;
  }
  .rhys-faq-answer-inner {
    padding: 0 18px 18px;
  }
}

/* ==========================================================================
   14. PRE-FOOTER "LET'S CONNECT" & BOTTOM STACK (.framer-c2hv7a & .framer-385nz0)
   ========================================================================== */
.rhys-connect-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.rhys-connect-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 520px;
}

/* Compact Single-Line Contact Pill Bars (Exact match to steps/394 .framer-EEKHf) */
.rhys-connect-links {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rhys-connect-row {
  width: 100%;
  min-height: 58px;
  background-color: var(--token-bg-card); /* #edece8 */
  border-radius: 10px;
  padding: 14px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: var(--token-ink-warm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

.rhys-connect-row:hover {
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(35, 37, 38, 0.22);
}

.rhys-connect-row-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rhys-connect-row-label {
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685);
  font-weight: 500;
  color: var(--token-ink-taupe);
  transition: color 0.2s ease;
}

.rhys-connect-row:hover .rhys-connect-row-label {
  color: rgba(252, 250, 245, 0.65);
}

.rhys-connect-row-value {
  font-family: var(--font-sans);
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.95);
  font-weight: 400;
  color: inherit;
}

.rhys-connect-row-arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rhys-connect-row:hover .rhys-connect-row-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Social Media Connect Row (Instagram & LinkedIn in Let's Connect) */
.rhys-social-connect-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rhys-connect-row-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rhys-connect-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: rgba(35, 37, 38, 0.08);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.rhys-connect-row:hover .rhys-connect-social-icon {
  background-color: rgba(252, 250, 245, 0.16);
}

/* Footer Social Media Icon Buttons */
.rhys-footer-socials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.rhys-footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--token-bg-card); /* #edece8 */
  border: 1px solid rgba(35, 37, 38, 0.1);
  color: var(--token-ink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

.rhys-footer-social-btn:hover {
  background-color: var(--token-dark-pill);
  color: var(--token-cream-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(35, 37, 38, 0.22);
}

/* Contact Inquiry Form Card on Contact Page */
.rhys-contact-form-card {
  width: 100%;
  max-width: 520px;
  background-color: var(--token-bg-card);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rhys-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rhys-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rhys-field label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--token-ink-warm);
}

.rhys-field input,
.rhys-field select,
.rhys-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(35, 37, 38, 0.14);
  background-color: var(--token-bg-page);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--token-ink-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rhys-field input:focus,
.rhys-field select:focus,
.rhys-field textarea:focus {
  border-color: var(--token-dark-pill);
  box-shadow: 0 0 0 3px rgba(56, 62, 66, 0.1);
}

/* Footer Bottom Stack (Exact match to steps/388 footer.framer-385nz0) */
.rhys-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.rhys-footer-bottom-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  font-size: calc(var(--framer-root-font-size, 1rem) * 0.685);
  color: var(--token-ink-taupe);
}

.rhys-footer-brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rhys-footer-brand-row svg {
  width: 16px;
  height: 20px;
  flex-shrink: 0;
}

.rhys-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.rhys-footer-nav a:hover {
  color: var(--token-ink-dark);
}

@media (max-width: 768px) {
  .rhys-connect-section {
    padding: 56px 16px 36px;
    gap: 32px;
  }
  .rhys-connect-row {
    padding: 13px 16px;
    gap: 10px;
  }
  .rhys-connect-row-value {
    font-size: 0.88rem;
    word-break: break-word;
  }
  /* Keep Instagram & LinkedIn side-by-side in 2 clean columns on mobile */
  .rhys-social-connect-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .rhys-social-connect-grid .rhys-connect-row {
    padding: 12px 12px;
  }
  .rhys-form-grid {
    grid-template-columns: 1fr;
  }
  .rhys-contact-form-card {
    padding: 20px 16px;
  }
  .rhys-footer {
    padding: 24px 16px 108px;
    gap: 28px;
  }
  .rhys-footer .rhys-peel-sticker {
    transform: scale(0.78);
    margin: -18px auto;
  }
}

/* ==========================================================================
   15. FIXED SQUARE MULTI-LINE "STICKY NOTE" FOR TODAY'S/NEXT CLINIC LOCATION
   ========================================================================== */
.rhys-today-banner {
  position: fixed;
  top: 86px;
  left: 20px;
  z-index: 990;
  width: 176px;
  background-color: #ffe394; /* Warm butter sticky note */
  border: 1px solid rgba(35, 37, 38, 0.12);
  border-radius: 13px;
  padding: 12px 13px 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  transform-origin: 50% -6px;
  animation: rhysStickyWobble 4.2s ease-in-out infinite;
  box-shadow: 0 14px 30px -8px rgba(35, 37, 38, 0.22),
              0 3px 8px -2px rgba(35, 37, 38, 0.09);
  transition: top 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
              left 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
              box-shadow 0.25s ease,
              opacity 0.25s ease;
  will-change: top, left, transform;
}

.rhys-today-banner.is-dodging {
  animation: rhysStickyDodgeSwing 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes rhysStickyWobble {
  0%, 100% {
    transform: rotate(-2.2deg) translateY(0px);
  }
  25% {
    transform: rotate(1.6deg) translateY(-2px);
  }
  50% {
    transform: rotate(-1.4deg) translateY(1px);
  }
  75% {
    transform: rotate(2.1deg) translateY(-1.5px);
  }
}

@keyframes rhysStickyDodgeSwing {
  0%   { transform: rotate(-2deg) scale(0.97); }
  30%  { transform: rotate(6.5deg) scale(1.03); }
  60%  { transform: rotate(-4.5deg) scale(1.01); }
  80%  { transform: rotate(2.5deg) scale(1); }
  100% { transform: rotate(-2.2deg) scale(1); }
}

/* Subtle top tape strip on the sticky note */
.rhys-today-banner::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(1.5deg);
  width: 52px;
  height: 13px;
  border-radius: 3px;
  background-color: rgba(252, 250, 245, 0.76);
  box-shadow: 0 1px 3px rgba(35, 37, 38, 0.08);
  pointer-events: none;
}

.rhys-today-banner:hover {
  animation-play-state: paused;
  transform: rotate(0deg) translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(35, 37, 38, 0.28);
}

.rhys-today-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--token-ink-dark);
  background-color: rgba(255, 255, 255, 0.68);
  padding: 3px 7px;
  border-radius: 5px;
  white-space: nowrap;
}

.rhys-today-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #169c65;
  box-shadow: 0 0 0 2.5px rgba(22, 156, 101, 0.22);
  animation: rhysPulseDot 2s ease-in-out infinite;
}

@keyframes rhysPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.2); opacity: 0.75; }
}

.rhys-today-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
}

.rhys-today-clinic-name {
  font-family: var(--font-heading); /* Clash Display */
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--token-ink-dark);
}

.rhys-today-clinic-addr {
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(35, 37, 38, 0.78);
}

.rhys-today-cta {
  width: 100%;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: var(--token-dark-pill); /* #383e42 */
  color: var(--token-cream-on-dark);        /* #fcfaf5 */
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rhys-today-cta:hover {
  background-color: var(--token-ink-dark);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .rhys-today-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
    animation: none !important;
    transform: none !important;
    box-shadow: 0 10px 28px -4px rgba(35, 37, 38, 0.28);
  }
  .rhys-today-banner::before {
    display: none;
  }
  .rhys-today-status {
    font-size: 0.54rem;
    padding: 3px 6px;
    flex-shrink: 0;
  }
  .rhys-today-text {
    flex: 1 1 auto;
    min-width: 0;
    gap: 1px;
  }
  .rhys-today-clinic-name {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  .rhys-today-clinic-addr {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  .rhys-today-cta {
    width: auto;
    margin-top: 0;
    font-size: 0.68rem;
    padding: 7px 11px;
    border-radius: 8px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   RCDSO GENERAL DENTIST DISCLOSURE & PHIPA PRIVACY NOTICE
   ========================================================================== */
.rhys-rcdso-note {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background-color: rgba(56, 62, 66, 0.05);
  border: 1px solid rgba(35, 37, 38, 0.1);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b4741;
}

.rhys-privacy-notice {
  padding: 12px 14px;
  border-radius: 10px;
  background-color: rgba(56, 62, 66, 0.05);
  border: 1px solid rgba(35, 37, 38, 0.1);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.45;
  color: #555049;
}

