:root{--primary:#0a4d8c;--accent:#d7263d;--bg:#ffffff;--surface:#f1f6fb;--text:#0b1726;--muted:#686f78;--on-primary:#ffffff;--on-accent:#ffffff;--accent-text:#d7263d;--link:#0a4d8c;--card:#ffffff;--font-head:-apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;--font-body:-apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;--map-hue:169deg}
/* The shared design system of every kit. The generator puts the site's colours and fonts in :root above this,
   each kit's theme.css below it. No external fonts or images: everything loads from the site itself. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link, var(--primary)); text-underline-offset: .18em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading, var(--text)); line-height: 1.12; letter-spacing: var(--head-tracking, -.02em); margin: 0 0 .5em; font-weight: var(--head-weight, 700); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--maxw, 1160px), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); } .small { font-size: .88rem; } .center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: var(--btn-radius, 999px); background: var(--primary); color: var(--on-primary);
  font: 600 .98rem/1 var(--font-body); text-decoration: none; border: 2px solid var(--primary); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--heading, var(--text)); border-color: color-mix(in srgb, var(--text) 22%, transparent); }
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-light { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--font-head); color: var(--heading, var(--text)); text-decoration: none; letter-spacing: -.02em; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 26px); }
.nav a, .nav-gbtn, .logo { white-space: nowrap; }
@media (min-width: 821px) and (max-width: 1180px) { .nav a:not(.btn), .nav-gbtn { font-size: .9rem; } }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; opacity: .82; }
.nav a:not(.btn):hover, .nav a[aria-current] { opacity: 1; color: var(--primary); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 70px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--bg);
    border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); transform: translateY(-120%); transition: transform .3s; box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav-open .nav { transform: none; }
}

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(56px, 9vw, 120px) 0; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg, 24px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art i { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-art i:nth-child(1) { inset: 8% 22% 30% 4%; background: radial-gradient(circle at 30% 30%, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent) 70%); }
.hero-art i:nth-child(2) { inset: 30% 2% 4% 30%; background: radial-gradient(circle at 60% 40%, var(--primary), color-mix(in srgb, var(--primary) 5%, transparent) 70%); opacity: .85; }
.hero-art i:nth-child(3) { inset: 40% 40% 20% 20%; border: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent); filter: none; }
.hero-full .hero { min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.62)), var(--hero-img, linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 40%, #000))) center/cover; }
.hero-full .hero-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-full .hero h1, .hero-full .hero .eyebrow { color: #fff; }
.hero-full .hero .lead { color: rgba(255,255,255,.86); margin-inline: auto; }
.hero-full .hero-cta { justify-content: center; }
.hero-full .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-minimal .hero-in { grid-template-columns: 1fr; padding: clamp(72px, 12vw, 160px) 0 clamp(48px, 8vw, 100px); }
.hero-minimal .hero h1 { font-size: clamp(2.8rem, 7.6vw, 6.4rem); max-width: 14ch; }
.hero-minimal .hero-media { margin-top: 40px; }
.hero-minimal .hero-media img { aspect-ratio: 21/9; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 36px; } .hero-art { max-width: 420px; } }

.eyebrow { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text, var(--accent)); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.sec-head .lead { margin: 0; }
.page-head { padding: clamp(56px, 8vw, 100px) 0 clamp(20px, 3vw, 36px); text-align: center; }
.page-head .lead { max-width: 640px; margin-inline: auto; }

.strip { border-block: 1px solid color-mix(in srgb, var(--text) 8%, transparent); background: var(--surface); }
.strip-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; padding: 28px 0; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; }
.strip-item .ico { color: var(--accent); width: 26px; height: 26px; margin-top: 2px; }
.strip-item b { display: block; color: var(--heading, var(--text)); }
.strip-item span { color: var(--muted); font-size: .93rem; }

.about-in { display: grid; gap: 64px; align-items: center; }
.about-in.has-img { grid-template-columns: .95fr 1.05fr; }
.about-in:not(.has-img) { max-width: 760px; margin-inline: auto; text-align: center; }
.about-media img { border-radius: var(--radius-lg, 24px); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin: 32px 0 0; }
.facts div { border-top: 2px solid var(--accent); padding-top: 12px; }
.facts dt { font: 700 2rem/1 var(--font-head); color: var(--heading, var(--text)); letter-spacing: -.03em; }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .about-in.has-img { grid-template-columns: 1fr; gap: 36px; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); border-radius: var(--radius, 18px); padding: 30px;
  transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); }
.card-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text, var(--accent)); margin-bottom: 20px; }
.card-ico .ico { width: 26px; height: 26px; }
.card-img { border-radius: calc(var(--radius, 18px) - 6px); aspect-ratio: 16/10; object-fit: cover; margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }
.card .price { margin-top: 14px; font-weight: 700; color: var(--heading, var(--text)); }

/* menu / price list */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 40px; }
.menu-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text) 16%, transparent); color: var(--text); text-decoration: none; font-size: .92rem; }
.menu-tabs a:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.menu-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 64px; }
.menu-cat h3 { font-size: 1.45rem; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--text) 14%, transparent); margin-bottom: 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 14px 0; border-bottom: 1px dashed color-mix(in srgb, var(--text) 12%, transparent); }
.mi-row { display: flex; align-items: baseline; gap: 10px; }
.mi-name { font-weight: 600; color: var(--heading, var(--text)); }
.mi-dots { flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--text) 22%, transparent); transform: translateY(-4px); }
.mi-price { font-weight: 700; color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi-desc { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
.tag { display: inline-block; font: 700 .68rem/1 var(--font-body); padding: 3px 6px; border-radius: 5px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text, var(--accent)); vertical-align: 1px; letter-spacing: .04em; }
.legend { margin-top: 36px; text-align: center; }
.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; text-decoration: none; }

