:root{
  --bg:#F4F7F6;
  --surface:#FFFFFF;
  --surface2:#E6ECEA;
  --text:#1F2322;
  --muted:rgba(31,35,34,.72);
  --line:rgba(31,35,34,.12);
  --green:#2C3E30;
  --teal:#6D9EA8;
  --clay:#C27B5F;

  --radius1:14px;
  --radius2:22px;
  --shadow:0 12px 34px rgba(0,0,0,.08);
  --shadow2:0 10px 24px rgba(0,0,0,.10);

  --max:1120px;
  --ease:cubic-bezier(.2,.8,.2,1);

  --h1: clamp(2.1rem, 3.5vw, 3.35rem);
  --h2: clamp(1.45rem, 2.2vw, 2.1rem);
  --h3: 1.15rem;
  --p: 1rem;

  --ring: 0 0 0 4px rgba(109,158,168,.22);
}

*{box-sizing:border-box}
html{
  height:100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top .2s var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* --- BACKGROUND ANIMATION --- */
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg);
}

/* Base background layer */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  background-color: var(--bg);
}

/* Animated organic background layer - gentle breathing effect */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  background-image: 
    /* Soft teal mist - gentle organic shape */
    radial-gradient(ellipse 900px 700px at 20% 25%, var(--blob1-color, rgba(109,158,168, 0.20)), transparent 70%),
    /* Warm clay accent - subtle and organic */
    radial-gradient(ellipse 800px 600px at 80% 30%, var(--blob2-color, rgba(194,123,95, 0.16)), transparent 65%),
    /* Deep green grounding - very subtle */
    radial-gradient(ellipse 700px 900px at 50% 70%, var(--blob3-color, rgba(44,62,48, 0.14)), transparent 75%);
  background-color: transparent;
  pointer-events: none;
  opacity: 1;
  will-change: background-image;
  transition: background-image 0.3s ease-out;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  body::before,
  body::after {
    animation: none !important;
  }
}
/* ------------------------------ */

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button, input, textarea{font:inherit}
::selection{background: rgba(109,158,168,.35)}

/* Layout */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
  width: 100%;
  box-sizing: border-box;
}
.grid{display:grid; gap:18px; width: 100%; max-width: 100%;}
.row{display:flex; gap:14px; align-items:center; width: 100%; max-width: 100%; flex-wrap: wrap;}

/* Top bar */
.top{
  position:sticky; top:0; z-index:50;
  background: color-mix(in oklab, var(--bg) 78%, white 22%);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(150%) blur(20px);
  transition: backdrop-filter 0.3s var(--ease), background 0.3s var(--ease);
}
.top.scrolled {
  background: color-mix(in oklab, var(--bg) 85%, white 15%);
  backdrop-filter: saturate(180%) blur(25px);
}
.top-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 160px;
}

.logo{
  width:92px; height:92px;
  display:grid; place-items:center;
  overflow:hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}
.logo img{
  width:100%; height:100%;
  object-fit:contain;
  padding:0; display:block;
}

.brand b{
  font-family: Fraunces, serif;
  letter-spacing:.2px;
  font-size:1.08rem;
  line-height:1.1;
  display:block;
}
.brand small{display:block; color:var(--muted); font-size:.85rem; margin-top:2px}

.nav{display:flex; align-items:center; gap:14px}
.nav a{
  padding:10px 10px; border-radius:12px;
  color: color-mix(in oklab, var(--text) 92%, white 8%);
  transition: background .18s var(--ease), transform .18s var(--ease);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  border-radius: 2px;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a:hover{background: rgba(31,35,34,.06)}
.nav a:active{transform: scale(.98)}
.nav a[aria-current="page"]{background: rgba(109,158,168,.18)}

.actions{display:flex; gap:10px; align-items:center}
.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: var(--text);
  padding:10px 14px;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), filter .18s var(--ease);
  cursor:pointer;
  display:inline-flex; gap:10px; align-items:center;
  user-select:none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(109,158,168,.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  pointer-events: none;
}
.btn:active::after {
  width: 300px;
  height: 300px;
}
.btn:hover{
  box-shadow: var(--shadow2);
  transform: translateY(-1px);
}
.btn:active{
  transform: translateY(0);
}
.btn:focus-visible{
  outline: none;
  box-shadow: var(--ring), var(--shadow2);
  transform: translateY(-1px) scale(1.02);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn.primary{
  background: linear-gradient(135deg, rgba(44,62,48,.95), rgba(109,158,168,.72));
  color:white;
  border-color: rgba(255,255,255,.22);
  position: relative;
  overflow: hidden;
}
.btn.primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn.primary:active::before {
  width: 300px;
  height: 300px;
}
.btn.primary:hover{
  filter: saturate(1.05);
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow2); }
  50% { box-shadow: 0 12px 32px rgba(109,158,168,.25); }
}
.btn.primary:active{
  transform: translateY(0);
}
.btn .dot{
  width:8px;height:8px;border-radius:99px;background: var(--teal);
  box-shadow: 0 0 0 4px rgba(109,158,168,.18);
}

