[hidden]{display:none !important;}
:root {
      /* Green + Orange brand */
      --green: #2b7a69;
      --green-soft: #e3f4ee;
      --green-dark: #1d5144;
      --orange: #f4a24a;
      --bg: #fff8f0;
      --card-bg: #ffffff;
      --text-main: #25282b;
      --text-muted: #6d7278;
      --border-subtle: #e5d7c4;
      --max-width: 1120px;
      --radius-lg: 18px;
      --radius-pill: 999px;
      --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.11);
      --shadow-subtle: 0 4px 18px rgba(0, 0, 0, 0.06);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text-main);
      background: radial-gradient(circle at top left, #ffffff 0, var(--bg) 60%);
      line-height: 1.6;
    }

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

    a {
      color: var(--green-dark);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    h1, h2, h3, h4 {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      margin: 0 0 0.6em;
      line-height: 1.2;
    }

    p {
      margin: 0 0 1em;
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    section {
      padding: 3.5rem 0;
    }

    /* Tighter header-to-title spacing on the first section of every page (match home) */
    .page > main > section:first-child{
      padding-top: 1.25rem;
    }
    @media (min-width: 900px){
      .page > main > section:first-child{
        padding-top: 1.25rem;
      }
    }

    @media (min-width: 900px) {
      section {
        padding: 4.5rem 0;
      }
    }

    .section-header {
      margin-bottom: 2rem;
      text-align: left;
    }

    .section-kicker {
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--green-dark);
      margin-bottom: 0.5rem;
    }

    .section-title {
      font-size: 1.9rem;
    }

    .section-subtitle {
      font-size: 0.98rem;
      color: var(--text-muted);
      max-width: 36rem;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 0.85rem 1.6rem;
      border-radius: var(--radius-pill);
      font-weight: 600;
      font-size: 0.95rem;
      border: 2px solid transparent;
      cursor: pointer;
      transition: transform 0.05s ease, box-shadow 0.1s ease, background 0.1s ease,
        color 0.1s ease, border-color 0.1s ease;
      text-decoration: none;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--green), var(--green-dark));
      color: white;
      box-shadow: var(--shadow-soft);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 40px rgba(16, 72, 60, 0.35);
      text-decoration: none;
    }

    .btn-outline {
      background: rgba(255, 255, 255, 0.95);
      color: var(--green-dark);
      border-color: rgba(43, 122, 105, 0.3);
    }

    .btn-outline:hover {
      background: white;
      border-color: rgba(43, 122, 105, 0.55);
      text-decoration: none;
    }

    .btn-sm {
      padding: 0.6rem 1.1rem;
      font-size: 0.85rem;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(255, 248, 240, 0.96);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(229, 215, 196, 0.85);
    }

    .site-header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1.25rem;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .logo-img-wrap {
      height: 40px;
      padding: 4px 8px;
    
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo-img {
      height: 60px;
      width: auto;
      display: block;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-title {
      font-family: "Poppins", sans-serif;
      font-weight: 600;
      font-size: 1.02rem;
      letter-spacing: 0.01em;
    }

    .logo-subtitle {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    .nav a {
      color: var(--text-main);
      font-weight: 500;
    }

    .nav a:hover {
      color: var(--green-dark);
    }

    .nav-cta {
      margin-left: 0.5rem;
    }

    .nav-toggle {
      display: none;
    }

    @media (max-width: 768px) {
      .nav {
        display: none;
      }

      .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: white;
        font-size: 1.1rem;
        cursor: pointer;
      }
    }

    /* HERO WITH FEED CAROUSEL */
    .hero {
      padding: 3.2rem 0 2.5rem;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
      gap: 2.4rem;
      align-items: flex-start;
    }

    @media (max-width: 1024px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .hero-kicker {
      font-size: 0.88rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.11em;
      color: var(--green-dark);
      margin-bottom: 0.5rem;
    }

    .hero-title {
      font-size: clamp(2.1rem, 4vw, 2.7rem);
      margin-bottom: 0.5rem;
    }

    .hero-title span {
      position: relative;
    }

    .hero-title span::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.25rem;
      width: 105%;
      height: 0.45rem;
      background: linear-gradient(90deg, rgba(244, 162, 74, 0.45), rgba(227, 244, 238, 0.95));
      z-index: -1;
      border-radius: 999px;
    }

    .hero-subtitle {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 30rem;
      margin-bottom: 1.4rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
      margin-bottom: 1rem;
    }

    .hero-note {
      font-size: 0.85rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      align-items: center;
    }

    .hero-note-badge {
      background: var(--green-soft);
      color: var(--green-dark);
      border-radius: var(--radius-pill);
      padding: 0.25rem 0.7rem;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border: 1px solid rgba(43, 122, 105, 0.25);
    }

    /* FEED CAROUSEL */
    .hero-feed-wrapper {
      background: var(--card-bg);
      border-radius: 22px;
      padding: 1.1rem 1.1rem 1.4rem;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(229, 215, 196, 0.95);
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .hero-feed-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
    }

    .hero-feed-title-block {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .hero-feed-title {
      font-size: 0.98rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .hero-feed-title span.emoji {
      font-size: 1.2rem;
    }

    .hero-feed-subtitle {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .hero-feed-filter {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.35rem 0.7rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(43, 122, 105, 0.18);
      background: rgba(227, 244, 238, 0.6);
      font-size: 0.75rem;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .hero-feed-filter-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
    }

    .feed-carousel {
      position: relative;
    }

    .feed-track {
      display: flex;
      gap: 0.9rem;
      overflow-x: auto;
      padding-bottom: 0.3rem;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    .feed-track::-webkit-scrollbar {
      height: 7px;
    }

    .feed-track::-webkit-scrollbar-track {
      background: transparent;
    }

    .feed-track::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.18);
      border-radius: 999px;
    }

    
    .feed-image {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(229, 215, 196, 0.85);
      background: rgba(0, 0, 0, 0.03);
      aspect-ratio: 4 / 3;
    }

    .feed-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
.feed-card {
      width: 100%;
      max-width: none;
      background: #fffdf9;
      border-radius: 16px;
      padding: 0.85rem 0.9rem 0.95rem;
      box-shadow: var(--shadow-subtle);
      border: 1px solid rgba(229, 215, 196, 0.9);
      scroll-snap-align: center;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .feed-card[data-type="case"] {
      border-color: rgba(43, 122, 105, 0.35);
      background: linear-gradient(135deg, #e9f7f3, #ffffff);
    }

    .feed-card[data-type="announcement"] {
      background: linear-gradient(135deg, #ffe9c9, #ffffff);
    }

    .feed-card[data-type="moment"] {
      background: linear-gradient(135deg, #ffeef2, #ffffff);
    }

    .feed-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .feed-meta-left {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .feed-avatar {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.85);
      font-size: 1.1rem;
    }

    .feed-pet-name {
      font-weight: 600;
      font-size: 0.8rem;
    }

    .feed-badge {
      font-size: 0.7rem;
      padding: 0.15rem 0.45rem;
      border-radius: var(--radius-pill);
      background: rgba(0, 0, 0, 0.04);
      white-space: nowrap;
    }

    .feed-title {
      font-size: 0.88rem;
      font-weight: 600;
    }

    .feed-text {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .feed-actions {
      display: flex;
      gap: 0.45rem;
      margin-top: 0.05rem;
    }

    .feed-action {
      border: 1px solid rgba(0, 0, 0, 0.08);
      background: rgba(255, 255, 255, 0.85);
      padding: 0.3rem 0.55rem;
      border-radius: var(--radius-pill);
      font-size: 0.75rem;
      color: var(--text-muted);
      cursor: pointer;
    }

    .feed-action:hover {
      color: var(--green-dark);
      border-color: rgba(43, 122, 105, 0.28);
    }

    .feed-footer {
      margin-top: 0.1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .feed-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
    }

    .feed-tag {
      padding: 0.05rem 0.4rem;
      border-radius: var(--radius-pill);
      background: rgba(255, 255, 255, 0.9);
      font-size: 0.7rem;
      border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .feed-time {
      white-space: nowrap;
    }

    .feed-dots {
      display: flex;
      justify-content: center;
      gap: 0.3rem;
      margin-top: 0.35rem;
    }

    .feed-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.7);
    }

    .feed-dot--active {
      width: 16px;
      border-radius: 999px;
      background: var(--green);
    }

    .feed-footer-link {
      text-align: right;
      font-size: 0.78rem;
      margin-top: 0.3rem;
    }

    .feed-footer-link a {
      font-weight: 500;
    }

    /* Quick actions under hero */
    .quick-actions {
      background: var(--green-soft);
      padding: 1.7rem 0;
      border-top: 1px solid rgba(229, 215, 196, 0.8);
      border-bottom: 1px solid rgba(229, 215, 196, 0.8);
    }

    .quick-actions-inner {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }

    @media (max-width: 900px) {
      .quick-actions-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 600px) {
      .quick-actions-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .quick-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 0.9rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
      cursor: pointer;
      border: 1px solid rgba(29, 81, 68, 0.06);
      transition: box-shadow 0.12s ease, transform 0.05s ease, border-color 0.12s ease;
    }

    .quick-card:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(16, 72, 60, 0.2);
      border-color: rgba(43, 122, 105, 0.35);
    }

    .quick-icon {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      background: rgba(43, 122, 105, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
    }

    .quick-title {
      font-weight: 600;
      font-size: 0.95rem;
    }

    .quick-text {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* Services – condensed, below feed */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.1rem;
      margin-bottom: 1.5rem;
    }

    @media (max-width: 900px) {
      .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 600px) {
      .services-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .service-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 1.05rem 1.1rem;
      box-shadow: var(--shadow-subtle);
      border: 1px solid rgba(229, 215, 196, 0.95);
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .service-icon {
      width: 30px;
      height: 30px;
      border-radius: 10px;
      background: var(--green-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
    }

    .service-title {
      font-weight: 600;
      font-size: 0.98rem;
    }

    .service-text {
      font-size: 0.86rem;
      color: var(--text-muted);
    }

    .service-link {
      font-size: 0.85rem;
      font-weight: 500;
      margin-top: 0.2rem;
      color: var(--green-dark);
    }

    /* Services accordion (HOME page constraint) */
    .services-accordion {
      display: grid;
      gap: 0.85rem;
      margin-bottom: 1.5rem;
    }

    .service-acc {
      background: #ffffff;
      border-radius: 16px;
      box-shadow: var(--shadow-subtle);
      border: 1px solid rgba(229, 215, 196, 0.95);
      overflow: hidden;
    }

    .service-acc-summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.85rem;
      padding: 0.9rem 1rem;
      min-height: 86px; /* fixed-height feel */
    }

    .service-acc summary::-webkit-details-marker {
      display: none;
    }

    .service-acc-icon {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      background: var(--green-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex: 0 0 auto;
    }

    .service-acc-main {
      display: grid;
      gap: 0.12rem;
      flex: 1 1 auto;
      min-width: 0;
    }

    .service-acc-title {
      font-weight: 650;
      font-size: 0.98rem;
    }

    .service-acc-desc {
      font-size: 0.86rem;
      color: var(--text-muted);
      display: -webkit-box;
      /* -webkit-line-clamp */: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .service-acc-chevron {
      color: var(--text-muted);
      font-size: 1.5rem;
      transform: rotate(90deg);
      transition: transform 180ms ease;
      flex: 0 0 auto;
    }

    .service-acc[open] .service-acc-chevron {
      transform: rotate(-90deg);
    }

    .service-acc-body {
      padding: 0 1rem 0.95rem;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .service-acc-detail {
      margin: 0.75rem 0 0.4rem;
      font-size: 0.88rem;
      color: var(--text-muted);
    }

    .service-acc-bullets {
      margin: 0.25rem 0 0.55rem;
      padding-left: 1.1rem;
      color: var(--text-muted);
      font-size: 0.86rem;
    }

    /* FAQ (short) */
    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    @media (max-width: 900px) {
      .faq-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    details {
      background: #ffffff;
      border-radius: 14px;
      padding: 0.7rem 0.85rem;
      border: 1px solid var(--border-subtle);
      font-size: 0.9rem;
    }

    details summary {
      list-style: none;
      cursor: pointer;
      font-weight: 600;
    }

    details summary::-webkit-details-marker {
      display: none;
    }

    details[open] {
      box-shadow: var(--shadow-subtle);
    }

    details summary::after {
      content: "+";
      float: right;
      font-weight: 600;
      color: var(--text-muted);
    }

    details[open] summary::after {
      content: "–";
    }

    details p {
      margin-top: 0.5rem;
      font-size: 0.88rem;
      color: var(--text-muted);
    }

    /* Footer */
    .site-footer {
      background: #152021;
      color: #f3f7f7;
      padding: 2.7rem 0 1.5rem;
      margin-top: 2.5rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr 1fr;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    @media (max-width: 900px) {
      .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      }
    }

    @media (max-width: 600px) {
      .footer-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .footer-heading {
      font-weight: 600;
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
    }

    .footer-link-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .footer-link-list a {
      color: #e0f2f1;
      font-size: 0.88rem;
    }

    .footer-link-list a:hover {
      color: white;
      text-decoration: underline;
    }

    .footer-meta {
      margin-top: 1.8rem;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
      padding-top: 0.9rem;
      font-size: 0.8rem;
      color: rgba(226, 232, 240, 0.9);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .footer-meta a {
      color: rgba(226, 232, 240, 0.9);
    }

    .footer-meta a:hover {
      color: white;
    }

    /* Team */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.1rem;
    }

    @media (max-width: 1000px) {
      .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 600px) {
      .team-grid { grid-template-columns: minmax(0, 1fr); }
    }

    .team-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 1.05rem 1.1rem 1.15rem;
      box-shadow: var(--shadow-subtle);
      border: 1px solid rgba(229, 215, 196, 0.95);
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      min-height: 190px;
    }

    .team-avatar {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: rgba(43, 122, 105, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 0.2rem;
    }

    .team-name {
      font-weight: 650;
      font-size: 1rem;
    }

    .team-name-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
    }

    .team-linkedin {
      color: var(--text-muted);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      background: rgba(255, 255, 255, 0.75);
    }

    .team-linkedin:hover {
      color: var(--green-dark);
      border-color: rgba(43, 122, 105, 0.28);
    }

    .team-role {
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 550;
    }

    .team-bio {
      font-size: 0.86rem;
      color: var(--text-muted);
      margin: 0.4rem 0 0;
    }

    /* CTA Modal */
    .modal {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.25rem;
      background: rgba(0, 0, 0, 0.55);
      z-index: 999;
    }

    .modal.is-open { display: flex; }

    .modal-card {
      width: min(980px, 100%);
      background: #ffffff;
      border-radius: 22px;
      box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.05rem 1.15rem;
      background: radial-gradient(circle at top left, #ffffff 0, var(--green-soft) 55%);
      border-bottom: 1px solid rgba(229, 215, 196, 0.9);
    }

    .modal-title {
      font-family: "Poppins", sans-serif;
      font-weight: 650;
      font-size: 1.02rem;
      margin: 0;
    }

    .modal-close {
      width: 38px;
      height: 38px;
      border-radius: 999px;
      border: 1px solid rgba(0, 0, 0, 0.12);
      background: #ffffff;
      cursor: pointer;
      font-size: 1.1rem;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .modal-body {
      display: grid;
      gap: 0;
    }

    /* Form-only modals (Share story / Share experience): avoid empty right column */
    .modal-card--form .modal-body{
      display:block;
      padding: 18px;
    }
    .modal-card--form .form-card{
      width: 100%;
      max-width: 760px;
      margin: 0 auto;
    }

    @media (max-width: 900px) {
      .modal-body { grid-template-columns: minmax(0, 1fr); }
    }

    .modal-map {
      min-height: 340px;
      border-right: 1px solid rgba(229, 215, 196, 0.85);
    }

    @media (max-width: 900px) {
      .modal-map { border-right: none; border-bottom: 1px solid rgba(229, 215, 196, 0.85); }
    }

    .modal-map iframe {
      width: 100%;
      height: 100%;
      min-height: 340px;
      border: 0;
      display: block;
    }

    .modal-side {
      padding: 1.1rem 1.15rem 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
    }

    .cta-contact {
      display: grid;
      gap: 0.45rem;
      font-size: 0.92rem;
    }

    .cta-contact strong { font-weight: 650; }

    .cta-actions {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.55rem;
    }

    .cta-actions .btn { width: 100%; justify-content: space-between; }

    .cta-mini {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.45;
    }

    .cta-mini a { font-weight: 600; }

  
    /* Subtle culture / mentorship callout */
    .culture-note{
      margin-top:14px;
      padding:12px 14px;
      border:1px solid var(--border-subtle);
      background: var(--green-soft);
      border-radius: 14px;
      color: var(--text-muted);
      font-size: 0.95rem;
      display:flex;
      gap:10px;
      align-items:flex-start;
    }
    .culture-note strong{ color: var(--text-main); font-weight: 650; }
    .culture-dot{
      width:10px;
      height:10px;
      border-radius: 999px;
      background: var(--green);
      margin-top:6px;
      flex: 0 0 auto;
      opacity: 0.75;
    }




  .subnav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-bottom:1px solid rgba(0,0,0,.06)}
  .subnavInner{display:flex;gap:.65rem;align-items:center;padding:.5rem 0;flex-wrap:wrap}
  .subnavLink{display:inline-flex;align-items:center;gap:.35rem;padding:.32rem .55rem;border-radius:.75rem;text-decoration:none;border:1px solid rgba(0,0,0,.10);color:inherit;font-size:.95rem}
  .subnavLink.active{border-color:rgba(0,0,0,.22);font-weight:600}
  .sectionMore{margin-left:auto;display:inline-flex;align-items:center;gap:.35rem;text-decoration:none;font-weight:600;font-size:.95rem;border:1px solid rgba(0,0,0,.10);padding:.28rem .55rem;border-radius:.8rem}
  .sectionHeaderRow{display:flex;align-items:flex-end;gap:.75rem}
  .sectionHeaderRow > div{min-width:0}



/* Header nav spacing fix */
header nav,
header .mainNav {
  display: flex;
  align-items: center;
  gap: 1.25rem; /* increase spacing between menu items */
}

header nav a {
  padding: 0.25rem 0.4rem; /* keep hit area clean without crowding */
}

@media (min-width: 1024px) {
  header nav,
  header .mainNav {
    gap: 1.75rem; /* a bit more breathing room on desktop */
  }
}

/* --- Added for dedicated Feed & Services pages (keeps existing design language) --- */
.feed-page-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:1.1rem;
}
.feed-card--page{grid-column:span 6;}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){ .feed-card--page{grid-column:span 12;} }

.hospital-gallery{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:1rem;
  margin-top:1rem;
}
.hospital-img{grid-column:span 4; margin:0;}
.hospital-img img{width:100%; height:220px; object-fit:cover; border-radius:18px; border:1px solid rgba(0,0,0,.08);}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){
  .hospital-img{grid-column:span 6;}
}
@media (max-width: 560px){
  .hospital-img{grid-column:span 12;}
  .hospital-img img{height:200px;}
}


/* =====================
   Theme Variants (data-theme)
   Generated: 2026-01-23
   ===================== */
html[data-theme="sage-citrus"] {
  --green: #2b7a69;
  --green-soft: #e3f4ee;
  --green-dark: #1d5144;
  --orange: #f4a24a;
  --bg: #fff8f0;
  --card-bg: #ffffff;
  --text-main: #25282b;
  --text-muted: #6d7278;
  --border-subtle: #e5d7c4;
}
html[data-theme="coastal-teal"] {
  --green: #1f6f78;
  --green-soft: #dff3f4;
  --green-dark: #14474d;
  --orange: #ffb454;
  --bg: #f4fbfb;
  --card-bg: #ffffff;
  --text-main: #1f2a2e;
  --text-muted: #5f6c72;
  --border-subtle: #d7e7ea;
}
html[data-theme="bay-blue"] {
  --green: #2457a7;
  --green-soft: #e7efff;
  --green-dark: #183c73;
  --orange: #f4a24a;
  --bg: #f6f8ff;
  --card-bg: #ffffff;
  --text-main: #1e2430;
  --text-muted: #5d6677;
  --border-subtle: #d7dff0;
}
html[data-theme="eucalyptus"] {
  --green: #2d6a4f;
  --green-soft: #e6f4ea;
  --green-dark: #1b4332;
  --orange: #ffb703;
  --bg: #f7fff9;
  --card-bg: #ffffff;
  --text-main: #1f2a22;
  --text-muted: #66706a;
  --border-subtle: #d8e6dd;
}
html[data-theme="lavender-clinic"] {
  --green: #5a4fcf;
  --green-soft: #efeaff;
  --green-dark: #3a2f97;
  --orange: #ff7a59;
  --bg: #fbf9ff;
  --card-bg: #ffffff;
  --text-main: #232036;
  --text-muted: #6a667b;
  --border-subtle: #e2dcf4;
}
html[data-theme="rose-paw"] {
  --green: #b24a6a;
  --green-soft: #fdeaf0;
  --green-dark: #7e3148;
  --orange: #f4a24a;
  --bg: #fff7fb;
  --card-bg: #ffffff;
  --text-main: #2b1f25;
  --text-muted: #7a6870;
  --border-subtle: #f2d6df;
}
html[data-theme="sunset-apricot"] {
  --green: #8a4b2a;
  --green-soft: #fde9d8;
  --green-dark: #5c331c;
  --orange: #ff7a00;
  --bg: #fff7f0;
  --card-bg: #ffffff;
  --text-main: #2b221d;
  --text-muted: #7a6c64;
  --border-subtle: #f1d6c5;
}
html[data-theme="midnight-mint"] {
  --green: #3dd6b2;
  --green-soft: #0c2b26;
  --green-dark: #0a1d1a;
  --orange: #ffd166;
  --bg: #071815;
  --card-bg: #0f2b26;
  --text-main: #eaf7f4;
  --text-muted: #9ac6bd;
  --border-subtle: #1a4a42;
}
html[data-theme="slate-lime"] {
  --green: #4c6b5d;
  --green-soft: #e9f2ed;
  --green-dark: #2f443a;
  --orange: #cddc39;
  --bg: #f7fbf8;
  --card-bg: #ffffff;
  --text-main: #222a26;
  --text-muted: #67706c;
  --border-subtle: #dbe6df;
}
html[data-theme="orchid-ink"] {
  --green: #7c3aed;
  --green-soft: #f2eaff;
  --green-dark: #4c1d95;
  --orange: #f59e0b;
  --bg: #fbfaff;
  --card-bg: #ffffff;
  --text-main: #231a2e;
  --text-muted: #6e647a;
  --border-subtle: #e7dbf7;
}
html[data-theme="canyon-clay"] {
  --green: #7b4b3a;
  --green-soft: #f6e7e1;
  --green-dark: #4e2f24;
  --orange: #d97706;
  --bg: #fff8f5;
  --card-bg: #ffffff;
  --text-main: #2a221f;
  --text-muted: #776a65;
  --border-subtle: #ead6ce;
}
html[data-theme="arctic-blue"] {
  --green: #2563eb;
  --green-soft: #e6f0ff;
  --green-dark: #1e40af;
  --orange: #22c55e;
  --bg: #f3f8ff;
  --card-bg: #ffffff;
  --text-main: #1e2330;
  --text-muted: #5e6778;
  --border-subtle: #d7e3f7;
}
html[data-theme="forest-gold"] {
  --green: #1b5e20;
  --green-soft: #e8f5e9;
  --green-dark: #0d3b12;
  --orange: #ffca28;
  --bg: #f7fff7;
  --card-bg: #ffffff;
  --text-main: #1f2a22;
  --text-muted: #66706a;
  --border-subtle: #d9eadc;
}
html[data-theme="sand-aqua"] {
  --green: #0f766e;
  --green-soft: #d9f7f3;
  --green-dark: #134e4a;
  --orange: #fb923c;
  --bg: #f7fffe;
  --card-bg: #ffffff;
  --text-main: #1e2a2a;
  --text-muted: #607070;
  --border-subtle: #cfe9e5;
}
html[data-theme="cherry-soda"] {
  --green: #c02660;
  --green-soft: #ffe4ef;
  --green-dark: #831843;
  --orange: #f97316;
  --bg: #fff7fb;
  --card-bg: #ffffff;
  --text-main: #2b1f25;
  --text-muted: #7a6870;
  --border-subtle: #f6cddd;
}
html[data-theme="smoke-cobalt"] {
  --green: #2563eb;
  --green-soft: #e5efff;
  --green-dark: #1e3a8a;
  --orange: #fbbf24;
  --bg: #f7f9ff;
  --card-bg: #ffffff;
  --text-main: #1b2230;
  --text-muted: #5f6c80;
  --border-subtle: #d6dff2;
}
html[data-theme="moss-stone"] {
  --green: #3f6212;
  --green-soft: #eef6d7;
  --green-dark: #1a2e05;
  --orange: #f59e0b;
  --bg: #fbfff4;
  --card-bg: #ffffff;
  --text-main: #222a1f;
  --text-muted: #6b7266;
  --border-subtle: #e1eacc;
}
html[data-theme="plum-cream"] {
  --green: #6d28d9;
  --green-soft: #f4ecff;
  --green-dark: #4c1d95;
  --orange: #ec4899;
  --bg: #fffaff;
  --card-bg: #ffffff;
  --text-main: #231a2e;
  --text-muted: #6e647a;
  --border-subtle: #eadcf8;
}
html[data-theme="steel-sky"] {
  --green: #0f172a;
  --green-soft: #e7eefc;
  --green-dark: #111827;
  --orange: #38bdf8;
  --bg: #f7fbff;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-subtle: #d7e2f0;
}
html[data-theme="warm-neutral"] {
  --green: #2f3e46;
  --green-soft: #e7ecef;
  --green-dark: #1b262b;
  --orange: #e76f51;
  --bg: #f6f5f3;
  --card-bg: #ffffff;
  --text-main: #1f2326;
  --text-muted: #5c656b;
  --border-subtle: #dde2e6;
}

/* =====================
   Layout Variants (data-layout)
   ===================== */

/* Magazine: full-bleed sections, strong separation, no "panel" feel */
html[data-layout="magazine"] body {
  background: var(--bg);
}

html[data-layout="magazine"] .container {
  max-width: 1280px;
}

/* Remove the card-like feel on key blocks */
html[data-layout="magazine"] .panel,
html[data-layout="magazine"] .card,
html[data-layout="magazine"] .services-card,
html[data-layout="magazine"] .team-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Edge-to-edge sections */
html[data-layout="magazine"] section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

html[data-layout="magazine"] .hero {
  padding-top: 6.5rem;
  padding-bottom: 5.5rem;
}

html[data-layout="magazine"] .hero-inner {
  align-items: stretch;
}

/* Hero: make the feed feel like a magazine strip */
html[data-layout="magazine"] .hero-feed-wrapper {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.55);
}

html[data-layout="magazine"] .feed-card {
  border: 1px solid rgba(255,255,255,0.55);
}

/* Section headings: more editorial */
html[data-layout="magazine"] .section-title {
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Add subtle dividers between sections */
html[data-layout="magazine"] section + section {
  border-top: 1px solid var(--border-subtle);
}


/* =========================
   Magazine layout overrides
   ========================= */
html[data-layout="magazine"] body{
  background: var(--bg);
}

html[data-layout="magazine"] .page{
  max-width: none;
}

html[data-layout="magazine"] main{
  scroll-snap-type: y mandatory;
}

html[data-layout="magazine"] main > section{
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vw, 4.5rem) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

html[data-layout="magazine"] .container{
  width: min(1100px, calc(100% - 2rem));
}

html[data-layout="magazine"] .section-kicker{
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

html[data-layout="magazine"] .hero-title,
html[data-layout="magazine"] .section-title{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.02em;
}

html[data-layout="magazine"] .hero{
  padding-top: clamp(2.75rem, 5vh, 4.25rem);
}

html[data-layout="magazine"] .hero-inner{
  gap: 2.25rem;
  align-items: stretch;
}

html[data-layout="magazine"] .hero-feed-wrapper{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

html[data-layout="magazine"] .feed-card{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

html[data-layout="magazine"] .feed-text{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
}

html[data-layout="magazine"] .feed-text::before{
  content: "“";
  margin-right: 0.08em;
}

html[data-layout="magazine"] .feed-text::after{
  content: "”";
  margin-left: 0.08em;
}

html[data-layout="magazine"] .services-grid,
html[data-layout="magazine"] .team-grid{
  gap: 1rem;
}

html[data-layout="magazine"] .service-item{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
}

html[data-layout="magazine"] .faq-grid{
  gap: 0.9rem;
}

html[data-layout="magazine"] .faq-item{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

/* panel-less feel: remove “card” padding inflation */
html[data-layout="magazine"] .hero-feed-wrapper,
html[data-layout="magazine"] .feed-card,
html[data-layout="magazine"] .faq-item,
html[data-layout="magazine"] .service-item{
  border-radius: 18px;
}

/* Uniform team cards */
.team-card{
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.team-bio{
  display: -webkit-box;
  /* -webkit-line-clamp */: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[data-layout="magazine"] .team-card{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}



/* ===========================
   Added constraints (2026-01-23)
   Magazine full-screen scroll + Deals + Reviews + Service grids
   =========================== */

/* Ensure nested build assets work everywhere */
.logo-img { display:block; }

/* Header: no top CTA button; nav remains 5 items */
.mainNav a { white-space: nowrap; }

/* Team: keep cards same height; LinkedIn icon at bottom */
.team-card { display: flex; flex-direction: column; }
.team-bio {
  display: -webkit-box;
  /* -webkit-line-clamp */: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2em; /* uniform */
}
.team-footer { margin-top: auto; padding-top: 0.75rem; }
.team-linkedin { display:inline-flex; align-items:center; gap:0.35rem; opacity:0.9; }
.team-linkedin:hover { opacity:1; }

/* Home services: 2 columns like FAQ (accordion items in a grid) */
.page-home .services-accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
@media (max-width: 860px) {
  .page-home .services-accordion { grid-template-columns: 1fr; }
}

/* Services page: 3 columns */
.page-services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
@media (max-width: 980px) {
  .page-services .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .page-services .services-grid { grid-template-columns: 1fr; }
}

/* Deals (home section 2) */
.deals { padding: 2.5rem 0; }

.deals-tiles{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.95rem 1.05rem;
}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){ .deals-tiles{ grid-template-columns:1fr; } }

.deal-tile{
  position:relative;
  display:flex;
 
  align-items:flex-start;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.deal-thumbwrap{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow:hidden;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  margin : 2px;
}
.deal-thumb{ width:100%; height:100%; object-fit:cover; display:block; }

.deal-copy{ flex:1; min-width:0; }
.deal-row{
  display:flex;
  gap: 0.65rem;
  justify-content:space-between;
  align-items:baseline;
}
.deal-title{
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin:0;
  line-height:1.15;
}
.deal-offer{
  font-weight: 800;
  font-size: 0.95rem;
  white-space:nowrap;
  border-left: 1px solid var(--border);
  color: var(--text);
}
.deal-desc{
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  display:-webkit-box;
  /* -webkit-line-clamp */:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height: 2.6em;
  font-size: 0.93rem;
  line-height:1.35;
}

.deal-click{ position:absolute; inset:0; border-radius:16px; }

/* Magazine layout makes deals feel like editorial “listings” (no heavy cards) */
html[data-layout="magazine"] .deal-tile{
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--border);
}

/* Reviews */
.reviews { padding: 2.8rem 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
@media (min-width: 1280px) { .reviews-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow);
  display:flex; flex-direction:column;
}
.review-stars { letter-spacing: 0.18em; font-size: 0.95rem; }
.review-quote {
  margin-top: 0.7rem;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
  flex:1;
}
.review-meta { margin-top: 0.8rem; display:flex; justify-content:space-between; gap:0.75rem; color: var(--text-muted); font-size: 0.88rem; }
.review-name { font-weight: 700; color: var(--text); }


/* Editorial quotes */
.mag-quote{
  position: relative;
  padding-left: 1.15rem;
}
.mag-quote::before{
  content: "“";
  position: absolute;
  left: 0;
  top: -0.15rem;
  font-family: "Playfair Display", serif;
  font-size: 2.15rem;
  line-height: 1;
  opacity: 0.55;
}
html[data-layout="magazine"] .mag-quote{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.05rem;
}
/* Magazine layout: screen-at-a-time scroll + editorial typography + panel-less separators */
html[data-layout="magazine"] body { background: var(--bg); }
html[data-layout="magazine"] .page { background: transparent; }

html[data-layout="magazine"] main {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
}
html[data-layout="magazine"] main > section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 4.2rem 0;
  border-bottom: 1px solid var(--border);
}
html[data-layout="magazine"] .section-header .section-title,
html[data-layout="magazine"] .hero-title,
html[data-layout="magazine"] .deal-title {
  font-family: var(--font-display, "Playfair Display", serif);
  letter-spacing: -0.02em;
}
html[data-layout="magazine"] .section-header .section-kicker {
  letter-spacing: 0.18em;
}

/* panel-less: remove card borders/shadows; keep one separator line */
html[data-layout="magazine"] .deal-card,
html[data-layout="magazine"] .review-card,
html[data-layout="magazine"] .feed-card,
html[data-layout="magazine"] .team-card,
html[data-layout="magazine"] .service-acc {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
html[data-layout="magazine"] .deal-card { border-bottom: 1px solid var(--border); }
html[data-layout="magazine"] .deal-bar { border-radius: 0; }

html[data-layout="magazine"] .feed-text,
html[data-layout="magazine"] .review-quote {
  font-size: 1.05rem;
}
html[data-layout="magazine"] .feed-title { font-family: var(--font-display, "Playfair Display", serif); }


/* Easy Apply modal */
.apply-form .input{
  width:100%;
  border:1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  outline: none;
}
.apply-form .input:focus{
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.apply-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.85rem 0.95rem;
}
@media (max-width: 800px){ .apply-grid{ grid-template-columns:1fr; } }
.apply-field{ display:flex; flex-direction:column; gap:0.4rem; }
.apply-field--full{ grid-column: 1 / -1; }
.apply-label{ font-size:0.8rem; color: var(--text-muted); font-weight:600; }
.apply-hint{ font-size:0.78rem; color: var(--text-muted); margin-top:0.25rem; }

.apply-actions{
  display:flex;
  gap:0.6rem;
  justify-content:flex-end;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}


/* Hiring */
.hiring-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.1rem;
}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){ .hiring-grid{ grid-template-columns:1fr; } }

.hiring-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.05rem 1.05rem 1rem;
  box-shadow: var(--shadow);
}
.hiring-top{ display:flex; justify-content:space-between; gap:0.75rem; }
.hiring-role{ font-weight:800; font-size:1.05rem; letter-spacing:-0.02em; }
.hiring-bullets{ margin: 0.65rem 0 0; padding-left: 1.1rem; color: var(--text-muted); }
.hiring-bullets li{ margin: 0.25rem 0; }
.hiring-cta{
  display:flex;
  gap: 0.65rem;
  align-items:center;
  justify-content:flex-start;
  margin-top: 1.1rem; /* fixes spacing */
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}


/* === Magazine layout: alive, alternating paper tones === */
html[data-layout="magazine"] body{
  background: var(--bg);
}
html[data-layout="magazine"] main > section.section{
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: stretch;
  border: 0;
  background: color-mix(in oklab, var(--bg) 86%, var(--surface) 14%);
}
html[data-layout="magazine"] main > section.section:nth-of-type(even){
  background: color-mix(in oklab, var(--bg) 72%, var(--surface) 28%);
}
html[data-layout="magazine"] main > section.section + section.section{
  border-top: 1px solid color-mix(in oklab, var(--text) 14%, transparent 86%);
}
html[data-layout="magazine"] .section-header .section-title{
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  letter-spacing: -0.02em;
}
html[data-layout="magazine"] .feed-quote,
html[data-layout="magazine"] .review-quote{
  position: relative;
  padding-left: 1.1rem;
}
html[data-layout="magazine"] .feed-quote::before,
html[data-layout="magazine"] .review-quote::before{
  content: "“";
  position: absolute;
  left: 0;
  top: -0.15rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  opacity: .45;
}
html[data-layout="magazine"] .feed-quote::after,
html[data-layout="magazine"] .review-quote::after{
  content: "”";
  opacity: 0;
}

/* Feed home grid (3 cards) */
.feed-home-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Desktop carousel: show 2 cards at a time (rest scrolls with arrows) */
@media (min-width: 821px){
  .carousel-track.feed-home-grid{
    display:flex !important;
    flex-wrap:nowrap;
    gap: 16px;
    overflow:hidden;
  }
  .carousel-track.feed-home-grid > *{
    flex: 0 0 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
  }
}
@media (max-width: 980px){
  .feed-home-grid{ grid-template-columns: 1fr; }
}
.feed-card--home .feed-body{
  margin-top: 10px;
}
.feed-card--home .feed-quote{
  display: -webkit-box;
  /* -webkit-line-clamp */: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feed page: wider, editorial 2-up */
.feed-page-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .feed-page-grid{ grid-template-columns: 1fr; }
}
.feed-card--page{
  min-height: 260px;
}

.feed-thumb{
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 215, 196, 0.9);
  background: rgba(255,255,255,0.7);
  aspect-ratio: 16/9;
}
.feed-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.feed-headline{
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin: 0.1rem 0 0.25rem;
}
.feed-excerpt{
  margin: 0;
  color: var(--text-muted);
  display: -webkit-box;
  /* -webkit-line-clamp */: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-header--row{
  display:flex;
  justify-content: space-between;
  align-items:flex-end;
  gap: 16px;
}
@media (max-width: 980px){
  .section-header--row{flex-direction: column; align-items:flex-start;}
  .section-header-actions{width:100%; display:flex; gap:10px; flex-wrap:wrap;}
}
.page-header{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 980px){
  .page-header{flex-direction: column; align-items:flex-start;}
}

.review-page-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (max-width: 980px){
  .review-page-grid{ grid-template-columns: 1fr; }
}
.review-card{
  background: #fffdf9;
  border-radius: 16px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(229, 215, 196, 0.9);
}
.review-stars{ font-weight: 700; letter-spacing: 0.04em; }
.review-title{ font-size: 0.95rem; margin: 0.35rem 0 0.35rem; }
.review-body{ margin: 0 0 0.7rem; color: var(--text); }
.review-meta{ color: var(--text-muted); font-size: 0.85rem; }

.feed-card.is-highlight{
  outline: 3px solid rgba(43,122,105,0.35);
  box-shadow: 0 0 0 6px rgba(43,122,105,0.10);
}
.form-card{
  background: #fffdf9;
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(229, 215, 196, 0.9);
  box-shadow: var(--shadow-subtle);
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.form-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){
  .form-row{ grid-template-columns: 1fr; }
}
.form-card label{ display:flex; flex-direction:column; gap:6px; font-weight:600; }
.form-card input, .form-card textarea{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(229, 215, 196, 0.95);
  background: #ffffff;
  font-weight: 500;
}
.form-actions{ display:flex; gap: 10px; flex-wrap: wrap; align-items:center; margin-top: 6px; }
.form-note{ color: var(--text-muted); margin: 0.5rem 0 0; font-size: 0.9rem;}

.team-photo{
  width:100%;
  aspect-ratio:1/1;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:10px;
}
.team-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.team-card--page .team-photo{
  aspect-ratio:4/5;
}
.team-card--page{
  padding:1.2rem;
}

/* Team page rows: ensure consistent crop regardless of source image aspect ratio */
.team-row-media img{
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.team-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}

/* Team page: one per row, alternating layout */
.team-list{ display:flex; flex-direction:column; gap: 18px; }
.team-row{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: stretch;
  background: #fffdf9;
  border-radius: 18px;
  border: 1px solid rgba(229, 215, 196, 0.9);
  box-shadow: var(--shadow-subtle);
  overflow:hidden;
}
.team-row:nth-child(even){
  grid-template-columns: 1fr 320px;
}
.team-row:nth-child(even) .team-row-media{ order: 2; }
.team-row-media{ width:100%; background:#fff; }
.team-row-media img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio: 1/1; }
.team-row-body{ padding: 18px; display:flex; flex-direction:column; gap: 8px; }
.team-linkedin--inline{ display:inline-flex; gap:8px; align-items:center; color: var(--accent); text-decoration:none; margin-top: 8px; font-weight:600;}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){
  .team-row, .team-row:nth-child(even){ grid-template-columns: 1fr; }
  .team-row:nth-child(even) .team-row-media{ order: 0; }
  .team-row-media img{ aspect-ratio: 16/12; }
}

/* Apply modal form layout fixes */
.modal .apply-form{ display:flex; flex-direction:column; gap: 12px; }
.modal .apply-form .row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px){ .modal .apply-form .row{ grid-template-columns: 1fr; } }
.modal .apply-form label{ font-weight:600; display:flex; flex-direction:column; gap:6px; }
.modal .apply-form input, .modal .apply-form textarea{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(229, 215, 196, 0.95);
  background: #fff;
}
.modal .apply-form textarea{ min-height: 120px; }
.modal .apply-actions{ display:flex; gap: 10px; justify-content:flex-end; flex-wrap:wrap; margin-top: 6px; }

.modal .apply-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px){ .modal .apply-grid{ grid-template-columns: 1fr; } }
.modal .apply-field{ display:flex; flex-direction:column; gap:6px; font-weight:600; }
.modal .apply-label{ font-weight:600; }
.modal .apply-actions{ display:flex; gap: 10px; justify-content:flex-end; flex-wrap:wrap; margin-top: 6px; }

/* Modal spacing fixes */
.modal-card{ max-height: calc(100vh - 64px); overflow:hidden; }
.modal-body{ overflow:auto; }
.apply-form{ max-width: 100%; }
.apply-form .input, .apply-form textarea, .apply-form select{ width:100%; }
.apply-field select.input{ height: 44px; }

/* Apply modal padding/margins (ensure breathing room) */
#applyModal .modal-card{ margin: 22px auto; }
#applyModal .modal-body{ padding: 18px 18px 20px; }
#applyModal .apply-form{ gap: 14px; }
#applyModal .apply-grid{ margin-top: 6px; }

/* CTA modal: left form surface, right map */
.modal-card--cta{ width: min(1100px, calc(100vw - 32px)); }
.modal-subtitle{ font-size:0.88rem; color: var(--text-muted); margin-top: 0.15rem; }
.modal-body--cta{ padding: 0; display:block; }
@media (max-width: 980px){
  .modal-body--cta{ grid-template-columns: 1fr; }
  .cta-map{ min-height: 260px; }
}
.cta-surface{ padding: 12px 16px 16px; }
.cta-map{ border-left: 1px solid rgba(229,215,196,0.85); background:#fff; }
@media (max-width: 980px){ .cta-map{ border-left:0; border-top: 1px solid rgba(229,215,196,0.85);} }
.cta-map iframe{ width:100%; height:100%; min-height: 520px; border:0; display:block; }

.cta-map-inline{
  margin-top: 14px;
  border: 1px solid rgba(229,215,196,0.85);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.cta-map-inline iframe{ width:100%; height:320px; border:0; display:block; }
@media (max-width: 820px){
  .cta-map-inline iframe{ height: 40vh; min-height: 240px; }
}
.cta-tabs{ display:flex; gap: 8px; flex-wrap:wrap; margin-bottom: 12px; }
.cta-tab{
  border:1px solid rgba(229,215,196,0.95);
  background:#fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor:pointer;
}

/* CTA modal: mobile-friendly tab switcher */
.cta-tabs-select{ display:none; }
.cta-tabs-select select.input{ height: 42px; }
@media (max-width: 640px){
  .cta-tabs--header{ display:none; }
  .cta-tabs-select{ display:block; }
  .modal-header--tabs{ align-items:center; }
}
.cta-tab.is-active{ background: rgba(43,122,105,0.12); border-color: rgba(43,122,105,0.35); }
.cta-panel{ display:none; }
.cta-panel.is-active{ display:block; }
.cta-panel-title{ margin: 6px 0 10px; font-size: 1.05rem; }
.cta-form{ display:flex; flex-direction:column; gap: 12px; }
.cta-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 720px){ .cta-grid{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap: 6px; font-weight: 700; }
.field input, .field textarea{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(229,215,196,0.95);
  background: #fff;
  font-weight: 500;
}
.cta-choices{ border-top: 1px dashed rgba(229,215,196,0.95); padding-top: 10px; }
.cta-choice-title{ font-weight: 800; margin-bottom: 8px; }
.cta-choice-grid{ display:flex; flex-wrap:wrap; gap: 8px; }
.chip input{ position:absolute; opacity:0; pointer-events:none; }
.chip span{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229,215,196,0.95);
  background: #fff;
  font-weight: 700;
  cursor:pointer;
}
.chip input:checked + span{ background: rgba(43,122,105,0.12); border-color: rgba(43,122,105,0.35); }
.cta-note{ color: var(--text-muted); margin: 0; font-size: 0.9rem; }

/* Select dropdown styling */
.apply-form select,
.cta-form select{
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid rgba(229,215,196,0.95);
  border-radius: 12px;
  padding: 10px 36px 10px 12px;
  font-weight: 600;
}

/* Call tab */
.cta-call-number{ font-size:1.6rem; font-weight:800; margin: 12px 0; }
.cta-phone{ color: var(--accent); text-decoration:none; }

/* Apply modal: keep actions visible */
#applyModal .modal-body{ display:flex; flex-direction:column; }
#applyModal .apply-actions{ position: sticky; bottom: 0; background: #fffdf9; padding-top: 12px; padding-bottom: 6px; }
#applyModal .apply-actions:before{ content:""; position:absolute; left:0; right:0; top:-10px; height:10px; background: linear-gradient(to top, rgba(255,253,249,1), rgba(255,253,249,0)); }
#applyModal .apply-actions{ justify-content:flex-end; }

/* Select styling */
.apply-form select.input, .cta-form select, .form-card select, .modal-form select.input, .modal-form select{
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(70,70,70,0.7) 50%), linear-gradient(135deg, rgba(70,70,70,0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.apply-form select.input{
  border: 1px solid rgba(229,215,196,0.95);
  border-radius: 12px;
  height: 44px;
}

/* Ensure Apply actions always visible */
#applyModal .modal-body{ padding-bottom: 92px; }
#applyModal .apply-actions{
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid rgba(229,215,196,0.95);
  padding: 14px 0 6px;
  z-index: 2;
}
#applyModal .apply-actions .btn{ min-width: 160px; }


/* Select sizing */
.form-card select.input, .form-card select, .cta-form select, .apply-form select.input{
  height: 44px;
  line-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}
/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.92);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 9999;
}
.toast.is-show{ opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* Mobile: modals full screen */
@media (max-width: 720px){
  .modal-card{
    width: calc(100vw - 16px) !important;
    height: calc(100vh - 16px) !important;
    margin: 8px auto !important;
    border-radius: 18px;
  }
  .modal-body{ max-height: calc(100vh - 140px); overflow: auto; }
}

/* Persona dimension */
html[data-persona="calm-clinical"]{ --tone-radius: 18px; --tone-shadow: var(--shadow-subtle); }
html[data-persona="warm-family"]{ --tone-radius: 22px; --tone-shadow: 0 10px 30px rgba(0,0,0,0.06); }
html[data-persona="modern-tech"]{ --tone-radius: 14px; --tone-shadow: 0 10px 24px rgba(0,0,0,0.05); }
html[data-persona="playful-pet"]{ --tone-radius: 24px; --tone-shadow: 0 12px 34px rgba(0,0,0,0.07); }
html[data-persona="heritage-apothecary"]{ --tone-radius: 16px; --tone-shadow: 0 14px 36px rgba(0,0,0,0.06); }

html[data-persona] .modal-card,
html[data-persona] .feed-card,
html[data-persona] .team-card,
html[data-persona] .deal-tile,
html[data-persona] .review-card,
html[data-persona] .hiring-card{
  border-radius: var(--tone-radius);
  box-shadow: var(--tone-shadow);
}



/* =========================
   Persona: stronger visual identity
   (fonts, buttons, borders, spacing, tone) — no structural changes
   ========================= */

/* Defaults */
:root{
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --btn-radius: 999px;
  --card-radius: 18px;
  --card-border: 1px solid rgba(229,215,196,0.90);
  --card-shadow: var(--shadow-subtle);
  --kicker-tracking: .18em;
  --kicker-case: uppercase;
  --tag-radius: 999px;
  --tag-bg: rgba(43,122,105,0.08);
  --tag-border: 1px solid rgba(43,122,105,0.22);
}

body{ font-family: var(--font-body); }
h1,h2,h3,.page-title,.section-title{ font-family: var(--font-head); }
.section-kicker{
  letter-spacing: var(--kicker-tracking);
  text-transform: var(--kicker-case);
}
.btn{ border-radius: var(--btn-radius); }
.feed-card,.team-card,.deal-tile,.review-card,.hiring-card,.modal-card{
  border-radius: var(--card-radius);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}

/* tags (feed pills) */
.feed-tag{
  border-radius: var(--tag-radius);
  background: var(--tag-bg);
  border: var(--tag-border);
}

/* Persona variants */
html[data-persona="calm-clinical"]{
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --btn-radius: 18px;
  --card-radius: 18px;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.06);
  --kicker-tracking: .22em;
  --tag-bg: rgba(43,122,105,0.08);
  --tag-border: 1px solid rgba(43,122,105,0.18);
}

html[data-persona="warm-family"]{
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --btn-radius: 999px;
  --card-radius: 24px;
  --card-shadow: 0 12px 34px rgba(0,0,0,0.07);
  --kicker-tracking: .14em;
  --tag-bg: rgba(255, 167, 96, 0.10);
  --tag-border: 1px solid rgba(255, 167, 96, 0.25);
}
/* softer buttons */
html[data-persona="warm-family"] .btn-primary{
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}
html[data-persona="warm-family"] .btn-outline{
  background: rgba(255,255,255,0.65);
}

html[data-persona="modern-tech"]{
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --btn-radius: 14px;
  --card-radius: 14px;
  --card-border: 1px solid rgba(10, 60, 55, 0.18);
  --card-shadow: 0 10px 24px rgba(0,0,0,0.05);
  --kicker-tracking: .26em;
  --tag-bg: rgba(10,60,55,0.06);
  --tag-border: 1px solid rgba(10,60,55,0.18);
}
/* crisper titles */
html[data-persona="modern-tech"] .section-title{ letter-spacing: -0.02em; }
html[data-persona="modern-tech"] .feed-headline{ font-family: var(--font-head); }

html[data-persona="playful-pet"]{
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --btn-radius: 999px;
  --card-radius: 26px;
  --card-shadow: 0 14px 38px rgba(0,0,0,0.08);
  --kicker-tracking: .12em;
  --tag-bg: rgba(120, 190, 255, 0.14);
  --tag-border: 1px solid rgba(120, 190, 255, 0.35);
}
/* playful chips */
html[data-persona="playful-pet"] .chip span{
  border-radius: 999px;
  transform: translateZ(0);
}
html[data-persona="playful-pet"] .cta-tab{
  border-radius: 999px;
}

html[data-persona="heritage-apothecary"]{
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --btn-radius: 12px;
  --card-radius: 16px;
  --card-border: 1px solid rgba(120, 98, 65, 0.24);
  --card-shadow: 0 16px 44px rgba(0,0,0,0.06);
  --kicker-tracking: .30em;
  --tag-bg: rgba(120, 98, 65, 0.08);
  --tag-border: 1px solid rgba(120, 98, 65, 0.22);
}
/* editorial quote styling in heritage */
html[data-persona="heritage-apothecary"] .review-body,
html[data-persona="heritage-apothecary"] .feed-excerpt{
  font-family: var(--font-head);
}

.persona-badge{
  margin-left: 10px;
  font-size: 0.75rem;
  color: rgba(40,40,40,0.45);
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
@media (max-width: 820px){ .persona-badge{ display:none; } }



/* =========================
   Section splits / separators
   ========================= */

/* Default layout: subtle dividers + section top rule */
html[data-layout="default"] .section{
  position: relative;
}
html[data-layout="default"] .section:before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(229,215,196,0.85);
}
html[data-layout="default"] .section:first-of-type:before{ display:none; }

/* Add a small ornament near section titles */
.section-title{
  position: relative;
}
html[data-layout="default"] .section-title:after{
  content:"";
  display:block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: rgba(43,122,105,0.20);
  margin-top: 10px;
}

/* Magazine layout: editorial split (hairline + margin marks) */
html[data-layout="magazine"] .section{
  position: relative;
}
html[data-layout="magazine"] .section:before{
  content:"";
  position:absolute;
  left: 7vw;
  right: 7vw;
  top: 0;
  height: 1px;
  background: rgba(229,215,196,0.70);
}
html[data-layout="magazine"] .section:after{
  content:"";
  position:absolute;
  left: 7vw;
  top: 0;
  width: 18px;
  height: 18px;
  border-left: 1px solid rgba(229,215,196,0.70);
  border-top: 1px solid rgba(229,215,196,0.70);
  transform: translateY(-10px);
}
html[data-layout="magazine"] .section:first-of-type:before,
html[data-layout="magazine"] .section:first-of-type:after{ display:none; }

/* Magazine: alternating subtle paper tint for breathing room */
html[data-layout="magazine"] .section:nth-of-type(even){
  background: rgba(255,255,255,0.55);
}
html[data-layout="magazine"] .section:nth-of-type(odd){
  background: rgba(250,245,238,0.55);
}



/* =========================
   Persona: stronger differences (fonts + icons + tone)
   ========================= */
html[data-persona="playful-pet"]{
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --btn-radius: 999px;
  --card-radius: 28px;
}
html[data-persona="playful-pet"] .section-kicker{
  text-transform: none;
  letter-spacing: .06em;
}
html[data-persona="playful-pet"] .section-title:after{
  background: rgba(120, 190, 255, 0.35);
  width: 74px;
}
html[data-persona="playful-pet"] .btn-primary:before{
  content:"🐾";
  margin-right: 8px;
}
html[data-persona="playful-pet"] .btn-outline:before{
  content:"🐶";
  margin-right: 8px;
}
html[data-persona="playful-pet"] .feed-tag:before{
  content:"🐾";
  margin-right: 6px;
}
html[data-persona="playful-pet"] .cta-tab:before{
  content:"🐾";
  margin-right: 6px;
}
html[data-persona="playful-pet"] .team-name:before{
  content:"🐾 ";
  opacity: .65;
}

html[data-persona="modern-tech"]{
  --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --btn-radius: 12px;
  --card-radius: 14px;
}
html[data-persona="modern-tech"] .section-title:after{
  width: 44px;
  height: 2px;
  background: rgba(10,60,55,0.22);
}
html[data-persona="modern-tech"] .btn{
  letter-spacing: .02em;
}
html[data-persona="modern-tech"] .feed-tag{
  font-weight: 700;
}

html[data-persona="warm-family"]{
  --font-head: "Fraunces", serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --btn-radius: 999px;
  --card-radius: 24px;
}
html[data-persona="warm-family"] .section-title:after{
  background: rgba(255, 167, 96, 0.35);
  width: 64px;
}
html[data-persona="warm-family"] .btn-primary:before{
  content:"💛";
  margin-right: 8px;
  opacity: .95;
}

html[data-persona="heritage-apothecary"]{
  --font-head: "Fraunces", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --btn-radius: 10px;
  --card-radius: 16px;
}
html[data-persona="heritage-apothecary"] .section-kicker{
  letter-spacing: .30em;
  text-transform: uppercase;
}
html[data-persona="heritage-apothecary"] .section-title:after{
  background: rgba(120, 98, 65, 0.35);
  height: 2px;
  width: 80px;
}
html[data-persona="heritage-apothecary"] .review-body,
html[data-persona="heritage-apothecary"] .feed-excerpt{
  font-family: var(--font-head);
  font-style: italic;
}

/* Content item page */
.content-article{ padding: 34px 0; }
.content-meta{ display:flex; gap:12px; align-items:center; color: var(--text-muted); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.content-title{ margin: 10px 0 8px; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.content-summary{ margin: 0 0 18px; color: var(--text-muted); font-size: 1.05rem; }
.content-figure{ margin: 0 0 18px; border-radius: 18px; overflow:hidden; border: 1px solid rgba(229,215,196,0.9); background:#fff; }
.content-figure img{ width:100%; height:auto; display:block; }
.content-body p{ font-size: 1.02rem; line-height: 1.65; margin: 0 0 1rem; }
.content-tags{ display:flex; gap:8px; flex-wrap:wrap; margin: 18px 0 16px; }
.tag{ display:inline-flex; padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(229,215,196,0.95); background: rgba(255,255,255,0.6); font-weight: 800; font-size:.85rem; }
.content-links{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.related{ margin-top: 26px; }
.related-title{ margin: 0 0 10px; font-size: 1.1rem; }
.related-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 980px){ .related-grid{ grid-template-columns: 1fr; } }
.related-card{ display:block; padding: 12px 12px; border-radius: 16px; border: 1px solid rgba(229,215,196,0.9); background: rgba(255,255,255,0.55); text-decoration:none; }
.related-card-title{ font-weight: 900; color: var(--text); }
.related-card-sub{ color: var(--text-muted); margin-top: 4px; font-weight: 700; font-size: .9rem; }

/* Logo visibility fix */
:root{
  --logo-color: #0b3a33; /* darker evergreen */
}
.logo-mark, .site-logo svg{
  fill: var(--logo-color);
}
.header{
  background: #fdfaf5;
}

/* Left navigation + prev/next */
.layout-with-leftnav{ display:flex; gap:32px; }
.left-nav{ width:240px; position:sticky; top:100px; }
.left-nav ul{ list-style:none; padding:0; margin:0; }
.left-nav li{ margin:0 0 10px; }
.left-nav a{ text-decoration:none; font-weight:700; color:var(--text-muted); }
.left-nav a:hover{ color:var(--text); }

.item-prev-next{ display:flex; justify-content:space-between; margin:24px 0; gap:12px; }
.item-prev-next a{ font-weight:700; text-decoration:none; }

@media(max-width:900px){
  .layout-with-leftnav{ display:block; }
  .left-nav{ display:none; }
}

/* Hub layout with left nav (desktop) */
.hub{ display:grid; grid-template-columns: 280px 1fr; gap: 18px; align-items:start; }
.hub-nav{
  position: sticky;
  top: 86px;
  align-self:start;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(229,215,196,0.9);
  background: rgba(255,255,255,0.55);
  max-height: calc(100vh - 110px);
  overflow:auto;
}
.hub-nav-title{ font-weight: 900; letter-spacing:.14em; text-transform: uppercase; font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.hub-link{
  display:block;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  color: var(--text);
  border: 1px solid transparent;
}
.hub-link:hover{ background: rgba(43,122,105,0.08); }
.hub-link.is-active{ background: rgba(43,122,105,0.12); border-color: rgba(43,122,105,0.28); }
.hub-main{ min-width: 0; }
@media (max-width: 980px){
  .hub{ grid-template-columns: 1fr; }
  .hub-nav{ display:none; }
}

/* Prev/next bar + swipe hint */
.nav-nextprev{ justify-content: space-between; }

/* Logo visibility */
.brand-logo img, .site-logo img{
  opacity: 1 !important;
  filter: contrast(1.35) saturate(1.25) !important;
}

/* Split layout with left navigation (desktop) */
.split-layout{ display:grid; grid-template-columns: 260px 1fr; gap: 18px; align-items:start; }
.left-nav{ position: sticky; top: 92px; padding: 14px 12px; border-radius: 16px; border: 1px solid rgba(229,215,196,0.9); background: rgba(255,255,255,0.55); }
.left-nav-title{ font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.left-nav-list{ display:flex; flex-direction:column; gap: 6px; }
.left-nav-item{ display:block; padding: 9px 10px; border-radius: 12px; text-decoration:none; color: var(--text); font-weight: 800; border: 1px solid rgba(229,215,196,0.75); background: rgba(255,255,255,0.55); }
.left-nav-item:hover{ transform: translateY(-1px); box-shadow: var(--shadow-subtle); }
@media (max-width: 980px){
  .split-layout{ grid-template-columns: 1fr; }
  .left-nav{ display:none; }
}
.team-bio--page p{ margin: 0 0 10px; line-height: 1.7; font-size: 1.0rem; }
.team-row-body{ padding: 18px 20px; }
.team-row{ overflow:hidden; }

.brand-logo img{ opacity:1 !important; filter:none !important; }

.team-bio--page{ max-width: 60ch; }
.team-bio--page{ position: relative; padding-left: 14px; }
.team-bio--page:before{
  content: "\201C"; /* “ */
  position:absolute;
  left:0;
  top:-10px;
  font-size: 42px;
  line-height: 1;
  opacity: 0.25;
}
.team-bio--page:after{
  content: "\201D"; /* ” */
  position:absolute;
  right:0;
  bottom:-22px;
  font-size: 42px;
  line-height: 1;
  opacity: 0.22;
}
.team-bio--page p{ margin: 0 0 12px; }

.hub-list{ display:flex; flex-direction:column; gap: 10px; }
.hub-row{ display:flex; flex-direction:column; gap: 4px; padding: 14px 14px; border-radius: 16px; border: 1px solid rgba(229,215,196,0.9); background: rgba(255,255,255,0.55); text-decoration:none; }
.hub-row-title{ font-weight: 900; color: var(--text); }
.hub-row-sub{ color: var(--text-muted); font-weight: 700; font-size: .92rem; }
.hub-row:hover{ transform: translateY(-1px); box-shadow: var(--shadow-subtle); }
.team-member-hero{ display:grid; grid-template-columns: 420px 1fr; gap: 18px; align-items:start; margin-top: 16px; }
.team-member-photo{ border-radius: 18px; overflow:hidden; border: 1px solid rgba(229,215,196,0.9); background: rgba(255,255,255,0.6); }
.team-member-photo img{ width:100%; height:auto; display:block; }
@media (max-width: 980px){ .team-member-hero{ grid-template-columns: 1fr; } }

.brand-link img,.brand-logo img{opacity:1 !important; filter:none !important;}

.left-nav-item.is-active{ background: rgba(255,255,255,0.9); border-color: rgba(20,108,85,0.35); box-shadow: 0 10px 22px rgba(16,36,28,0.10); }
.detail-card{ border-radius: 20px; border: 1px solid rgba(229,215,196,0.9); background: rgba(255,255,255,0.62); padding: 18px 18px; }
.detail-title{ margin: 10px 0 8px; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.detail-summary{ margin: 0 0 14px; color: var(--text-muted); font-size: 1.02rem; }
.detail-figure{ margin: 0 0 14px; border-radius: 18px; overflow:hidden; border: 1px solid rgba(229,215,196,0.9); background:#fff; }
.detail-figure img{ width:100%; height:auto; display:block; }
.detail-body p{ margin: 0 0 12px; line-height: 1.7; }

.logo-link{ text-decoration:none; display:inline-block; }
.logo-img{ opacity:1 !important; filter:none !important; }

.logo-img,.brand-logo img,.brand-link img{ opacity:1 !important; filter:none !important; }

.review-date{ color: var(--text-muted); font-weight: 700; font-size: .95em; }

.logo-img{ max-height: 64px; width:auto; }

.logo-img,.brand-logo img,.brand-link img{ opacity:1 !important; filter:none !important; }

/* Swipe hint (mobile) */
.swipe-hint{ margin-top: 14px; padding: 10px 12px; border-radius: 14px; border: 1px dashed rgba(20,108,85,0.25); color: var(--text-muted); font-weight: 800; display:flex; align-items:center; gap:10px; justify-content:center; }
.swipe-arrow{ font-weight: 900; color: var(--accent-2, var(--accent)); }
@media (min-width: 981px){ .swipe-hint{ display:none; } }

/* Posted/Expires meta row */
.meta-row{ display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; margin: 10px 0 14px; }
.meta-row .content-kicker{ margin:0; }
.meta-row .content-date{ margin:0; }
@media (max-width: 520px){
  .meta-row{ gap:6px 12px; }
  .meta-row .content-kicker{ letter-spacing:.14em; font-size:.74rem; }
  .meta-row .content-date{ font-size:.95rem; }
}

/* Header: logo-only */
.logo-link{ display:inline-block; text-decoration:none; }
.site-title, .persona-pill, .persona-label { display:none !important; }
.header-brand{ display:flex; align-items:center; gap:14px; }
.logo-subtitle{ margin-top:6px; font-weight:700; color: var(--text-muted); max-width: 44ch; }
@media (max-width: 720px){
  .logo-subtitle{ max-width: 28ch; }
}


/* ---------- Mobile swipe carousels (Feed + Hiring) ---------- */
.carousel{
  position:relative;
}

/* Feed tag pills (home + hero) */
.feed-tags{ display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.tag-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
}
.carousel-track{
  display:grid;
  gap:16px;
}

/* Base carousel buttons (used on mobile; can be enabled on desktop per-carousel) */
.carousel-btn{
  display:none;
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:40px;height:40px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: var(--surface);
  align-items:center;
  justify-content:center;
  box-shadow: var(--shadow-sm);
}
.carousel-btn.prev{ left:-6px; }
.carousel-btn.next{ right:-6px; }

/* Services gallery carousel: enable horizontal scrolling + snap on desktop + mobile */
.carousel-track.services-gallery-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.carousel-track.services-gallery-track > *{
  flex: 0 0 42%;
  scroll-snap-align: start;
}

/* Make carousel buttons visible for services gallery on desktop too */
@media (min-width: 821px){
  .services-gallery .carousel-btn{
    display:flex;
  }
}

@media (max-width: 820px){
  .carousel-track.services-gallery-track > *{
    flex: 0 0 86%;
  }
}
@media (max-width: 820px){
  .carousel-track{
    display:flex;
    overflow-x:auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .carousel-track > *{
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .carousel-btn{ display:flex; }
}
@media (min-width: 821px){
  .carousel-btn{ display:none; }
}


/* ----------------------------
   Responsive header (burger)
-----------------------------*/
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface, rgba(255,255,255,0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 14px;
}
.logo-link{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  
}
.logo-img{
  height: 60px;
  width: auto;
  display:block;
  filter: var(--logo-filter, none);
  mix-blend-mode: multiply;
}
.site-nav{
  display:flex;
  align-items:center;
  gap: 16px;
}
.nav-link{
  text-decoration:none;
  font-weight: 600;
  color: var(--text, #1b1b1b);
  opacity: 0.92;
}
.nav-link:hover{ opacity: 1; }
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.80);
  cursor: pointer;
}
.nav-toggle-bar{
  display:block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: rgba(0,0,0,0.75);
  border-radius: 2px;
}
@media (max-width: 820px){
  .nav-toggle{ display:inline-flex; flex-direction:column; justify-content:center; }
  .site-nav{
    display:none;
    position:absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    flex-direction:column;
    align-items:stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  }
  .site-nav.is-open{ display:flex; }
  .site-header-inner{ position:relative; }
  .nav-link{ padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,0.03); }
  .nav-cta{ width:100%; }
}



@media (max-width: 768px){
  .feed-scroll, .team-scroll, .hiring-scroll{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .feed-scroll > *, .team-scroll > *, .hiring-scroll > *{
    flex: 0 0 85%;
  }
}


/* ===== MOBILE_SWIPE_SCROLL_FIX =====
   Feed/Team/Hiring must be swipe-scrollable on phone.
   We use native horizontal scrolling + scroll-snap (no JS drag required).
*/
@media (max-width: 820px){
  /* Feed carousel track: override home grid (grid blocks scroll) */
  .carousel-track.feed-home-grid{
    display:flex !important;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap: 0.9rem;
    padding-bottom: 0.4rem;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .carousel-track.feed-home-grid > *{
    flex: 0 0 auto;
    width: min(86vw, 420px);
    scroll-snap-align:start;
  }

  /* Team section: turn grid into swipe row */
  .team-grid{
    display:flex !important;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap: 1rem;
    padding-bottom: 0.4rem;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .team-grid > .team-card{
    flex: 0 0 auto;
    width: min(86vw, 420px);
    scroll-snap-align:start;
  }

  /* Hiring section: swipe row */
  .hiring-grid{
    display:flex !important;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap: 1rem;
    padding-bottom: 0.4rem;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .hiring-grid > .hiring-card{
    flex: 0 0 auto;
    width: min(86vw, 420px);
    scroll-snap-align:start;
  }
}

/* Clickable hero feed cards */
.hero-feed-wrapper .feed-card{ position: relative; }
.hero-feed-wrapper .feed-card-link{
  position:absolute;
  inset:0;
  z-index:2;
  border-radius: inherit;
}
.hero-feed-wrapper .feed-card *{ position: relative; z-index:3; }



/* fold-fix */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; height: auto; }
*[class*='container'], main, section { max-width: 100%; }
/* -------------------------------------------------------
   Mobile rails: all list-style sections become horizontal
   scrollable (full list). Desktop keeps the grid layout.
   Also: never block vertical page scroll on touch.
------------------------------------------------------- */
@media (max-width: 820px){
  .grid, .cards, .row { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Horizontal rails on mobile */
  .team-grid,
  .feed-grid,
  .feed-home-grid,
  .hiring-grid,
  .reviews-grid,
  .review-list--grid,
  .deals-tiles {
    display:flex !important;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-y; /* keep vertical scroll working */
  }

  .team-card, .feed-card, .hiring-card, .review-card, .deal-tile {
    flex: 0 0 auto;
    min-width: 82vw;
    scroll-snap-align: start;
  }
}

/* Desktop-only list limits (home shows fewer; mobile shows full list) */
@media (min-width: 821px){
  .web-limit-2 > :nth-child(n+3){ display:none !important; }
  .web-limit-3 > :nth-child(n+4){ display:none !important; }
  .web-limit-4 > :nth-child(n+5){ display:none !important; }
}


/* fold-safe */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.container { width: 100%; max-width: 1100px; }
@media (max-width: 360px){ .container{padding-left:14px;padding-right:14px;} .hero{overflow:hidden;} }


/* Services gallery (real rooms) */
.services-gallery{
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.services-gallery-title{
  font-size: 1rem;
  margin: 0 0 10px 0;
  color: var(--text);
}
/* Carousel track for rooms gallery */
.services-gallery-track{
  display:flex;
  gap: 10px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.services-gallery-track > *{
  flex: 0 0 auto;
  width: min(52vw, 360px);
  scroll-snap-align: start;
}
.services-gallery-item{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.services-gallery-item img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.services-gallery-item figcaption{
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 980px){
  .services-gallery-track > *{ width: min(70vw, 380px); }
  .services-gallery-item img{ height: 170px; }
}
@media (max-width: 520px){
  .services-gallery-track > *{ width: 86vw; }
  .services-gallery-item img{ height: 190px; }
}

@media (max-width: 820px){
  .modal{ padding:0 !important; }
  .modal-card{
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }
  .modal-card--cta{ width: 100vw !important; height: 100vh !important; }
  .modal-body{ max-height: calc(100vh - 64px); overflow:auto; }
}


/* === Mobile Fullscreen Modals + Wizard === */

@media (max-width: 820px) {
  .modal-overlay { padding: 0 !important; }
  .modal-panel {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
  }
  .modal-header { position: sticky; top: 0; z-index: 2; background: var(--bg); }
  .modal-body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
  .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--bg);
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    position: sticky;
    bottom: 0;
  }
  .wizard-dots { display: flex; gap: 6px; justify-content: center; flex: 1; }
  .wizard-dots .dot {
    width: 7px; height: 7px; border-radius: 999px;
    background: rgba(0,0,0,0.18);
  }
  .wizard-dots .dot.on { background: rgba(0,0,0,0.55); }
}


/* Reviews page: always a square grid (no horizontal rail) */
.page-reviews .review-list--grid{
  display: grid !important;
  gap: 16px !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  padding-bottom: 0 !important;
}
.page-reviews .review-card{
  min-width: 0 !important;
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine){
  .page-reviews .review-list--grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px), (hover: none) and (pointer: coarse){
  .page-reviews .review-list--grid{ grid-template-columns: 1fr; }
}



/* === Patch: Mobile nav slide-down overlay + burger->close === */
body.no-scroll{ overflow:hidden; }

.nav-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 40;
}
.nav-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 820px){
  /* Burger -> X */
  .nav-toggle{ position: relative; }
  .nav-toggle-bar{
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%,-50%);
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .nav-toggle-bar:nth-child(1){ transform: translate(-50%,-50%) translateY(-6px); }
  .nav-toggle-bar:nth-child(2){ transform: translate(-50%,-50%); }
  .nav-toggle-bar:nth-child(3){ transform: translate(-50%,-50%) translateY(6px); }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1){ transform: translate(-50%,-50%) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(2){ opacity: 0; }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(3){ transform: translate(-50%,-50%) rotate(-45deg); }

  /* Slide menu from header bottom (still overlay) */
  .site-header{ --header-h: 76px; }
  .site-nav{
    display: flex !important;
    position: fixed !important;
    top: var(--header-h) !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;

    padding: 14px 14px 16px !important;
    gap: 10px !important;

    border-radius: 0 0 22px 22px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12) !important;

    max-height: calc(100vh - var(--header-h));
    overflow: auto;

    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 240ms ease, opacity 240ms ease;
    z-index: 60;
  }
  .site-nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* === Patch: Make swipe hint more obvious on mobile feed pages === */
@keyframes swipeNudge{
  0%{ transform: translateX(0); opacity: .9; }
  50%{ transform: translateX(4px); opacity: 1; }
  100%{ transform: translateX(0); opacity: .9; }
}
@media (max-width: 980px){
  .swipe-hint{
    position: sticky;
    bottom: 12px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  }
  .swipe-hint .swipe-arrow{
    display:inline-block;
    animation: swipeNudge 1.2s ease-in-out infinite;
  }
}



/* --- PATCH: tighten header-to-title spacing (match home) --- */
body:not(.home) main > section:first-of-type,
body:not(.home) main > .container:first-child,
body:not(.home) main > .page-section:first-child{
  padding-top: 1.4rem !important;
}
body:not(.home) main > section:first-of-type .section-header,
body:not(.home) main > section:first-of-type .page-header{
  margin-top: 0 !important;
}

/* --- PATCH: modal forms should not be centered inside an inner card --- */
.modal-card--form .modal-body{ padding: 0 !important; display:block !important; }
.modal-card--form .modal-body > form{
  width: 100% !important;
  margin: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 20px 22px 22px !important;
}

/* make select look consistent */
.modal-card--form .modal-form select,
.modal-card--form select.input{
  appearance: none;
  border-radius: 14px;
}

/* --- PATCH: mobile carousels (team/hiring/reviews) must swipe like team --- */
@media (max-width: 880px){
  .team-grid, .hiring-grid, .reviews-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .team-grid > *, .hiring-grid > *, .reviews-grid > *{
    flex: 0 0 86% !important;
    scroll-snap-align: start !important;
  }
  .team-grid.web-limit-4 > *, .reviews-grid.web-limit-4 > *{ flex-basis: 86% !important; }
  /* remove any hidden overflow rules that block swipe */
  .carousel-track, .carousel-track.feed-home-grid{ overflow-x:auto !important; overflow-y:hidden !important; }
}

/* --- PATCH: reduce CTA panel top whitespace --- */
.cta-tabs{ margin-bottom: 6px !important; }
.cta-panel-title{ display:none !important; } /* title is redundant per request */
.cta-surface{ padding-top: 6px !important; }


/* --- PATCH 2: stronger spacing + modal edge-to-edge --- */
body:not(.home) main > section.section:first-of-type{
  padding-top: 0.9rem !important;
}
.modal-card--form .modal-body{ background: transparent !important; }
.modal-card--form .modal-body > *{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: none !important;
}

.cta-choice-group {
  margin-bottom: 14px;
}

.cta-choice-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cta-choice-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:8px;
}
@media (min-width:768px){
  .cta-choice-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}
@media (min-width:1024px){
  .cta-choice-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}

/* ---- CTA Appointment Slots (Pretty) ---- */

.cta-slot-group{
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  margin: 10px 0 14px;
}

.cta-slot-group-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.cta-slot-group-title{
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.cta-slot-group-hint{
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* grid: 2 on phone, 3 on tablet, 4 on desktop */
.cta-choice-grid--slots{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
@media (min-width: 768px){
  .cta-choice-grid--slots{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1024px){
  .cta-choice-grid--slots{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* Pill controls */
.cta-slot-pill{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;

  border-radius: 999px;
  padding: 10px 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);

  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}

.cta-slot-pill input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.cta-slot-pill-label{
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.1;
}

/* hover + active */
.cta-slot-pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* checked state */
.cta-slot-pill:has(input:checked){
  border-color: rgba(0,0,0,0.0);
  background: rgba(0,0,0,0.06);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08);
}

@media (max-width: 767px) {
  .cta-panel {
    font-size: 16.5px;
    line-height: 1.6;
  }

  .cta-panel input,
  .cta-panel textarea,
  .cta-panel select {
    font-size: 16.5px;
  }

  .cta-slot-pill-label {
    font-size: 15.5px;
  }

  .cta-panel .btn {
    font-size: 16.5px;
  }
}

/* --- Sheet step: app-like inputs (match selects) + floating labels --- */
.sheet-step .apply-field{
  position: relative;
  display: block;
}

.sheet-step .apply-field .input{
  -webkit-appearance: none;
  appearance: none;

  width: 100%;
  height: 52px;
  padding: 18px 14px 10px;

  border: 1px solid var(--border-subtle, var(--border));
  border-radius: 14px;

  background: var(--card-bg, var(--card));
  color: var(--text-main, var(--text));

  outline: none;
  box-shadow: none;
}

.sheet-step .apply-field textarea.input{
  height: auto;
  min-height: 110px;
  padding: 16px 14px 12px;
  resize: vertical;
}

.sheet-step .apply-field select.input{
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted, rgba(0,0,0,0.55)) 50%),
    linear-gradient(135deg, var(--text-muted, rgba(0,0,0,0.55)) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.sheet-step .apply-label{
  position: absolute;
  left: 14px;
  top: 16px;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--text-muted, rgba(0,0,0,0.65));
  pointer-events: none;
  transition: transform 0.16s ease, opacity 0.16s ease, top 0.16s ease, font-size 0.16s ease;
}

.sheet-step .apply-field:focus-within .apply-label,
.sheet-step .apply-field:has(.input:not(:placeholder-shown)) .apply-label{
  top: 7px;
  font-size: 0.74rem;
  opacity: 0.95;
}

.sheet-step .apply-field .input::placeholder{ color: transparent; }
.sheet-step .apply-field .input:focus::placeholder{ color: var(--text-muted, rgba(0,0,0,0.55)); opacity: 0.7; }

/* Autofill normalization (mobile/Chrome) */
.sheet-step .apply-field .input:-webkit-autofill{
  -webkit-text-fill-color: var(--text-main, var(--text)) !important;
  transition: background-color 999999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px var(--card-bg, var(--card)) inset !important;
}

/* Focus ring aligned to theme */
.sheet-step .apply-field .input:focus{
  border-color: var(--accent, var(--green, #2f8f6b));
  box-shadow: 0 0 0 3px rgba(47, 143, 107, 0.14);
}