/* gallery */
.grid-gallery { columns: 3 260px; column-gap: 16px; }
.g-item { display: block; position: relative; margin-bottom: 16px; break-inside: avoid; border-radius: var(--radius, 18px); overflow: hidden; }
.g-item img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.04); }
.g-item span { position: absolute; inset: auto 0 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .3s; }
.g-item:hover span { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8,8,12,.92); padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 10px; }
.lightbox p { color: #ddd; text-align: center; margin-top: 12px; }

/* testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: 30px; border-radius: var(--radius, 18px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.quote blockquote { margin: 0 0 18px; font: 500 1.12rem/1.55 var(--font-head); color: var(--heading, var(--text)); }
.quote figcaption { font-weight: 600; } .quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.post-card a { display: block; text-decoration: none; color: inherit; border-radius: var(--radius, 18px); overflow: hidden; background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); height: 100%; transition: transform .25s, box-shadow .25s; }
.post-card a:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); }
.post-card img, .post-ph { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 70%, var(--bg)), color-mix(in srgb, var(--accent) 60%, var(--bg))); }
.post-body { padding: 22px 24px 26px; }
.post-body time { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post-body h3 { margin: 8px 0 8px; }
.post-body p { color: var(--muted); margin: 0; font-size: .96rem; }
.article-img img { border-radius: var(--radius-lg, 24px); width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 40px; }
.prose { font-size: 1.1rem; } .prose h2 { font-size: 1.7rem; margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 14px; margin: 1.5em 0; } .prose blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; color: var(--muted); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .3em 0; }
.article-foot { padding: 30px 0 90px; }

/* contact */
.contact-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-in:has(> :only-child) { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
.ci { display: flex; gap: 14px; align-items: flex-start; font-size: 1.04rem; }
.ci .ico { color: var(--accent); margin-top: 3px; }
.hours { margin-top: 28px; padding: 24px 26px; border-radius: var(--radius, 18px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.hours h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.hours dl { margin: 0; } .hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--text) 12%, transparent); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .contact-in { grid-template-columns: 1fr; gap: 36px; } }

.form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg, 24px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .form select { width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--text); padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid color-mix(in srgb, var(--text) 16%, transparent); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.form .btn { justify-self: start; }
.form-note:empty { display: none; }
.form-note.ok { color: #15803d; font-weight: 600; } .form-note.err { color: #b91c1c; font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* call to action band */
.cta-band { padding: 0 0 clamp(64px, 9vw, 112px); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg, 24px);
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--accent))); color: var(--on-primary); }
.cta-in h2 { color: var(--on-primary); margin: 0 0 6px; } .cta-in p { margin: 0; opacity: .88; }

