/* WoodWorks Urban Yoga — lean homepage styles */
:root {
  --ww-blue: #63869a;
  --ww-blue-dark: #4f6d7d;
  --ww-ink: #253238;
  --ww-muted: #68777d;
  --ww-paper: #f7f4ee;
  --ww-white: #fff;
  --ww-line: rgba(37,50,56,.12);
  --ww-shadow: 0 18px 50px rgba(33,47,54,.12);
  --ww-radius: 24px;
  --ww-max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ww-home {
  margin: 0;
  color: var(--ww-ink);
  background: var(--ww-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ww-modal-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.ww-page { overflow: clip; }

.ww-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: #d9ddd8;
  color: var(--ww-white);
}
.ww-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15,25,28,.20) 0%, rgba(15,25,28,.06) 35%, rgba(15,25,28,.58) 100%);
}
.ww-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 51%;
  z-index: -2;
}
.ww-hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 60px);
  background: transparent;
}
.ww-left-cluster { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ww-logo { display: inline-flex; align-items: center; text-decoration: none; }
.ww-logo img { display: block; width: 152px; height: auto; max-height: 72px; object-fit: contain; }
.ww-hero-socials { display: flex; align-items: center; gap: 8px; }
.ww-hero-social, .ww-blog-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.ww-hero-social svg { width: 17px; height: 17px; fill: currentColor; }
.ww-blog-pill { padding: 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.ww-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.ww-desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 15px;
  background: rgba(15,22,25,.24);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 1px 7px rgba(0,0,0,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ww-desktop-nav a:hover,
.ww-desktop-nav a:focus-visible {
  transform: translateY(-2px);
  background: rgba(30,40,44,.40);
  border-color: rgba(255,255,255,.68);
  box-shadow: 0 12px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12);
  outline: none;
}
.ww-menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; background: rgba(20,30,34,.18); padding: 11px; cursor: pointer; }
.ww-menu-button span { display:block; height:2px; background:#fff; margin:5px 0; border-radius:2px; transition:.2s ease; }
.ww-menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ww-menu-button.is-open span:nth-child(2) { opacity: 0; }
.ww-menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ww-mobile-nav { display: none; }
.ww-hero-copy {
  width: 100%;
  margin: 0;
  padding: 0 clamp(20px, 4vw, 60px) clamp(48px, 7vw, 92px);
}
.ww-hero-brand-logo {
  position: absolute;
  top: 12%;
  left: 12%;
  z-index: 4;
  width: min(520px, 31vw);
  height: auto;
  display: block;
  margin: 0;
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.14));
}
.ww-hero-copy p { max-width: 610px; margin: 0; font-size: clamp(18px,2.1vw,27px); line-height: 1.45; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.ww-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ww-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.ww-btn:hover { transform: translateY(-1px); }
.ww-btn-primary { background: var(--ww-blue); color: #fff; box-shadow: 0 10px 25px rgba(32,61,76,.22); }
.ww-btn-primary:hover { background: var(--ww-blue-dark); }
.ww-btn-outline { background: rgba(255,255,255,.10); color:#fff; border-color: rgba(255,255,255,.72); backdrop-filter: blur(8px); }
.ww-arrow { font-size: 20px; line-height: 1; }

.ww-class-strip {
  width: 100%;
  margin: clamp(28px,4vw,58px) 0 0;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.ww-class-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--ww-radius);
  color: #fff;
  text-decoration: none;
  background: #bcc3c0;
  box-shadow: var(--ww-shadow);
}
.ww-class-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 30%,rgba(18,27,30,.72) 100%); }
.ww-class-card img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; transition: transform .45s ease; }
.ww-class-card:hover img { transform: scale(1.025); }
.ww-class-copy { position:absolute; z-index:2; left:24px; right:24px; bottom:22px; }
.ww-class-copy h2 { margin:0 0 7px; font-size: clamp(24px,2.2vw,34px); line-height:1.05; color:#fff; }
.ww-class-copy p { margin:0; max-width:290px; line-height:1.45; color:rgba(255,255,255,.92); }
.ww-class-arrow { position:absolute; right:0; bottom:0; font-size:28px; }

.ww-actions {
  width: 100%;
  margin: 18px 0 clamp(34px,6vw,78px);
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
}
.ww-intro-card, .ww-quick-card { border-radius: var(--ww-radius); background:#fff; box-shadow: var(--ww-shadow); }
.ww-intro-card { display:grid; align-items:center; min-height:330px; background: linear-gradient(135deg,#eef2ef 0%,#e3e7df 100%); }
.ww-intro-card-inner { padding: clamp(28px,5vw,64px); }
.ww-kicker { display:inline-block; margin-bottom:12px; color:var(--ww-blue-dark); font-size:13px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.ww-intro-card h2 { margin:0; max-width:650px; font-size:clamp(30px,4vw,52px); line-height:1.05; }
.ww-intro-card p { max-width:620px; margin:18px 0 24px; color:var(--ww-muted); font-size:17px; line-height:1.65; }
.ww-quick-card { padding:14px; display:grid; align-content:center; }
.ww-quick-link {
  min-height:88px;
  border:0;
  border-bottom:1px solid var(--ww-line);
  background:transparent;
  color:var(--ww-ink);
  text-decoration:none;
  display:grid;
  grid-template-columns:38px 1fr auto;
  grid-template-rows:auto auto;
  column-gap:14px;
  align-items:center;
  text-align:left;
  padding:16px 12px;
  cursor:pointer;
}
.ww-quick-link:last-child { border-bottom:0; }
.ww-quick-icon { grid-row:1 / 3; font-size:24px; color:var(--ww-blue); }
.ww-quick-link strong { font-size:17px; }
.ww-quick-link span:not(.ww-quick-icon) { color:var(--ww-muted); font-size:14px; }
.ww-quick-link b { grid-column:3; grid-row:1 / 3; font-size:22px; color:var(--ww-blue); }

.ww-footer {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr auto;
  gap:28px;
  width:100%;
  margin:0;
  padding:34px clamp(20px, 4vw, 60px) 46px;
  border-top:1px solid var(--ww-line);
  color:var(--ww-muted);
  line-height:1.7;
  font-size:14px;
}
.ww-footer strong { color:var(--ww-ink); }
.ww-footer a { color:inherit; text-decoration:none; }
.ww-footer a:hover { color:var(--ww-blue-dark); }
.ww-footer-links { display:flex; flex-direction:column; }
.ww-socials { display:flex; gap:8px; }
.ww-social { width:38px; height:38px; border-radius:999px; border:1px solid var(--ww-line); display:grid; place-items:center; text-decoration:none; color:var(--ww-blue-dark)!important; font-weight:750; }

.ww-modal { position:fixed; inset:0; z-index:999999; display:none; place-items:center; padding:20px; background:rgba(20,29,33,.62); backdrop-filter:blur(6px); }
.ww-modal.is-open { display:grid; }
.ww-modal-box { width:min(980px,100%); max-height:min(88vh,820px); overflow:hidden; border-radius:22px; background:#fff; box-shadow:0 28px 80px rgba(0,0,0,.28); display:grid; grid-template-rows:auto 1fr; }
.ww-modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:20px 22px; border-bottom:1px solid var(--ww-line); }
.ww-modal-title { margin:0; font-size:22px; }
.ww-modal-sub { margin:5px 0 0; color:var(--ww-muted); }
.ww-modal-close { border:0; background:#eef1ef; width:40px; height:40px; border-radius:12px; font-size:27px; line-height:1; cursor:pointer; }
.ww-modal-body { min-height:360px; overflow:auto; padding:8px; }
.ww-modal-panel { display:none; }
.ww-modal-panel.is-open { display:block; }
.ww-modal-widget { min-height:340px; }

@media (max-width: 980px) {
  .ww-desktop-nav, .ww-hero-socials { display:none; }
  .ww-menu-button { display:block; }
  .ww-hero-brand-logo {
    position: static;
    width: min(460px, 82vw);
    margin: 0 0 22px;
  }
  .ww-mobile-nav {
    position:absolute;
    top:82px;
    left:20px;
    right:20px;
    z-index:10;
    padding:14px;
    border-radius:18px;
    background:rgba(27,39,44,.96);
    box-shadow:0 16px 50px rgba(0,0,0,.22);
  }
  .ww-mobile-nav.is-open { display:grid; }
  .ww-mobile-nav a { color:#fff; text-decoration:none; padding:13px 10px; border-bottom:1px solid rgba(255,255,255,.10); font-weight:650; }
  .ww-mobile-social-row { display:flex; gap:8px; padding:12px 8px 4px; }
  .ww-mobile-social { border:1px solid rgba(255,255,255,.2)!important; border-radius:999px; min-width:40px; text-align:center; }
  .ww-class-strip { grid-template-columns:1fr; }
  .ww-class-card { min-height:300px; }
  .ww-actions { grid-template-columns:1fr; }
  .ww-footer { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .ww-hero { min-height: 700px; }
  .ww-hero-top { padding:16px 18px; }
  .ww-logo img { width:126px; }
  .ww-hero-copy { width:calc(100% - 36px); padding-bottom:38px; }
  .ww-hero-copy p { font-size:18px; }
  .ww-hero-actions { flex-direction:column; align-items:stretch; }
  .ww-btn { width:100%; }
  .ww-class-strip, .ww-actions, .ww-footer { width:100%; padding-left:14px; padding-right:14px; }
  .ww-class-card { min-height:260px; }
  .ww-intro-card-inner { padding:28px 22px; }
  .ww-footer { grid-template-columns:1fr; gap:14px; }
  .ww-modal { padding:10px; }
  .ww-modal-box { max-height:94vh; border-radius:16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
