@font-face { font-family: "Pretendard"; src: url(../assets/fonts/Pretendard-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url(../assets/fonts/Pretendard-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url(../assets/fonts/Pretendard-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url(../assets/fonts/Pretendard-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

/* Layout: one long black page. Photos bleed edge to edge and touch with no gap; text sits on black or on darkened photos. Single dark look by design. */
:root {
  --bg: #000000;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --subtle: #7a7a7a;
  --point: #3d7bff;
  --on-light: #1a1a1a;
  --sans: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --gutter: clamp(20px, 5vw, 96px);
  --t-display: clamp(34px, 5.2vw, 80px);
  --t-title: clamp(30px, 4.4vw, 72px);
  --t-sub: clamp(20px, 1.8vw, 30px);
  --t-body: clamp(16px, 1.25vw, 22px);
  --t-small: clamp(15px, 1.05vw, 20px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; text-wrap: balance; }
h3 { font-weight: 600; }
img { display: block; max-width: 100%; }
main { --section-gap: clamp(56px, 7vw, 140px); display: flex; flex-direction: column; gap: var(--section-gap); padding-bottom: clamp(56px, 7vw, 140px); }
.point { color: var(--point); }
.muted { color: var(--muted); }

.pad { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.photo { width: 100%; height: 100%; object-fit: cover; }

/* Full-bleed photo bands with text over a darkened photo */
.band { position: relative; overflow: hidden; background: var(--bg); }
.band > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band > .inner { position: relative; }

/* Hero */
.hero { aspect-ratio: 16 / 9; min-height: 560px; max-height: 1080px; width: 100%; }
.hero { display: flex; }
.hero .bg { object-position: 50% 50%; filter: brightness(0.28); }
.hero .inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: clamp(32px, 6vh, 64px); text-align: center; color: var(--on-light); }
.hero h1 { font-size: clamp(24px, 3vw, 48px); color: var(--ink); }
.hero h1 span { display: block; }
.hero h1 .point { font-weight: 800; font-size: 1.6em; margin-bottom: 0.2em; }
.hero h1 .thin { font-weight: 300; }

/* Logo animation overlay (#dou1-scrolly): tagline top left, menu top right, copyright under the logo.
   js/main.js fades the caption in as the logo finishes assembling. */
.top-nav.on-dark a { color: var(--ink); }
/* Home menu floats: fixed to the top right of the screen for the whole page */
.top-nav.floating { position: fixed; z-index: 50; }
.top-nav.floating a { text-shadow: 0 0 10px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.5); transition: color 0.2s; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--point); text-decoration: none; }
.intro-caption { position: absolute; left: 0; right: 0; bottom: clamp(16px, 2.5vh, 28px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; pointer-events: none; transition: opacity 0.5s; }
.intro-tag { position: absolute; z-index: 2; top: clamp(24px, 4vh, 48px); left: max(var(--gutter), env(safe-area-inset-left, 0px)); font-weight: 600; font-size: var(--t-small); pointer-events: none; }
.intro-caption .foot { font-size: var(--t-small); color: var(--subtle); }

/* Director (about.html) */
.site-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding-block: 24px; }
.site-bar img { width: clamp(56px, 5vw, 88px); }
.about { padding-bottom: 0; }
.director.full { min-height: 100vh; min-height: 100svh; }
.director.full .text { padding-top: clamp(120px, 12vw, 180px); }
.top-nav { position: absolute; z-index: 2; top: clamp(24px, 4vh, 48px); right: max(var(--gutter), env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.top-nav a { font-weight: 600; font-size: var(--t-small); color: var(--on-light); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.director { min-height: clamp(560px, 56.25vw, 1080px); display: flex; }
.director .bg { filter: brightness(0.35); }
.director .text { flex: 1; padding-block: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 5vw, 64px); min-width: 0; }
.director h2 { font-size: var(--t-title); }
.director .role { margin-top: 12px; font-weight: 600; font-size: var(--t-small); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px clamp(32px, 4vw, 64px); }
.list { display: flex; flex-direction: column; gap: 24px; }
.list h3 { font-size: var(--t-sub); }
.item { display: flex; flex-direction: column; gap: 4px; }
.item b { font-weight: 600; font-size: var(--t-body); }
.item span { font-size: var(--t-body); color: var(--muted); }

/* Credentials */
.creds { padding-block: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(28px, 3vw, 56px); }
.creds .list { gap: 20px; }
.creds h2 { font-size: clamp(28px, 2.6vw, 48px); }
.creds .item b { font-size: var(--t-body); }
.creds .item span { font-size: var(--t-small); }
.creds .wide { grid-column: span 1; }

/* Packages */
.packages { --pk-gap: clamp(48px, 6vw, 96px); padding-block: clamp(72px, 9vw, 140px); display: flex; flex-direction: column; align-items: center; gap: var(--pk-gap); text-align: center; }
.packages > .lead + .schedule { margin-top: calc(16px - var(--pk-gap)); } /* keep the two lead lines close together */
.head { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.head h2 { font-size: var(--t-title); }
.head p { font-weight: 600; font-size: var(--t-small); }
.lead { font-weight: 600; font-size: var(--t-small); }

/* Schedule: client steps above the line, deliveries below */
.schedule { width: 100%; max-width: 1440px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.schedule .steps { width: 100%; max-width: 1100px; }
/* Scroll motion: js/main.js sets --l (line, 0-1) on .steps and --f (fill, 0-1) on each dot. A dot starts small and empty, then fills top to bottom while growing to full size. Without JS both stay 1. */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.steps::before, .steps::after { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 79px; /* through the dot centers: row 1 (40px) + gap (20px) + half a dot (20px) - 1px */ height: 2px; }
.steps::before { background: var(--subtle); }
.steps::after { background: var(--ink); transform: scaleX(var(--l, 1)); transform-origin: left center; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.step { position: relative; z-index: 1; display: grid; grid-template-rows: 40px 40px auto; justify-items: center; row-gap: 20px; }
.step .dot { position: relative; grid-row: 2; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); transform: scale(calc(var(--m, 1) * (0.55 + 0.45 * var(--f, 1)))); transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.step .dot::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(var(--f, 1)); transform-origin: center top; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.step.client .dot { --m: 0.7; box-shadow: inset 0 0 0 2px var(--muted); } /* client steps (1st, 3rd, 5th): smaller even when full, gray fill */
.step.client .dot::after { background: var(--muted); }
.step.client .label { grid-row: 1; align-self: end; font-size: var(--t-small); color: var(--muted); }
.step.deliver .label { grid-row: 3; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-small); }
.step.deliver .label b { font-weight: 800; font-size: clamp(18px, 1.3vw, 24px); }

/* Section openers */
.opener { min-height: clamp(520px, 56.25vw, 1080px); display: flex; }
.opener .bg { filter: brightness(0.4); }
.opener .inner { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; text-align: center; padding-block: 80px; }
.opener.top .inner { justify-content: flex-start; align-items: flex-start; text-align: left; padding-block: clamp(64px, 7vw, 128px); }
.opener h2 { font-size: var(--t-title); }
.opener p { font-weight: 600; font-size: var(--t-small); }

/* Case mosaics: photos touch, text sits in the black cell */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 28.125vw, 540px); }
.mosaic > img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.m-tall { grid-column: span 2; grid-row: span 2; }
.m-wide { grid-column: span 2; }
.m-one { grid-column: span 1; }
.case { display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; padding: clamp(28px, 3.3vw, 64px) clamp(20px, 2.5vw, 48px); min-width: 0; }
.case.c-wide { grid-column: span 2; }
.case.c-one { grid-column: span 1; }
.case .no { font-weight: 600; font-size: var(--t-body); color: var(--point); }
.case h3 { font-size: var(--t-sub); }
.case p { font-size: var(--t-body); color: var(--muted); }

/* IR process */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.process .text { padding-block: clamp(56px, 6vw, 96px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.process h2 { font-size: clamp(30px, 2.6vw, 48px); }
.process .points { display: flex; flex-direction: column; gap: 20px; margin-top: auto; }
.process .points p { font-weight: 600; font-size: var(--t-body); }
.process .points small { display: block; margin-top: 4px; font-weight: 400; font-size: var(--t-small); color: var(--muted); }
.process .shots { display: grid; grid-template-rows: 1fr 1fr; min-width: 0; }
.process .shots img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* IR examples */
.ir-top { width: 100%; aspect-ratio: 1920 / 536; object-fit: cover; object-position: 50% 54%; }
.ir-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ir-row .text { padding-block: clamp(40px, 4vw, 64px); display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.ir-row img { width: 100%; height: 100%; aspect-ratio: 640 / 544; }
.ir-row .cover { object-fit: cover; }
.ir-row .contain { object-fit: contain; }
.ir-row .grp { display: flex; flex-direction: column; gap: 12px; }
.ir-row .grp .no { font-weight: 600; font-size: var(--t-body); color: var(--point); }
.ir-row h3 { font-size: var(--t-sub); }
.ir-row p { font-size: var(--t-body); color: var(--muted); }

/* Clients */
.clients .bg { filter: brightness(0.3); }
.clients .inner { padding-block: clamp(72px, 8vw, 128px); display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 6vw, 96px); text-align: center; }
.clients h2 { font-size: var(--t-title); }
.clients .tag { font-weight: 600; font-size: var(--t-small); color: var(--muted); }
.logos { width: 100%; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.logos li { height: clamp(90px, 8.3vw, 160px); display: flex; align-items: center; justify-content: center; }
.logos img { width: 100%; max-width: 260px; height: clamp(56px, 5.2vw, 100px); object-fit: contain; }

/* Closing */
.closing { min-height: clamp(560px, 56.25vw, 1080px); display: flex; }
.closing .bg { filter: brightness(0.6); }
.closing .inner { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(56px, 6.6vw, 72px) 32px; gap: 20px; }
.closing h2 { margin-top: auto; font-weight: 800; font-size: var(--t-title); }
.closing .sub { font-size: var(--t-sub); color: var(--ink); }
.closing p { font-weight: 600; font-size: var(--t-small); color: var(--muted); }
.closing .contact { user-select: text; }
.closing .mark { width: clamp(140px, 15vw, 285px); margin: auto auto 0; padding-top: 48px; }
.closing .foot { color: #5a5a5a; margin-top: 32px; }

/* Section index: 제품화 / 상품화 / 마케팅, current one in white */
.idx { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; font-size: var(--t-small); color: var(--subtle); }
.idx .on { color: var(--ink); }
.opener .idx { justify-content: center; }
.opener.top .idx { justify-content: flex-start; }

@media (max-width: 1100px) {
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { aspect-ratio: auto; min-height: 78vh; }
  .creds { grid-template-columns: 1fr; }
  /* Vertical timeline on the center line: client steps left, deliveries right */
  .schedule .steps { width: 100%; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps::before, .steps::after { left: calc(50% - 1px); right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--l, 1)); transform-origin: center top; }
  .step { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); column-gap: 20px; row-gap: 0; align-items: center; }
  .step .dot { grid-row: 1; grid-column: 2; }
  .step.client .label { grid-row: 1; grid-column: 1; justify-self: end; align-self: center; text-align: right; }
  .step.deliver .label { grid-row: 1; grid-column: 3; justify-self: start; align-self: center; text-align: left; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 56vw; }
  .m-tall { grid-column: span 2; grid-row: span 1; }
  .m-wide { grid-column: span 2; }
  .case.c-wide, .case.c-one, .solo { grid-column: span 2; }
  .process { grid-template-columns: 1fr; }
  .process .points { margin-top: 0; }
  .ir-row { grid-template-columns: 1fr; }
  .ir-top { aspect-ratio: 16 / 9; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Block tiles (sections 4-6): photo tiles that touch, click opens the case sheet */
.chapter { display: flex; flex-direction: column; }
/* 제품화 / 상품화 / 마케팅: each chapter opens with its title text on black (moved off the cover photo); with the main gap it is about one tile tall */
.chapter-intro { min-height: calc(100vw / 3 * 5 / 4 - var(--section-gap)); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; text-align: center; }
.chapter-intro { --intro-space: clamp(120px, 21vw, 400px); margin-block: var(--intro-space); } /* extra black above and below the text block (doubled) */
/* when the text block opens the chapter, the section gap above already adds black: subtract it so the text sits in the middle of the black area */
.chapter > .chapter-intro:first-child { margin-top: calc(var(--intro-space) - var(--section-gap)); }
.chapter-intro h2 { font-size: var(--t-title); }
.chapter-intro p { font-weight: 600; font-size: var(--t-small); }
.chapter-intro .idx { justify-content: center; }
.chapter .opener .bg { filter: none; } /* cover photos carry no text now, so show them at full brightness */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.tiles.two .tile { aspect-ratio: 16 / 10; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); transition: filter 0.3s, transform 0.6s; }
.tile:hover img, .tile:focus-visible img { filter: brightness(0.8); transform: scale(1.03); }
.tile:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
/* optional second photo: shown on hover/focus in place of the first */
.tile img.alt { opacity: 0; transition: opacity 0.4s, filter 0.3s, transform 0.6s; }
.tile:hover img.alt, .tile:focus-visible img.alt { opacity: 1; filter: brightness(0.6); } /* a bit darker than 0.8 so white titles stay readable on bright shots */
.t-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 2.6vw, 48px); }
.t-text .no { font-weight: 600; font-size: var(--t-small); color: var(--muted); }
.t-title { font-weight: 600; font-size: var(--t-sub); }
.t-meta { font-size: var(--t-small); color: var(--muted); }

/* Case sheet: full-screen black view that holds the original mosaic */
.sheet { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: var(--bg); }
.sheet-bar { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-block: 20px; background: var(--bg); }
.sheet-bar p { font-weight: 600; font-size: var(--t-small); color: var(--muted); min-width: 0; }
.sheet .close { grid-column: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); cursor: pointer; }
.sheet .close svg { display: block; }
.sheet .close:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
body:has(.sheet[open]) { overflow: hidden; }

@media (max-width: 760px) {
  .tiles, .tiles.two { grid-template-columns: 1fr; }
  .chapter-intro { min-height: calc(100vw * 3 / 4 - var(--section-gap)); }
  .tile, .tiles.two .tile { aspect-ratio: 4 / 3; }
}
.sheet:focus { outline: none; }


/* Text reveal on scroll (js/main.js adds .js-reveal to <html>, .reveal to targets, .in when visible) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--reveal-delay, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Inquiry form: fields are flat dark fills on black (no borders, square corners); the send button is this section's one accent */
.inquiry { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-block: clamp(48px, 6vw, 96px); text-align: center; }
.inquiry h2 { font-size: var(--t-title); }
.inquiry > p { font-weight: 600; font-size: var(--t-small); }
.inquiry .tel { color: var(--ink); text-decoration: none; }
.inquiry .tel:hover, .inquiry .tel:focus-visible { color: var(--point); }
.inquiry-form { width: 100%; max-width: 760px; margin-top: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: left; }
.inquiry-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: var(--t-small); color: var(--muted); min-width: 0; }
.inquiry-form .full { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form textarea { width: 100%; margin: 0; padding: 14px 16px; border: 0; border-radius: 0; background: #141414; color: var(--ink); font: inherit; font-weight: 400; font-size: var(--t-body); resize: vertical; }
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible { outline: 2px solid var(--point); outline-offset: 0; }
.inquiry-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inquiry-form .send { grid-column: 1 / -1; justify-self: center; margin-top: 8px; padding: 16px 56px; border: 0; border-radius: 0; background: var(--point); color: var(--bg); font: inherit; font-weight: 800; font-size: var(--t-body); cursor: pointer; }
.inquiry-form .send:hover { filter: brightness(1.15); }
.inquiry-form .send:disabled { opacity: 0.5; cursor: default; }
.inquiry-form .send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-status { grid-column: 1 / -1; text-align: center; font-weight: 600; font-size: var(--t-small); color: var(--muted); min-height: 1.5em; }

/* Footer */
.site-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); text-align: center; }
.site-foot .ig { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-small); }
.site-foot .ig:hover span, .site-foot .ig:focus-visible span { text-decoration: underline; }
.site-foot p { font-size: var(--t-small); color: var(--subtle); }

@media (max-width: 760px) {
  .inquiry-form { grid-template-columns: 1fr; }
}

/* Class page (class.html): intro, 4 workshop tiles, then one block per workshop with a 7-photo mosaic.
   Missing photos (class-jubu-N, class-robot-N, class-cb-N) render as dark cells until the files are added. */
.class-page { padding-bottom: 0; }
.class-intro { min-height: 70vh; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; text-align: center; padding-block: clamp(120px, 12vw, 180px) clamp(56px, 6vw, 96px); }
.class-intro h1 { font-size: var(--t-display); }
.class-intro .lead-l { font-weight: 600; font-size: var(--t-sub); }
.class-intro .muted { font-size: var(--t-body); }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles.four .tile { aspect-ratio: 3 / 4; }
a.tile { color: var(--ink); text-decoration: none; }
.tile img, .class-block .mosaic img { background: #111; }
.class-block { display: flex; flex-direction: column; }
.class-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding-block: clamp(56px, 7vw, 120px) clamp(40px, 5vw, 80px); }
.class-head h2 { font-size: var(--t-title); }
.class-head h2 .muted { font-weight: 600; font-size: 0.5em; }
.class-head .sub { font-weight: 600; font-size: var(--t-sub); }
.class-head p:not(.sub) { font-size: var(--t-body); color: var(--muted); }
.class-sub { padding-block: clamp(40px, 4vw, 64px) clamp(20px, 2vw, 32px); text-align: center; }
.class-sub h3 { font-size: var(--t-sub); font-weight: 800; }
@media (max-width: 1100px) { .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tiles.four { grid-template-columns: 1fr; } .tiles.four .tile { aspect-ratio: 4 / 3; } }

/* About: location with an embedded Google map (full bleed, square corners, no border) */
.location { display: flex; flex-direction: column; }
.loc-text { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-block: clamp(56px, 7vw, 120px) clamp(32px, 4vw, 56px); }
.loc-text h2 { font-size: clamp(28px, 2.6vw, 48px); }
.loc-text p { font-weight: 600; font-size: var(--t-body); }
.loc-text a { font-size: var(--t-small); color: var(--muted); }
.loc-text a:hover, .loc-text a:focus-visible { color: var(--ink); }
.location .map { display: block; width: 100%; height: clamp(360px, 45vw, 640px); border: 0; }
.site-foot .kw { max-width: 52em; font-size: clamp(13px, 0.9vw, 16px); color: var(--subtle); text-wrap: balance; }
.site-foot .names { font-weight: 600; font-size: var(--t-small); color: var(--muted); }