/* Social media button - icon only, cleaner look */
.btn-social {
  padding: 10px;
  min-width: 44px;
  justify-content: center;
  background: rgba(255,255,255,.85);
  border-color: var(--line);
}

.btn-social:hover {
  background: rgba(255,255,255,.95);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}
.btn-social:active {
  transform: translateY(0);
}

.hamburger{
  display:none;
  width:44px; height:44px; border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  cursor:pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.hamburger:hover{box-shadow: var(--shadow2); transform: translateY(-1px)}
.hamburger:focus-visible{outline:none; box-shadow: var(--ring), var(--shadow2)}
.hamburger svg{width:20px; height:20px}

/* Hero */
.hero{ 
  padding: 42px 0 26px;
  position: relative;
  z-index: 1;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}

.card{
  background: rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transform-style: preserve-3d;
}
.card:hover {
  transform: translateY(-2px) rotateX(1deg);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.card.glass {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.3);
}
.card.pad{padding:22px}
.hero h1{
  font-family: Fraunces, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Larger, more impactful */
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:.2px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textReveal 1s var(--ease) forwards;
  opacity: 0;
}
@keyframes textReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.lead{
  font-size:1.05rem;
  color: var(--muted);
  margin:0 0 18px;
  max-width: 55ch;
}

.hero-cta{display:flex; gap:10px; flex-wrap:wrap}
.hero-cta .btn{padding:12px 16px}

.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(230,236,234,.55);
  color: rgba(31,35,34,.80);
  font-size:.92rem;
}
.badge i{
  width:9px;height:9px;border-radius:99px;background: var(--clay);
  box-shadow: 0 0 0 4px rgba(194,123,95,.18);
  display:inline-block;
}

.hero-visual{
  position:relative;
  min-height: 360px;
  background:
    radial-gradient(260px 260px at 30% 25%, rgba(109,158,168,.35), transparent 60%),
    radial-gradient(260px 260px at 75% 70%, rgba(194,123,95,.22), transparent 65%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(230,236,234,.55));
}
.hero-visual .overlay{
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 1px 1px, rgba(31,35,34,.07) 1px, transparent 0);
  background-size: 18px 18px;
  opacity:.55;
  mix-blend-mode:multiply;
  pointer-events:none;
}
.hero-visual .stack{
  position:absolute; inset:18px;
  display:grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.quote{
  border-radius: 18px;
  padding:16px;
  background: rgba(255,255,255,.72);
  border:1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display:flex; flex-direction:column; justify-content:center;
  position: relative;
  transform: none !important;
  will-change: auto;
}
.quote p{margin:0; font-size:1.02rem}
.quote small{margin-top:10px; color:var(--muted)}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat{
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.70);
  border:1px solid var(--line);
  text-align:left;
  transition: transform .2s var(--ease);
}
.stat:hover{transform: translateY(-2px)}
.stat b{display:block; font-size:1.1rem}
.stat span{display:block; color:var(--muted); font-size:.88rem; margin-top:2px}

/* Sections */
section{padding: 18px 0}
.section-title{
  display:flex; align-items:end; justify-content:space-between; gap:12px;
  margin: 20px 0 12px;
}
.section-title h2{
  font-family: Fraunces, serif;
  font-size: var(--h2);
  margin:0;
  letter-spacing:.2px;
}
.section-title p{margin:0; color:var(--muted); max-width:60ch}