/* booking */
.book { padding: clamp(20px, 4vw, 36px); border-radius: var(--radius-lg, 24px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.book-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.book-step { opacity: .42; pointer-events: none; transition: opacity .3s; }
.book-step.on { opacity: 1; pointer-events: auto; }
.book-step h3 { font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.book-step h3::before { counter-increment: step; content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem/1 var(--font-body); background: var(--primary); color: var(--on-primary); }
.book-steps { counter-reset: step; }
.book-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.book-svc, .book-day, .book-time { font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--text) 14%, transparent); border-radius: 12px; padding: 12px 14px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.book-svc b { display: block; } .book-svc span { color: var(--muted); font-size: .88rem; }
.book-svc:hover, .book-day:hover, .book-time:hover { border-color: var(--primary); }
.book-svc.on, .book-day.on, .book-time.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--bg)); }
.book-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.book-day { min-width: 74px; text-align: center; scroll-snap-align: start; padding: 10px 8px; }
.book-day small { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.book-day b { font-size: 1.2rem; } .book-day.none { opacity: .35; cursor: default; }
.book-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.book-time { text-align: center; font-variant-numeric: tabular-nums; padding: 10px; }
.book-summary { margin: 0; font-weight: 600; color: var(--primary); }
.book-hours { margin-top: 26px; }
.book-done { text-align: center; padding: 20px 0; } .book-done .ico { width: 54px; height: 54px; color: #16a34a; margin: 0 auto 10px; }

/* footer */
.site-footer { background: var(--footer-bg, color-mix(in srgb, var(--text) 94%, var(--primary))); color: var(--footer-text, rgba(255,255,255,.78)); padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: inherit; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo img { filter: var(--footer-logo-filter, none); }
.site-footer .muted { color: rgba(255,255,255,.6); }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-in p { margin: 0 0 8px; }
.social { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

/* reveal on scroll (only when the script runs; without it everything is simply visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* dark */
.is-dark .site-footer { background: color-mix(in srgb, var(--bg) 70%, #000); }
.notfound { padding-bottom: 120px; }

/* Blocks: backgrounds ("tones") and the blocks that carry their own content. Shared by every kit. */
.blk { background: var(--bg); color: var(--text); }
.tone-gray { background: var(--surface); }
.tone-dark { --bg: #0a0a0b; --surface: #161618; --card: #1c1c1f; --text: #f5f5f7; --heading: #f5f5f7; --muted: #a1a1a6; --link: color-mix(in srgb, var(--accent) 70%, #fff);
  background: #000; color: var(--text); }
.tone-accent { --card: color-mix(in srgb, var(--primary) 85%, #fff); --text: var(--on-primary); --heading: var(--on-primary); --muted: color-mix(in srgb, var(--on-primary) 75%, transparent);
  --link: var(--on-primary); background: var(--primary); color: var(--on-primary); }
.tone-accent .btn { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.tone-accent .eyebrow, .tone-dark .eyebrow { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.tone-light .hero, .tone-gray .hero { background-color: transparent; }
.sec-head.left { margin-left: 0; text-align: left; }

.b-more { display: inline-flex; align-items: center; gap: .25em; font-weight: 500; text-decoration: none; color: var(--link, var(--primary)); font-size: 1.05rem; }
.b-more:hover { text-decoration: underline; }
.b-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: center; margin-top: 26px; }

/* headline: a big product-like statement */
.b-headline { padding-bottom: 0; overflow: hidden; }
.b-kicker { font-weight: 600; font-size: 1.3rem; margin: 0 0 6px; color: var(--accent-text, var(--accent)); }
.b-display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -.035em; line-height: 1.04; margin: 0 auto .25em; max-width: 16ch; }
.b-sub { font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--muted); max-width: 30em; margin: 0 auto; line-height: 1.4; }
.b-headline-img { margin-top: clamp(36px, 6vw, 70px); }
.b-headline-img img { width: min(1100px, 100%); margin: 0 auto; border-radius: var(--radius-lg, 24px) var(--radius-lg, 24px) 0 0; }
.b-headline:not(:has(.b-headline-img)) { padding-bottom: clamp(64px, 9vw, 112px); }

.b-text .prose { font-size: 1.15rem; }
.b-text.center .prose, .center .prose { text-align: center; }

.b-split-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.b-split-in.rev .b-split-img { order: 2; }
.b-split-in.noimg { grid-template-columns: 1fr; max-width: 760px; }
.b-split-img img { width: 100%; border-radius: var(--radius-lg, 24px); aspect-ratio: 5/4; object-fit: cover; }
.b-split-text h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.b-split-text p { color: var(--muted); font-size: 1.12rem; }
@media (max-width: 860px) { .b-split-in { grid-template-columns: 1fr; } .b-split-in.rev .b-split-img { order: 0; } }

/* bento tiles */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 300px; padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius-lg, 28px); background: var(--card, var(--bg)); overflow: hidden; border: 1px solid color-mix(in srgb, var(--text) 6%, transparent); }
.tone-gray .tile-light { background: var(--bg); }
.tile.size-wide { grid-column: span 2; } .tile.size-tall { grid-row: span 2; } .tile.size-full { grid-column: 1 / -1; }
.tile h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.025em; margin: 0 0 .35em; }
.tile p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.tile-kicker { font-weight: 600; font-size: .9rem; color: var(--accent-text, var(--accent)) !important; margin-bottom: 8px !important; }
.tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text, var(--accent)); margin-bottom: 18px; }
.tile-ico .ico { width: 24px; height: 24px; }
.tile img { width: calc(100% + 2 * clamp(26px, 3.4vw, 40px)); max-width: none; margin: 0 calc(-1 * clamp(26px, 3.4vw, 40px)) calc(-1 * clamp(26px, 3.4vw, 40px)); aspect-ratio: 16/10; object-fit: cover; }
.tile.size-tall img { flex: 1; aspect-ratio: auto; min-height: 260px; }
.tile-dark { --text: #f5f5f7; --heading: #f5f5f7; --muted: #a1a1a6; background: #000; color: var(--text); border-color: #000; }
.tile-accent { --text: var(--on-primary); --heading: var(--on-primary); --muted: color-mix(in srgb, var(--on-primary) 78%, transparent); background: var(--primary); color: var(--on-primary); border-color: transparent; }
.tile-accent .tile-kicker, .tile-dark .tile-kicker { color: color-mix(in srgb, var(--accent) 65%, #fff) !important; }
.tile-gradient { --text: #fff; --heading: #fff; --muted: rgba(255,255,255,.82); color: #fff; border: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile.size-wide, .tile.size-tall { grid-column: auto; grid-row: auto; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 34px; margin: 0; text-align: center; }
.stats dt { font: 700 clamp(2.8rem, 5.4vw, 4.4rem)/1 var(--font-head); letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.tone-dark .stats dt, .tone-accent .stats dt { background: linear-gradient(120deg, #fff, color-mix(in srgb, var(--accent) 60%, #fff)); -webkit-background-clip: text; background-clip: text; }
.stats dd { margin: 10px 0 0; color: var(--muted); font-size: 1.02rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 34px 30px; border-radius: var(--radius-lg, 24px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.tone-gray .plan { background: var(--bg); }
.plan.featured { border: 2px solid var(--primary); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--primary) 60%, transparent); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; margin: 0; }
.plan-price { margin: 6px 0 4px; } .plan-price b { font: 700 2.6rem/1 var(--font-head); letter-spacing: -.035em; color: var(--heading, var(--text)); }
.plan-price span { color: var(--muted); margin-left: 6px; }
.plan-list { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; gap: 10px; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; } .plan-list .ico { color: var(--accent-text, var(--accent)); margin-top: 3px; }
.plan .btn { justify-content: center; margin-top: auto; }

/* faq */
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.15rem/1.4 var(--font-head); color: var(--heading, var(--text)); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.person { margin: 0; text-align: center; }
.person img, .person-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg, 24px); margin-bottom: 16px; }
.person-ph { display: grid; place-items: center; font: 700 3rem/1 var(--font-head); color: var(--on-primary); background: linear-gradient(135deg, var(--primary), var(--accent)); }
.person b { display: block; font-size: 1.1rem; color: var(--heading, var(--text)); } .person span { color: var(--muted); font-size: .95rem; }
.person p { color: var(--muted); font-size: .93rem; margin: 8px 0 0; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: none; }
.steps li { position: relative; padding-top: 8px; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: 700 1.15rem/1 var(--font-head); margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }

/* logos */
.b-logos { padding: clamp(40px, 6vw, 72px) 0; }
.logos-title { text-align: center; color: var(--muted); font-size: .95rem; margin: 0 0 26px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.logos img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; } .logos span { font: 700 1.35rem/1 var(--font-head); letter-spacing: -.02em; color: var(--muted); opacity: .85; }

/* quote */
.b-quote blockquote { margin: 0 0 26px; font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1.25 var(--font-head); letter-spacing: -.025em; color: var(--heading, var(--text)); }
.b-quote-by { display: inline-flex; gap: 12px; align-items: center; color: var(--muted); margin: 0; }
.b-quote-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* banner: a full-width image band */
.b-banner { padding: clamp(90px, 14vw, 180px) 0; color: #fff; text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)), var(--banner, linear-gradient(135deg, var(--primary), var(--accent))) center/cover; }
.b-banner h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.03em; }
.b-banner p { font-size: 1.25rem; opacity: .9; max-width: 36em; margin: 0 auto 26px; }

/* calendar */
.cal-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 30px; }
.cal-filter button { font: 500 .92rem/1 var(--font-body); padding: 9px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text) 16%, transparent); background: transparent; color: var(--text); cursor: pointer; }
.cal-filter button.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; padding: 18px; border-radius: var(--radius, 18px); background: var(--card, var(--bg));
  border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.tone-gray .event, .m-card .event { background: var(--bg); }
.event[hidden] { display: none; }
.ev-date { display: grid; justify-items: center; align-content: center; height: 74px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.ev-date b { font: 700 1.9rem/1 var(--font-head); letter-spacing: -.03em; } .ev-date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kind-match .ev-date, .kind-competition .ev-date { background: var(--primary); color: var(--on-primary); }
.ev-body h3 { margin: 2px 0 4px; font-size: 1.12rem; } .ev-body p { margin: 0 0 6px; }
.ev-kind { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 600 .7rem/1 var(--font-body); padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-text, var(--accent)); letter-spacing: .03em; }
.event.mine { border-color: var(--primary); }
.events.compact .event { grid-template-columns: 56px 1fr; padding: 12px; gap: 14px; } .events.compact .ev-date { height: 56px; } .events.compact .ev-date b { font-size: 1.4rem; }
.cal-subscribe { margin-top: 26px; text-align: center; display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* member band on the home page */
.m-band { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg, 24px);
  background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.tone-gray .m-band { background: var(--bg); }
.m-band h2 { margin-bottom: .3em; } .m-band-cta { display: grid; gap: 14px; justify-items: start; }
.m-feats { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; } .m-feats li { display: flex; gap: 10px; } .m-feats .ico { color: var(--accent-text, var(--accent)); margin-top: 3px; }
@media (max-width: 760px) { .m-band { grid-template-columns: 1fr; } }

/* the member portal */
.member-page { min-height: 60vh; }
.m-card { padding: clamp(22px, 4vw, 34px); border-radius: var(--radius-lg, 24px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); margin-bottom: 18px; }
.m-card h2 { font-size: 1.35rem; margin-bottom: .7em; }
.m-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.m-form { box-shadow: none; border: 0; padding: 0; background: transparent; }
.m-links { margin: 16px 0 0; color: var(--muted); }
.m-flash { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; background: color-mix(in srgb, #16a34a 14%, transparent); color: #15803d; }
.m-flash.err { background: color-mix(in srgb, #dc2626 12%, transparent); color: #b91c1c; }
.m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.m-head .m-title { margin: 0; }
.m-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.m-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); font-size: .92rem; }
.m-nav a[aria-current] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.m-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 18px; align-items: start; }
.m-grid .m-card { margin: 0; }
.m-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.m-tile { display: grid; gap: 4px; padding: 16px; border-radius: 16px; text-decoration: none; color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); transition: border-color .2s, transform .2s; }
.m-tile:hover { border-color: var(--primary); transform: translateY(-2px); } .m-tile .ico { color: var(--primary); width: 26px; height: 26px; }
.m-list { list-style: none; padding: 0; margin: 0; } .m-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.m-x { font: inherit; font-size: .88rem; background: none; border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); color: var(--text); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.m-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 14px; }
.m-days .book-day { text-decoration: none; color: var(--text); }
.m-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.book-time.taken { opacity: .45; cursor: not-allowed; text-decoration: line-through; } .book-time small { display: block; font-size: .72rem; color: var(--muted); text-decoration: none; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.doc-cat { margin: 14px 0 4px; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text); border: 1px solid transparent; }
.doc:hover { background: var(--bg); border-color: color-mix(in srgb, var(--text) 10%, transparent); }
.doc > span:last-child { display: grid; }
.doc-ext { width: 44px; height: 52px; border-radius: 8px; display: grid; place-items: end center; padding-bottom: 8px; font: 700 .66rem/1 var(--font-body); text-transform: uppercase; color: #fff;
  background: linear-gradient(160deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000)); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); flex: none; }

.member-page { padding-top: clamp(36px, 5vw, 64px); }

/* real-estate objects */
.obj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.obj-card { display: block; text-decoration: none; color: inherit; border-radius: var(--radius-lg, 22px); overflow: hidden; background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); transition: transform .3s, box-shadow .3s; }
.obj-card[hidden] { display: none; }
.obj-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.4); }
.obj-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.obj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); } .obj-card:hover .obj-img img { transform: scale(1.05); }
.obj-ph { width: 100%; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 60%, var(--bg)), color-mix(in srgb, var(--accent) 50%, var(--bg))); }
.obj-badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font: 600 .78rem/1 var(--font-body); background: rgba(255,255,255,.92); color: #111; backdrop-filter: blur(8px); }
.obj-badge.st-sold { background: #111; color: #fff; } .obj-badge.st-coming { background: var(--accent); color: var(--on-accent); }
.obj-title .obj-badge { position: static; }
.obj-body { padding: 18px 20px 22px; } .obj-body h3 { margin: 2px 0 8px; font-size: 1.2rem; }
.obj-area { margin: 0; color: var(--muted); font-size: .9rem; }
.obj-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--muted); font-size: .95rem; } .obj-facts b { color: var(--heading, var(--text)); }
.obj-hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.obj-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; } .obj-title h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.obj-title .lead { margin: 6px 0 0; }
.obj-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 46vw, 560px); border-radius: var(--radius-lg, 24px); overflow: hidden; }
.obj-gallery .g-item { margin: 0; border-radius: 0; height: 100%; } .obj-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; }
.obj-gallery .big { grid-row: span 2; }
.obj-gallery:has(.g-item:only-child) { grid-template-columns: 1fr; } .obj-gallery:has(.g-item:only-child) .big { grid-row: auto; }
.obj-more { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: .88rem; pointer-events: none; }
@media (max-width: 760px) { .obj-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; } .obj-gallery .big { grid-column: 1 / -1; grid-row: auto; } .obj-gallery .g-item:nth-child(n+4) { display: none; } }
.obj-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.obj-side { position: sticky; top: 90px; } .obj-side .m-card { margin-bottom: 14px; }
@media (max-width: 900px) { .obj-cols { grid-template-columns: 1fr; } .obj-side { position: static; } }
.obj-keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1px; margin: 0 0 32px; border-radius: var(--radius, 18px); overflow: hidden; background: color-mix(in srgb, var(--text) 10%, transparent); }
.obj-keyfacts div { background: var(--bg); padding: 16px 18px; } .obj-keyfacts dt { color: var(--muted); font-size: .82rem; } .obj-keyfacts dd { margin: 4px 0 0; font: 600 1.15rem/1.2 var(--font-head); color: var(--heading, var(--text)); }
.obj-facts-table { margin: 0 0 30px; } .obj-facts-table div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.obj-facts-table dt { color: var(--muted); } .obj-facts-table dd { margin: 0; font-weight: 600; text-align: right; }
.obj-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; } .obj-plans img { background: #fff; border-radius: 12px; }
.obj-price { display: grid; gap: 4px; } .obj-price b { font: 700 2rem/1.1 var(--font-head); letter-spacing: -.03em; color: var(--heading, var(--text)); }
.obj-viewings { display: grid; gap: 8px; }
.obj-view { display: flex !important; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--text) 12%, transparent); cursor: pointer; font-weight: 400 !important; }
.obj-view input { width: auto !important; } .obj-view > span { display: grid; } .obj-view:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.obj-agent { display: flex; gap: 14px; align-items: center; } .obj-agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; } .obj-agent > div { display: grid; gap: 2px; }
.obj-apply summary { list-style: none; cursor: pointer; margin-top: 12px; } .obj-apply summary::-webkit-details-marker { display: none; }
.obj-bidtable { width: 100%; border-collapse: collapse; } .obj-bidtable td { padding: 10px 6px; border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.obj-bidtable .num { text-align: right; } .obj-bidtable tr.mine td { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.obj-top { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--primary) 9%, transparent); margin: 12px 0 18px; } .obj-top b { font: 700 1.8rem/1.1 var(--font-head); color: var(--primary); }

