/* Mountain High Investments – 26 Beech Grove, Guildford */

@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --brand: #178a86;        /* logo teal */
  --teal: #127572;         /* text + buttons (readable) */
  --teal-dark: #0e5e5b;
  --teal-deep: #0b4644;
  --mint: #e8f3f2;
  --mint-2: #d3ebe8;
  --purple: #5e1677;
  --purple-mid: #7b3a94;
  --purple-soft: #f3eaf7;
  --ink: #1c2b2d;
  --muted: #566769;
  --cream: #fbfaf7;
  --line: #e2e8e7;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11,70,68,.06), 0 8px 28px rgba(11,70,68,.09);
  --wrap: 1180px;
  --head: "Nunito", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple-mid); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.15; color: var(--teal-deep); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: .8em; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--teal-deep); color: #d9efec; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 26px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #e6d3f0; }
.topbar svg { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.brand { display: block; flex: none; }
.brand img { width: 184px; height: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav a:hover { background: var(--mint); color: var(--teal-dark); }
.nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.menu-btn { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: 600 .95rem var(--body); color: var(--teal-deep); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--purple); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--purple-soft); color: var(--purple); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, #f1f8f7 0%, var(--mint) 55%, #efe6f4 100%); overflow: hidden; padding: 64px 0 120px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 span { color: var(--purple); }
.hero .lead { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--mint-2); color: var(--teal-dark); font-weight: 600; font-size: .9rem; padding: 6px 13px; border-radius: 999px; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 28px; background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%); opacity: .9; }
.hero-photo .badge { position: absolute; left: -22px; bottom: 26px; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 300px; }
.badge strong { display: block; font-family: var(--head); font-size: 1.05rem; color: var(--teal-deep); line-height: 1.2; }
.badge span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; }
.badge .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; flex: none; }
.badge .ico svg { width: 22px; height: 22px; }
.ridge { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 112px; z-index: 1; }