.tiles{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.tile{
  grid-column: span 4;
  padding: 18px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.tile:hover{transform: translateY(-2px); box-shadow: var(--shadow2)}
.tile h3{margin:8px 0 6px; font-size: var(--h3)}
.tile p{margin:0; color:var(--muted)}
.icon{
  width:38px;height:38px;border-radius:14px;
  display:grid; place-items:center;
  background: rgba(109,158,168,.20);
  border:1px solid rgba(109,158,168,.35);
}
.icon svg{width:18px;height:18px}

/* FAQ Styles */
details.faq-item {
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: box-shadow .2s var(--ease);
}
details.faq-item:hover { box-shadow: var(--shadow2); }
summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-content {
  padding: 0 22px 22px;
  color: var(--muted);
  border-top: 1px solid transparent;
}
details[open] .faq-content { animation: slideDown .3s var(--ease); }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Schedule */
.schedule{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.slot{
  padding: 16px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  display:flex; justify-content:space-between; gap:10px; align-items:flex-start;
}
.slot b{display:block}
.slot small{display:block; color:var(--muted); margin-top:3px}

/* Calendly Widget Styling */
.calendly-inline-widget {
  width: 100%;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  border-radius: var(--radius2);
  overflow: hidden;
  position: relative;
  display: block;
}

.calendly-inline-widget,
.calendly-inline-widget * {
  box-sizing: border-box;
}

.calendly-inline-widget iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  position: relative !important;
}

@media (max-width: 760px) {
  .calendly-inline-widget {
    height: 85vh;
    min-height: 600px;
    max-height: 800px;
  }
  
  .calendly-inline-widget iframe {
    height: 100% !important;
  }
}
.pill{
  font-size:.82rem;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(230,236,234,.60);
  white-space:nowrap;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: stretch;
}
form .field{display:grid; gap:8px; margin-bottom:12px; position: relative;}
label{font-size:.92rem; color: color-mix(in oklab, var(--text) 86%, white 14%); transition: transform 0.3s var(--ease), color 0.3s var(--ease);}
.field.floating label {
  position: absolute;
  left: 14px;
  top: 14px;
  pointer-events: none;
  transform-origin: left top;
  background: rgba(255,255,255,.95);
  padding: 0 6px;
  z-index: 1;
}
.field.floating input:focus + label,
.field.floating input:not(:placeholder-shown) + label,
.field.floating textarea:focus + label,
.field.floating textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(0.85);
  color: var(--teal);
}
input, textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  outline:none;
}
input:focus, textarea:focus{
  box-shadow: var(--ring);
  border-color: rgba(109,158,168,.55);
  transform: translateY(-1px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
input:invalid:not(:placeholder-shown):not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #B94A48;
  box-shadow: 0 0 0 4px rgba(185, 74, 72, .15);
}
input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: var(--green);
}
.field {
  position: relative;
}
.field::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 42px;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.field.valid::after {
  content: '✓';
  color: var(--green);
  font-size: 16px;
  font-weight: bold;
  opacity: 1;
}
.field.invalid::after {
  content: '✕';
  color: #B94A48;
  font-size: 16px;
  font-weight: bold;
  opacity: 1;
}
textarea{min-height: 120px; resize: vertical}

