/* New Cambridge School: "Curious minds at work" (science lab: beakers, molecules, notebooks).
   Bootstrap 5.3.3 grid only; everything else is here. */
:root {
  --ground: #F4F8F7;
  --ink: #142028;
  --ink-2: #3C4E58;
  --teal: #1A9C8E;
  --teal-t: #0E6F65;
  --orange: #FF7A3D;
  --orange-t: #A9441A;
  --violet: #6D55D9;
  --violet-t: #5B44C8;
  --grid: #CFE3F0;
  --white: #FFFFFF;
  --line: #6B808B;
  --tbc-bg: #FFF4EC;
  --display: "Exo 2", "Exo 2 Fallback", "Trebuchet MS", sans-serif;
  --body: "Assistant", "Assistant Fallback", "Segoe UI", Arial, sans-serif;
  --r: 10px;
  --shadow: 0 1px 0 rgba(20, 32, 40, .06), 0 14px 32px -12px rgba(20, 32, 40, .22);
}
@font-face { font-family: "Exo 2 Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Assistant Fallback"; src: local("Arial"); size-adjust: 92%; ascent-override: 106%; descent-override: 34%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.125rem/1.6 var(--body); font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-t); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; color: var(--white); }
.skip:hover { color: var(--white); }
.hindi { font-family: "Noto Sans Devanagari", var(--body); color: var(--ink-2); font-size: 1.05rem; }
.small { font-size: .95rem; color: var(--ink-2); }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 11px 20px;
  border-radius: var(--r); border: 2px solid transparent; font: 600 1.02rem/1.2 var(--display);
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s;
}
.btn-react { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn-react:hover { background: #FF915F; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: #24394A; color: var(--white); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--white); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 1rem; }

/* ---------- header with the test-tube rack */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--grid); backdrop-filter: blur(6px); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 800 1.18rem/1.1 var(--display); }
.brand-sub { font-size: .9rem; color: var(--ink-2); }
.rack-nav { display: none; }
.top-call { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r);
  font: 600 1rem/1 var(--display); cursor: pointer;
}
@media (min-width: 992px) {
  .top-row { min-height: 96px; }
  .rack-nav { display: block; }
  .menu-btn { display: none; }
  .top-call { display: inline-flex; }
  .rack { list-style: none; margin: 0; padding: 0 6px; display: flex; gap: 4px; position: relative; }
  .rack::before { /* the rack's rail, across the tubes */
    content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 9px; border-radius: 5px;
    background: var(--ink); z-index: 2;
  }
  .rack::after { /* the rack's base shelf */
    content: ""; position: absolute; left: 0; right: 0; top: 54px; height: 3px; border-radius: 2px; background: var(--grid);
  }
  .rack-link {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 10px 6px;
    text-decoration: none; color: var(--ink); border-radius: 8px;
  }
  .rack-label { font: 600 .95rem/1 var(--display); padding: 3px 6px; border-radius: 4px; }
  .rack-link[aria-current="page"] .rack-label { background: var(--ink); color: var(--white); }
  .rack-link:hover .rack-label { text-decoration: underline; text-underline-offset: 3px; }
  .tube { width: 22px; height: 52px; overflow: visible; }
  .tube-glass { fill: none; stroke: var(--ink); stroke-width: 2; }
  .tube-lip { fill: var(--ink); }
  .liquid { transform: translateY(26px); transition: transform .4s ease-out; }
  .rack-link:hover .liquid, .rack-link:focus-visible .liquid { transform: translateY(14px); }
  .rack-link[aria-current="page"] .liquid { transform: translateY(2px); }
}
@media (min-width: 1200px) { .rack { gap: 10px; } }

