/* Holohan Martial Arts v4: the Earth house of Four Wellness.
   Shared system from /family/family.css; this file sets the earth tokens and the house sections. */
:root {
  --h-ground: #f3f0e7;
  --h-ink: #1c1d19;
  --h-soft: #5f5d50;
  --h-accent: #1f4d3a;
  --h-accent-ink: #f3f0e7;
  --h-line-ink: #1c1d19;
  --h-dark: #13261d;
  --h-dark-2: #1a3127;
  --h-leaf: #bfca91;
  --h-focus: #1f4d3a;
  --h-pad: clamp(80px, 11vw, 160px);
  --land: cubic-bezier(.2, .9, .3, 1.12);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.hm { margin: 0; background: var(--h-ground); color: var(--h-ink); font: 400 16px/1.6 var(--fw-text); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.fw-on-dark { --h-soft: #b9c2a8; --h-accent: var(--h-leaf); --h-accent-ink: #13261d; --h-line-ink: #f3f0e7; --h-focus: var(--h-leaf); color: #f3f0e7; }
.fw-on-dark .fw-kicker { color: var(--h-leaf); }

/* ---- house header ---- */
.hh { position: relative; z-index: 60; background: var(--h-ground); border-bottom: 1px solid var(--fw-rule); }
.hh__in { max-width: var(--fw-max); margin: 0 auto; padding: 0 var(--fw-gutter); height: 76px; display: flex; align-items: center; gap: 28px; }
.hh__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.hh__brand img { width: 44px; height: 44px; }
.hh__brand span { font: 700 17px/.95 var(--fw-display); letter-spacing: .06em; text-transform: uppercase; }
.hh__nav { display: flex; gap: 4px; margin-left: auto; }
.hh__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 600 14px/1 var(--fw-text); text-decoration: none; color: var(--h-soft); border-radius: var(--fw-radius); transition: color .16s var(--fw-ease); }
@media (hover: hover) and (pointer: fine) { .hh__nav a:hover { color: var(--h-ink); } }
.hh__nav a:focus-visible, .hh__more:focus-visible, .hh__brand:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }
.hh__cta { min-height: 44px; padding: 0 18px; font-size: 13px; white-space: nowrap; }
.hh__more { display: none; }
@media (max-width: 900px) {
  .hh__in { height: 64px; gap: 10px; }
  .hh__brand img { width: 38px; height: 38px; }
  .hh__brand span { font-size: 14px; }
  .hh__more { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--fw-rule); border-radius: var(--fw-radius); background: none; color: inherit; font: 600 13px/1 var(--fw-text); cursor: pointer; }
  .hh__more::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--fw-ease); }
  .hh__more[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
  .hh__nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--fw-gutter) 16px; background: var(--h-ground); border-bottom: 1px solid var(--fw-rule); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--fw-ease), transform .2s var(--fw-ease), visibility 0s linear .2s; }
  .hh.is-open .hh__nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .hh__nav a { min-height: 48px; padding: 0; color: var(--h-ink); border-bottom: 1px solid var(--fw-rule); font-size: 16px; }
  .hh__cta { padding: 0 14px; font-size: 12px; letter-spacing: .04em; }
  .hh__cta::after { display: none; }
}
@media (max-width: 380px) { .hh__brand span { display: none; } }