.mini{
  padding: 18px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.mini h3{margin:0 0 8px}
.mini p{margin:0 0 12px; color:var(--muted)}
.mini .list{display:grid; gap:10px}
.mini .item{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(230,236,234,.55);
}
.mini .item b{display:block}
.mini .item small{display:block; color:var(--muted); margin-top:2px}

/* Footer */
footer{ padding: 28px 0 36px; color: var(--muted); }
.foot{
  display:flex; justify-content:space-between; gap:12px; align-items:center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  flex-wrap:wrap;
}
.foot a{color: var(--muted)}
.foot a:hover{color: var(--text)}

/* Animations */
[data-reveal]{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-in{ opacity:1; transform: translateY(0); }

/* Staggered animations */
[data-reveal-stagger] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal-stagger].is-in {
  opacity: 1;
  transform: translateY(0);
}
.tiles [data-reveal] {
  transition-delay: 0ms;
}
.tiles [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.tiles [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.tiles [data-reveal]:nth-child(3) { transition-delay: 200ms; }
.tiles [data-reveal]:nth-child(4) { transition-delay: 300ms; }
.tiles [data-reveal]:nth-child(5) { transition-delay: 400ms; }
.tiles [data-reveal]:nth-child(6) { transition-delay: 500ms; }

/* --- Photo integration patch --- */
.hero-visual.photo{
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(230,236,234,.45));
  /* Add image: url("assets/img/pole.jpg"); when image file is available */
  background-size: cover;
  background-position: center;
}
.hero-visual.photo .overlay{opacity:.38}

.gallery figure{
  margin:0;
  grid-column: span 3;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  overflow:hidden;
  min-height: 190px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position:relative;
  cursor: pointer;
}
.gallery figure:hover{transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow2)}
.gallery figure img {
  transition: transform 0.5s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.1);
}
.gallery figure .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--surface2);
}
.gallery figure .image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(109,158,168,.1) 0%, 
    rgba(194,123,95,.1) 50%, 
    rgba(109,158,168,.1) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  filter: blur(20px);
  transform: scale(1.1);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.gallery figure img{
  position: relative;
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.gallery figure img.loaded {
  opacity: 1;
}
.gallery figure .cap{
  position:absolute; left:14px; right:14px; bottom:14px;
  padding:10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border:1px solid var(--line);
  backdrop-filter: blur(8px);
}
@media (max-width: 980px){
  .gallery figure{grid-column: span 6}
}
@media (max-width: 760px){
  .gallery figure{grid-column: span 12}
}

/* Mobile Cleanup */
@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr; }
  .hero-visual{min-height: 320px}
  .contact{grid-template-columns: 1fr}
  .tile{grid-column: span 6}
  .schedule{grid-template-columns: 1fr}
}

