/* ==========================================================================
   Waheguru Health Club — public site
   Tokens: Waheguru Red #AA1129 (logo), Garnet #6E0A1A, Iron #232326 (logo's
   charcoal figure), Plate White #FFFFFF, Mat Grey #EDEDEF (rubber floor).
   Type: Big Shoulders Display (stamped-iron display), Mukta Mahee (body +
   Gurmukhi). Signature: the weight plate — hero, and plans as plates on a bar.
   ========================================================================== */

:root {
    --red: #AA1129;
    --red-hi: #C51A36;
    --garnet: #6E0A1A;
    --iron: #232326;
    --iron-2: #34343a;
    --white: #ffffff;
    --mat: #EDEDEF;
    --steel: #8B8B92;
    --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
    --body: "Mukta Mahee", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease-out: cubic-bezier(.16, .84, .24, 1);
    --wrap: min(1180px, 100% - 3rem);
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--iron); background: var(--white); overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--iron); outline-offset: 3px; border-radius: 2px; }
.inside :focus-visible, .visit :focus-visible { outline-color: var(--white); }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--iron); color: var(--white); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.eyebrow--light { color: rgba(255, 255, 255, .78); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3.1rem; padding: .7rem 1.4rem; border-radius: 4px; border: 2px solid transparent;
    font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--garnet); }
.btn--line { border-color: var(--iron); color: var(--iron); }
.btn--line:hover { background: var(--iron); color: var(--white); }
.btn--white { background: var(--white); color: var(--iron); }
.btn--white:hover { background: var(--mat); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .25s var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---- Header ----------------------------------------------------------- */
.top {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    display: flex; align-items: center; gap: 2rem; padding: 0 max(1.5rem, (100% - 1180px) / 2);
    background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: height .3s var(--ease-out), box-shadow .3s;
}
.top.is-scrolled { height: 68px; box-shadow: 0 1px 0 rgba(35, 35, 38, .08), 0 10px 30px -18px rgba(35, 35, 38, .35); }
.top__logo img { width: 150px; height: auto; transition: width .3s var(--ease-out); }
.top.is-scrolled .top__logo img { width: 118px; }
.top__nav { display: flex; gap: 1.75rem; margin-left: auto; }
.top__nav a { font-weight: 700; font-size: .95rem; text-decoration: none; position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__call { min-height: 2.6rem; font-size: 1rem; padding: .45rem 1.1rem; }

/* Menu toggle (hamburger → close). Hidden on desktop. */
.top__menu { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; z-index: 70; }
.top__menu span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--iron); transition: transform .35s var(--ease-out), opacity .2s; }
.top__menu span:nth-child(1) { top: 15px; }
.top__menu span:nth-child(2) { top: 21px; }
.top__menu span:nth-child(3) { top: 27px; }
.menu-open .top__menu span { background: var(--white); }
.menu-open .top__menu span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .top__menu span:nth-child(2) { opacity: 0; }
.menu-open .top__menu span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 45; background: var(--red); color: var(--white);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; padding: 6rem 1.5rem 3rem; text-align: center;
    clip-path: circle(0% at calc(100% - 2.6rem) 2.6rem); transition: clip-path .5s var(--ease-out);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 2.6rem) 2.6rem); }
.menu__links { display: flex; flex-direction: column; gap: .4rem; }
.menu__links a { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 13vw, 4.5rem); line-height: 1.05; text-transform: uppercase; text-decoration: none; opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--ease-out); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .06s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.menu__actions { display: flex; flex-direction: column; gap: .75rem; width: min(100%, 320px); }
.menu__address { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.menu-open { overflow: hidden; }
/* While the menu is open the header sits on red: drop the white bar so only the close button shows. */
.menu-open .top { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .top__logo, .menu-open .top__call { visibility: hidden; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; gap: 2rem;
    padding: calc(var(--header-h) + 2rem) max(1.5rem, (100% - 1180px) / 2) 4rem;
    overflow: hidden;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.6rem, 4.9vw, 5.4rem); margin: .9rem 0 1.2rem; }
.hero__title .reveal-line > span { white-space: nowrap; }
.hero__title > span { display: block; }
.hero__road { color: var(--red); }
.hero__gurmukhi { font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--iron-2); margin-bottom: .8rem; }
.hero__lede { max-width: 34rem; font-size: 1.15rem; color: #4a4a50; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; }

.hero__plate { position: relative; justify-self: end; width: min(42vw, 580px); aspect-ratio: 1 / 1.08; }
.plate-roll { position: absolute; inset: 0 0 auto; aspect-ratio: 1; }
.plate-spin { width: 100%; height: 100%; transform: rotate(var(--spin, 0deg)); will-change: transform; }
.plate { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(110, 10, 26, .28)); }
.plate__rim { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: 9px; fill: rgba(255, 255, 255, .92); }
.plate__kg { font-family: var(--display); font-weight: 900; font-size: 128px; fill: rgba(255, 255, 255, .94); letter-spacing: 2px; }
.plate__unit { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: 8px; fill: rgba(255, 255, 255, .8); }
/* The floor the plate lands on, and its contact shadow. */
.hero__floor { position: absolute; left: -10%; right: -40%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(35, 35, 38, .25) 20%, rgba(35, 35, 38, .25) 80%, transparent); }
.hero__floor::before { content: ""; position: absolute; left: 50%; width: 70%; height: 26px; bottom: -6px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(35, 35, 38, .28), transparent); }

