/* TCCSG 2026: editorial conference system. Shared across all generated pages. */
:root { --brand: #0b7da3; --brand-text: #096b8c; --dark: #141413; --ink: #141413; --line: #deded9; }
.skip-link { position:fixed; top:8px; left:16px; z-index:100; transform:translateY(-160%); padding:12px 20px; background:#fff; color:#141413; }
.skip-link:focus { transform:none; }
#main-content:focus { outline:none; }
:where(a,button,summary,input,select):focus-visible { outline:3px solid #0b7da3; outline-offset:5px; }
.site-header { background:var(--bg); backdrop-filter:none; }
.site-header__inner { min-height:80px; }
.brand__mark { background:var(--brand); }
.site-nav a { min-height:44px; display:inline-flex; align-items:center; }
.site-nav a[aria-current="page"] { color:var(--brand-text); text-decoration:underline; text-underline-offset:8px; }
.site-header__cta,.btn { min-height:46px; border-radius:4px; }
.menu-toggle { display:none; }
.btn--dark { background:var(--dark); }
.text-link { display:inline-flex; align-items:center; gap:12px; font-size:15px; font-weight:600; text-underline-offset:6px; }
.text-link svg,.event-hero__actions svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.event-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:32px 6%; padding-top:60px; padding-bottom:46px; }
.event-kicker { font-size:12px; font-weight:600; margin:0 0 26px; letter-spacing:.06em; }
.event-hero h1 { font-size:clamp(44px,5vw,76px); line-height:1.26; letter-spacing:-.055em; font-weight:650; margin:0; text-wrap:nowrap; }
.event-hero h1 em { font-style:normal; color:var(--brand-text); }
.event-hero__theme { margin:22px 0; font-size:18px; }
.event-hero__actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.event-hero__photo { margin:0; align-self:stretch; padding-top:22px; min-width:0; }
.event-hero__photo img { width:100%; height:100%; max-height:440px; object-fit:cover; object-position:54% center; display:block; border-radius:120px 0 0 0; }
.event-hero__photo figcaption { font-size:10px; color:var(--muted); margin-top:7px; }
.event-hero__date { display:flex; align-items:center; gap:18px; padding-top:28px; }
.event-hero__date > span:first-child { writing-mode:vertical-rl; font-size:14px; }
.event-hero__date strong { font-size:64px; font-weight:450; line-height:1; letter-spacing:-.06em; font-variant-numeric:tabular-nums; }
.event-hero__date > span:last-child { font-size:12px; line-height:1.8; }
.event-hero__lead { font-size:15px; line-height:1.95; margin:20px 0 0; max-width:40em; }
.event-home .draft-note { margin-top:20px; }
.event-home #about-session { padding-top:100px; padding-bottom:110px; }
.prose-lead { color:var(--ink); }
.event-home #about-session .prose-lead { font-size:clamp(26px,3vw,40px); line-height:1.6; margin-top:0; }
.event-home #questions { padding-top:80px; border-top:1px solid var(--line); }
.event-home .section__head { margin-bottom:64px; }
.event-home .card-grid { display:flex; flex-direction:column; gap:72px; }
.event-home .q-card { display:grid; grid-template-columns:1.05fr 1fr; grid-template-rows:auto auto 1fr; column-gap:8%; padding:0; background:none; border:0; border-radius:0; overflow:visible; }
.event-home .q-card img { grid-column:1; grid-row:1/4; width:100%; height:320px; object-fit:cover; border-radius:3px; }
.event-home .q-card__label { grid-column:2; margin:20px 0 16px; padding:0; color:var(--brand-text); font-size:13px; }
.event-home .q-card h3 { grid-column:2; padding:0; margin:0 0 20px; font-size:clamp(26px,3vw,38px); line-height:1.5; }
.event-home .q-card > p:last-child { grid-column:2; padding:0; margin:0; max-width:31em; font-size:16px; }
.event-home .q-card:nth-child(2) { grid-template-columns:1fr 1.05fr; }
.event-home .q-card:nth-child(2) img { grid-column:2; }
.event-home .q-card:nth-child(2) :is(p,h3) { grid-column:1; }
.event-home .q-card:nth-child(2) .q-card__label { grid-row:1; }
.event-home .q-card:nth-child(2) h3 { grid-row:2; }
.event-home .q-card:nth-child(2) > p:last-child { grid-row:3; }
.event-home #odai { padding-top:110px; padding-bottom:90px; }
.topic-browser { min-width:0; }
.topic-browser__label { margin:0 0 20px; font-size:13px; color:var(--brand-text); font-weight:600; }
.topic-choice { border-top:1px solid var(--line); }
.topic-choice:last-child { border-bottom:1px solid var(--line); }
.topic-choice summary { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 0; cursor:pointer; list-style:none; font-size:17px; font-weight:600; color:var(--ink); }
.topic-choice summary::-webkit-details-marker { display:none; }
.topic-choice summary span { flex-shrink:0; color:var(--brand-text); font-size:22px; transition:transform .2s; }
.topic-choice[open] summary span { transform:rotate(45deg); }
.topic-choice__body { padding:0 0 30px; }
.topic-choice__body img { width:100%; max-height:310px; object-fit:contain; background:#e9e7e1; padding:20px; display:block; }
.topic-choice__body p { font-size:15px; }
.topic-browser__note { font-size:12px; color:var(--muted); }
.rows > li > a,.rows--steps > li { padding-block:26px; }
.feature-card { border-radius:4px; background:var(--dark); text-align:left; padding:70px 8%; }
.feature-card h2 { font-size:clamp(32px,4.3vw,58px); line-height:1.4; }
.feature-card__actions { justify-content:flex-start; }
.page-head { padding-top:80px; padding-bottom:64px; }
.page-head__kicker { color:var(--brand-text); }
.page-head h1 { font-size:clamp(38px,5vw,64px); letter-spacing:-.03em; }
.site-footer { margin-top:90px; background:#141413; }
@media (max-width:1000px) {
 .site-header__inner { flex-wrap:wrap; gap:12px; }
 .site-nav { gap:18px; }
 .event-hero { gap:26px 4%; }
 .event-hero h1 { font-size:clamp(42px,5.2vw,64px); }
 .event-hero__date { gap:10px; }
 .event-hero__date strong { font-size:52px; }
 .event-hero__date > span:last-child { font-size:11px; }
}
@media (max-width:760px) {
 .site-header { position:sticky; top:0; }
 .site-header__inner { min-height:68px; padding-block:12px; gap:8px; }
 .brand { flex:1; }
 .brand__text { font-size:12px; }
 .brand__text small { font-size:9px; }
 .site-header__cta { display:none; }
 .has-menu .menu-toggle { display:block; background:transparent; color:var(--ink); border:1px solid var(--line-strong); border-radius:4px; min-height:44px; padding:8px 12px; font:inherit; font-size:12px; }
 .has-menu .site-nav { display:none; }
 .has-menu .menu-toggle[aria-expanded="true"] + .site-nav { display:grid; grid-template-columns:1fr 1fr; width:100%; gap:0 20px; padding-top:12px; }
 .site-nav a { border-bottom:1px solid var(--line); }
 .event-hero { grid-template-columns:1fr; padding-top:34px; gap:24px; padding-bottom:28px; }
 .event-kicker { font-size:10px; margin-bottom:22px; }
 .event-hero h1 { font-size:clamp(42px,10.6vw,66px); }
 .event-hero__theme { font-size:15px; margin:20px 0; }
 .event-hero__actions { gap:20px; }
 .event-hero__photo { padding-top:0; }
 .event-hero__photo img { height:230px; border-radius:64px 0 0 0; object-position:50% center; }
 .event-hero__date { padding-top:0; }
 .event-hero__date strong { font-size:56px; }
 .event-hero__lead { margin:0; font-size:15px; }
 .event-home #about-session { padding-top:64px; padding-bottom:64px; }
 .event-home #questions { padding-top:50px; }
 .event-home .section__head { margin-bottom:40px; }
 .event-home .card-grid { gap:50px; }
 .event-home .q-card,.event-home .q-card:nth-child(2) { display:flex; flex-direction:column; gap:0; }
 .event-home .q-card img { height:auto; aspect-ratio:4/3; }
 .event-home .q-card h3 { font-size:27px; margin-bottom:14px; }
 .event-home .q-card__label { margin-top:20px; margin-bottom:10px; }
 .event-home #odai { padding-top:64px; padding-bottom:50px; }
 .topic-choice summary { font-size:16px; }
 .feature-card { padding:40px 24px; }
 .page-head { padding-top:44px; padding-bottom:40px; }
 .site-footer { margin-top:60px; }
}
@media (prefers-reduced-motion:reduce) { .topic-choice summary span { transition:none; } }
@media print { .skip-link,.menu-toggle { display:none!important; } .site-header { position:static; } }
/* Second review: stable previews and unobscured fragment destinations. */
#main-content, main [id] { scroll-margin-top:110px; }
.topic-choice__body img { height:310px; }
@media (max-width:760px) { .topic-choice__body img { height:auto; aspect-ratio:1.12; } }
/* Carry the same typography and colour into the workshop pages. */
body.uc { --uc-ink:#141413; --uc-accent:#0b7da3; --uc-accent-dark:#141413; --uc-brand:#096b8c; --uc-serif:var(--sans); }
body.uc[data-cat="family"] { --uc-tint:#e5eff3; }
body.uc[data-cat="research"] { --uc-tint:#dcebf1; }
body.uc[data-cat="free"] { --uc-tint:#e9e7e1; }
.uc h1 { font-weight:650; letter-spacing:-.025em; }
.uc h2,.uc h3 { font-weight:600; }
.uc-btn { min-height:44px; border-radius:4px; }
body.uc h1 { font-weight:650; letter-spacing:-.025em; }
body.uc h2,body.uc h3 { font-weight:600; }
body.uc [data-cat="family"] { --uc-tint:#e5eff3; }
body.uc [data-cat="research"] { --uc-tint:#dcebf1; }
body.uc [data-cat="free"] { --uc-tint:#e9e7e1; }
/* Keep Japanese semantic phrases intact, including on engines without auto-phrase. */
.phrase { display:inline-block; white-space:nowrap; }
.event-home .q-card h3 { text-wrap:wrap; font-size:clamp(26px,2.7vw,34px); }
@media (max-width:760px) {
 .event-home .q-card h3 { font-size:clamp(22px,6.5vw,27px); }
}
/* Workshop title: preserve phrases while letting the subtitle wrap naturally. */
.event-hero h1 { text-wrap:wrap; }
.event-hero__subtitle { display:block; margin-top:24px; font-size:clamp(18px,1.7vw,22px); line-height:1.8; letter-spacing:0; font-weight:500; }
@media (max-width:760px) { .event-hero__subtitle { margin-top:20px; font-size:18px; } }
/* Venue: station, floor and map together, with directions available on mobile. */
.venue__station { color:var(--brand-text); font-weight:600; }
.venue address { font-style:normal; font-size:15px; }
.venue__actions { display:flex; flex-direction:column; align-items:flex-start; gap:18px; margin-top:24px; }
.venue__map { min-width:0; }
/* The Google embed paints only once it is on screen, and never on networks that block it.
   The route underneath is what shows until then, so the frame is never an empty box. */
.venue__frame { position:relative; height:420px; overflow:hidden; border:1px solid var(--line); border-radius:4px; background:var(--panel); }
.venue__fallback { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; padding:0 clamp(20px,5vw,56px); }
.venue__fallback p { margin:0; font-size:13px; color:var(--muted); }
.venue__fallback ol { margin:14px 0 18px; padding:0; list-style:none; border-top:1px solid var(--line-strong); }
.venue__fallback li { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 16px; padding:14px 0; border-bottom:1px solid var(--line-strong); color:var(--ink); line-height:1.5; }
.venue__fallback b { font-size:clamp(18px,2vw,22px); font-weight:700; }
.venue__fallback span { font-size:15px; color:var(--body); }
.venue__map iframe { position:relative; display:block; width:100%; height:100%; border:0; background:transparent; }
.venue__map > p { font-size:12px; color:var(--muted); margin-top:12px; }
@media(max-width:760px) { .venue__frame { height:320px; } }

/* Hero: typographic masthead, panoramic scene, and a single invitation column. */
.event-hero--editorial { grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:36px 6%; padding-top:38px; padding-bottom:40px; }
.event-hero--editorial .event-hero__masthead { grid-column:1/-1; }
.event-hero--editorial .event-kicker { font-size:13px; margin:0 0 22px; }
.event-hero--editorial h1 { font-size:clamp(64px,8.3vw,118px); line-height:1.12; letter-spacing:-.065em; font-weight:700; }
.event-hero--editorial h1 em { color:var(--brand); }
.event-hero--editorial .event-hero__subtitle { margin:22px 0 0; font-size:20px; line-height:1.7; font-weight:500; }
.event-hero--editorial .event-hero__photo { padding:0; align-self:start; }
.event-hero--editorial .event-hero__photo img { height:330px; max-height:none; border-radius:0; object-position:57% 43%; }
.event-hero--editorial .event-hero__photo figcaption { font-size:12px; line-height:1.6; margin-top:9px; }
.event-hero__invitation { display:flex; flex-direction:column; align-items:flex-start; gap:24px; }
.event-hero--editorial .event-hero__lead { margin:0; font-size:16px; line-height:1.9; max-width:26em; }
.event-hero--editorial .event-hero__actions { gap:18px; align-items:flex-start; flex-direction:column; }
.event-hero__event-info { margin-top:auto; padding-top:4px; display:flex; align-items:center; flex-wrap:wrap; gap:18px 24px; }
.event-hero__event-info time { display:flex; align-items:baseline; gap:8px; font-variant-numeric:tabular-nums; white-space:nowrap; color:var(--ink); }
.event-hero__event-info time span { font-size:13px; }
.event-hero__event-info time strong { font-size:36px; line-height:1; font-weight:500; letter-spacing:-.055em; }
.event-hero__event-info > a { font-size:13px; line-height:1.65; }
.event-hero__event-info svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.5; vertical-align:middle; }
@media (min-width:761px) and (max-width:1100px) {
 .event-hero--editorial { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:28px 4%; }
 .event-hero--editorial .event-hero__photo img { height:350px; }
}
@media (max-width:760px) {
 .event-hero--editorial { grid-template-columns:minmax(0,1fr); gap:24px; padding-top:30px; padding-bottom:24px; }
 .event-hero--editorial .event-kicker { font-size:12px; line-height:1.6; margin-bottom:20px; }
 .event-hero--editorial h1 { font-size:clamp(45px,10.8vw,80px); line-height:1.16; letter-spacing:-.065em; }
 .event-hero--editorial h1 em { display:block; }
 .event-hero--editorial .event-hero__subtitle { font-size:16px; margin-top:20px; }
 .event-hero--editorial .event-hero__photo img { height:auto; aspect-ratio:1.8; object-position:center; }
 .event-hero--editorial .event-hero__lead { max-width:none; }
 .event-hero--editorial .event-hero__actions { flex-direction:row; align-items:center; gap:16px 20px; }
 .event-hero__invitation { gap:22px; }
 .event-hero__event-info { width:100%; gap:14px 24px; }
}
@media (prefers-reduced-motion:no-preference) {
 .event-hero--editorial .event-hero__masthead { animation:hero-arrive .6s ease-out both; }
 .event-hero--editorial .event-hero__photo, .event-hero--editorial .event-hero__invitation { animation:hero-arrive .7s .1s ease-out both; }
 @keyframes hero-arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
}