@media (max-width: 760px){
  /* ============================================
     COMPREHENSIVE MOBILE OPTIMIZATIONS
     ============================================ */
  
  /* Prevent horizontal scrolling */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  /* Improved typography for mobile readability */
  body {
    font-size: 16px; /* Prevent zoom on iOS */
    line-height: 1.6; /* Better readability */
  }
  
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  
  .lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  
  .section-title h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .section-title p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Improved touch targets - minimum 44x44px */
  .btn {
    min-height: 48px;
    min-width: 48px;
    padding: 14px 20px;
    font-size: 1rem;
    -webkit-tap-highlight-color: rgba(109,158,168,.2);
    touch-action: manipulation; /* Prevents double-tap zoom */
  }
  
  .btn-social {
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
  }
  
  .hamburger {
    min-width: 48px;
    min-height: 48px;
    -webkit-tap-highlight-color: rgba(109,158,168,.2);
  }
  
  /* Hero CTA buttons - full width on mobile for easier tapping */
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
  
  /* Improved form inputs for mobile */
  input, textarea, select {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(109,158,168,.2);
    touch-action: manipulation;
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
  }
  
  form .field {
    margin-bottom: 20px;
    gap: 10px;
  }
  
  /* Better form button spacing */
  form .btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px 20px;
  }
  
  /* Improved card padding on mobile */
  .card.pad {
    padding: 24px 20px;
  }
  
  .tile {
    padding: 20px;
    grid-column: span 12;
  }
  
  /* Better section spacing */
  section {
    padding: 40px 0 !important;
  }
  
  .section-title {
    margin-bottom: 32px;
    padding: 0 4px;
  }
  
  /* Improved navigation */
  .nav, 
  .actions .btn:not(.btn-social) { 
    display: none !important; 
  }
  
  .actions .btn-social {
    display: inline-flex !important;
  }
  
  .hamburger {
    display: grid;
    place-items: center;
  }
  
  /* Mobile menu improvements */
  .sheet-panel {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .sheet-links a {
    min-height: 52px;
    padding: 16px 20px;
    font-size: 1rem;
    -webkit-tap-highlight-color: rgba(109,158,168,.15);
  }
  
  .sheet-cta .btn {
    min-height: 52px;
    padding: 16px 20px;
  }
  
  /* Better wrap padding */
  .wrap {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Prevent elements from overflowing */
  .card, .tile, .section-title, .hero-inner, .hero-visual {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  img, video {
    max-width: 100% !important;
    height: auto;
  }
  
  /* Improved hero section on mobile */
  .hero {
    padding: 32px 0 24px;
  }
  
  .hero-inner {
    gap: 20px;
  }
  
  .hero-visual {
    min-height: 280px;
  }
  
  /* Better badges on mobile */
  .badges {
    gap: 8px;
    margin-top: 20px;
  }
  
  .badge {
    padding: 10px 14px;
    font-size: 0.9rem;
    min-height: 36px;
  }
  
  /* Improved schedule on mobile */
  .schedule {
    gap: 12px;
  }
  
  .slot {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  /* Better quiz on mobile */
  .quiz-option {
    padding: 18px;
    min-height: 80px;
  }
  
  /* Improved contact section */
  .contact {
    gap: 24px;
  }
  
  /* Better gallery on mobile */
  .gallery {
    gap: 12px;
  }
  
  .gallery figure {
    grid-column: span 12;
  }
  
  /* Improved FAQ on mobile */
  summary {
    padding: 16px 18px;
    min-height: 52px;
    font-size: 0.95rem;
  }
  
  .faq-content {
    padding: 0 18px 18px;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Better row/button groups */
  .row {
    flex-direction: column;
    gap: 12px;
  }
  
  .row .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Improved waitlist form */
  #waitlistForm .field {
    margin-bottom: 20px;
  }
  
  /* Better top bar on mobile */
  .top-inner {
    height: 70px;
  }
  
  .brand {
    min-width: auto;
  }
  
  .logo {
    width: 64px;
    height: 64px;
  }
  
  /* Improved stats in hero */
  .stats {
    gap: 16px;
    padding: 20px;
  }
  
  .stat {
    padding: 12px;
  }
  
  /* Better quote box */
  .quote {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Improved pricing tiles */
  .tiles {
    gap: 16px;
  }
  
  /* Better spacing for lists */
  .list {
    gap: 16px;
  }
  
  .item {
    gap: 14px;
    padding: 12px 0;
  }
  
  /* Ensure Calendly iframe maintains its full height on mobile */
  .calendly-inline-widget iframe {
    height: 100% !important;
    width: 100% !important;
  }
  
  /* Exit popup mobile improvements */
  .exit-popup-content {
    width: 95%;
    padding: 24px 20px;
    max-width: none;
  }
  
  .exit-popup-close {
    width: 40px;
    height: 40px;
    top: 8px;
    right: 8px;
  }
  
  /* Quick nav mobile positioning */
  .quick-nav {
    bottom: 80px;
    right: 16px;
  }
  
  .quick-nav-item {
    min-width: 48px;
    min-height: 48px;
    padding: 10px;
  }
  
  /* Improved floating CTA */
  .floating-cta {
    bottom: 20px;
    right: 16px;
    left: 16px;
    width: auto;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  /* Better instructor bio on mobile */
  .instructor-bio-grid {
    grid-template-columns: 1fr;
  }
  
  .instructor-photo-section {
    min-height: 250px;
    padding: 30px 20px;
  }
  
  .instructor-content-section {
    padding: 32px 20px;
  }
  
  /* Kateryna Reva bio - make 2-column text stack on mobile */
  .tile[style*="grid-column: span 12"] > div[style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Make the 2-column text layout stack on mobile */
  .tile[style*="grid-column: span 12"] div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Better padding on mobile for bio content */
  .tile[style*="grid-column: span 12"] > div > div[style*="padding: 48px"] {
    padding: 32px 20px !important;
  }
  
  .tile[style*="grid-column: span 12"] > div > div[style*="padding: 48px"] > div[style*="max-width: 600px"] {
    max-width: 100% !important;
  }
  
  /* Performance: Reduce animations on mobile */
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
  }
  
  /* Better text selection */
  ::selection {
    background: rgba(109,158,168,.3);
  }
  
  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none;
  }
  
  /* Adjust wave dividers for mobile */
  .wave-divider {
    height: 40px;
    margin: 30px 0;
  }
  
  /* Lightbox mobile adjustments */
  .lightbox-content {
    max-width: 95vw;
    padding: 20px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }
}

/* Exit Intent Popup */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.exit-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.exit-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 24px;
  transition: transform 0.3s var(--ease);
}

.exit-popup.is-open .exit-popup-content {
  transform: translate(-50%, -50%) scale(1);
}

.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.exit-popup-close:hover {
  background: rgba(31, 35, 34, 0.08);
  color: var(--text);
}

.exit-popup-close svg {
  width: 18px;
  height: 18px;
}

.exit-popup-body {
  position: relative;
}

@media (max-width: 760px) {
  .exit-popup-content {
    width: 95%;
    padding: 20px;
  }
}

/* Mobile menu sheet */
.sheet{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.28);
  opacity:0; pointer-events:none;
  transition: opacity .25s var(--ease);
  z-index: 80;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.sheet.is-open{opacity:1; pointer-events:auto}
.sheet-panel{
  position:absolute; top: 12px; right: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  border:1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow2);
  overflow:hidden;
  transform: translateY(-30px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.sheet.is-open .sheet-panel{
  transform: translateY(0);
  opacity: 1;
}
.sheet-head{
  display:flex; justify-content:space-between; align-items:center;
  padding: 14px 14px;
  border-bottom:1px solid var(--line);
}
.sheet-links{display:grid; padding: 10px; gap: 4px}
.sheet-links a{
  padding: 16px 20px;
  border-radius: 16px;
  transition: background .18s var(--ease);
  min-height: 52px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  -webkit-tap-highlight-color: rgba(109,158,168,.15);
  touch-action: manipulation;
}
.sheet-links a:active{background: rgba(31,35,34,.1)}
.sheet-links a:hover{background: rgba(31,35,34,.06)}
.sheet-cta{padding: 10px 14px 14px; gap: 12px; display: grid}
.sheet-cta .btn{width:100%; justify-content:center; padding: 16px 20px; min-height: 52px; font-size: 1rem}

/* Quiz Styles */
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-progress {
  margin-bottom: 24px;
  position: relative;
}

.progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--clay));
  border-radius: 999px;
  transition: width .4s var(--ease);
}

.progress-text {
  display: block;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

.quiz-content {
  position: relative;
  min-height: 400px;
}

.quiz-question {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.quiz-question.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.quiz-question h3 {
  font-family: Fraunces, serif;
  font-size: var(--h2);
  margin: 0 0 24px;
  text-align: center;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius2);
  border: 2px solid var(--line);
  background: rgba(255,255,255,.75);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  text-align: left;
  cursor: pointer;
  transition: all .3s var(--ease);
  font-family: inherit;
  width: 100%;
}

.quiz-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
  border-color: var(--teal);
  background: rgba(255,255,255,.85);
}

.quiz-option:active {
  transform: translateY(0);
}

.quiz-option.selected {
  border-color: var(--teal);
  background: rgba(109,158,168,.08);
  box-shadow: 0 0 0 4px rgba(109,158,168,.15);
}

.option-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(109,158,168,.10);
  border-radius: 16px;
  transition: transform .3s var(--ease);
}