/* Load sequence: the plate rolls in along the floor and settles; the headline is stamped up line by line. */
@keyframes roll-in {
    0% { transform: translateX(85vw) rotate(300deg); }
    78% { transform: translateX(-1.5%) rotate(-6deg); }
    100% { transform: translateX(0) rotate(0); }
}
@keyframes rise { from { transform: translateY(108%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.plate-roll { animation: roll-in 1.7s var(--ease-out) .15s both; }
.reveal-line { display: block; overflow: hidden; padding-bottom: .04em; }
.reveal-line > span { display: inline-block; animation: rise 1s var(--ease-out) both; }
.eyebrow.reveal-line > span { animation-delay: .35s; }
.hero__title .reveal-line:nth-child(1) > span { animation-delay: .5s; }
.hero__title .reveal-line:nth-child(2) > span { animation-delay: .62s; }
.hero__title .reveal-line:nth-child(3) > span { animation-delay: .74s; }
.reveal-fade { animation: fade-up .9s var(--ease-out) both; }
.hero__gurmukhi.reveal-fade { animation-delay: .95s; }
.hero__lede.reveal-fade { animation-delay: 1.05s; }
.hero__actions.reveal-fade { animation-delay: 1.15s; }

/* Scroll reveals (only when JS runs, so nothing is hidden without it). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---- Section heads ---------------------------------------------------- */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin-top: .8rem; }
.section-head__sub { margin-top: 1rem; font-size: 1.2rem; color: #55555c; }

/* ---- Inside ----------------------------------------------------------- */
.inside { background: var(--red); color: var(--white); padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.inside .section-head h2 { max-width: 14ch; }
.inside__list { list-style: none; margin: 0; padding: 0; }
.inside__row {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem 3rem; align-items: baseline;
    padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, .28);
}
.inside__row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.inside__row h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); transition: transform .4s var(--ease-out); }
.inside__row p { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 36rem; }
.inside__row:hover h3 { transform: translateX(10px); }

/* ---- Memberships: the barbell ----------------------------------------- */
.members { background: var(--mat); padding: clamp(5rem, 11vw, 9rem) 0; overflow: hidden; }
.bar { --track: clamp(220px, 30vw, 340px); position: relative; display: flex; align-items: flex-start; }
.bar__shaft {
    position: absolute; left: 0; right: -50vw; top: calc(var(--track) / 2 - 8px); height: 16px; border-radius: 8px; z-index: 0;
    background: linear-gradient(180deg, #e6e6e9 0%, #a5a5ac 45%, #6a6a71 100%);
}
.bar__sleeve-end { flex: none; width: 18px; height: 34px; margin-top: calc(var(--track) / 2 - 17px); border-radius: 5px; background: linear-gradient(90deg, #bdbdc3, #7d7d84); position: relative; z-index: 1; }
.bar__collar { flex: none; width: 34px; height: 92px; margin-top: calc(var(--track) / 2 - 46px); border-radius: 6px; background: linear-gradient(90deg, #8d8d94, #dcdce0 50%, #8d8d94); position: relative; z-index: 1; margin-right: clamp(2rem, 8vw, 8rem); }
.bar__plates { list-style: none; margin: 0; padding: 0 .3rem; display: flex; gap: 6px; flex: 0 1 820px; position: relative; z-index: 1; }
.bar__item { flex: 1 1 0; min-width: 0; display: grid; grid-template-rows: var(--track) auto; justify-items: center; }
.bar__plate {
    align-self: center; width: 100%; height: calc(var(--track) * var(--size)); border-radius: 14px;
    background: linear-gradient(90deg, var(--garnet) 0%, var(--red) 22%, var(--red-hi) 50%, var(--red) 78%, var(--garnet) 100%);
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .12), 0 18px 30px -16px rgba(110, 10, 26, .55);
    display: grid; place-items: center; color: rgba(255, 255, 255, .95);
    font-family: var(--display); font-weight: 900; font-size: calc(2.2rem + 2.2rem * var(--size));
    transition: transform .4s var(--ease-out);
}
.bar__item:hover .bar__plate { transform: translateY(-6px); }
.bar__label { text-align: center; padding-top: 1.4rem; }
.bar__label h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.bar__months { color: var(--steel); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .35rem; }
.bar__options { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .3rem; }
.bar__options li { display: flex; justify-content: center; gap: .6rem; font-weight: 600; }
.bar__options strong { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--red); line-height: 1.3; }
.members__note { margin-top: 3rem; color: #55555c; max-width: 44rem; }
.members__note a { color: var(--red); font-weight: 700; }

/* Plates are loaded onto the sleeve from the end: the heaviest goes on first. */
.js .bar__item { opacity: 0; transform: translateX(-70vw); transition: transform 1s var(--ease-out), opacity .5s; transition-delay: calc(var(--i) * 140ms); }
.js .bar.is-in .bar__item { opacity: 1; transform: none; }

/* ---- Visit ------------------------------------------------------------ */
.visit { background: var(--iron); color: var(--white); padding: clamp(5rem, 11vw, 9rem) 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.visit__address { font-size: clamp(2.8rem, 6.2vw, 5.6rem); margin: 1rem 0 1.6rem; }
.visit__address span { display: block; }
.visit__address span:last-child { color: rgba(255, 255, 255, .55); }
.visit__phone {
    display: inline-block; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: .03em;
    text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 6px no-repeat; padding-bottom: .1rem;
    transition: background-size .35s var(--ease-out);
}
.visit__phone:hover { background-size: 100% 100%; }
.visit__hours { margin: 1.8rem 0 0; display: grid; gap: .2rem; }
.visit__hours dt { font-weight: 800; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .2rem; }
.visit__hours dd { margin: 0; font-size: 1.15rem; }
.visit__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.visit__map { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--iron-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.visit__map:hover iframe { filter: none; }

/* ---- Footer & phone dock ---------------------------------------------- */
.foot { padding: 2rem 0; background: var(--white); font-size: .92rem; color: #5b5b62; }
.foot__row { display: flex; justify-content: center; text-align: center; }
.dock { display: none; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
    .top__nav { display: none; }
    .top__call { margin-left: auto; }
    .top__menu { display: block; }
    /* Single column: the hero is centred under the plate. */
    .hero__copy { text-align: center; }
    .hero__title { font-size: clamp(2.6rem, 9.4vw, 5.2rem); }
    .hero__lede { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 1.5rem); gap: 0; }
    .hero__plate { order: -1; justify-self: center; width: min(78vw, 440px); margin-bottom: 1.25rem; }
    .visit__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    :root { --header-h: 70px; }
    .top { gap: 1rem; }
    .top__logo img { width: 112px; }
    .top.is-scrolled .top__logo img { width: 100px; }
    .top__call { display: none; }
    .hero { min-height: auto; padding-bottom: 3.5rem; }
    .hero__plate { width: min(68vw, 300px); }
    .hero__actions .btn { flex: 1 1 100%; }
    .inside__row { grid-template-columns: 1fr; padding: 1.6rem 0; }

    /* Phones: everything centred. */
    .top__menu { margin-left: auto; }
    .hero__copy, .section-head, .inside__row, .members__note, .visit__info { text-align: center; }
    .hero__lede, .inside__row p, .members__note { margin-left: auto; margin-right: auto; }
    .hero__actions, .visit__actions { justify-content: center; }
    .hero__actions .link-arrow { margin: .35rem auto 0; }
    .top__logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .menu-open .dock { display: none; }
    .inside .section-head h2 { margin-left: auto; margin-right: auto; }
    .inside__row:hover h3 { transform: none; }
    .visit__hours { justify-items: center; }

    /* The bar stands up through the centre; each plate sits on it with its label below. */
    .bar { --track: 100%; flex-direction: column; align-items: stretch; }
    .bar__shaft { left: calc(50% - 7px); right: auto; top: -2rem; bottom: -2rem; width: 14px; height: auto; background: linear-gradient(90deg, #e6e6e9, #a5a5ac 45%, #6a6a71); }
    .bar__sleeve-end, .bar__collar { display: none; }
    .bar__plates { flex-direction: column; gap: 1.6rem; padding: 0; }
    .bar__item { grid-template-rows: none; grid-template-columns: 1fr; justify-items: center; gap: .6rem; }
    .bar__plate { width: calc(52% + 40% * (var(--size) - .5) * 2); height: 70px; font-size: 2.2rem; }
    .bar__label { text-align: center; padding: .5rem 1.1rem .7rem; background: var(--mat); border-radius: 10px; position: relative; }
    .bar__options li { justify-content: center; }
    .js .bar__item { transform: translateY(40px); }

    .foot { padding-bottom: 6rem; }
    .dock {
        display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto .75rem calc(.75rem + env(safe-area-inset-bottom)); z-index: 60;
        background: var(--iron); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .55);
    }
    /* Hidden while the hero's own buttons are on screen. */
    .js .dock { transform: translateY(calc(100% + 1.5rem)); transition: transform .45s var(--ease-out); }
    .js .dock.is-on { transform: none; }
    .dock a { padding: .95rem .5rem; text-align: center; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
    .dock a:first-child { background: var(--red); }
    .dock a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal, .js .bar__item { opacity: 1; transform: none; }
    .plate-spin { transform: none; }
}