.lightbox figure { position: relative; margin: 0; text-align: center; }
.lb-x, .lb-prev, .lb-next { position: fixed; z-index: 101; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.lb-x { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); } .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-n { display: block; color: #aaa; font-size: .85rem; margin-top: 6px; }
.obj-content h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 1.4em; }
.obj-keyfacts { background: none; gap: 0; border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.obj-keyfacts div { background: transparent; box-shadow: inset -1px -1px 0 color-mix(in srgb, var(--text) 10%, transparent); }
.obj-title .obj-badge { border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); background: var(--bg); color: var(--text); padding: 8px 14px; }
.obj-title .obj-badge.st-sold { background: #111; color: #fff; } .obj-title .obj-badge.st-coming { background: var(--accent); color: var(--on-accent); border-color: transparent; }

/* competitions */
.comp-tabs { justify-content: flex-start; }
.comp-scroll { overflow-x: auto; }
.comp-table, .cg-board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comp-table th, .comp-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.comp-table th:nth-child(2), .comp-table td:nth-child(2) { text-align: left; } .comp-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.comp-table tbody tr:nth-child(-n+3) td:first-child { color: var(--primary); font-weight: 800; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ladder li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--radius, 16px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.ladder li > span:nth-child(2) { display: grid; }
.ladder-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem/1 var(--font-head); background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.ladder li:first-child .ladder-n { background: var(--primary); color: var(--on-primary); }
.comp-day { margin: 26px 0 10px; font-size: 1.05rem; color: var(--muted); }
.comp-game { padding: 12px 14px; border-radius: var(--radius, 16px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); margin-bottom: 10px; }
.comp-game.st-live { border-color: #ff453a; }
.cg-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 6px; } .cg-st { margin-left: auto; }
.cg-board th { text-align: left; padding: 6px 10px 6px 0; font-weight: 600; white-space: nowrap; width: 40%; }
.cg-board td { text-align: center; width: 34px; padding: 6px 0; border-left: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.cg-board td.z { color: color-mix(in srgb, var(--text) 25%, transparent); } .cg-board td.sc { font-weight: 700; }
.cg-board td.tot { font-weight: 800; font-size: 1.15rem; width: 52px; color: var(--primary); }
.comp-live { color: #ff453a; animation: mh-blink 1.4s infinite; } @keyframes mh-blink { 50% { opacity: .25; } }
.sheet-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.obj-badges { display: flex; gap: 8px; flex-wrap: wrap; } .obj-badge.st-new { background: #16a34a; color: #fff; border-color: transparent; } .obj-badge.st-reduced { background: #dc2626; color: #fff; border-color: transparent; }
.obj-badge.corner { left: auto; right: 14px; }
.obj-media { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.obj-search { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.obj-search input, .obj-search select { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--text) 14%, transparent); background: var(--bg); color: var(--text); }
@media (max-width: 760px) { .obj-search { grid-template-columns: 1fr 1fr; } .obj-search input { grid-column: 1 / -1; } }
.obj-calc h2 { font-size: 1.2rem; } .calc-row { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 10px 0; font-size: .9rem; }
.calc-row input { width: 100%; accent-color: var(--primary); } .calc-row b { font-variant-numeric: tabular-nums; }
.calc-out { margin: 12px 0 8px; } .calc-out div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed color-mix(in srgb, var(--text) 12%, transparent); font-size: .94rem; }
.calc-out dd { margin: 0; font-variant-numeric: tabular-nums; } .calc-total { border-bottom: 0 !important; font-weight: 700; font-size: 1.1rem !important; } .calc-total dd { color: var(--primary); }
.obj-ics { margin-left: auto; font-size: .8rem; white-space: nowrap; }
.obj-map { border-radius: var(--radius, 16px); overflow: hidden; background: var(--surface); padding: 20px; text-align: center; margin-bottom: 24px; }
.obj-map iframe { width: 100%; height: 360px; border: 0; display: block; } .obj-map.on { padding: 0; }

/* rolling text band */
.b-marquee { overflow: hidden; padding: clamp(18px, 3vw, 34px) 0; border-block: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.mq { display: flex; width: max-content; animation: mh-mq var(--mq, 28s) linear infinite; }
.mq span { font: 800 clamp(2.2rem, 7vw, 6rem)/1 var(--font-head); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; padding-right: .6em; color: var(--heading, var(--text)); }
.mq span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--heading, var(--text)); }
@keyframes mh-mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq { animation: none; } }
/* shows with tickets */
.shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.show { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border-radius: var(--radius, 16px); background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.show-date { display: grid; justify-items: center; line-height: 1; } .show-date b { font: 800 2.4rem/1 var(--font-head); } .show-date span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.show h3 { margin: 0 0 4px; } .show p { margin: 0; color: var(--muted); }
.show .sold { font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
@media (max-width: 640px) { .show { grid-template-columns: 70px 1fr; } .show .btn, .show .sold { grid-column: 1 / -1; justify-self: start; } }

/* "Så spelar man curling": the animated sheet with the steps under it, lit in turn (16 s, 4 s per step) */
.howto { display: grid; gap: 22px; }
.howto-svg { width: 100%; height: auto; display: block; border-radius: var(--radius, 16px); background: var(--card, var(--bg)); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.ht-l { font: 600 13px var(--font-body); fill: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.ht-score { font: 700 15px var(--font-body); fill: #fff; }
.howto-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.howto-steps li { position: relative; display: grid; gap: 6px; padding: 18px 18px 22px; border-radius: 14px; background: var(--card, var(--bg)); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden;
  animation: ht-step 16s infinite; opacity: .55; }
.howto-steps li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: ht-bar 16s linear infinite; }
.howto-steps li:nth-child(2), .howto-steps li:nth-child(2)::after { animation-delay: 4s; } .howto-steps li:nth-child(3), .howto-steps li:nth-child(3)::after { animation-delay: 8s; }
.howto-steps li:nth-child(4), .howto-steps li:nth-child(4)::after { animation-delay: 12s; }
.howto-steps b { font-size: 1.05rem; } .howto-steps span { color: var(--muted); font-size: .94rem; line-height: 1.5; }
@keyframes ht-step { 0%, 24% { opacity: 1; transform: translateY(-4px); border-color: var(--accent); } 26%, 100% { opacity: .55; transform: none; } }
@keyframes ht-bar { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }
.howto.paused .howto-steps li, .howto.paused .howto-steps li::after { animation: none; opacity: 1; }
@media (max-width: 860px) { .howto-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .howto-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .howto-steps li, .howto-steps li::after { animation: none !important; opacity: 1; } }
.hero-svg svg { width: 100%; height: auto; display: block; }

/* newsletter sign-up */
.news-box { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(30px, 5vw, 56px); border-radius: var(--radius, 22px); background: var(--card, var(--surface)); }
.news-box .sec-head { margin-bottom: 20px; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.news-form input[type=email] { flex: 1 1 260px; max-width: 380px; font: inherit; padding: 14px 18px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--text) 18%, transparent); background: var(--bg); color: var(--text); }
.news-form .form-note { flex-basis: 100%; margin: 4px 0 0; } .news-legal { margin-top: 12px; }

/* "Hitta hit": the map (loaded on a click – no third party before that) and directions */
.map-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.map-box { position: relative; min-height: 340px; border-radius: var(--radius, 20px); overflow: hidden; background: var(--surface); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.map-box > *:not(.map-ph) { position: relative; z-index: 1; } .map-box.on { padding: 0; display: block; } .map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-ph { position: absolute; inset: 0; opacity: .55; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, var(--surface)), var(--surface)); }
.map-ph i { position: absolute; background: color-mix(in srgb, var(--text) 10%, transparent); border-radius: 99px; }
.map-ph i:nth-child(1) { left: -10%; right: -10%; top: 40%; height: 14px; transform: rotate(-8deg); } .map-ph i:nth-child(2) { top: -10%; bottom: -10%; left: 58%; width: 12px; transform: rotate(12deg); }
.map-ph i:nth-child(3) { left: 10%; right: 30%; top: 72%; height: 8px; transform: rotate(18deg); }
.map-pin { position: absolute; left: 62%; top: 20%; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); box-shadow: 0 8px 18px -6px rgba(0,0,0,.4); }
.map-pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.map-info h3 { margin: 0 0 6px; font-size: 1rem; } .map-info > * + h3 { margin-top: 22px; } .map-addr { margin: 0; font-size: 1.1rem; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.map-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dashed color-mix(in srgb, var(--text) 12%, transparent); } .map-hours dd { margin: 0; }
@media (max-width: 820px) { .map-grid { grid-template-columns: 1fr; } }

/* the map follows the site's design: calm grey tiles tinted with the site's colour, dark sites get a dark map, the site's own pin */
.map-box.on, .obj-map.on { position: relative; }
.map-box.on iframe, .obj-map.on iframe { filter: grayscale(1) contrast(1.08) brightness(1.06); }
.is-dark .map-box.on iframe, .is-dark .obj-map.on iframe { filter: invert(.92) hue-rotate(180deg) grayscale(.75) contrast(.92) brightness(.95); }
.map-tint { position: absolute; inset: 0; pointer-events: none; background: var(--primary); mix-blend-mode: color; opacity: .42; }
.is-dark .map-tint { opacity: .3; }
.map-pin.live { left: 50%; top: 50%; margin: -40px 0 0 -16px; width: 32px; height: 32px; z-index: 2; pointer-events: none; animation: map-drop .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.map-pin.live::before { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--accent); opacity: .25; animation: map-pulse 2.4s ease-out infinite; }
@keyframes map-drop { from { transform: translateY(-40px) rotate(-45deg); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
@keyframes map-pulse { from { transform: scale(.3); opacity: .45; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pin.live, .map-pin.live::before { animation: none; } }
.map-box { box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.map-box.on > .map-tint, .obj-map.on > .map-tint { position: absolute; inset: 0; z-index: 1; }
.map-box.on > .map-pin.live, .obj-map.on > .map-pin.live { position: absolute; z-index: 2; }

/* menu groups (own pages): a drop-down on wide screens, an indented list on phones */
.nav-group { position: relative; }
.nav-gbtn { font: inherit; font-weight: 500; font-size: .96rem; color: var(--text); opacity: .82; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.nav-gbtn span { font-size: .7em; } .nav-group.on .nav-gbtn, .nav-gbtn:hover { opacity: 1; color: var(--primary); }
.nav-sub { position: absolute; top: calc(100% + 12px); left: -14px; min-width: 210px; display: grid; padding: 8px; border-radius: 14px; background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; z-index: 60; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-sub a { padding: 9px 12px; border-radius: 9px; opacity: .9 !important; } .nav-sub a:hover { background: var(--surface); }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.open .nav-sub { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 820px) {
  .nav-gbtn { padding: 14px 0; width: 100%; justify-content: space-between; font-size: 1.05rem; border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; display: none; }
  .nav-group.open .nav-sub { display: grid; }
}
/* sponsors */
.sp-tier + .sp-tier { margin-top: clamp(28px, 4vw, 48px); }
.sp-tier-name { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.sp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sp-item { display: grid; place-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--text); background: var(--card, var(--bg)); border-radius: var(--radius, 16px);
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); transition: transform .25s, box-shadow .25s; }
a.sp-item:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.sp-main .sp-item { width: min(460px, 100%); padding: 34px; } .sp-main img { max-height: 110px; max-width: 80%; } .sp-main b { font-size: 1.6rem; }
.sp-partner .sp-item { width: 220px; height: 130px; padding: 20px; } .sp-partner img { max-height: 70px; max-width: 160px; }
.sp-support .sp-item { width: 160px; height: 90px; padding: 14px; } .sp-support img { max-height: 44px; max-width: 120px; }
.sp-item img { object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; } .sp-item:hover img, .sp-main img { filter: none; opacity: 1; }
.is-dark .sp-item img { filter: grayscale(1) brightness(1.6); } .is-dark .sp-item:hover img { filter: none; }
.foot-sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.foot-sp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; } .foot-sp-row img { height: 30px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .7; } .foot-sp-row a:hover img { filter: none; opacity: 1; }
.foot-sp-row a, .foot-sp-row span { color: inherit; text-decoration: none; opacity: .85; }

/* the map's colour without anything drawn over the frame (no flicker): grey, then turned to the site's hue */
.map-tint { display: none !important; }
.map-box.on iframe, .obj-map.on iframe { filter: grayscale(1) sepia(.45) hue-rotate(var(--map-hue, 180deg)) saturate(1.5) contrast(1.04) brightness(1.03); transform: translateZ(0); }
.is-dark .map-box.on iframe, .is-dark .obj-map.on iframe { filter: invert(.92) grayscale(1) sepia(.35) hue-rotate(var(--map-hue, 180deg)) saturate(1.3) contrast(.92) brightness(.95); }
.map-pin.live::before { content: none; }
.map-box.on, .obj-map.on { isolation: isolate; contain: paint; }

.nav a.nav-gbtn { display: inline-flex; gap: 4px; align-items: center; background: none; padding: 0; }
.nav-group.on > .nav-gbtn { opacity: 1; color: var(--primary); }
@media (max-width: 820px) { .nav a.nav-gbtn { padding: 14px 0; width: 100%; justify-content: space-between; } }

/* Motion ("Rörelse och effekter" in the panel): body.motion-none | motion-soft | motion-3d | motion-dynamic.
   site.js adds the interactive parts (tilt, parallax, word reveal, counters). Everything stops for prefers-reduced-motion. */

/* none: everything simply shown */
.motion-none .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* staggered reveal for siblings (site.js sets --i) */
.js .reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* 3D: sections rise in perspective */
.motion-3d main, .motion-dynamic main { perspective: 1800px; perspective-origin: 50% 0; }
.js .motion-3d .reveal, .js .motion-dynamic .reveal {
  opacity: 0; transform: translate3d(0, 56px, -120px) rotateX(18deg); transform-origin: 50% 100%;
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .motion-dynamic .reveal { transform: translate3d(0, 70px, -160px) rotateX(22deg) scale(.94); filter: blur(6px);
  transition-property: opacity, transform, filter; }
.js .motion-3d .reveal.in, .js .motion-dynamic .reveal.in { opacity: 1; transform: none; filter: none; }

/* tilt with a moving highlight (site.js sets --rx/--ry/--gx/--gy on hover) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.tilting { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0) scale(1.02) !important;
  transition: transform .12s ease-out !important; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: soft-light; z-index: 2; }
.tilt.tilting::after { opacity: 1; }
.card.tilt, .tile.tilt, .plan.tilt, .quote.tilt, .person.tilt, .g-item.tilt, .post-card.tilt > a { position: relative; }
.tilt > * { transform: translateZ(0); }
.tile.tilt .tile-text, .card.tilt h3, .plan.tilt .plan-price { transform: translateZ(30px); }

/* hero: floating shapes with depth; pictures that unfold as you scroll */
.motion-3d .hero-art i, .motion-dynamic .hero-art i { transition: transform .25s ease-out; }
.motion-3d .hero-art, .motion-dynamic .hero-art { transform-style: preserve-3d; }
@keyframes mh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes mh-drift { 0% { translate: 0 0; scale: 1; } 33% { translate: 18px -12px; scale: 1.05; } 66% { translate: -14px 10px; scale: .97; } 100% { translate: 0 0; scale: 1; } }
.motion-3d .hero-art i:nth-child(1) { animation: mh-float 7s ease-in-out infinite; }
.motion-3d .hero-art i:nth-child(2) { animation: mh-float 9s ease-in-out infinite reverse; }
.motion-dynamic .hero-art i:nth-child(1) { animation: mh-drift 11s ease-in-out infinite; }
.motion-dynamic .hero-art i:nth-child(2) { animation: mh-drift 14s ease-in-out infinite reverse; }
.motion-dynamic .hero-art i:nth-child(3) { animation: mh-float 6s ease-in-out infinite; }
.unfold { transform-origin: 50% 0; will-change: transform; transform: perspective(1400px) rotateX(var(--fold, 0deg)) scale(var(--fs, 1)); }
.parallax-bg { background-position: center calc(50% + var(--py, 0px)) !important; }

/* dynamic: headlines word by word, magnetic buttons, rolling logos, glowing tiles */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--wi, 0) * 55ms + 120ms); }
.words-in .w > span { transform: none; }
.magnetic { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.motion-dynamic .logos.rolling { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: mh-roll var(--roll, 30s) linear infinite; }
.motion-dynamic .b-logos .wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
@keyframes mh-roll { to { transform: translateX(-50%); } }
.motion-dynamic .tile-gradient, .motion-dynamic .cta-in { background-size: 200% 200%; animation: mh-sheen 9s ease-in-out infinite; }
@keyframes mh-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.motion-dynamic .hero::before { content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0; opacity: .5;
  background: radial-gradient(40% 40% at 20% 30%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
              radial-gradient(35% 35% at 80% 20%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%);
  animation: mh-drift 16s ease-in-out infinite; }
.motion-dynamic .hero-in { position: relative; z-index: 1; }
.hero-full.motion-dynamic .hero::before, .hero-full .motion-dynamic .hero::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .motion-3d .reveal, .js .motion-dynamic .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero-art i, .logos.rolling, .tile-gradient, .cta-in, .hero::before { animation: none !important; }
  .w > span { transform: none !important; } .tilt.tilting { transform: none !important; } .unfold { transform: none !important; }
}

/* more ways to come in – each one a body class motion-<name> */
.js .motion-rise .reveal { opacity: 0; transform: translateY(90px); transition: opacity 1s, transform 1.3s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .motion-zoom .reveal { opacity: 0; transform: scale(.86); transition: opacity .9s, transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .motion-slide .reveal { opacity: 0; transform: translateX(-70px); transition: opacity .9s, transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .motion-slide .reveal:nth-child(even), .js .motion-slide .section:nth-of-type(even) .reveal { transform: translateX(70px); }
.motion-flip main { perspective: 1400px; }
.js .motion-flip .reveal { opacity: 0; transform: rotateY(-75deg); transform-origin: 0 50%; backface-visibility: hidden; transition: opacity .8s, transform 1.1s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.js .motion-focus .reveal { opacity: 0; filter: blur(18px); transform: scale(1.04); transition: opacity 1.1s, filter 1.2s, transform 1.4s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .motion-bounce .reveal { opacity: 0; transform: translateY(60px) scale(.9); transition: opacity .5s, transform .9s cubic-bezier(.34, 1.7, .5, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .motion-parallax .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.js :is(.motion-rise, .motion-zoom, .motion-slide, .motion-flip, .motion-focus, .motion-bounce, .motion-parallax) .reveal.in { opacity: 1; transform: none; filter: none; }
.motion-parallax [data-depth] { will-change: transform; transform: translate3d(0, var(--pd, 0px), 0); }
.motion-bounce .btn:hover { animation: mh-boing .5s; } @keyframes mh-boing { 30% { transform: scale(1.08, .94); } 60% { transform: scale(.97, 1.04); } }
.motion-zoom .g-item img, .motion-zoom .tile img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); } .motion-zoom .g-item:hover img, .motion-zoom .tile:hover img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; } [data-depth] { transform: none !important; } }

/* "Apple" style (kit.json "style": "apple"): system San Francisco type set large and tight, a slim translucent bar,
   lots of air, centred statements, pill buttons, "Läs mer ›" links, rounded tiles, light/grey/black bands. */
body { font-size: 17px; line-height: 1.47; letter-spacing: -.012em; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.028em; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.8rem); line-height: 1.03; letter-spacing: -.04em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.38; letter-spacing: -.015em; }
.eyebrow { text-transform: none; letter-spacing: -.01em; font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.wrap { width: min(var(--maxw, 1024px), 100% - 44px); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.sec-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }

/* the bar */
.site-header { background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.header-in { min-height: 52px; }
.logo { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; } .logo img { height: 28px; }
.nav { gap: 28px; } .nav a:not(.btn) { font-size: .8rem; font-weight: 400; opacity: .8; letter-spacing: -.01em; }
.nav .btn-sm { padding: .45em 1em; font-size: .8rem; }

/* buttons: pills, and a quieter link next to them */
.btn { border-radius: 980px; padding: .8em 1.4em; font-weight: 400; font-size: 1.02rem; letter-spacing: -.01em; border-width: 1px; }
.btn:hover { transform: none; box-shadow: none; filter: brightness(1.08); }
.btn-ghost { border-color: transparent; color: var(--link, var(--primary)); padding-inline: .4em; }
.btn-ghost::after { content: " ›"; }
.btn-ghost:hover { border-color: transparent; text-decoration: underline; }
.hero-cta { justify-content: center; align-items: center; gap: 22px; }

/* hero: centred statement, the picture below it */
.hero { text-align: center; }
.hero-in { grid-template-columns: 1fr; padding: clamp(70px, 10vw, 128px) 0 clamp(40px, 6vw, 64px); justify-items: center; gap: 0; }
.hero h1 { max-width: 13ch; margin-inline: auto; }
.hero .lead { margin: 14px auto 0; max-width: 30em; }
.hero-media { width: 100%; margin-top: clamp(40px, 6vw, 72px); }
.hero-media img { aspect-ratio: 16/8.5; border-radius: 28px; box-shadow: none; }
.hero-art { width: min(560px, 90%); aspect-ratio: 2.2; margin-inline: auto; }
.hero-art i:nth-child(1) { inset: 0 42% 0 6%; } .hero-art i:nth-child(2) { inset: 0 6% 0 42%; } .hero-art i:nth-child(3) { display: none; }
.hero-full .hero { min-height: min(92vh, 860px); }

/* cards and tiles */
.card, .quote, .post-card a, .form, .hours, .book, .plan, .tile { border-radius: 28px; }
.card { border: 0; background: var(--card, var(--bg)); padding: 36px; }
.tone-gray .card, .tone-gray .quote, .tone-gray .hours, .tone-gray .form, .tone-gray .post-card a { background: var(--bg); border-color: transparent; }
.card:hover, .post-card a:hover { transform: scale(1.012); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.card-ico { border-radius: 14px; }
.strip { background: transparent; border: 0; } .strip-in { padding: 8px 0 clamp(40px, 6vw, 64px); }
.strip-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; } .strip-item .ico { width: 30px; height: 30px; }
.quote blockquote { font-size: 1.25rem; letter-spacing: -.02em; }
.facts dt { font-size: 2.6rem; } .facts div { border-top-width: 1px; }
.form input, .form textarea { border-radius: 12px; }
.cta-in { border-radius: 28px; padding: clamp(40px, 6vw, 72px); flex-direction: column; text-align: center; justify-content: center; }
.cta-in h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.about-media img, .b-split-img img { border-radius: 28px; }

/* motion: a slightly larger lift, like product pages */
.js .reveal { transform: translateY(28px) scale(.985); transition-duration: .9s; }

/* footer: light and small, like a product site */
.site-footer { background: var(--surface); color: var(--muted); font-size: .8rem; padding: 40px 0 22px; border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.site-footer .logo { color: var(--heading, var(--text)); font-size: 1rem; } .site-footer .muted { color: var(--muted); }
.footer-bottom { border-top-color: color-mix(in srgb, var(--text) 10%, transparent); color: var(--muted); }
.is-dark .site-footer { background: #000; }

.page-head { padding: clamp(56px, 7vw, 96px) 0 0; }
.page-head + .section { padding-top: clamp(36px, 5vw, 56px); }
.member-page { padding-top: clamp(40px, 6vw, 72px); }

/* the map */
.map-box, .obj-map { border-radius: 28px; }

/* Curlingklubb – the hero picture is hero.svg: the sheet in perspective, the house and a stone that curls in. */
.kit-curling .hero { overflow: hidden; }
.kit-curling .hero-in { grid-template-columns: 1.05fr .95fr; text-align: left; justify-items: start; }
.kit-curling .hero h1 { margin-inline: 0; } .kit-curling .hero .lead { margin-inline: 0; } .kit-curling .hero-cta { justify-content: flex-start; }
.kit-curling .hero-svg { width: 100%; max-width: 520px; justify-self: center; }
.kit-curling .stats dt { background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 900px) { .kit-curling .hero-in { grid-template-columns: 1fr; } }
