/* Jooksuekspert — site styles */
:root {
  --ink: #111820;
  --ink-2: #333c45;
  --muted: #646d76;
  --paper: #f5f4f1;
  --card: #ffffff;
  --line: #dedad3;
  --line-2: #ebe8e2;
  --blue: #0a5bb0;
  --blue-d: #074282;
  --blue-l: #e8eff8;
  --orange: #f25a1d;
  --orange-d: #d4470e;
  --navy: #0d1b2c;
  --radius: 6px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --f: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  hyphens: manual;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--f); padding: .85em 1.3em; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-cta { background: var(--orange); color: #fff; }
.btn-cta:hover { background: var(--orange-d); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lg { font-size: 1.05rem; padding: 1em 1.5em; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.arrow { font-weight: 600; text-decoration: none; margin-right: 1.4em; white-space: nowrap; }
.arrow::after { content: " →"; }

/* ---------- notice + topbar */
.notice { background: var(--orange); color: #fff; font-weight: 500; font-size: .95rem; padding: .55em 0; }
.notice p { margin: 0; }
.notice a { color: #fff; white-space: nowrap; }
.notice .wrap { transition: opacity .6s ease; }
.notice .wrap.is-fading { opacity: 0; }
.topbar { background: var(--navy); color: #b9c4d1; font-size: .85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .25em 1.6em; padding-top: .5em; padding-bottom: .5em; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar a:last-child { margin-left: auto; }

/* ---------- header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { flex: none; display: block; }
.logo img { width: 200px; height: auto; }
.menu { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.menu > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.menu > ul > li { position: relative; display: flex; align-items: center; }
.menu > ul > li > a { display: block; padding: 24px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.menu > ul > li > a:hover, .menu > ul > li.is-section > a { color: var(--blue); }
.menu > ul > li.is-section > a { box-shadow: inset 0 -2px 0 var(--blue); }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 30px rgba(17,24,32,.1); opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .12s, transform .12s, visibility .12s;
}
.menu > ul > li:hover > .sub, .menu > ul > li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 7px 18px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.sub a:hover, .sub a[aria-current] { background: var(--paper); color: var(--blue-d); }
.sub .sep { height: 1px; background: var(--line-2); margin: 6px 0; }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .topbar span:nth-child(2) { display: none; }
  .menu-btn {
    display: block; margin-left: auto; font: 600 1rem var(--f);
    background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); padding: .7em 1.1em; cursor: pointer;
  }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 110px); overflow: auto;
  }
  .menu.open { display: flex; }
  .menu > ul { flex-direction: column; }
  .menu > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
  .menu > ul > li > a { flex: 1; padding: 14px 0; font-size: 1.1rem; }
  .menu > ul > li.is-section > a { box-shadow: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .sub-toggle svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2; transition: transform .15s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; }
  .sub.open { display: block; }
  .sub a { padding: 8px 12px; }
  .menu .btn-cta { margin-top: 16px; }
  .topbar a:last-child { margin-left: 0; }
}
@media (max-width: 560px) {
  .topbar a[href^="mailto"] { display: none; }
  .logo img { width: 160px; }
}

/* ---------- breadcrumbs + page head */
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 0; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span { margin: 0 .3em; color: var(--line); }
.page-head { padding: 24px 0 32px; }
.page-head h1 { max-width: 22ch; margin-bottom: .3em; }
.page-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ---------- sub navigation */
.subnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; margin-bottom: 32px; }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .45em .9em; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.subnav a:hover { background: var(--paper); }
.subnav a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- home: hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,27,44,.92) 0%, rgba(13,27,44,.78) 40%, rgba(13,27,44,.1) 72%);
}
.hero-in { position: relative; padding-top: clamp(64px, 10vw, 132px); padding-bottom: clamp(64px, 10vw, 132px); }
.hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero-lead { max-width: 50ch; font-size: 1.12rem; color: #d7e0ea; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 700px) { .hero-img::after { background: rgba(13,27,44,.8); } }

/* facts strip: number above text, everything left aligned */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); }
/* number and heading side by side (same size), details below; heading drops under the number when narrow */
.facts-in > div { padding: 28px 32px 28px 0; }
.fact-top { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 4px; margin-bottom: 8px; }
.facts h3 { margin: 0; font-size: 2.2rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #000; white-space: nowrap; }
.facts-in > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.facts .num { flex: none; font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--blue); white-space: nowrap; }
.facts p { margin: 0; font-size: .98rem; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 860px) {
  .facts-in { grid-template-columns: 1fr; }
  .facts-in > div, .facts-in > div + div { padding: 20px 0; border-left: 0; }
  .facts-in > div + div { border-top: 1px solid var(--line); }
}

/* sections */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-dark { background: var(--navy); color: #fff; }
.sec-dark a { color: #a9cbf5; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 600; white-space: nowrap; }
.sec-head a::after { content: " →"; }
.h-sec { font-size: 1.45rem; margin: 40px 0 18px; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-text p { max-width: 62ch; }
.split-text.narrow { max-width: 760px; }
.split-list { background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.split-list h3 { margin-bottom: .6em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.wide-img { margin: 32px 0 0; }
.wide-img img { width: 100%; border-radius: var(--radius); }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line-2); position: relative; }
.ticks li:first-child { border-top: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 13px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.process li { counter-increment: s; padding: 24px 28px 8px 0; border-top: 1px solid rgba(255,255,255,.22); }
.process li + li { padding-left: 28px; }
.process li::before { content: counter(s); display: block; font-weight: 700; font-size: 2.4rem; line-height: 1; color: #fff; opacity: .45; margin-bottom: 14px; }
.process p { color: #c3ceda; }
.process-note { margin: 28px 0 0; color: #c3ceda; max-width: 75ch; font-size: .95rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 22px 0 6px; }
}

/* categories */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 20px; }
.cats h3 { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.biglinks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.biglinks a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.35rem; letter-spacing: -0.015em;
}
.biglinks a::after { content: "→"; font-size: 1.1rem; color: var(--muted); transition: transform .15s; }
.biglinks a:hover { color: var(--blue); }
.biglinks a:hover::after { transform: translateX(4px); color: var(--blue); }
@media (max-width: 700px) { .cats { grid-template-columns: 1fr; gap: 24px; } }

/* advice list */
.advice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.advice a { display: block; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.advice strong { display: block; font-weight: 600; font-size: 1.08rem; line-height: 1.3; margin-bottom: 4px; }
.advice span { color: var(--muted); font-size: .95rem; }
.advice a:hover strong { color: var(--blue); text-decoration: underline; }
.advice-full { margin-bottom: 24px; }
@media (max-width: 860px) { .advice { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .advice { grid-template-columns: 1fr; } }

/* visit */
.visit { background: #fff; border-top: 1px solid var(--line); }
.visit-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.visit .addr, .contact .addr { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: .3em; }
.visit-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; font-size: 1.05rem; }
.visit-media img { border-radius: var(--radius); width: 100%; }
@media (max-width: 860px) { .visit-in { grid-template-columns: 1fr; } }

.hours { border-collapse: collapse; width: 100%; max-width: 360px; margin: 0 0 1.2em; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }

/* band */
.band { background: var(--blue); color: #fff; margin-top: 64px; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.band p { margin: 0; font-weight: 600; font-size: 1.25rem; max-width: 42ch; line-height: 1.35; letter-spacing: -0.01em; }
.band-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.band-phone { color: #fff; }
.band-phone:hover { color: #fff; }

/* ---------- layout with aside */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 8px; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-box h2 { font-size: 1.15rem; }
.aside-box p:last-child { margin-bottom: 0; }
.aside-nav ul { list-style: none; margin: 0; padding: 0; }
.aside-nav a { display: block; padding: 7px 0; border-top: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.aside-nav a:hover { color: var(--blue); }
.aside-nav a[aria-current] { color: var(--blue); font-weight: 600; }
.aside-photo { margin: 0; }
.aside-photo img { border-radius: var(--radius); }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}

/* ---------- prose */
.prose { max-width: 70ch; }
/* long running text: justified, no hyphenation */
.prose p, .split-text p, .process-note { text-align: justify; text-wrap: pretty; }
/* short descriptions (type cards inside articles): left */
.prose .types p { text-align: left; }
/* phone columns are too narrow for justified text */
@media (max-width: 600px) { .prose p, .split-text p, .process-note { text-align: left; } }
.prose .lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); }
.prose h2 { font-size: 1.75rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose figure { margin: 1.5em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figure.photo { max-width: 420px; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.prose .source { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1em; margin-top: 2em; }
.prose-intro { margin-bottom: 8px; }

/* article image row: same-height tiles instead of floats */
.pics { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 2em; }
.pic { flex: 0 1 auto; min-width: 0; }
.pic img { height: 280px; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius); background: #fff; }
@media (max-width: 560px) { .pic img { height: 200px; } }

/* highlighted paragraphs: no boxes, just weight */
.callout { margin: 1.5em 0; }
.callout p { font-weight: 500; color: var(--ink); }
.callout p:last-child { margin: 0; }

.steps, .tips { list-style: none; padding: 0 !important; counter-reset: n; }
.steps li, .tips li { counter-increment: n; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); margin: 0 !important; }
.steps li::before, .tips li::before {
  content: counter(n) "."; position: absolute; left: 0; top: 14px; width: 32px;
  font-weight: 700; color: var(--blue);
}

.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 26px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.layers { padding-left: 1.3em; }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 1.5em 0 2em; border-top: 1px solid var(--ink); }
.figures > div { padding: 14px 16px 0 0; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.figures > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.figures span { display: block; font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--blue); line-height: 1.1; margin-bottom: 6px; }
@media (max-width: 560px) {
  .figures { grid-template-columns: 1fr; }
  .figures > div, .figures > div + div { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

.types { display: grid; gap: 12px; margin: 1.5em 0; }
.types section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.types h3 { margin-top: 0; }
.types p:last-child { margin-bottom: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col h3 { margin-top: .5em; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; gap: 0; } }

/* ---------- brand cards */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.brand-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.brand-card:hover { border-color: var(--ink); color: var(--ink); }
.bc-img { height: 170px; padding: 16px; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; border-bottom: 1px solid var(--line-2); background: #fff; }
.bc-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.bc-body { padding: 16px 18px; }
.bc-body h3 { font-size: 1.3rem; margin: 0 0 4px; }
.brand-card:hover h3 { color: var(--blue); }
.bc-body p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- product grid */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 20px; }
.filter button {
  font: 500 .92rem var(--f); padding: .45em .9em; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { margin-left: auto; color: var(--muted); font-size: .9rem; }

/* row-gap 0: with subgrid the parent row gap would also open up inside every card */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 16px; row-gap: 0; }
.pc { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pc[hidden] { display: none; }
.pc-media { position: relative; height: 290px; padding: 16px; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; border-bottom: 1px solid var(--line-2); background: #fff; }
.pc-media[data-gender] { padding-bottom: 52px; }
.pc-media img { grid-area: 1 / 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; mix-blend-mode: multiply; }
.pc-media[data-gender="m"] .pc-n, .pc-media[data-gender="n"] .pc-m { visibility: hidden; }
.pc-switch { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 2px; background: var(--paper); border-radius: var(--radius); padding: 3px; }
.pc-switch button { font: 500 .82rem var(--f); border: 0; background: none; padding: .35em .8em; border-radius: 4px; cursor: pointer; color: var(--ink-2); }
.pc-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.14); }
.pc > h3 { font-size: 1.2rem; margin: 0; padding: 18px 20px 0; }
.pc-tags { font-size: .85rem; color: var(--muted); margin: 0; padding: 4px 20px 0; }
.pc-tags:empty { padding: 0; }
.pc-text {
  margin-top: 10px; padding: 0 20px; font-size: .95rem; line-height: 1.55;
  /* 4 lines; site.js shortens the text at a whole word and adds "…" (CSS line-clamp cuts mid-word) */
  height: calc(4 * 1.55em); align-self: start; overflow: hidden;
}
.pc.open .pc-text { height: auto; }
.pc-text p { color: var(--ink-2); margin: 0; }
.pc-foot { padding: 6px 20px 18px; }
.pc-more { visibility: hidden; padding: 0; border: 0; background: none; font: 600 .9rem var(--f); color: var(--blue); cursor: pointer; }
.pc.has-more .pc-more { visibility: visible; }
.pc-more:hover { text-decoration: underline; }
.pc-more::after { content: " ↓"; }
.pc.open .pc-more::after { content: " ↑"; }

.more-models { margin-top: 48px; }
.more-models h2 { font-size: 1.4rem; }
.more-models ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); columns: 2 340px; column-gap: 40px; }
.more-models li { break-inside: avoid; padding: 16px 0; border-bottom: 1px solid var(--line); }
.more-models h3 { font-size: 1.05rem; margin-bottom: 4px; }
.more-models p { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-grid section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-grid h2 { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.contact .big { font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; margin-bottom: .2em; }
.contact .big a { color: var(--ink); text-decoration: none; }
.contact .big a:hover { color: var(--blue); }
.closed-notes { list-style: none; margin: 0 0 16px; padding: 0; font-weight: 600; color: var(--orange-d); font-size: 1.05rem; }
.closed-notes li + li { margin-top: 4px; }
.closed-notes a { color: inherit; margin-left: .3em; }
.map { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #e5e3df; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .contact-grid, .photos { grid-template-columns: 1fr; } .map iframe { height: 320px; } }

/* ---------- booking */
.booker { display: grid; gap: 16px; align-content: start; }
.bk-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.bk-step h2 { font-size: 1.3rem; margin-bottom: 16px; }
.cal { max-width: 420px; }
.cal.is-off { opacity: .4; pointer-events: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-month { margin: 0; font-weight: 600; font-size: 1.05rem; }
.cal-nav { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font: 400 1.4rem/1 var(--f); cursor: pointer; color: var(--ink); }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week span { text-align: center; font-size: .82rem; color: var(--muted); padding: 6px 0; }
.cal-grid[aria-busy] { opacity: .5; }
.day { aspect-ratio: 1; border: 1px solid transparent; border-radius: var(--radius); background: none; font: 500 .98rem var(--f); color: var(--ink); cursor: pointer; }
.day.is-open { background: var(--blue-l); color: var(--blue-d); }
.day.is-open:hover { border-color: var(--blue); }
.day:disabled { color: #b5b0a8; cursor: default; }
.day.is-full, .day.is-shut { text-decoration: line-through; }
.day.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.day.is-sel { background: var(--blue); color: #fff; }
.bk-date { font-weight: 600; margin: -8px 0 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.slots button { font: 500 1rem var(--f); padding: .7em 0; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.slots button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.slots button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.slots button:disabled { color: #b5b0a8; background: var(--paper); text-decoration: line-through; cursor: not-allowed; }
.bk-summary { font-weight: 600; color: var(--blue-d); margin: -8px 0 16px; }
.bk-form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 14px; }
.bk-form .opt { color: var(--muted); font-weight: 400; }
.bk-form input, .bk-form textarea {
  display: block; width: 100%; margin-top: 6px; font: 400 1rem var(--f); color: var(--ink);
  padding: .75em .85em; border: 1px solid #c8c2b8; border-radius: var(--radius); background: #fff;
}
.bk-form input:focus, .bk-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,91,176,.16); }
.bk-form [aria-invalid="true"] { border-color: #c62828; }
.bk-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b71c1c; font-weight: 500; }
.bk-done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.bk-done h2 { font-size: 1.5rem; }
.bk-done-text { font-size: 1.15rem; font-weight: 600; }
.bk-offline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-weight: 500; }
@media (max-width: 560px) { .bk-form .row { grid-template-columns: 1fr; } }

/* ---------- footer */
.site-footer { background: var(--navy); color: #b9c4d1; padding: 56px 0 0; font-size: .95rem; }
.site-footer .wrap:first-child { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: 0; }
.site-footer a { color: #fff; }
.f-logo { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: #fff; margin-bottom: .3em; }
.f-slogan { color: #fff; }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255,255,255,.12); padding: 4px 0; }
.site-footer .hours td { color: #fff; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px !important; padding-bottom: 24px; font-size: .85rem; color: #8e9db0; }
@media (max-width: 860px) { .site-footer .wrap:first-child { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap:first-child { grid-template-columns: 1fr; } }
main + .site-footer { margin-top: 64px; }
main:has(> .band:last-child) + .site-footer, main:has(> .visit:last-child) + .site-footer { margin-top: 0; }

/* ---------- lightbox */
.lightbox { border: 0; padding: 0; background: #fff; max-width: min(92vw, 1100px); max-height: 90vh; border-radius: var(--radius); }
.lightbox::backdrop { background: rgba(13,27,44,.8); }
.lightbox img { max-height: 86vh; width: auto; margin: 2vh auto; }
.lb-close { position: absolute; right: 8px; top: 4px; font-size: 2rem; line-height: 1; border: 0; background: none; cursor: pointer; color: var(--ink); padding: 6px 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
