/* Layout: a gently fading slideshow of renderings as hero, then a calm drawing-sheet grid. Red is used only
   where the BJH mark is: the logo, section markers, focus and the one primary action. */
:root {
  --bg: #101214;
  --bg2: #181b1e;
  --fg: #eceeee;
  --muted: #9ba2a7;
  --line: #2d3338;
  --accent: #ee2b25;
  --on-accent: #ffffff;
  --head-font: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
}
:root { color-scheme: dark; }  /* dark by default, whatever the system says; the selector in the header switches to light */
:root[data-theme="light"] {
  --bg: #f3f4f3; --bg2: #e7e9e8; --fg: #14181b; --muted: #586066; --line: #cdd2d3; --accent: #d10000;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body-font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--head-font); font-weight: 500; letter-spacing: -0.012em; margin: 0; text-wrap: balance; line-height: 1.04; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--body-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); color: #fff; transition: background .3s, color .3s, border-color .3s, opacity 1.2s ease .1s; border-bottom: 1px solid transparent; }
.top.solid, .top.open { background: var(--bg); color: var(--fg); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 36px; height: 36px; display: block; flex: none; }
.brand b { font: 500 19px/1 var(--head-font); letter-spacing: 0.1em; text-transform: uppercase; }
.brand b span { font-weight: 400; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav a { text-decoration: none; font: 500 15px/1 var(--body-font); letter-spacing: 0.09em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.nav a.tel { border: 1px solid currentColor; padding: 10px 16px; letter-spacing: 0.04em; text-transform: none; font-size: 16px; transition: background .2s, color .2s, border-color .2s; }
.nav a.tel:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme, .motion { display: flex; gap: 2px; }
.motion[hidden] { display: none; }
.motion button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 7px; color: inherit; opacity: .8; line-height: 0; }
.motion button:hover, .motion button[aria-pressed="true"] { opacity: 1; }
.motion button[aria-pressed="true"] { border-bottom-color: currentColor; }
.theme button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 7px; color: inherit; opacity: .66; line-height: 0; }
.theme button:hover, .theme button[aria-pressed="true"] { opacity: 1; }
.theme button[aria-pressed="true"] { border-bottom-color: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gone { display: none !important; }
.langs { display: flex; gap: 2px; margin-right: -4px; }
.nav .langs a { font-size: 13px; letter-spacing: .12em; padding: 8px 7px; opacity: .72; }
.nav .langs a:hover, .nav .langs a[aria-current="true"] { opacity: 1; border-bottom-color: currentColor; }
.burger { display: none; background: none; border: 1px solid currentColor; width: 44px; height: 44px; padding: 0; position: relative; }
.burger i, .burger i::before { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; content: ""; transition: transform .25s; }
.burger i { top: 21px; } .burger i::before { top: -6px; left: 0; right: 0; }
.top.open .burger i { transform: rotate(45deg); } .top.open .burger i::before { transform: translateY(6px) rotate(-90deg); }

/* hero: the first picture is in the page already (no-script fallback); the script fades the others in */
.hero { position: relative; height: clamp(560px, 88svh, 900px); background: #0d0f10; color: #fff; overflow: hidden; }
.hero .slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease; }   /* no zoom or scale: the picture stays pixel for pixel */
.slide.on { opacity: 1; }
@media (min-width: 1921px) {   /* wider than the pictures: show them at their own size, centred, with the edges fading into the dark */
  .hero .slides { inset: 0 auto 0 50%; width: 1920px; margin-left: -960px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 140px, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(90deg, transparent, #000 140px, #000 calc(100% - 140px), transparent); }
}
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0d0f10; }
.hero--video .caption { display: none; }
.hero--video .wrap { grid-template-columns: minmax(0, 1fr); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,10,11,.55) 0%, rgba(8,10,11,0) 24%, rgba(8,10,11,0) 40%, rgba(8,10,11,.82) 100%); }
.hero .wrap { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(40px, 6.2vw, 92px); font-weight: 500; max-width: 15ch; line-height: .98; letter-spacing: -0.02em; }
.hero p.lead { margin: 22px 0 0; max-width: 54ch; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 1px solid currentColor; background: none; padding: 15px 24px; font: 500 15px/1 var(--body-font); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #fff; color: #111; border-color: #fff; }
.btn.red { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.red:hover { background: #fff; color: #111; border-color: #fff; }
.caption { text-align: right; min-width: 240px; }
.caption .cap { cursor: pointer; display: block; text-align: right; color: inherit; text-decoration: none; }
.caption small { display: block; font: 500 12px/1 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.caption strong { display: block; font: 500 20px/1.2 var(--head-font); letter-spacing: .02em; }
.caption .cap:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.caption .cap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ticks { display: flex; gap: 4px; margin-top: 16px; justify-content: flex-end; }
.ticks button { width: 30px; height: 24px; background: none; border: 0; padding: 0; position: relative; }
.ticks button::before, .ticks button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.35); }
.ticks button::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.ticks button.on::after { transform: scaleX(1); transition: transform var(--shot, 5.6s) linear; }
.ticks button.done::after { transform: scaleX(1); }

/* facts strip, set like the title block of a drawing */
.facts { border-bottom: 1px solid var(--line); }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts dl > div { padding: 26px 24px 26px 0; border-right: 1px solid var(--line); }
.facts dl > div + div { padding-left: 24px; }
.facts dl > div:last-child { border-right: 0; }
dt { font: 500 12px/1.35 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
dd { margin: 0; font: 500 21px/1.25 var(--head-font); letter-spacing: .01em; }

/* sections */
section { padding-block: clamp(64px, 9vw, 128px); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.head h2 { font-size: clamp(38px, 5.6vw, 76px); margin-top: 18px; }
.head p { margin: 0; color: var(--muted); max-width: 52ch; justify-self: end; }

/* project filter: categories overlap, so a project can show up under several */
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 14px; border-block: 1px solid var(--line); margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lab { font: 500 12px/1 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.bar button { background: none; border: 1px solid transparent; padding: 10px 16px; font: 500 14px/1 var(--body-font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .15s, border-color .15s; }
.bar button:hover { color: var(--fg); }
.bar button[aria-pressed="true"] { color: var(--fg); border-color: var(--fg); }
.bar button sup { font-size: 11px; margin-left: 4px; vertical-align: 5px; letter-spacing: 0; }
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; background: none; border: 1px solid var(--line); padding: 11px 18px; font: 500 14px/1 var(--body-font); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); transition: border-color .15s; }
.back:hover { border-color: var(--fg); }
.back.more { display: flex; margin: 44px auto 0; }
.covers { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.cover { all: unset; box-sizing: border-box; position: relative; display: block; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; background: var(--bg2); color: #fff; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,10,11,.84), rgba(8,10,11,.18) 52%, rgba(8,10,11,0)); transition: opacity .3s; }
.cover:hover .shade { opacity: .82; }
.cover .txt { position: absolute; left: 18px; right: 58px; bottom: 16px; display: grid; gap: 7px; }
.cover strong { font: 500 clamp(22px, 2.3vw, 30px)/1.05 var(--head-font); letter-spacing: -.01em; overflow-wrap: break-word; hyphens: manual; }
.cover small { font: 500 12px/1 var(--body-font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.cover .arr { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 18px; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.cover:hover .arr, .cover:focus-visible .arr { opacity: 1; transform: none; }
.cover:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: none) { .cover .arr { opacity: 1; transform: none; } }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.card { all: unset; box-sizing: border-box; cursor: pointer; display: block; min-width: 0; color: inherit; }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.card .ph { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg2); }
.card img { width: 100%; height: 100%; object-fit: cover; }   /* shown whole and unscaled: no hover zoom either, it would resample the picture */
.card .tag { position: absolute; left: 0; bottom: 0; background: var(--accent); color: #fff; font: 500 13px/1 var(--body-font); letter-spacing: .1em; text-transform: uppercase; padding: 11px 16px; transform: translateY(100%); transition: transform .3s; }
.card:hover .tag, .card:focus-visible .tag { transform: none; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.card h3 { font-size: 24px; font-weight: 500; line-height: 1.15; }
.card .place { color: var(--muted); font-size: 16px; margin-top: 3px; }
.card .n { color: var(--muted); font: 500 13px/1 var(--body-font); letter-spacing: .08em; white-space: nowrap; }
.empty { grid-column: 1 / -1; color: var(--muted); padding-block: 40px; }

/* about */
#om { background: var(--bg2); }
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about figure { margin: 0; position: sticky; top: 100px; }
.about figure img { width: 100%; height: auto; }
.about h2 { font-size: clamp(36px, 4.8vw, 64px); margin-block: 18px 28px; }
.about p { margin: 0 0 1.1em; max-width: 60ch; }
.about .big { font: 400 clamp(20px, 2vw, 25px)/1.45 var(--body-font); max-width: 48ch; }
.draw { list-style: none; margin: 40px 0 0; padding: 0; columns: 2; column-gap: 40px; border-top: 1px solid var(--line); }
.draw li { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--fg); }
.steps div { padding: 22px 28px 0 0; }
.steps div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.steps b { display: block; font: 500 44px/1 var(--head-font); color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.appr { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.appr span { border: 1px solid var(--fg); padding: 9px 14px; font: 500 14px/1.2 var(--body-font); letter-spacing: .04em; }

/* contact */
#kontakt { padding: 0; }
.cband { position: relative; color: #fff; background: #0d0f10; overflow: hidden; }
.cband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.cband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,11,.85), rgba(8,10,11,.35) 70%); }
.cband .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 160px); }
.cband h2 { font-size: clamp(42px, 7vw, 108px); max-width: 14ch; margin-block: 20px 36px; line-height: .98; }
.cband .eyebrow { color: rgba(255,255,255,.75); }
.big-tel { display: block; width: fit-content; font: 500 clamp(34px, 5vw, 64px)/1 var(--head-font); letter-spacing: .01em; text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: 6px; }
.big-tel:hover { color: #fff; border-bottom-color: #fff; }
.cform { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 112px); }
.block { border: 1px solid var(--fg); align-self: start; margin: 0; }
.block > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.block > div:last-child { border-bottom: 0; }
.block dt { margin: 3px 0 0; } .block dd { font: 500 20px/1.3 var(--head-font); overflow-wrap: anywhere; }
.block dd small { display: block; font: 400 17px/1.4 var(--body-font); color: var(--muted); }
.block .copy { background: none; border: 1px solid var(--line); margin-left: 10px; padding: 4px 10px; font: 500 12px/1 var(--body-font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: 3px; }
.block .copy:hover { color: var(--fg); border-color: var(--fg); }
.block a { text-decoration: none; }
form { display: grid; gap: 18px; align-content: start; }
form h3 { font-size: 30px; margin-bottom: 6px; }
label { display: grid; gap: 7px; font: 500 12px/1 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input, textarea { font: 400 17px/1.4 var(--body-font); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--fg); padding: 10px 0; border-radius: 0; width: 100%; letter-spacing: 0; text-transform: none; }
input:focus-visible, textarea:focus-visible { outline: 0; border-bottom: 2px solid var(--accent); padding-bottom: 9px; }
textarea { min-height: 120px; resize: vertical; }
select { font: 400 17px/1.4 var(--body-font); color: var(--fg); background: var(--bg); border: 0; border-bottom: 1px solid var(--fg); padding: 10px 0; border-radius: 0; width: 100%; }
select:focus-visible { outline: 0; border-bottom: 2px solid var(--accent); padding-bottom: 9px; }
.book { display: grid; gap: 14px; }
.chk { display: flex; gap: 10px; align-items: center; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--fg); }
.chk input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.bookf { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bookf[hidden] { display: none; }
.place-intro { max-width: 70ch; margin-top: 8px; }
.place-intro .big { font: 400 clamp(20px, 2vw, 25px)/1.45 var(--body-font); }
.place-intro .row-btns { margin-top: 26px; }
.place-intro h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 36px 0 10px; }
.faq { margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.place-intro .note { color: var(--muted); font-size: 15px; margin-top: 24px; }
.place-projects, .place-services { padding-block: clamp(40px, 6vw, 80px) 0; }
.place-projects h2, .place-services h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 24px; }
.pgrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-bottom: 22px; }
.pcard { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.pcard img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pcard b { font-weight: 600; }
.pcard small { color: var(--muted); }
.pcard:hover b, .pcard:focus-visible b { color: var(--accent); }
.flinks a { color: inherit; }
form .btn { color: #fff; justify-self: start; cursor: pointer; }
.note { margin: 0; font-size: 15px; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: progress; }
.maplink { font-weight: 500; }

footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
footer a { text-underline-offset: 3px; }
footer .brand { color: var(--fg); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* project viewer */
.lb { position: fixed; inset: 0; z-index: 60; background: #0a0b0c; color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.lb[hidden] { display: none; }
.lb header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.14); }
.lb header .t { min-width: 0; }
.lb header small { display: block; font: 500 12px/1 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 6px; }
.lb header h2 { font-size: clamp(19px, 3vw, 32px); line-height: 1.1; }
.lb header h2 span { color: rgba(255,255,255,.7); font-weight: 400; }
.lb .tools { display: flex; gap: 8px; flex: none; }
.lb button { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; min-width: 46px; height: 46px; padding: 0 14px; font: 500 14px/1 var(--body-font); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s; }
.lb button:hover { background: #fff; color: #111; }
.stage { --pad: clamp(8px, 2vw, 24px); position: relative; min-height: 0; touch-action: pan-y; }
.stage img { position: absolute; inset: var(--pad) var(--gutter); width: calc(100% - 2 * var(--gutter)); height: calc(100% - 2 * var(--pad)); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.stage .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; font-size: 22px; background: rgba(10,11,12,.55); z-index: 1; }
.stage .arr.p { left: clamp(6px, 1.5vw, 20px); } .stage .arr.n { right: clamp(6px, 1.5vw, 20px); }


/* intro: logo fades in and out, then the page is revealed */
.splash { display: none; }
html.intro { overflow: hidden; }
html.intro .splash, html.intro-out .splash { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--bg); pointer-events: none; animation: splashOut 2.5s ease forwards; }
.splash img { width: clamp(100px, 13vw, 150px); height: auto; opacity: 0; animation: logoIn 1s ease .2s forwards; }
@keyframes splashOut { 0%, 66% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes logoIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
html.intro .top, html.intro .hero .wrap { opacity: 0; }
.hero .wrap { transition: opacity 1.3s ease .15s; }

/* project page */
.pp { padding-top: 68px; }
.back { display: inline-flex; gap: 8px; align-items: center; margin-top: 30px; text-decoration: none; font: 500 14px/1 var(--body-font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.back:hover { color: var(--fg); }
.pp-head { padding-block: 22px 28px; }
.pp-head h1 { font-size: clamp(40px, 6.4vw, 92px); margin-block: 16px 8px; }
.pp-place { margin: 0; color: var(--muted); font: 400 clamp(18px, 2vw, 24px)/1.3 var(--body-font); }
.gallery { padding-block: 0; }
.gstage { position: relative; aspect-ratio: 16 / 9; background: var(--bg2); overflow: hidden; }
.gstage img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
.garr { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; font-size: 24px; line-height: 1; border: 1px solid rgba(255,255,255,.55); background: rgba(10,11,12,.5); color: #fff; z-index: 1; }
.garr:hover { background: #fff; color: #111; }
.garr.p { left: 12px; } .garr.n { right: 12px; }
.gbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px 6px; color: var(--muted); font-size: 15px; }
.gbar button { background: none; border: 1px solid var(--line); color: var(--fg); padding: 7px 12px; font: 500 13px/1 var(--body-font); letter-spacing: .08em; text-transform: uppercase; }
.gbar button:hover { border-color: var(--fg); }
.gthumbs { display: flex; gap: 8px; overflow-x: auto; padding-block: 6px 12px; scrollbar-width: thin; }
.gt { flex: none; width: 118px; border: 2px solid transparent; opacity: .62; display: block; transition: opacity .2s, border-color .2s; }
.gt:hover, .gt[aria-current="true"] { opacity: 1; }
.gt[aria-current="true"] { border-color: var(--fg); }
.gt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pp-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); margin-block: 44px clamp(56px, 8vw, 104px); align-items: start; }
.pp-desc p { margin: 0 0 1.1em; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.pp-desc p.src { font-size: 16px; color: var(--muted); }
.pp-facts dd { font-size: 20px; }
.chipline span { display: inline-block; border: 1px solid var(--line); padding: 2px 10px; margin: 2px 6px 2px 0; font: 500 14px/1.5 var(--body-font); letter-spacing: .02em; }
.pp-cta { background: var(--bg2); padding-block: clamp(48px, 7vw, 96px); }
.pp-cta h2 { font-size: clamp(32px, 4.4vw, 60px); margin-bottom: 10px; }
.pp-cta p { margin: 0 0 22px; color: var(--muted); max-width: 52ch; }
.pp-cta .btn { color: var(--fg); }
.pp-cta .btn.red { color: #fff; }
.pp-cta .btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pp-cta .btn.red:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-body--nodesc { grid-template-columns: minmax(0, 520px); }
@media (max-width: 960px) { .pp-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .garr { width: 44px; height: 44px; } .gt { width: 92px; } }

@media (max-width: 1100px) {
  .nav { gap: 14px; } .nav a.tel { padding: 9px 12px; }
}
@media (max-width: 900px) { .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .covers { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl > div:nth-child(2) { border-right: 0; } .facts dl > div:nth-child(3) { padding-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .head, .about, .cform { grid-template-columns: minmax(0, 1fr); }
  .head p { justify-self: start; }
  .about figure { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); } .steps div, .steps div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: calc(68px + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--bg); color: var(--fg); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .top.open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 26px; padding: 18px 0; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-family: var(--head-font); }
  .nav a.tel { margin-top: 20px; text-align: center; border: 1px solid var(--fg); }
  .nav .langs { order: 5; margin: 20px 0 0; gap: 8px; }
  .nav .langs a { font: 500 15px/1 var(--body-font); letter-spacing: .12em; text-transform: uppercase; padding: 12px 16px; border: 1px solid var(--line); opacity: 1; }
  .nav .langs a[aria-current="true"] { border-color: var(--fg); }
  .nav .theme { order: 6; margin: 12px 0 0; gap: 8px; }
  .nav .motion { order: 7; margin: 12px 0 0; }
  .nav .motion button { border: 1px solid var(--line); padding: 12px 16px; opacity: 1; }
  .nav .motion button[aria-pressed="true"] { border-color: var(--fg); }
  .nav .theme button { border: 1px solid var(--line); padding: 12px 16px; opacity: 1; }
  .nav .theme button[aria-pressed="true"] { border-color: var(--fg); }
}
@media (max-width: 760px) {
  .hero { height: clamp(480px, 76svh, 640px); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .caption, .caption .cap, .ticks { text-align: left; justify-content: flex-start; }
  .caption { min-width: 0; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
  .ticks { margin-top: 0; }
  .ticks button { width: 18px; }
  .hero .cta .btn { padding: 14px 18px; }
  .block > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .draw { columns: 1; }
  .stage .arr { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .facts dd { font-size: 18px; }
  .facts dl > div { padding-right: 14px; } .facts dl > div + div { padding-left: 14px; }
  .facts dl > div:nth-child(3) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: opacity .6s ease; }
  .card img, .card .tag { transition: none; }
  .ticks button.on::after { transition: none; }
}

/* font proposal: plex */
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-condensed-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
:root { --head-font: "IBM Plex Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; --body-font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; }