/* phone menu: a lab-notebook page */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(20, 32, 40, .55); padding: 12px; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet-page {
  position: relative; max-width: 460px; margin-left: auto; min-height: calc(100% - 0px); padding: 20px 20px 24px 64px;
  background-color: var(--white);
  background-image: linear-gradient(90deg, transparent 47px, var(--violet) 47px, var(--violet) 49px, transparent 49px),
    repeating-linear-gradient(transparent 0 39px, var(--grid) 39px 40px);
  border-radius: 6px 14px 14px 6px; box-shadow: var(--shadow); animation: sheet-in .25s ease-out;
}
.sheet-page::before { /* spiral holes */
  content: ""; position: absolute; left: 12px; top: 18px; bottom: 18px; width: 18px;
  background: radial-gradient(circle at 9px 9px, var(--ink) 0 5px, transparent 6px) 0 0 / 18px 36px repeat-y;
}
@keyframes sheet-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.sheet-label { margin: 0; font: 600 .95rem/1.2 var(--display); color: var(--ink-2); }
.sheet-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border: 2px solid var(--ink); background: var(--white); border-radius: var(--r); font: 600 .95rem/1 var(--display); color: var(--ink); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 20px; padding: 0; }
.sheet-list a { display: flex; align-items: center; gap: 14px; min-height: 56px; font: 700 1.45rem/1.1 var(--display); color: var(--ink); text-decoration: none; }
.sheet-list a[aria-current="page"] { color: var(--teal-t); text-decoration: underline; text-decoration-thickness: 3px; }
.sheet-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.sheet-actions { display: grid; gap: 10px; }
.sheet-actions .btn { justify-content: center; }

/* ---------- hero */
.hero { padding: 28px 0 56px; overflow: hidden; }
.hero-where { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; background: var(--white); border: 1px solid var(--grid); border-radius: 999px; font-size: .98rem; color: var(--ink-2); }
.hero-where .ic { color: var(--teal-t); }
.hero-title { font-size: clamp(2.6rem, 9vw, 5.2rem); font-weight: 800; line-height: .98; letter-spacing: -.02em; margin-bottom: 18px; }
.hero-lede { font-size: 1.2rem; max-width: 34em; color: var(--ink); }
.hero-small { font-size: .98rem; color: var(--ink-2); margin: 0; }
.notebook { position: relative; padding: 0 0 104px 26px; margin-top: 8px; }
.nb-spiral { position: absolute; left: 8px; top: 30px; bottom: 150px; width: 34px; z-index: 2;
  background: repeating-linear-gradient(180deg, transparent 0 12px, var(--ink) 12px 17px, transparent 17px 30px);
  border-radius: 3px; }
.nb-page {
  position: relative; padding: 22px 22px 44px 40px; border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow);
  background-color: var(--white);
  background-image: linear-gradient(90deg, transparent 27px, var(--violet) 27px, var(--violet) 29px, transparent 29px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}
