/* LOOPLE Amsterdam Zuid — layout system modeled on thenowmassage.com */
:root {
    --cream: #FCFAF5;
    --cream-2: #F6F2E7;
    --white: #FFFFFF;
    --navy: #333A56;
    --navy-deep: #2E3450;
    --ink: #333A56;
    --ink-70: rgba(51, 58, 86, 0.74);
    --ink-50: rgba(51, 58, 86, 0.5);
    --line: #DAD4C2;
    --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Jost', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.serif { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-weight: 500; letter-spacing: 0.01em; }
html[lang="ja"] .serif { font-family: 'Noto Serif JP', 'Playfair Display', serif; font-weight: 600; }

.container { max-width: 1260px; margin: 0 auto; padding: 0 40px; }
.section { padding: 84px 0; }

/* Section head: serif title left + action right (The NOW pattern) */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.section-sub { max-width: 620px; color: var(--ink-70); font-size: 15.5px; margin-top: -26px; margin-bottom: 40px; }

/* Buttons — small caps rectangles like The NOW */
.btn {
    display: inline-block;
    padding: 12px 26px;
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    background: var(--navy); color: var(--white);
    border: 1px solid var(--navy);
    text-align: center;
    transition: background .25s, color .25s, opacity .25s;
    white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn-cream { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

/* ============ Header ============ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .35s ease, box-shadow .35s ease;
}
.site-header.solid, body.page-inner .site-header {
    background: rgba(252, 250, 245, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(51,58,86,.08);
}
.header-inner {
    max-width: 1500px; margin: 0 auto;
    padding: 0 28px;
    height: var(--nav-h);
    display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-right: auto; }
.brand img { height: 26px; width: auto; transition: filter .35s; }
.brand .brand-sub {
    font-size: 8.5px; font-weight: 600;
    letter-spacing: 0.36em; text-transform: uppercase;
    transition: color .35s;
}
/* over hero (transparent header): white logo & text */
.site-header.overlay:not(.solid) .brand img { filter: brightness(0) invert(1); }
.site-header.overlay:not(.solid) { color: #fff; }
.site-header.overlay:not(.solid) .brand .brand-sub,
.site-header.overlay:not(.solid) .main-nav a,
.site-header.overlay:not(.solid) .lang-btn { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
    font-size: 10.5px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--navy);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: opacity .2s;
}
.main-nav a:hover { opacity: .6; }
.main-nav a.active { border-bottom-color: currentColor; }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.lang-switch .sep { opacity: .3; }
.lang-btn { color: var(--navy); opacity: .45; white-space: nowrap; padding: 3px 0; }
.lang-btn:hover { opacity: .8; }
.lang-btn.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.btn-book { padding: 12px 26px; }
.hamburger { display: none; padding: 6px; }
.site-header.overlay:not(.solid) .hamburger { color: #fff; }

/* spacer for inner pages under fixed header */
body.page-inner main { padding-top: var(--nav-h); }

/* Mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 200;
    background: var(--cream);
    transform: translateY(-102%);
    transition: transform .5s cubic-bezier(.6,.05,.28,.91);
    overflow-y: auto;
    padding: 20px 26px 48px;
    color: var(--navy);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-menu nav a { font-size: 25px; }
.mobile-menu .lang-switch { justify-content: center; margin-top: 40px; }
.mobile-menu .center { text-align: center; margin-top: 36px; }

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 86svh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
    background: #14162a;
}
.hero video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(20, 22, 38, 0.32); }
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.18; margin-bottom: 14px; font-weight: 500; }
.hero p { font-size: clamp(13px, 1.3vw, 16px); font-weight: 400; margin-bottom: 26px; opacity: .95; }

/* ============ Treatments accordion (The NOW "Massages") ============ */
.treat-accordion { display: flex; height: 88vh; min-height: 560px; }
.treat-panel {
    position: relative; flex: 1;
    overflow: hidden; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: flex 0.7s cubic-bezier(.5,.05,.3,.95);
    color: #fff; text-align: center;
}
.treat-panel .tp-bg { position: absolute; inset: 0; }
.treat-panel .tp-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.treat-panel .tp-bg::after { content: ''; position: absolute; inset: 0; background: rgba(24,26,42,.3); transition: background .5s; }
.treat-panel.active { flex: 1.9; }
.treat-panel.active .tp-bg::after { background: rgba(24,26,42,.45); }
.tp-content { position: relative; z-index: 2; padding: 0 8%; max-width: 640px; }
.tp-content h3 { font-size: clamp(24px, 2.6vw, 36px); display: inline-block; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.8); margin-bottom: 18px; }
.tp-detail { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s ease, opacity .6s ease .15s; }
.treat-panel.active .tp-detail { max-height: 420px; opacity: 1; }
.tp-detail p { font-size: 14px; margin-bottom: 14px; opacity: .95; }
.tp-detail .chip-row { justify-content: center; margin-bottom: 20px; }
.tp-detail .chip { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 7px 12px; white-space: nowrap;
}

/* ============ Card row with hairlines (The NOW "Enhancements") ============ */
.card-row-section { border-top: 1px solid var(--line); }
.card-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-card { padding: 34px 26px 40px; border-right: 1px solid var(--line); }
.mini-card:first-child { border-left: 1px solid var(--line); }
.mini-card .mc-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.mini-card .mc-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.mini-card h3 { font-size: 19px; margin-bottom: 10px; }
.mini-card p { font-size: 13.5px; color: var(--ink-70); }

/* ============ Difference section (The NOW "Memberships") ============ */
.diff-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.diff-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.diff-card {
    border: 1px solid var(--navy);
    padding: 22px 22px 18px;
    display: flex; flex-direction: column; gap: 10px;
    transition: background .3s, color .3s;
}
.diff-card:hover { background: var(--navy); color: #fff; }
.diff-card h3 { font-size: 19px; }
.diff-card ul { font-size: 12.5px; color: inherit; opacity: .8; }
.diff-card ul li { padding-left: 12px; position: relative; }
.diff-card ul li::before { content: '•'; position: absolute; left: 0; }
.diff-card .dc-arrow { margin-top: 8px; font-size: 20px; line-height: 1; }
.benefit-list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 34px; }
.benefit-list li { display: flex; gap: 14px; font-size: 13.5px; color: var(--ink-70); align-items: flex-start; }
.benefit-list .b-ico {
    flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.diff-img { overflow: hidden; }
.diff-img img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; transform-origin: center; will-change: transform; }

/* ============ Split (gift) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .split-img { overflow: hidden; }
.split .split-img img { width: 100%; max-height: 560px; object-fit: cover; transform-origin: center; will-change: transform; }
.split h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; margin-bottom: 16px; }
.split p { color: var(--ink-70); margin-bottom: 14px; font-size: 15px; }
.split .btn { margin-top: 14px; }

/* ============ Therapist cards row ============ */
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: var(--white); border: 1px solid var(--line); padding: 34px 22px 30px; text-align: center; }
.team-card .avatar { margin: 0 auto 20px; }
.avatar {
    width: 168px; height: 168px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h3 { font-size: 20px; margin-bottom: 6px; }
.team-card .role { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-50); }

/* ============ Stats navy band (The NOW press band) ============ */
.stats-band { background: var(--navy); color: #fff; padding: 56px 0; }
.stats-band h2 { text-align: center; font-size: 26px; margin-bottom: 34px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats-row .stat { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .85; line-height: 2; }

/* ============ Page hero (inner pages) ============ */
.page-hero { padding: 72px 0 52px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { display: block; font-size: 10px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.1; }

/* ============ Menu page course rows ============ */
.course-row { display: grid; grid-template-columns: 460px 1fr; gap: 52px; align-items: center; padding: 52px 0; border-bottom: 1px solid var(--line); }
.course-row:first-of-type { border-top: 1px solid var(--line); }
.course-row .cr-img { aspect-ratio: 4/3; overflow: hidden; }
.course-row .cr-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.course-row h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 16px; }
.course-row p { color: var(--ink-70); font-size: 15px; margin-bottom: 14px; max-width: 560px; }
.course-row .benefits { font-size: 13.5px; }
.course-row .benefits strong { color: var(--ink); font-weight: 500; }
.course-row .chip-row { margin-bottom: 18px; }
.course-row .chip { background: var(--cream-2); }

/* ============ Feature cards (about) ============ */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border: 1px solid var(--line); padding: 38px 30px; }
.feature h3 { font-size: 20px; margin-bottom: 12px; }
.feature p { color: var(--ink-70); font-size: 14px; }

/* ============ Team full grid (therapists page) ============ */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 44px; }
.member { text-align: center; display: flex; flex-direction: column; align-items: center; }
.member .avatar { width: 200px; height: 200px; padding: 10px; margin-bottom: 24px; }
.member h3 { font-size: 26px; margin-bottom: 8px; }
.member .role { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 16px; max-width: 340px; }
.member .bio { font-size: 14px; color: var(--ink-70); max-width: 430px; }
.member .bio p + p { margin-top: 12px; }

/* ============ Booking channels ============ */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.channel { background: var(--white); border: 1px solid var(--line); padding: 40px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: box-shadow .3s; }
.channel:hover { box-shadow: 0 12px 34px rgba(51,58,86,.08); }
.channel .ch-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 14px; }
.channel .ch-icon img { width: 100%; height: 100%; }
.channel h3 { font-size: 22px; }
.channel p { font-size: 13.5px; color: var(--ink-70); }
.channel .handle { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--navy); padding-bottom: 3px; margin-top: auto; }
.note-box { background: var(--white); border: 1px solid var(--line); padding: 36px 40px; max-width: 760px; margin: 48px auto 0; }
.note-box li { display: flex; gap: 13px; font-size: 14px; color: var(--ink-70); }
.note-box li + li { margin-top: 14px; }
.note-box li .dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); margin-top: 10px; }
.note-box a { text-decoration: underline; text-underline-offset: 3px; }