/* ---------- page header (inner pages) ---------- */
.page-head { position: relative; background: linear-gradient(160deg, #f1f8f7 0%, var(--mint) 60%, #efe6f4 100%); padding: 54px 0 104px; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { max-width: 60ch; margin: 0; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
.section-white { background: #fff; }
.section-mint { background: var(--mint); }
.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--teal); margin-bottom: 16px; }
.feature:nth-child(even) .ico { background: var(--purple-soft); color: var(--purple); }
.feature .ico svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* split blocks */
.stick { position: sticky; top: 130px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23127572' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* photo tiles */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--teal-deep); box-shadow: var(--shadow); text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.tile:hover img { transform: scale(1.04); opacity: .92; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.1rem; background: linear-gradient(transparent, rgba(11,70,68,.85)); }
.tile .cap small { display: block; font-family: var(--body); font-weight: 500; font-size: .85rem; opacity: .9; }

/* Guildford band */
.town { background: linear-gradient(135deg, var(--teal-deep) 0%, #0f5654 55%, #3b1550 100%); color: #e3f2f0; position: relative; overflow: hidden; }
.town h2, .town h3 { color: #fff; }
.town .eyebrow { color: #e6d3f0; }
.town .lead { color: #cfe6e3; }
.town-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.town-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; background: #0e5250; }
.town-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.town-card .txt { position: relative; z-index: 1; padding: 26px; background: linear-gradient(transparent, rgba(7,40,39,.88) 45%); width: 100%; }
.town-card .txt p { margin: 0; color: #d5ebe8; font-size: .97rem; }
.town-card .credit { position: absolute; top: 10px; right: 12px; z-index: 1; font-size: .7rem; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 999px; }
.town-card .credit a { color: inherit; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 50%), linear-gradient(135deg, #178a86, #5e1677); color: rgba(255,255,255,.85); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; text-align: center; padding-bottom: 90px; }
.ph svg { width: 120px; height: 120px; display: block; margin: 0 auto; opacity: .35; stroke-width: 1.2; }

/* CTA band */
.cta { background: var(--purple); color: #f3e9f8; border-radius: 26px; padding: 44px 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; color: #e6d3f0; }
.cta .btn-row { position: relative; z-index: 1; }

/* ---------- rooms ---------- */
.plan-wrap { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.plan { position: relative; max-width: 760px; margin: 0 auto; }
.plan img { width: 100%; }
.hot { position: absolute; transform: translate(-50%, -50%); background: var(--teal); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hot:hover, .hot:focus-visible { background: var(--purple); color: #fff; }
.hot-static, .hot-static:hover { background: #fff; color: var(--teal-dark); border: 1.5px solid var(--teal); box-shadow: none; }
.hot .short { display: none; }
.plan-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 14px 0 0; }

.room { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; scroll-margin-top: 110px; }
.room + .room { margin-top: 26px; }
.room:nth-of-type(even) { grid-template-columns: 1.1fr 1fr; }
.room:nth-of-type(even) .room-photo { order: 2; }
.room-photo { display: block; position: relative; min-height: 280px; background: var(--mint); }
.room-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 32px 34px; }
.room-body h3 { font-size: 1.5rem; margin-bottom: .2em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.tags li { font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--mint); color: var(--teal-dark); }
.tags li.p { background: var(--purple-soft); color: var(--purple); }
.room-body .furn { font-size: .95rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 14px; }
.room-body .furn strong { color: var(--ink); }
.room-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-weight: 600; font-size: .95rem; }

.card.shared { padding: 0; overflow: hidden; scroll-margin-top: 110px; }
.card.shared img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card.shared a { display: block; overflow: hidden; }
.shared-body { padding: 22px 24px; }
.shared-body h3 { margin-bottom: .3em; }
.shared-body p { margin: 0; }

/* ---------- gallery ---------- */
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.masonry a { display: block; border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--mint); }
.masonry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.masonry a:hover img { transform: scale(1.03); }
.masonry span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.93); color: var(--teal-deep); font-weight: 600; font-size: .82rem; padding: 4px 11px; border-radius: 999px; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(6,32,31,.92); }
.lb-inner { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 70px 20px; }
.lb-inner img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: 10px; object-fit: contain; }
.lb-cap { color: #fff; font-weight: 600; padding-top: 14px; }
.lb-btn { position: fixed; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- info cards / lists ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { display: flex; align-items: center; gap: 12px; }
.card h3 .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }
.card h3 .ico svg { width: 21px; height: 21px; }
.card.purple h3 .ico { background: var(--purple-soft); color: var(--purple); }
.card p:last-child { margin-bottom: 0; }
.card.feature-card { background: var(--teal-deep); color: #d6ecea; border: 0; }
.card.feature-card h3 { color: #fff; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 18px 66px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--head); font-weight: 800; display: grid; place-items: center; }
.steps li strong { color: var(--teal-deep); }

.alert { border-radius: 20px; padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.alert svg { width: 30px; height: 30px; flex: none; margin-top: 2px; }
.alert h3 { margin-bottom: .25em; }
.alert p { margin: 0; }
.alert.fire { background: #fff1ee; border: 1px solid #f6cfc6; color: #5a1f12; }
.alert.fire h3 { color: #9b2c13; }
.alert.fire svg { color: #c2410c; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 0; }
.num { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 20px 22px; }
.num small { display: block; color: var(--muted); font-weight: 500; font-size: .88rem; }
.num a { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--teal-deep); text-decoration: none; }
.num a:hover { color: var(--purple); }
.num.hot-line { background: var(--purple); border-color: var(--purple); }
.num.hot-line small { color: #e6d3f0; }
.num.hot-line a { color: #fff; }

.doc { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mint-2); color: var(--ink); }
.doc .ico { width: 52px; height: 60px; border-radius: 10px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; position: relative; }
.doc:nth-child(even) .ico { background: var(--purple-soft); color: var(--purple); }
.doc .ico svg { width: 26px; height: 26px; }
.doc h3 { font-size: 1.12rem; margin-bottom: .2em; }
.doc p { margin: 0 0 .5em; color: var(--muted); font-size: .95rem; }
.doc .meta { font-size: .82rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }

.map { border: 0; width: 100%; height: 440px; border-radius: 22px; box-shadow: var(--shadow); background: var(--mint); display: block; }
.address { font-style: normal; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-deep); color: #c6e2df; padding: 64px 0 26px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #e6d3f0; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { color: #fff; font-size: 1rem; margin-bottom: .8em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .45em; }
.foot-logo { width: 170px; margin-bottom: 14px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #9fc9c5; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 7px 9px; font-size: .9rem; }
  .brand img { width: 160px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(11,70,68,.12); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 18px; gap: 2px; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; border-radius: 12px; }
  .hero .wrap, .split, .town-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .stick { position: static; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .room, .room:nth-of-type(even) { grid-template-columns: 1fr; }
  .room:nth-of-type(even) .room-photo { order: 0; }
  .room-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 30px; }
  .numbers { grid-template-columns: 1fr; }
  .hero-photo { margin: 0 18px 0 10px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand img { width: 138px; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 90px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .room-body { padding: 24px 22px; }
  .hero-photo .badge { left: -6px; bottom: -22px; }
  .lb-inner { padding: 64px 10px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .plan-wrap { padding: 12px; }
  .hot { font-size: .62rem; padding: 2px 6px; }
  .hot .full { display: none; }
  .hot .short { display: inline; }
  .ridge { height: 64px; }
  .page-head { padding-bottom: 80px; }
  .map { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- staff area ---------- */
body.staff { background: #f4f7f6; }
.staff .site-header { position: static; }
.staff .brand img { width: 150px; }
.staff-title { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.staff-title strong { font-family: var(--head); font-size: 1.15rem; color: var(--purple); }
.staff-title a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }
.staff-title svg { width: 16px; height: 16px; }
.staff-tabs { background: var(--teal-deep); }
.staff-tabs .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.staff-tabs ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.staff-tabs a { display: block; padding: 8px 16px; border-radius: 999px; color: #d6ecea; text-decoration: none; font-weight: 600; font-size: .95rem; }
.staff-tabs a:hover { background: rgba(255,255,255,.1); color: #fff; }
.staff-tabs a[aria-current="page"] { background: #fff; color: var(--teal-deep); }
.staff-tabs .sbtn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.staff-tabs .sbtn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.staff-main { padding: 34px 0 70px; }
.staff-head { margin-bottom: 24px; max-width: 820px; }
.staff-head h1 { font-size: 2rem; margin-bottom: .2em; }
.staff-grid { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 22px; }
.scard h1, .scard h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.scard h1 svg, .scard h2 svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.scard.narrow { max-width: 460px; margin: 30px auto; }
.scard.narrow.left { margin: 0; }
.sform { display: grid; gap: 14px; margin-top: 10px; }
.sform label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.sform input[type=text], .sform input[type=password], .sform input[type=url], .sform textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c9d6d4; border-radius: 10px; background: #fff; width: 100%; }
.sform input[type=file] { font: inherit; font-size: .9rem; font-weight: 400; max-width: 100%; }
.sform input:focus, .sform textarea:focus { outline: 3px solid rgba(23,138,134,.25); border-color: var(--teal); }
.sform.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.sform .hint, .hint { font-size: .85rem; color: var(--muted); margin: 0; font-weight: 400; }
.sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: 600 .95rem var(--body); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer; text-decoration: none; line-height: 1.2; }
.sbtn:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.sbtn.ghost { background: transparent; color: var(--teal-dark); }
.sbtn.ghost:hover { background: var(--mint); color: var(--teal-deep); border-color: var(--teal); }
.sbtn.danger { background: transparent; color: #b42318; border-color: #f0c4bf; }
.sbtn.danger:hover { background: #fff1ee; color: #8f1d12; border-color: #e19a91; }
.sbtn.small { padding: 6px 12px; font-size: .86rem; }
.sbtn.icon { padding: 6px 9px; }
.sbtn svg { width: 16px; height: 16px; }
.sbtn[disabled] { opacity: .35; cursor: default; }
.sbtn[disabled]:hover { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.sflash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; background: var(--mint); color: var(--teal-deep); border: 1px solid var(--mint-2); }
.sflash svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.sflash.error { background: #fff1ee; border-color: #f6cfc6; color: #7a1d10; }
.sflash.info { background: var(--purple-soft); border-color: #e3d1ec; color: var(--purple); }
.sdoc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; scroll-margin-top: 20px; }
.sdoc:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,138,134,.18); }
.sdoc-top { display: flex; gap: 14px; align-items: flex-start; }
.sdoc .ico { width: 42px; height: 48px; border-radius: 10px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }
.sdoc .ico svg { width: 22px; height: 22px; }
.sdoc-text { flex: 1; min-width: 0; }
.sdoc-text h2 { font-size: 1.1rem; margin: 0 0 .2em; }
.sdoc-text p { margin: 0 0 .25em; font-size: .93rem; color: var(--muted); }
.staff .meta { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.staff .meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }
.bad { color: #b42318; }
.sdoc-act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.sdoc-act form { margin: 0; }
.sdoc details, .sphoto details { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.sdoc summary, .sphoto summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 6px; }
.sdoc summary svg { width: 16px; height: 16px; }
.strash { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.strash form { margin: 0; }
.sgroup { font-size: 1.3rem; margin: 30px 0 14px; }
.sphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sphoto { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; scroll-margin-top: 20px; }
.sphoto:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,138,134,.18); }
.sphoto-img { aspect-ratio: 4 / 3; background: var(--mint); display: grid; place-items: center; }
.sphoto-img img { width: 100%; height: 100%; object-fit: cover; }
.sphoto-body { padding: 14px 16px 16px; }
.sphoto-body h3 { font-size: 1.05rem; margin: 0 0 .15em; }
.sphoto-more { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sphoto-more form { margin: 0; }
code { background: var(--mint); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
@media (max-width: 900px) {
  .staff-tabs a { padding: 7px 12px; font-size: .9rem; }
  .staff-grid { grid-template-columns: 1fr; }
  .staff-grid aside { order: -1; }
  .sdoc-top { flex-wrap: wrap; }
  .sdoc-act { width: 100%; justify-content: flex-start; }
  .staff-title { flex-direction: column; align-items: flex-end; gap: 2px; }
}