.nb-head { padding-right: 84px; display: flex; justify-content: space-between; margin: 0 0 14px; font: 600 .95rem/1.2 var(--display); color: var(--ink-2); }
.nb-photo { position: relative; margin: 0 0 16px; padding: 8px; background: var(--white); box-shadow: 0 6px 18px -8px rgba(20, 32, 40, .35); transform: rotate(-1.2deg); }
.nb-photo img { width: 100%; aspect-ratio: 1200 / 842; object-fit: cover; }
.tape { position: absolute; width: 86px; height: 26px; background: rgba(255, 122, 61, .42); z-index: 2; }
.tape-l { left: -18px; top: 6px; transform: rotate(-32deg); }
.tape-r { right: -18px; bottom: 8px; transform: rotate(-30deg); background: rgba(26, 156, 142, .38); }
.nb-obs { font: 600 1.12rem/1.45 var(--display); max-width: 28em; margin-bottom: 6px; }
.nb-credit { font-size: .85rem; color: var(--ink-2); margin: 0; }
.molecule { position: absolute; right: -14px; top: -38px; width: 92px; height: 92px; }
.mol-spin { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flasks { position: absolute; right: 6px; bottom: 0; width: 200px; height: auto; }
.bub { animation: rise 2.8s ease-in infinite; transform-box: fill-box; }
.b2 { animation-delay: .9s; } .b3 { animation-delay: 1.8s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
@media (max-width: 575px) { .nb-head span:last-child { display: none; } }
@media (min-width: 992px) {
  .hero { padding: 48px 0 72px; }
  .notebook { padding-left: 32px; }
  .molecule { width: 110px; height: 110px; right: -26px; top: -48px; }
  .flasks { width: 230px; right: -10px; }
}

/* ---------- sections */
.sec { padding: 64px 0; }
.sec-head { max-width: 46em; margin-bottom: 28px; }
.sec-title { font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 800; }
.lede { color: var(--ink-2); font-size: 1.12rem; max-width: 40em; }
.more { margin: 24px 0 0; }
.link { font: 600 1.05rem/1.3 var(--display); color: var(--violet-t); }
.sec-exp, .sec-faq { background: var(--white); border-block: 1px solid var(--grid); }

/* sample-label tray (the facts) */
.tray-head { max-width: 46em; margin-bottom: 26px; }
.tray { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); grid-auto-rows: minmax(150px, auto); }
.tag {
  position: relative; display: flex; flex-direction: column; gap: 3px; padding: 26px 14px 14px;
  background: var(--white); border: 1.5px solid var(--grid); border-radius: 4px 4px 12px 12px;
}
.tag::before { /* the string hole of a specimen tag */
  content: ""; position: absolute; top: 9px; left: 14px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--ground);
}
.tag-ok { border-top: 7px solid var(--teal); }
.tag-tbc { border: 2px dashed var(--orange-t); border-top: 7px dashed var(--orange); background: var(--tbc-bg); }
.tag-code { position: absolute; top: 8px; right: 12px; font: 800 1.5rem/1 var(--display); color: var(--teal-t); }
.tag-tbc .tag-code { color: var(--orange-t); }
.tag-label { font-size: .92rem; color: var(--ink-2); margin-top: 6px; }
.tag-value { font: 700 1.08rem/1.3 var(--display); overflow-wrap: break-word; }
.tag-value a { color: var(--ink); }
.tag-note { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.tag-status { margin-top: auto; padding-top: 8px; font: 600 .82rem/1 var(--display); color: var(--teal-t); }
.tag-tbc .tag-status { color: var(--orange-t); }
@media (min-width: 1200px) { .tray { grid-template-columns: repeat(6, 1fr); } }

/* experiments */
.exp { height: 100%; display: flex; flex-direction: column; background: var(--ground); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 12px 16px; }
.exp-photo { margin: 0 0 14px; }
.exp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.exp-photo figcaption { font-size: .8rem; color: var(--ink-2); margin-top: 6px; line-height: 1.3; }
.exp-title { font-size: 1.32rem; font-weight: 700; padding: 0 4px; }
.exp-log { margin: 0 0 14px; padding: 0 4px; }
.exp-log dt { font: 700 .9rem/1.2 var(--display); color: var(--violet-t); margin-top: 10px; }
.exp-log dd { margin: 2px 0 0; font-size: 1rem; line-height: 1.5; }
.exp-tbc { margin: auto 4px 0; padding: 10px 12px; border: 2px dashed var(--orange-t); border-radius: 8px; background: var(--tbc-bg); font-size: .95rem; line-height: 1.4; }

/* method (admission steps): a real sequence, so numbered */
.method { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 18px 0 18px 76px; border-bottom: 1px solid var(--grid); counter-increment: step; }
.step:first-child { border-top: 1px solid var(--grid); }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 16px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: var(--ink); font: 800 1.5rem/1 var(--display);
  box-shadow: inset 0 -12px 0 rgba(20, 32, 40, .14);
}
.step-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); }

/* lab-notebook FAQ */
.ruled {
  background-color: var(--white); border: 1px solid var(--grid); border-radius: 8px; padding: 8px 18px 8px 52px;
  background-image: linear-gradient(90deg, transparent 37px, var(--violet) 37px, var(--violet) 39px, transparent 39px);
}
.entry { border-bottom: 1px solid var(--grid); }
.entry:last-child { border-bottom: 0; }
.entry summary { list-style: none; cursor: pointer; display: flex; gap: 10px; padding: 16px 30px 16px 0; position: relative; font: 600 1.12rem/1.35 var(--display); }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font: 700 1.5rem/1 var(--display); color: var(--teal-t); }
.entry[open] summary::after { content: "−"; }
.entry-q { font-family: var(--display); font-weight: 800; color: var(--orange-t); flex: none; }
.entry-a { padding: 0 0 16px; }
.entry-a .entry-q { color: var(--teal-t); margin-right: 6px; }
.entry-a p { margin: 0; }