.option-icon svg {
  width: 24px;
  height: 24px;
}

.quiz-option:hover .option-icon {
  transform: scale(1.1);
}

.quiz-option.selected .option-icon {
  background: rgba(109,158,168,.20);
  transform: scale(1.05);
}

.quiz-option b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
}

.quiz-option small {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.quiz-result {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  display: none;
}

.quiz-result.active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  display: block;
}

.result-content {
  text-align: center;
  padding: 40px 20px;
}

.result-icon {
  margin-bottom: 20px;
  animation: resultPop .6s var(--ease);
  display: grid;
  place-items: center;
}

.result-icon svg {
  width: 64px;
  height: 64px;
}

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

.result-content h3 {
  font-family: Fraunces, serif;
  font-size: var(--h2);
  margin: 0 0 16px;
  color: var(--text);
}

.result-content p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .quiz-option {
    padding: 16px;
  }
  .option-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .result-actions {
    flex-direction: column;
  }
  .result-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* Custom Cursor Effects */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: default;
  }
  .btn, a, button, .tile, .card, .slot, details {
    cursor: pointer;
  }
  .btn:hover, a:hover, button:hover {
    cursor: pointer;
  }
  input, textarea {
    cursor: text;
  }
}

/* Parallax Effects */
.parallax-slow {
  will-change: transform;
  transition: transform .1s ease-out;
}
.parallax-fast {
  will-change: transform;
  transition: transform .05s ease-out;
}