.hours-box { background: var(--cream-2); border: 1px solid var(--line); padding: 32px 40px; max-width: 760px; margin: 48px auto 0; display: flex; gap: 44px; align-items: flex-start; }
.hours-box h4 { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.hours-box .hours-times { font-size: 14.5px; line-height: 1.9; white-space: nowrap; }
.hours-box .hours-note { font-size: 14px; color: var(--ink-70); align-self: center; }
@media (max-width: 700px) {
    .hours-box { flex-direction: column; gap: 18px; padding: 26px 24px; }
    .hours-box .hours-times { white-space: normal; }
}


/* Questionnaire callout (appointments) */
.quest-banner {
    background: var(--navy); color: #fff;
    padding: 34px 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    margin-bottom: 44px;
}
.quest-banner h3 { font-size: 24px; margin-bottom: 8px; }
.quest-banner p { font-size: 14px; opacity: .92; max-width: 620px; }
.quest-banner p strong { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.quest-banner .btn { flex-shrink: 0; }
@media (max-width: 900px) {
    .quest-banner { flex-direction: column; align-items: flex-start; }
}

/* ============ FAQ ============ */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-trigger {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
    padding: 22px 4px;
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
    font-size: 17.5px; text-align: left;
}
.faq-trigger .faq-arrow { transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-content { display: none; padding: 0 4px 24px; font-size: 14px; color: var(--ink-70); max-width: 680px; }
.faq-item.open .faq-content { display: block; }

/* ============ Access ============ */
.access-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: stretch; }
.access-info { background: var(--white); border: 1px solid var(--line); padding: 46px 42px; }
.access-info h2 { font-size: 28px; margin-bottom: 24px; }
.access-info .info-row { display: flex; gap: 14px; font-size: 14.5px; color: var(--ink-70); margin-bottom: 16px; }
.access-info .info-row svg { flex-shrink: 0; margin-top: 3px; opacity: .5; }
.access-info .btn { width: 100%; margin-top: 20px; }
.map-wrap { border: 1px solid var(--line); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ============ Footer (navy, giant wordmark — The NOW pattern) ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.site-footer h3.serif { color: #fff; font-size: 26px; margin-bottom: 14px; }
.site-footer .foot-lead { font-size: 13.5px; margin-bottom: 22px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 13px; }
.site-footer li a:hover { color: #fff; }
.footer-wordmark { margin-top: 64px; display: flex; justify-content: flex-end; }
.footer-wordmark img { width: min(180px, 40vw); filter: brightness(0) invert(1); opacity: .92; }
.footer-wordmark .fw-sub { display: block; text-align: right; color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: .5em; text-transform: uppercase; margin-top: 10px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); flex-wrap: wrap; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .hamburger { display: block; }
    .header-right .lang-switch { display: none; }
    .header-right .btn-book { display: none; }
}
@media (max-width: 900px) {
    .container { padding: 0 22px; }
    .section { padding: 60px 0; }
    .treat-accordion { flex-direction: column; height: auto; }
    .treat-panel { min-height: 300px; padding: 48px 0; flex: none; }
    .tp-detail { max-height: none; opacity: 1; }
    .treat-panel .tp-bg::after { background: rgba(24,26,42,.45); }
    .card-row { grid-template-columns: 1fr 1fr; }
    .mini-card { border-left: none !important; border-right: none; border-bottom: 1px solid var(--line); }
    .card-row { border: none; }
    .diff-grid, .split, .access-grid, .team-grid, .channel-grid, .feature-list { grid-template-columns: 1fr; }
    .diff-grid { gap: 36px; }
    .team-row { grid-template-columns: 1fr 1fr; }
    .course-row { grid-template-columns: 1fr; gap: 26px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-wordmark { justify-content: center; }
    .footer-wordmark .fw-sub { text-align: center; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .stats-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
    .team-row { grid-template-columns: 1fr; }
    .card-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .hero { min-height: 76svh; }
    .hero video { object-position: 52% 38%; }
}

/* ============ Floating Book button ============ */
.floating-book {
    position: fixed; right: 20px; bottom: 20px; z-index: 70;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--navy); color: #fff;
    padding: 15px 22px;
    font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(20,22,38,.28);
    transform: translateY(96px); opacity: 0; pointer-events: none;
    transition: transform .35s ease, opacity .35s ease, background .25s;
}
.floating-book.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.floating-book:hover { background: var(--navy-deep); }
.floating-book svg { flex-shrink: 0; }
@media (min-width: 768px) { .floating-book { right: 32px; bottom: 32px; } }