/* ---- hero: weight. Planes settle downward; the foreground lands last ---- */
.hero { position: relative; isolation: isolate; background: var(--h-dark); min-height: calc(100svh - var(--fw-bar-h) - 76px); min-height: max(640px, calc(100svh - var(--fw-bar-h) - 76px)); display: flex; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__bg { position: absolute; inset: -6% 0 0; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 28, 21, .92) 0%, rgba(14, 28, 21, .78) 38%, rgba(14, 28, 21, .3) 70%, rgba(14, 28, 21, .45) 100%), linear-gradient(0deg, rgba(14, 28, 21, .7) 0%, rgba(14, 28, 21, 0) 40%); }
.hero__in { width: 100%; max-width: var(--fw-max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--fw-gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: end; }
.hero__kicker { gap: 12px; }
.hero__knot { font-size: 26px; display: inline-flex; color: #f3f0e7; }
.hero__h { color: #f3f0e7; margin-bottom: 26px; }
.hero__lede { color: #e2e5d4; }
.hero__plates { position: relative; height: 100%; min-height: 440px; }
.plate { position: absolute; margin: 0; background: #0e1c15; box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .65); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption { position: absolute; left: 0; top: 100%; padding-top: 10px; font: 600 12px/1.3 var(--fw-text); letter-spacing: .08em; text-transform: uppercase; color: #cdd3bd; white-space: nowrap; }
.plate--clinch { right: 16%; bottom: 9%; width: 80%; aspect-ratio: 12 / 7; }
.plate--paddy { z-index: 2; right: 0; top: 6%; width: 40%; aspect-ratio: 1; border: 6px solid #f3f0e7; }
.plate--paddy figcaption { top: auto; bottom: 100%; left: auto; right: -6px; padding: 0 0 10px; }
/* landing on load: heavy drop, foreground last */
.js .plate, .js .hero__bg { opacity: 0; }
.js .is-landed .hero__bg { opacity: 1; transition: opacity .7s ease-out; }
.js .is-landed .plate { opacity: 1; animation: land .9s var(--land) both; }
.js .is-landed .plate--paddy { animation-delay: .28s; }
.js .is-landed .plate--clinch { animation-delay: .1s; }
@keyframes land { from { opacity: 0; translate: 0 -48px; } 60% { opacity: 1; } to { opacity: 1; translate: 0 0; } }
.hero [data-plane] { will-change: transform; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__in { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; gap: 22px; }
  .hero__h { margin-bottom: 16px; }
  .hero__lede { font-size: 16px; margin-bottom: 22px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(14, 28, 21, .45) 0%, rgba(14, 28, 21, .78) 46%, rgba(14, 28, 21, .94) 100%); }
  .hero__plates { order: -1; min-height: 0; height: auto; aspect-ratio: 1 / .74; }
  .plate--clinch { right: auto; left: 0; bottom: 12%; width: 80%; }
  .plate--paddy { width: 44%; top: 4%; border-width: 4px; }
  .plate--paddy figcaption { right: -4px; }
  .plate figcaption { font-size: 11px; }
  .hero__bg img { object-position: 50% 50%; }
}

/* ---- intro ---- */
.intro { padding: var(--h-pad) 0 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.intro__h { max-width: 11ch; }
.intro__body .fw-body { color: var(--h-soft); margin: 0 0 18px; }
.intro__body .fw-body:first-child { color: var(--h-ink); font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(56px, 7vw, 96px) auto 0; padding-bottom: var(--h-pad); }
.facts > div { border-top: 1px solid var(--h-ink); padding: 18px 20px 0 0; }
.facts dt { font: 700 clamp(34px, 4vw, 56px)/1 var(--fw-display); color: var(--fw-earth); }
.facts dd { margin: 8px 0 0; font-size: 14px; color: var(--h-soft); }
@media (max-width: 760px) {
  .intro__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

/* ---- the building: two floors, one school ---- */
.room { background: var(--h-dark); padding: var(--h-pad) 0; }
.room__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
.room__intro { color: #d2d8c3; margin: 0 0 28px; }
.room__picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.pick { min-height: 44px; padding: 0 16px; border: 1.5px solid #ffffff3d; border-radius: 999px; background: none; color: #f3f0e7; font: 600 14px/1 var(--fw-text); cursor: pointer; transition: background-color .18s var(--fw-ease), color .18s var(--fw-ease), border-color .18s var(--fw-ease); }
.pick[aria-pressed="true"] { background: var(--h-leaf); border-color: var(--h-leaf); color: #13261d; }
@media (hover: hover) and (pointer: fine) { .pick:hover { border-color: var(--h-leaf); } }
.pick:focus-visible, .floor:focus-visible { outline: 2px solid var(--h-leaf); outline-offset: 3px; }
.room__read { border-top: 1px solid #ffffff26; padding-top: 22px; min-height: 230px; }
.room__where { margin: 0 0 10px; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--h-leaf); }
.room__text { margin: 0 0 12px; color: #e3e7d8; max-width: 46ch; }
.room__who { margin: 0; font-size: 14px; color: #b9c2a8; }

.bld { position: relative; display: grid; gap: 0; padding-top: 56px; }
.bld__roof { display: block; width: 100%; height: 40px; overflow: visible; }
.bld__roof polyline { fill: none; stroke: #ffffff59; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bld__slab { height: 10px; background: #2f4a3c; }
.bld__ground { height: 16px; background: repeating-linear-gradient(135deg, #5b6f3e 0 2px, transparent 2px 9px), #2a3a22; border-top: 3px solid var(--h-leaf); }
.floor { position: relative; display: block; width: 100%; padding: 0; border: 0; border-left: 2px solid #ffffff4d; border-right: 2px solid #ffffff4d; background: #0e1c15; color: inherit; text-align: left; cursor: pointer; aspect-ratio: 16 / 7.4; overflow: hidden; }
.floor__img { position: absolute; inset: 10px; overflow: hidden; background: #0a140f; }
.floor__img img { width: 100%; height: 100%; object-fit: cover; opacity: .26; transition: opacity .45s var(--fw-ease); }
.floor.is-lit .floor__img img { opacity: 1; }
.floor__tag { position: absolute; left: 22px; bottom: 20px; display: grid; gap: 4px; padding: 10px 14px; background: rgba(14, 28, 21, .9); border-left: 3px solid var(--h-leaf); }
.floor__tag b { font: 700 20px/1 var(--fw-display); text-transform: uppercase; letter-spacing: .04em; color: #f3f0e7; }
.floor__tag span { font-size: 13px; color: #d2d8c3; }
.floor:not(.is-lit) .floor__tag { opacity: .7; }
/* the weight: the crest drops from the roof and lands on the chosen floor */
.bld__weight { position: absolute; z-index: 3; right: 28px; top: 0; width: 52px; height: 52px; padding: 6px; border-radius: 50%; background: #f3f0e7; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .6); transform: translate3d(0, var(--wy, 0px), 0); transition: transform .62s var(--land), opacity .3s ease; will-change: transform; }
.bld__weight img { width: 40px; height: 40px; }
.bld[data-p="all"] .bld__weight { opacity: 0; }
.floor.is-hit { animation: dip .5s var(--land) .48s both; }
@keyframes dip { 0% { transform: none; } 35% { transform: translate3d(0, 5px, 0); } 100% { transform: none; } }
@media (max-width: 980px) {
  .room__grid { grid-template-columns: 1fr; row-gap: 0; }
  .room__side > .fw-h2 { margin-bottom: 14px; }
  .room__intro { margin-bottom: 22px; }
  .bld { margin-bottom: 28px; padding-top: 48px; }
  .room__picks { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--fw-gutter) * -1) 28px; padding: 0 var(--fw-gutter) 4px; scrollbar-width: none; }
  .room__picks::-webkit-scrollbar { display: none; }
  .pick { flex: none; }
  .room__read { min-height: 250px; }
  .bld { order: -1; }
  .room__side { display: contents; }
  .room__side > .fw-kicker, .room__side > .fw-h2, .room__intro { order: -2; }
  .room__picks { order: -1; }
  .floor { aspect-ratio: 16 / 9.6; }
  .floor__tag { left: 16px; bottom: 16px; padding: 8px 12px; }
  .floor__tag b { font-size: 18px; }
  .floor__tag span { font-size: 12px; }
  .bld__weight { right: 18px; width: 44px; height: 44px; }
  .bld__weight img { width: 32px; height: 32px; }
}
.also { margin-top: clamp(64px, 8vw, 104px); }
.also__h { margin: 0 0 18px; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--h-leaf); }
.also__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.also__list li { display: grid; align-content: start; gap: 6px; border-top: 1px solid #ffffff26; padding-top: 18px; }
.also__list img { aspect-ratio: 12 / 7; object-fit: cover; margin-bottom: 12px; }
.also__knot { display: grid; place-items: center; aspect-ratio: 12 / 7; margin-bottom: 12px; font-size: 64px; color: #f3f0e7; background: var(--h-dark-2); }
.also__list b { font: 700 22px/1.05 var(--fw-display); text-transform: uppercase; letter-spacing: .02em; }
.also__list span:last-child { font-size: 14px; color: #c7cfb6; }
@media (max-width: 760px) { .also__list { grid-template-columns: 1fr; } .also__knot { display: none; } }

/* ---- membership: the tour, Emerald to Onyx ---- */
.mem { padding: var(--h-pad) 0; }
.mem__head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.mem__head .fw-lede { color: var(--h-soft); max-width: 52ch; }
.path { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); gap: 24px; align-items: stretch; }
.path__card { border: 1.5px solid var(--h-ink); padding: 28px; background: #faf8f2; }
.path__card p:last-child { margin: 0; color: var(--h-soft); }
.path__card--onyx { background: #1c1d19; color: #f3f0e7; border-color: #1c1d19; }
.path__card--onyx p:last-child { color: #cfcbbd; }
.path__tier { margin: 0 0 14px; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fw-earth); }
.path__card--onyx .path__tier { color: var(--h-leaf); }
.path__steps { display: grid; align-content: center; justify-items: center; gap: 14px; padding: 12px 0; }
.path__dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 12px); gap: 8px; }
.path__dots li { width: 12px; height: 12px; border-radius: 50%; background: var(--fw-earth); }
.path__dots li:nth-child(n+11) { background: color-mix(in srgb, var(--fw-earth) 60%, #1c1d19); }
.path__dots li:nth-child(n+21) { background: #1c1d19; }
.path__label { margin: 0; font: 700 20px/1 var(--fw-display); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; }
  .path__dots { grid-template-columns: repeat(15, 10px); gap: 7px; }
  .path__dots li { width: 10px; height: 10px; }
}
.kids { margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--h-ink); padding-top: clamp(40px, 5vw, 64px); }
.kids__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.kids__head img { aspect-ratio: 12 / 7; object-fit: cover; }
.kids__head .fw-body { color: var(--h-soft); margin: 0; }
.kids__groups { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kids__groups li { display: grid; gap: 6px; padding: 18px 20px 0 0; border-top: 3px solid var(--fw-earth); }
.kids__groups li + li { padding-left: 20px; }
.kids__groups b { font: 700 24px/1 var(--fw-display); text-transform: uppercase; }
.kids__groups span { font-size: 14px; color: var(--h-soft); }
@media (max-width: 760px) {
  .kids__head { grid-template-columns: 1fr; }
  .kids__groups { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .kids__groups li + li { padding-left: 0; }
  .kids__groups li:nth-child(even) { padding-left: 16px; }
}

/* ---- people ---- */
.people { background: var(--h-dark); padding: var(--h-pad) 0; }
.paddy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.paddy__img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.paddy__q { margin: 0 0 22px; padding: 0 0 0 22px; border-left: 3px solid var(--h-leaf); }
.paddy__q p { margin: 0; font: 600 clamp(20px, 2vw, 26px)/1.35 var(--fw-text); color: #f3f0e7; max-width: 34ch; }
.paddy__copy .fw-body { color: #d2d8c3; }
.paddy__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0 0; border-top: 1px solid #ffffff26; }
.paddy__facts > div { padding: 16px 16px 0 0; }
.paddy__facts dt { font: 700 clamp(30px, 3.4vw, 48px)/1 var(--fw-display); color: var(--h-leaf); }
.paddy__facts dd { margin: 6px 0 0; font-size: 14px; color: #c7cfb6; }
.coaches__h { margin: clamp(72px, 9vw, 120px) 0 22px; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--h-leaf); }
.coaches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
.coaches li { display: grid; align-content: start; gap: 4px; }
.coaches img { aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; }
.coaches b { font: 700 19px/1.05 var(--fw-display); text-transform: uppercase; letter-spacing: .02em; }
.coaches span { font-size: 13px; line-height: 1.45; color: #c7cfb6; }
@media (max-width: 1080px) { .coaches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .paddy { grid-template-columns: 1fr; }
  .paddy__img { aspect-ratio: 4 / 5; }
  .coaches { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}

/* ---- first visit ---- */
.faq { padding: var(--h-pad) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--h-ink); }
.faq details { border-bottom: 1px solid var(--fw-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 700 18px/1.3 var(--fw-text); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--fw-ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }
.faq details p { margin: 0 0 22px; color: var(--h-soft); max-width: 60ch; }
@media (max-width: 760px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---- close: your first week. Book, arrive, train ---- */
.week { background: var(--h-dark); padding: var(--h-pad) 0 clamp(80px, 10vw, 140px); border-top: 1px solid #ffffff1a; }
.week__head { margin-bottom: clamp(48px, 6vw, 80px); }
.week__head .fw-kicker { gap: 12px; }
.week__knot { display: inline-flex; font-size: 26px; color: #f3f0e7; }
.week__h { color: #f3f0e7; }
.week__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.week__step { display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: 14px; padding: 26px 28px 0 0; border-top: 3px solid var(--h-leaf); }
.week__step + .week__step { padding-left: 28px; border-left: 1px solid #ffffff1f; }
.week__step .fw-btn { justify-self: start; }
.week__verb { margin: 0; font: 700 clamp(40px, 4.6vw, 64px)/.9 var(--fw-display); text-transform: uppercase; color: var(--h-leaf); }
.week__addr { font: 600 16px/1.5 var(--fw-text); font-style: normal; color: #f3f0e7; margin: 0; }
.week__text { margin: 0; color: #d2d8c3; max-width: 36ch; }
.week__addr + .week__text { margin-top: -4px; }
@media (max-width: 860px) {

  .week__steps { grid-template-columns: 1fr; gap: 40px; }
  .week__step, .week__step + .week__step { padding: 22px 0 0; border-left: 0; grid-template-rows: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .plate, .js .hero__bg { opacity: 1; }
  .js .is-landed .plate { animation: none; }
  .hero [data-plane] { will-change: auto; transform: none !important; }
  .bld__weight, .floor__img img, .pick { transition: none; }
  .floor.is-hit { animation: none; }
}

/* phones: long sets become native sideways rows, keeping the page short */
@media (max-width: 760px) {
  .coaches, .also__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--fw-gutter) * -1); padding: 0 var(--fw-gutter) 6px; scrollbar-width: none; }
  .coaches::-webkit-scrollbar, .also__list::-webkit-scrollbar { display: none; }
  .coaches li { flex: 0 0 44%; scroll-snap-align: start; }
  .also__list li { flex: 0 0 78%; scroll-snap-align: start; }
}