/* Wave Section Dividers */
.wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  margin: 40px 0;
  pointer-events: none;
}
.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: var(--bg);
}
.wave-divider.top {
  top: 0;
  transform: rotate(180deg);
}
.wave-divider.bottom {
  bottom: 0;
}

/* Lightbox Gallery */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  cursor: pointer;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s var(--ease);
}
.lightbox.is-open .lightbox-content {
  transform: scale(1);
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 1001;
}
.lightbox-close:hover {
  background: rgba(255,255,255,.3);
  transform: rotate(90deg);
}
.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* Skeleton Loading States */
.skeleton {
  background: linear-gradient(90deg, 
    rgba(230,236,234,.5) 0%, 
    rgba(255,255,255,.8) 50%, 
    rgba(230,236,234,.5) 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius2);
}
@keyframes skeleton-loading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Success Animation */
@keyframes success-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.success-animation {
  animation: success-bounce .6s var(--ease);
}
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: confetti 2s ease-out forwards;
}
.confetti:nth-child(2n) { background: var(--clay); }
.confetti:nth-child(3n) { background: var(--green); }

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--clay));
  z-index: 100;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.scroll-progress.is-visible {
  opacity: 1;
}

/* Scroll Indicator (Hero) */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  animation: scrollBounce 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
  animation: scrollArrow 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollArrow {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Floating Sticky CTA Button */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(44,62,48,.95), rgba(109,158,168,.72));
  color: white;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .2s var(--ease);
  pointer-events: none;
}
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  transform: translateY(-1px);
  filter: saturate(1.05);
}
.floating-cta:active {
  transform: translateY(0);
}
.floating-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
    border-radius: 16px;
  }
  .floating-cta span {
    display: block;
  }
}

/* Quick Navigation Menu */
.quick-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 85;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.quick-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.quick-nav-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.90);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  backdrop-filter: blur(10px);
}
.quick-nav-toggle:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transform: scale(1.05);
}
.quick-nav-toggle:active {
  transform: scale(.95);
}
.quick-nav-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text);
}
.quick-nav-toggle[aria-expanded="true"] {
  background: var(--teal);
  border-color: var(--teal);
}
.quick-nav-toggle[aria-expanded="true"] svg {
  color: white;
}
.quick-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  max-height: 0;
  overflow: hidden;
}
.quick-nav-toggle[aria-expanded="true"] + .quick-nav-menu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  max-height: 400px;
}
.quick-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.90);
  border: 1px solid var(--line);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  backdrop-filter: blur(10px);
}
.quick-nav-item:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  background: rgba(255,255,255,.95);
}
.quick-nav-item:active {
  transform: translateX(-2px);
}
.quick-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
  transition: color .2s var(--ease);
}
.quick-nav-item:hover svg {
  color: var(--clay);
}
.quick-nav-item.active {
  background: rgba(109,158,168,.15);
  border-color: var(--teal);
}
.quick-nav-item.active svg {
  color: var(--teal);
}
@media (max-width: 980px) {
  .quick-nav {
    right: 16px;
  }
  .quick-nav-item span {
    display: none;
  }
  .quick-nav-item {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
/* Instructor Bio Section - Responsive */
@media (max-width: 980px) {
  .tile[style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }
  .tile[style*="grid-template-columns: 1fr 1.2fr"] > div > div:first-child {
    min-height: 300px !important;
    padding: 30px 20px !important;
  }
  .tile[style*="grid-template-columns: 1fr 1.2fr"] > div > div:last-child {
    padding: 40px 30px !important;
  }
}

@media (max-width: 760px) {
  .tile[style*="grid-template-columns: 1fr 1.2fr"] > div > div:first-child > div > div:first-child {
    width: 150px !important;
    height: 150px !important;
  }
  .tile[style*="grid-template-columns: 1fr 1.2fr"] > div > div:first-child > div > div:first-child > div {
    width: 142px !important;
    height: 142px !important;
  }
  .tile[style*="grid-template-columns: 1fr 1.2fr"] > div > div:last-child {
    padding: 32px 20px !important;
  }
  .tile[style*="grid-template-columns: 1fr 1.2fr"] > div > div:last-child h3 {
    font-size: 1.5rem !important;
  }
  .quick-nav {
    bottom: 80px;
    top: auto;
    transform: none;
  }
}