/* enquiry form on a notebook page */
.sec-enquire { background: linear-gradient(var(--ground), var(--ground)); }
.page-sheet {
  background-color: var(--white); border-radius: 10px; box-shadow: var(--shadow); padding: 26px 20px 24px;
  border: 2px solid var(--ink);
}
@media (min-width: 768px) { .page-sheet { padding: 34px 36px 30px; } }
.sheet-title { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; }
.sheet-intro { color: var(--ink-2); }
.field label { display: block; font: 600 1rem/1.3 var(--display); margin-bottom: 6px; }
.opt { font-family: var(--body); font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--white); color: var(--ink); font: 400 1.08rem/1.4 var(--body);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.hint { font-size: .9rem; color: var(--ink-2); margin: 5px 0 0; }
.err { font-size: .95rem; color: #A1221B; font-weight: 600; margin: 5px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { padding: 12px 14px; margin-bottom: 14px; border: 1.5px solid #B3261E; border-radius: 8px; background: #FFF6F5; color: #A1221B; font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 20px; }
.form-foot .small { margin: 0; }
.form-result:empty { display: none; }
.form-result { margin-top: 16px; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.form-result.ok { background: #E6F5F2; color: var(--teal-t); border: 1.5px solid var(--teal); }
.form-result.bad { background: #FFF6F5; color: #A1221B; border: 1.5px solid #B3261E; }

.visit { background: var(--ink); color: #E8F0F2; border-radius: 12px; padding: 26px 24px; }
.visit-title { color: var(--white); font-size: 1.4rem; }
.visit address { font-size: 1.08rem; margin-bottom: 6px; }
.visit-plus { color: #B9C9CF; font-size: .95rem; }
.visit-links { list-style: none; padding: 0; margin: 0 0 14px; }
.visit-links a { display: flex; align-items: center; gap: 10px; min-height: 46px; color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(207, 227, 240, .2); }
.visit-links a:hover { color: var(--orange); }
.visit-links .ic { color: var(--orange); }
.visit-note { margin: 0; font-size: .95rem; color: #B9C9CF; }
.visit a:focus-visible, .foot a:focus-visible, .dock a:focus-visible { outline-color: var(--orange); }

/* ---------- inner pages */
.ph {
  padding: 34px 0 40px; border-bottom: 1px solid var(--grid);
  background-color: var(--ground);
  background-image: linear-gradient(rgba(207, 227, 240, .7) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 227, 240, .7) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ph-center { text-align: left; padding: 72px 0; border: 0; }
.crumbs { font-size: .95rem; color: var(--ink-2); margin-bottom: 14px; }
.crumbs a { color: var(--violet-t); }
.ph-title { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; max-width: 18em; }
.ph-lede { font-size: 1.18rem; max-width: 40em; color: var(--ink); }
.tbc { margin: 22px 0; padding: 18px 20px; border: 2px dashed var(--orange-t); border-radius: 10px; background: var(--tbc-bg); }
.tbc-k { margin: 0 0 6px; font: 600 .9rem/1.2 var(--display); color: var(--orange-t); }
.tbc-title { font-size: 1.22rem; font-weight: 700; margin-bottom: 6px; }
.tbc p:last-child { margin: 0; }
.tbc-inline { color: var(--orange-t); font-weight: 600; }
.taped { position: relative; margin: 0 0 28px; padding: 10px; background: var(--white); box-shadow: var(--shadow); transform: rotate(1deg); }
.taped figcaption { font-size: .85rem; color: var(--ink-2); margin-top: 8px; }
.namebox { padding: 20px 22px; border: 2px solid var(--violet); background: var(--white); border-radius: 10px; }
.namebox-title { font-size: 1.3rem; }
.namebox p { margin: 0; }
.lab-report .stage { padding: 18px 0 8px; margin-bottom: 18px; border-top: 2px solid var(--ink); }
.stage-title { font-size: 1.6rem; font-weight: 800; }
.exp-log.wide { display: grid; grid-template-columns: 1fr; padding: 0; }
@media (min-width: 768px) { .exp-log.wide { grid-template-columns: 9rem 1fr; column-gap: 18px; } .exp-log.wide dt { margin-top: 12px; } .exp-log.wide dd { margin-top: 10px; } }
.side-title { font-size: 1.3rem; margin-top: 28px; }
.table-wrap { overflow-x: auto; }
.age { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--grid); }
.age caption { caption-side: bottom; text-align: left; padding-top: 8px; font-size: .9rem; color: var(--ink-2); }
.age th, .age td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--grid); font-size: 1rem; }
.age thead th { font-family: var(--display); background: var(--ink); color: var(--white); }
.age tbody th { font-weight: 600; }
.note-sample { margin-top: 18px; padding: 12px 16px; border: 2px dashed var(--orange-t); border-radius: 8px; background: var(--tbc-bg); font-weight: 600; }
.checklist { background: var(--white); border-radius: 10px; padding: 22px; box-shadow: var(--shadow); border: 2px solid var(--teal); }
.checklist-title { font-size: 1.35rem; }
.checklist-note { font-size: .95rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--grid); cursor: pointer; }
.checks input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--teal-t); flex: none; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.g-btn { display: block; width: 100%; padding: 8px 8px 12px; background: var(--white); border: 1px solid var(--grid); border-radius: 10px; cursor: zoom-in; text-align: left; font: inherit; color: var(--ink); }
.g-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; transition: transform .3s; }
.g-btn:hover img { transform: scale(1.02); }
.g-cap { display: block; margin-top: 8px; font: 600 1rem/1.3 var(--display); }
.lightbox { border: 0; padding: 16px; max-width: min(920px, 94vw); background: var(--ink); color: var(--white); border-radius: 12px; }
.lightbox::backdrop { background: rgba(20, 32, 40, .8); }
.lb-img { max-height: 70vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lb-cap { margin: 12px 0; font-size: .98rem; color: #D7E3E7; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-bar button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--white); background: transparent; color: var(--white); border-radius: var(--r); font: 600 .98rem/1 var(--display); cursor: pointer; }
.lb-bar button:focus-visible { outline-color: var(--orange); }
.lb-close { margin-left: auto; }
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .expect { grid-template-columns: 1fr 1fr; } }
.expect li { padding: 16px 18px; border: 2px dashed var(--orange-t); border-radius: 10px; background: var(--tbc-bg); }
.x-k { display: block; font: 700 1.1rem/1.3 var(--display); }
.x-v { color: var(--ink-2); font-size: 1rem; }
.sec-notices { background: var(--white); border-top: 1px solid var(--grid); }
.notices { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .notices { grid-template-columns: repeat(3, 1fr); } }
.notices li { padding: 18px; border: 2px dashed var(--violet); border-radius: 8px; }
.notices p { margin: 8px 0 0; }
.n-tag { font: 700 .85rem/1 var(--display); color: var(--violet-t); }
.reach { list-style: none; margin: 0; padding: 0; }
.reach li { padding: 14px 0; border-bottom: 1px solid var(--grid); }
.reach-k { display: block; font: 600 .92rem/1.2 var(--display); color: var(--ink-2); margin-bottom: 4px; }
.reach-v { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
a.reach-v { font: 800 1.6rem/1.2 var(--display); color: var(--ink); }
.map-card { border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--white); }
.map-card iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-fallback { padding: 24px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; }
.map-k { font: 800 1.4rem/1 var(--display); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.map-actions .btn-line { background: var(--white); }
.prose { max-width: 44em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }

/* ---------- footer and phone dock */
.foot { background: var(--ink); color: #D7E3E7; padding: 56px 0 28px;
  background-image: linear-gradient(rgba(207, 227, 240, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 227, 240, .05) 1px, transparent 1px);
  background-size: 24px 24px; }
.foot a { color: var(--white); }
.foot a:hover { color: var(--orange); }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font: 800 1.3rem/1.1 var(--display); text-decoration: none; margin-bottom: 14px; }
.foot-addr { margin-bottom: 12px; }
.foot-note { font-size: .92rem; color: #B9C9CF; max-width: 30em; }
.foot-h { font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 4px; }
.foot-list a { display: inline-block; padding: 6px 0; }
.foot-small { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid rgba(207, 227, 240, .18); font-size: .9rem; color: #B9C9CF; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 2px solid var(--ink); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--ink); text-decoration: none; font: 600 .9rem/1 var(--display); }
.dock a + a { border-left: 1px solid var(--grid); }
.dock a:first-child { background: var(--orange); }
body { padding-bottom: 60px; }
@media (min-width: 992px) { .dock { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
