/* Makemake / bright, precise, human-scale software */
:root {
  color-scheme: light;
  --paper: #f4f8fc;
  --surface: #ffffff;
  --surface-blue: #eaf4fc;
  --ink: #10283f;
  --ink-strong: #0a2035;
  --muted: #5a7084;
  --muted-light: #8a9bad;
  --line: #dce6ef;
  --blue: #246fce;
  --blue-dark: #1555a6;
  --cyan: #55b9dd;
  --green: #57ad7c;
  --violet: #8376d5;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --container: 1200px;
  --gutter: clamp(22px, 5.2vw, 76px);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; font-size: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #cce7fb; color: var(--ink-strong); }
a { color: inherit; }
button { color: inherit; font: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink-strong); font-weight: 570; letter-spacing: -.045em; line-height: 1.08; }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.mono, .section-kicker, .eyebrow, .hero__proof, .hero__bottom, .visual-chrome, .visual-overline,
.visual-status, .hero__visual-index, .project-card__category, .project-card__number, .project-card__tags,
.principle__number, .principle__label, .member-card__codename, .member-card__label,
.member-card__skills, .member-card__email, .rail-hint, .now-row__date, .now-row__tag,
.contact-band__label, .site-footer__bottom, .back-top, .breadcrumbs, .detail-hero__phase,
.detail-tags, .story-block__number, .story-block__label, .detail-person__email, .button--disabled {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .095em;
  text-transform: uppercase;
}
:focus-visible { outline: 3px solid #63aeea; outline-offset: 4px; border-radius: 4px; }

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Navigation */
.site-head-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(248 251 254 / 88%);
  border-bottom: 1px solid rgb(220 230 239 / 78%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-head {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink-strong);
  font-size: 1.06rem;
  font-weight: 640;
  letter-spacing: -.055em;
}
.site-mark__glyph {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -.08em;
  line-height: 1;
  box-shadow: 0 4px 12px rgb(36 111 206 / 18%);
}
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 38px); }
.site-nav a {
  display: inline-block;
  color: #526980;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 520;
  transform-origin: center;
  transition: color .2s ease, transform .22s var(--ease);
}
.site-nav a:hover { color: var(--blue-dark); transform: scale(1.06); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.theme-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 75%);
  color: var(--ink);
  font-size: .73rem;
  font-weight: 520;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.theme-toggle:hover { background: #e9f4ff; border-color: #b7d5ee; color: var(--blue-dark); transform: translateY(-1px); }
.theme-toggle__icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
.lang-toggle {
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 75%);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lang-toggle:hover { background: #e9f4ff; border-color: #b7d5ee; color: var(--blue-dark); }
.skip-link { position: absolute; top: -100px; left: var(--gutter); z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.noscript { padding: 14px var(--gutter); background: #fff; color: var(--ink); text-align: center; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(790px, calc(100svh - 76px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(76px, 10vh, 118px) 0 26px;
  background:
    radial-gradient(ellipse at 74% 38%, rgb(209 232 250 / 54%), transparent 34%),
    linear-gradient(180deg, #f8fbfe 0%, #f4f8fc 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: linear-gradient(to right, rgb(46 111 167 / 5%) 1px, transparent 1px), linear-gradient(to bottom, rgb(46 111 167 / 5%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); align-items: center; gap: clamp(30px, 5vw, 72px); }
.hero__copy { position: relative; z-index: 2; padding-bottom: 26px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 27px; color: #5f7890; font-size: .66rem; font-weight: 500; }
.eyebrow__dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(87 173 124 / 13%); }
.hero h1 { max-width: 760px; font-size: clamp(3.3rem, 6.9vw, 6.25rem); line-height: 1.05; letter-spacing: -.075em; }
.hero__title-accent { color: var(--blue); }
.hero__lead { max-width: 510px; margin-top: 26px; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.16rem); line-height: 1.9; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgb(36 111 206 / 18%); }
.button--primary:hover { background: var(--blue-dark); box-shadow: 0 12px 26px rgb(36 111 206 / 23%); }
.button--primary span:last-child { font-size: 1rem; }
.button--disabled { min-height: 46px; display: inline-flex; align-items: center; padding: 0 17px; border-radius: 999px; background: #f1f5f8; border: 1px solid var(--line); color: #6f8293; font-size: .64rem; letter-spacing: .05em; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); text-decoration: none; font-size: .88rem; font-weight: 600; }
.text-link span:last-child { transition: transform .2s var(--ease); }
.text-link:hover span:last-child { transform: translateX(4px); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 9px 21px; margin: 38px 0 0; padding: 0; color: #647d93; list-style: none; font-size: .61rem; letter-spacing: .055em; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #86a5bd; }
.hero__visual { position: relative; min-height: 475px; display: grid; place-items: center; isolation: isolate; }
.hero__visual-grid { position: absolute; inset: 8% 2%; border: 1px solid rgb(139 175 204 / 25%); border-radius: 50%; transform: rotate(-19deg); }
.hero__visual-grid::before, .hero__visual-grid::after { content: ''; position: absolute; background: rgb(139 175 204 / 23%); }
.hero__visual-grid::before { width: 1px; height: 135%; left: 50%; top: -18%; transform: rotate(19deg); }
.hero__visual-grid::after { height: 1px; width: 135%; top: 50%; left: -18%; transform: rotate(-19deg); }
.orbit { position: absolute; border: 1px solid rgb(74 139 188 / 25%); border-radius: 50%; pointer-events: none; }
.orbit--one { width: 390px; height: 390px; transform: rotate(26deg) scaleX(.72); }
.orbit--two { width: 460px; height: 460px; transform: rotate(-35deg) scaleX(.34); border-color: rgb(74 139 188 / 16%); }
.hero-card { position: absolute; width: min(78%, 360px); min-height: 324px; padding: 24px 26px; border: 1px solid rgb(255 255 255 / 88%); border-radius: 23px; box-shadow: 0 32px 85px rgb(40 82 119 / 17%), 0 2px 9px rgb(30 75 113 / 7%); }
.hero-card--back { z-index: 0; width: min(66%, 302px); height: 292px; min-height: 0; background: linear-gradient(145deg, #d4e9f8, #eff7fc); transform: translate(59px, 19px) rotate(9deg); }
.hero-card__tiny { display: block; color: #5580a3; font-family: var(--mono); font-size: .68rem; }
.hero-card__line { display: block; height: 5px; margin-top: 20px; border-radius: 4px; background: rgb(83 143 189 / 22%); }
.hero-card__line--short { width: 55%; margin-top: 9px; }
.hero-card--front { z-index: 1; overflow: hidden; background: linear-gradient(153deg, rgb(255 255 255 / 95%), rgb(242 249 254 / 94%)); transform: translate(-15px, -4px) rotate(-5deg); }
.hero-card--front::after { content: ''; position: absolute; width: 175px; height: 175px; right: -75px; top: 91px; border: 1px solid rgb(42 121 190 / 14%); border-radius: 50%; box-shadow: 0 0 0 19px rgb(42 121 190 / 5%), 0 0 0 43px rgb(42 121 190 / 4%); }
.hero-card__top, .hero-card__footer { display: flex; align-items: center; justify-content: space-between; color: #788da0; font-family: var(--mono); font-size: .59rem; letter-spacing: .08em; }
.window-dots { display: inline-flex; gap: 4px; }
.window-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #b9cbd8; }
.window-dots i:first-child { background: #7eb6da; }
.hero-card__logo { margin-top: 37px; color: var(--blue); font-size: 4rem; font-weight: 680; line-height: .9; letter-spacing: -.12em; }
.hero-card__logo span { color: var(--green); }
.hero-card__title { white-space: pre-line; margin-top: 16px; color: #193a56; font-size: 1.54rem; font-weight: 560; line-height: 1.17; letter-spacing: -.06em; }
.hero-card__footer { position: absolute; right: 25px; bottom: 23px; left: 25px; }
.hero-card__signal { color: #428966; }
.hero-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid rgb(220 230 239 / 90%); border-radius: 11px; background: rgb(255 255 255 / 91%); color: #607991; box-shadow: 0 9px 26px rgb(49 92 126 / 10%); font-family: var(--mono); font-size: .57rem; letter-spacing: .065em; }
.hero-float--top { top: 60px; right: 3%; }
.hero-float__icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: #e2f0fc; color: var(--blue); font-size: .9rem; }
.hero-float--bottom { bottom: 55px; left: 1%; }
.hero-float__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(87 173 124 / 12%); }
.hero__visual-index { position: absolute; right: 0; bottom: 2px; color: #8a9eaf; font-size: .57rem; }
.hero__bottom { position: relative; z-index: 1; width: min(var(--container), calc(100% - var(--gutter) * 2)); display: flex; align-items: center; justify-content: space-between; margin: auto auto 0; padding-top: 42px; color: #8498aa; border-top: 1px solid rgb(192 210 225 / 55%); font-size: .59rem; letter-spacing: .12em; }
.hero__bottom a { color: #52748f; text-decoration: none; }
.hero__bottom a span { margin-left: 10px; color: var(--blue); }

/* Shared section rhythm */
.section { padding: clamp(88px, 11vw, 150px) 0; }
.section-kicker { display: flex; align-items: center; gap: 12px; color: #70879a; font-size: .63rem; font-weight: 500; letter-spacing: .105em; }
.section-kicker > span:first-child { color: var(--blue); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.section-intro h2, .studio-head h2, .team-head h2, .now-layout h2 { margin-top: 25px; font-size: clamp(2.7rem, 5.1vw, 4.7rem); line-height: 1.1; }
.section-intro h2 em { color: #7291aa; font-style: normal; }
.section-intro__aside { max-width: 300px; padding-bottom: 6px; color: var(--muted); font-size: .93rem; line-height: 1.9; white-space: pre-line; }
.section-tail { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); color: #8a9eaf; font-family: var(--mono); font-size: .58rem; letter-spacing: .11em; }
.section-tail span:last-child { display: inline-flex; align-items: center; gap: 9px; }
.section-tail i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Project cards and handcrafted interface sketches */
.section--projects { background: var(--surface); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e2eaf1;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 5px 20px rgb(24 67 102 / 3%);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s ease;
}
.project-card:hover { transform: translateY(-4px) scale(1.025); border-color: #c5dced; box-shadow: 0 20px 42px rgb(24 67 102 / 10%); }
.project-visual { position: relative; min-height: 250px; overflow: hidden; padding: 17px; background: linear-gradient(145deg, #edf6fd, #f5f9fc 65%, #e7f2fa); }
.project-card:nth-child(2) .project-visual { background: linear-gradient(145deg, #ecf7f5, #f5faf9 62%, #e5f2f1); }
.project-card:nth-child(3) .project-visual { background: linear-gradient(145deg, #f0effb, #faf9fd 62%, #e9e8f8); }
.project-visual::before { content: ''; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(#a9c8df 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(130deg, #000, transparent 74%); }
.visual-chrome { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 23px; color: #8297a8; font-size: .52rem; letter-spacing: .085em; }
.visual-chrome__label { margin-left: auto; }
.project-visual--large { min-height: 475px; border-radius: 23px; padding: 23px 25px; box-shadow: 0 25px 65px rgb(28 68 105 / 12%); }
.project-visual--large .visual-chrome { height: 28px; }
.visual-overline { color: #778fa3; font-size: .55rem; letter-spacing: .1em; }
.visual-status { display: flex; justify-content: space-between; gap: 14px; padding-top: 13px; border-top: 1px solid rgb(151 180 201 / 33%); color: #8197a8; font-size: .5rem; letter-spacing: .075em; }
.visual-status__signal { color: #458966; }
.workflow-visual, .local-visual, .atlas-visual { position: relative; z-index: 1; height: calc(100% - 23px); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 8px 5px 0; }
.workflow-flow { display: grid; grid-template-columns: 1fr 15px 1fr 15px 1fr; align-items: center; gap: 5px; }
.workflow-step { min-width: 0; min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 11px 9px; border: 1px solid rgb(88 142 181 / 22%); border-radius: 10px; background: rgb(255 255 255 / 79%); box-shadow: 0 5px 16px rgb(50 101 141 / 5%); }
.workflow-step__no { color: var(--blue); font-family: var(--mono); font-size: .55rem; }
.workflow-step strong { color: #2b4961; font-family: var(--mono); font-size: .58rem; font-weight: 500; letter-spacing: .05em; }
.workflow-step small { color: #8396a6; font-size: .54rem; line-height: 1.4; }
.workflow-arrow { color: #84a7c2; text-align: center; font-size: .8rem; }
.local-visual { gap: 9px; }
.local-row { position: relative; display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 7px 10px; border: 1px solid rgb(97 161 157 / 18%); border-radius: 9px; background: rgb(255 255 255 / 82%); }
.local-row__icon { width: 31px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: #e7f4f1; color: #388f80; font-family: var(--mono); font-size: .45rem; }
.local-row__info { min-width: 0; display: flex; flex-direction: column; }
.local-row__info strong { overflow: hidden; color: #354f62; font-size: .64rem; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.local-row__info small { color: #91a39f; font-family: var(--mono); font-size: .45rem; }
.local-row__state { color: #578b78; font-family: var(--mono); font-size: .49rem; }
.local-row__progress { position: absolute; bottom: 0; left: 10px; width: 72%; height: 2px; background: #74bfa7; }
.local-row:nth-of-type(4) .local-row__progress { width: 51%; }
.atlas-visual { gap: 6px; }
.atlas-map { width: 100%; height: 155px; overflow: visible; }
.atlas-edge { fill: none; stroke: #a4b4d3; stroke-width: 1.2; stroke-dasharray: 3 5; }
.atlas-node circle { fill: #fff; stroke-width: 2; }
.atlas-node text { fill: #718498; font-family: var(--mono); font-size: 10px; letter-spacing: .03em; }
.atlas-node--blue circle { stroke: #5489d9; }
.atlas-node--cyan circle { stroke: #54b4c6; }
.atlas-node--green circle { stroke: #70b394; }
.atlas-node--violet circle { stroke: #8b7dd0; }
.project-card__copy { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 19px; }
.project-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #7990a3; }
.project-card__category { font-size: .56rem; letter-spacing: .06em; }
.project-card__number { color: #9aabba; font-size: .55rem; }
.project-card__title { margin-top: 14px; font-size: 1.65rem; letter-spacing: -.06em; }
.project-card__summary { min-height: 52px; margin-top: 9px; color: var(--muted); font-size: .87rem; line-height: 1.75; }
.project-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; }
.project-card__tags { color: #8a9cad; font-size: .51rem; letter-spacing: .035em; }
.project-card__arrow { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: .93rem; transition: color .2s ease, background .2s ease, transform .2s ease; }
.project-card:hover .project-card__arrow { background: var(--blue); color: white; border-color: var(--blue); transform: translate(2px, -2px); }

/* Studio principles */
.section--studio { background: #f1f6fa; }
.studio-head { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr); gap: 55px; }
.studio-head h2 { margin-top: 0; }
.studio-head h2 > span:first-child { color: #7893a8; }
.studio-head__accent { color: var(--blue); }
.studio-head__body > p { max-width: 620px; margin-top: 25px; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 76px; }
.principle { min-height: 188px; padding: 21px 22px 23px; border: 1px solid #dce7ef; border-radius: 14px; background: rgb(255 255 255 / 70%); transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease; }
.principle:hover { transform: translateY(-3px) scale(1.02); background: #fff; box-shadow: 0 15px 33px rgb(25 65 96 / 7%); }
.principle__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.principle__number { color: var(--blue); font-size: .58rem; }
.principle__label { color: #8498a9; font-size: .54rem; }
.principle__title { margin-top: 21px; font-size: 1.12rem; letter-spacing: -.035em; }
.principle__body { margin-top: 7px; color: var(--muted); font-size: .82rem; }

/* Team rail */
.section--team { overflow: hidden; background: #fff; }
.team-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.team-head h2 span { color: var(--blue); }
.team-head__right { display: flex; align-items: end; gap: 35px; }
.team-head__right p { max-width: 260px; color: var(--muted); font-size: .89rem; line-height: 1.8; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; color: #416581; font-size: 1.05rem; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.rail-controls button:hover { border-color: var(--blue); background: var(--blue); color: white; }
.team-rail { display: grid; grid-auto-columns: minmax(300px, 1fr); grid-auto-flow: column; gap: 16px; overflow-x: auto; margin-top: -8px; padding: 10px 2px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #bbd1e1 transparent; }
.team-rail::-webkit-scrollbar { height: 5px; }
.team-rail::-webkit-scrollbar-thumb { border-radius: 10px; background: #bfd2e1; }
.member-card { position: relative; min-width: 0; min-height: 346px; display: flex; flex-direction: column; padding: 22px; border: 1px solid #e0e9f0; border-radius: 16px; background: linear-gradient(160deg, #fff, #f9fbfd); scroll-snap-align: start; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease; }
.member-card:hover, .member-card:focus-within { z-index: 2; transform: translateY(-3px) scale(1.025); border-color: #c5dced; box-shadow: 0 16px 34px rgb(24 67 102 / 9%); }
.member-card__avatar { width: 82px; height: 82px; margin-bottom: 19px; }
.member-card__avatar svg { display: block; width: 100%; height: 100%; border-radius: 17px; }
.member-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-card__codename { color: var(--blue); font-size: .56rem; }
.member-card__role { color: #8497a7; font-size: .61rem; letter-spacing: .035em; text-align: right; }
.member-card__name { margin-top: 6px; font-size: 1.36rem; }
.member-card__focus { margin-top: 9px; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.member-card__background { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.member-card__label { color: #8295a5; font-size: .53rem; }
.member-card__background p { margin-top: 6px; color: #657a8e; font-size: .77rem; line-height: 1.7; }
.member-card__skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 15px; padding: 0; list-style: none; }
.member-card__skills li { padding: 4px 8px; border: 1px solid #dfe8ef; border-radius: 999px; color: #668096; font-size: .5rem; letter-spacing: .035em; }
.member-card__email { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--blue-dark); text-decoration: none; font-size: .54rem; letter-spacing: .025em; text-transform: none; }
.member-card__email-arrow { font-family: var(--sans); font-size: .9rem; }
.rail-hint { display: flex; justify-content: space-between; color: #8c9eae; font-size: .53rem; letter-spacing: .1em; }

/* Now / studio activity */
.section--now { background: #f3f8fc; }
.now-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.now-layout h2 span { color: var(--blue); }
.now-list { border-top: 1px solid var(--line); }
.now-row { display: grid; grid-template-columns: 83px 90px minmax(0, 1fr) 20px; align-items: baseline; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.now-row__date { color: #8397a8; font-size: .57rem; }
.now-row__tag { color: var(--blue); font-size: .55rem; }
.now-row__text { color: #526b80; font-size: .87rem; line-height: 1.65; }
.now-row__arrow { color: #8aa0b2; }

/* Contact */
.contact-band { position: relative; overflow: hidden; background: #e5f1fa; }
.contact-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgb(220 238 250 / 92%), rgb(242 248 252 / 88%)); }
.contact-band::after { content: ''; position: absolute; width: 520px; height: 520px; right: 4%; top: -265px; border: 1px solid rgb(87 142 184 / 19%); border-radius: 50%; box-shadow: 0 0 0 34px rgb(87 142 184 / 5%), 0 0 0 82px rgb(87 142 184 / 4%); }
.contact-band__inner { position: relative; z-index: 1; min-height: 430px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.section-kicker--light { color: #5f7f99; }
.contact-band h2 { margin-top: 22px; font-size: clamp(3.1rem, 6vw, 5.4rem); }
.contact-band h2 span:last-child { color: var(--blue); }
.contact-band__intro { max-width: 450px; margin-top: 18px; color: #617b91; font-size: .96rem; }
.contact-band__action { position: relative; z-index: 2; padding: 26px 0 20px 32px; border-left: 1px solid #b8d2e5; }
.contact-band__label { color: #718ca2; font-size: .6rem; }
.contact-band__email { display: inline-flex; align-items: center; gap: 12px; margin-top: 13px; color: var(--blue-dark); font-size: clamp(1.4rem, 2.7vw, 2.35rem); font-weight: 560; letter-spacing: -.055em; text-decoration: none; }
.contact-band__email span { font-size: .95rem; transition: transform .2s ease; }
.contact-band__email:hover span { transform: translate(3px, -3px); }
.contact-band__action p { margin-top: 11px; color: #7a91a4; font-size: .76rem; }
.contact-band__watermark { position: absolute; right: 1%; bottom: -130px; color: rgb(36 111 206 / 5%); font-size: clamp(18rem, 42vw, 36rem); font-weight: 700; line-height: 1; letter-spacing: -.15em; pointer-events: none; }

/* Footer */
.site-footer { background: #f9fbfd; }
.site-footer__top { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.site-mark--footer { font-size: .98rem; }
.site-mark--footer .site-mark__glyph { width: 25px; height: 25px; border-radius: 8px; font-size: 1.05rem; }
.site-footer__top p { color: #8295a7; font-size: .8rem; }
.back-top { color: #7890a4; text-decoration: none; font-size: .55rem; }
.back-top:hover { color: var(--blue); }
.site-footer__bottom { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #92a2b0; font-size: .51rem; letter-spacing: .09em; }
.site-footer__bottom span:last-child { display: flex; align-items: center; gap: 8px; }
.site-footer__bottom i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.site-footer__legal { padding: 0 0 16px; color: #5d7389; font-family: var(--mono); font-size: .62rem; letter-spacing: .09em; }
.site-footer__legal a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(93, 115, 137, .35); }
.site-footer__legal a:hover { color: var(--blue); border-bottom-color: currentColor; }

/* Project detail pages */
.project-detail { padding-top: 25px; padding-bottom: 110px; }
.breadcrumbs { display: flex; align-items: center; gap: 11px; min-height: 44px; color: #8a9bab; font-size: .56rem; letter-spacing: .04em; }
.breadcrumbs a { color: #688097; text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs__current { color: var(--ink); }
.detail-hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(35px, 6vw, 80px); padding: 64px 0 77px; }
.detail-hero__overline { display: flex; align-items: center; gap: 15px; }
.detail-hero__phase { color: #8899a8; font-size: .55rem; letter-spacing: .05em; }
.detail-hero__title { margin-top: 20px; font-size: clamp(3.4rem, 7vw, 6.4rem); letter-spacing: -.08em; }
.detail-hero__summary { max-width: 470px; margin-top: 18px; color: var(--muted); font-size: 1.03rem; line-height: 1.8; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.detail-tags li { padding: 7px 10px; border: 1px solid #dbe5ed; border-radius: 999px; color: #637c91; font-size: .53rem; letter-spacing: .04em; }
.detail-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; padding: 46px 0 56px; border-top: 1px solid var(--line); }
.detail-intro__text { max-width: 770px; color: #526b80; font-size: clamp(1.2rem, 2.1vw, 1.72rem); line-height: 1.65; letter-spacing: -.025em; }
.detail-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; padding: 17px 0 85px; }
.story-block { min-height: 204px; padding: 20px 20px 22px; border: 1px solid #dfe8ef; border-radius: 13px; background: rgb(255 255 255 / 62%); transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.story-block:hover { transform: translateY(-3px) scale(1.02); border-color: #c5dced; box-shadow: 0 16px 34px rgb(24 67 102 / 8%); }
.story-block__number { color: var(--blue); font-size: .55rem; }
.story-block__label { display: block; margin-top: 25px; color: #8397a8; font-size: .53rem; }
.story-block__text { margin-top: 8px; color: #29465f; font-size: 1.12rem; line-height: 1.45; letter-spacing: -.03em; }
.detail-people { padding: 56px 0 74px; border-top: 1px solid var(--line); }
.detail-section-head { display: flex; align-items: center; gap: 18px; }
.detail-section-head__line { height: 1px; flex: 1; background: var(--line); }
.detail-section-head > a { flex: 0 0 auto; }
.detail-people__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.detail-person { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; column-gap: 15px; row-gap: 3px; padding: 18px; border: 1px solid #e0e9f0; border-radius: 13px; background: #fff; transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.detail-person:hover, .detail-person:focus-within { transform: translateY(-2px) scale(1.02); border-color: #c5dced; box-shadow: 0 14px 28px rgb(24 67 102 / 8%); }
.detail-person__avatar { width: 62px; height: 62px; grid-row: span 3; }
.detail-person__avatar svg { width: 100%; height: 100%; border-radius: 13px; }
.detail-person .member-card__codename { grid-column: 2; align-self: end; }
.detail-person__name { grid-column: 2; align-self: center; font-size: 1rem; }
.detail-person__role { grid-column: 2; align-self: start; color: var(--muted); font-size: .72rem; }
.detail-person__email { grid-column: 3; grid-row: 1 / span 3; color: var(--blue-dark); text-decoration: none; font-size: .53rem; letter-spacing: .02em; text-transform: none; }
.detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-actions__copy h2 { margin-top: 8px; font-size: 1.35rem; }
.detail-actions__buttons { display: flex; align-items: center; gap: 23px; }
.detail-related { padding-top: 74px; }
.detail-related > .detail-section-head { margin-bottom: 20px; }
.project-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid--related .project-visual { min-height: 220px; }
.detail-missing { margin: 100px 0 25px; font-size: 2rem; }

/* small coordinate detail */
.coords { position: fixed; z-index: 25; right: 17px; bottom: 13px; color: #8ba0b2; font-family: var(--mono); font-size: .53rem; letter-spacing: .09em; pointer-events: none; }

/* Motion, reduced motion, and responsive behavior */
[data-animate] { opacity: 0; transform: translateY(13px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-animate].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-animate] { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr); gap: 20px; }
  .hero__visual { min-height: 420px; }
  .hero-card { width: min(85%, 330px); }
  .hero-card--back { width: min(72%, 280px); }
  .project-grid { gap: 14px; }
  .project-visual { min-height: 218px; padding: 13px; }
  .project-card__copy { padding: 18px; }
  .project-card__summary { min-height: 72px; }
  .team-rail { grid-auto-columns: minmax(280px, 1fr); }
  .detail-hero { grid-template-columns: .9fr 1.1fr; gap: 30px; }
  .project-visual--large { min-height: 410px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .site-head { min-height: 68px; gap: 14px; flex-wrap: wrap; padding: 11px 0; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; padding: 3px 0 2px; }
  .site-nav a { font-size: .76rem; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; padding: 68px 0 20px; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__copy { padding-bottom: 0; }
  .hero h1 { max-width: 620px; font-size: clamp(3.1rem, 11vw, 5.4rem); }
  .hero__lead { max-width: 570px; margin-top: 18px; font-size: .98rem; }
  .hero__actions { margin-top: 25px; }
  .hero__proof { margin-top: 25px; }
  .hero__visual { width: min(100%, 540px); min-height: 420px; margin: 0 auto; }
  .hero-card { width: min(72%, 330px); min-height: 300px; }
  .hero-card--back { width: min(61%, 280px); height: 268px; }
  .hero__bottom { padding-top: 18px; font-size: .5rem; }
  .hero__bottom > span:nth-child(2) { display: none; }
  .section { padding: 82px 0; }
  .section-intro { display: block; margin-bottom: 34px; }
  .section-intro__aside { max-width: none; margin-top: 18px; }
  .project-grid { grid-template-columns: 1fr; gap: 15px; }
  .project-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 225px; }
  .project-visual { min-height: 100%; padding: 13px; }
  .workflow-visual, .local-visual, .atlas-visual { gap: 12px; }
  .workflow-flow { grid-template-columns: 1fr; gap: 4px; }
  .workflow-step { min-height: 0; display: grid; grid-template-columns: 25px 1fr; gap: 2px 7px; padding: 7px; }
  .workflow-step__no { grid-row: span 2; }
  .workflow-step small { grid-column: 2; }
  .workflow-arrow { display: none; }
  .workflow-visual .visual-status, .local-visual .visual-status, .atlas-visual .visual-status { font-size: .42rem; }
  .local-row { grid-template-columns: 28px minmax(0, 1fr); min-height: 40px; gap: 6px; padding: 5px; }
  .local-row__icon { width: 26px; height: 27px; font-size: .4rem; }
  .local-row__info strong { font-size: .55rem; }
  .local-row__info small { font-size: .39rem; }
  .local-row__state { display: none; }
  .atlas-map { height: 130px; }
  .project-card__copy { padding: 17px 14px; }
  .project-card__title { margin-top: 9px; font-size: 1.4rem; }
  .project-card__summary { min-height: 0; font-size: .78rem; }
  .project-card__tags { font-size: .44rem; }
  .section-tail { font-size: .48rem; }
  .studio-head { grid-template-columns: 1fr; gap: 28px; }
  .studio-head h2, .team-head h2, .now-layout h2, .section-intro h2 { font-size: clamp(2.7rem, 9vw, 4rem); }
  .studio-head__body > p { margin-top: 18px; }
  .principle-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 38px; }
  .principle { min-height: auto; padding: 17px 18px 18px; }
  .principle__top { padding-bottom: 12px; }
  .principle__title { margin-top: 13px; }
  .team-head { align-items: end; gap: 15px; margin-bottom: 27px; }
  .team-head__right { display: flex; flex-direction: column-reverse; align-items: end; gap: 15px; }
  .team-head__right p { display: none; }
  .team-rail { grid-auto-columns: minmax(270px, 85%); gap: 12px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .member-card { min-height: 340px; padding: 18px; }
  .rail-hint { margin-top: 3px; font-size: .48rem; }
  .now-layout { grid-template-columns: 1fr; gap: 30px; }
  .now-row { grid-template-columns: 68px 69px minmax(0, 1fr) 15px; gap: 8px; padding: 16px 0; }
  .now-row__date, .now-row__tag { font-size: .48rem; }
  .now-row__text { font-size: .78rem; }
  .contact-band__inner { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding-top: 70px; padding-bottom: 70px; }
  .contact-band h2 { font-size: clamp(3.2rem, 11vw, 4.7rem); }
  .contact-band__action { padding: 20px 0 0; border-top: 1px solid #b8d2e5; border-left: 0; }
  .contact-band__email { font-size: clamp(1.32rem, 5.8vw, 2rem); }
  .contact-band__watermark { right: -17%; bottom: -51px; font-size: 23rem; }
  .site-footer__top { min-height: 88px; flex-wrap: wrap; gap: 13px; padding: 17px 0; }
  .site-footer__top p { display: none; }
  .site-footer__bottom { min-height: 64px; flex-wrap: wrap; justify-content: space-between; padding: 13px 0; font-size: .45rem; }
  .site-footer__bottom span:nth-child(2) { display: none; }
  .coords { display: none; }
  .project-detail { padding-top: 14px; padding-bottom: 75px; }
  .detail-hero { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 54px; }
  .detail-hero__title { margin-top: 15px; font-size: clamp(3.3rem, 13vw, 5rem); }
  .detail-hero__summary { margin-top: 13px; font-size: .95rem; }
  .project-visual--large { min-height: 350px; padding: 17px; border-radius: 18px; }
  .project-visual--large .workflow-step { min-height: 58px; }
  .project-visual--large .workflow-flow { grid-template-columns: 1fr 18px 1fr 18px 1fr; }
  .project-visual--large .workflow-step { display: flex; min-height: 85px; padding: 9px; }
  .project-visual--large .workflow-arrow { display: block; }
  .project-visual--large .local-row { grid-template-columns: 35px minmax(0, 1fr) auto; min-height: 48px; padding: 7px 10px; }
  .project-visual--large .local-row__state { display: block; }
  .project-visual--large .atlas-map { height: 190px; }
  .detail-intro { grid-template-columns: 1fr; gap: 19px; padding: 31px 0 39px; }
  .detail-intro__text { font-size: 1.22rem; }
  .detail-story { grid-template-columns: 1fr; gap: 9px; padding-bottom: 56px; }
  .story-block { min-height: 0; padding: 16px; }
  .story-block__label { margin-top: 13px; }
  .story-block__text { font-size: 1rem; }
  .detail-people { padding: 40px 0 52px; }
  .detail-people__grid { grid-template-columns: 1fr; gap: 9px; }
  .detail-person { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 13px; column-gap: 11px; }
  .detail-person__avatar { width: 52px; height: 52px; }
  .detail-person__email { font-size: .47rem; }
  .detail-actions { align-items: start; flex-direction: column; gap: 18px; padding: 24px 0; }
  .detail-actions__buttons { flex-wrap: wrap; gap: 15px; }
  .detail-related { padding-top: 52px; }
  .project-grid--related { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  .site-head { gap: 10px; }
  .site-nav { gap: 7px; }
  .site-nav a { font-size: .69rem; }
  .hero__visual { min-height: 360px; }
  .hero-card { min-height: 270px; padding: 19px; }
  .hero-card__logo { margin-top: 31px; }
  .hero-float { font-size: .46rem; }
  .hero-float--top { top: 33px; right: 0; }
  .hero-float--bottom { bottom: 31px; left: 0; }
  .hero__visual-index { font-size: .47rem; }
  .hero__bottom { gap: 10px; font-size: .43rem; }
  .project-card { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); min-height: 208px; }
  .project-visual { padding: 10px; }
  .visual-chrome { font-size: .42rem; }
  .project-card__copy { padding: 14px 11px; }
  .project-card__category { font-size: .46rem; }
  .project-card__number { font-size: .45rem; }
  .project-card__title { font-size: 1.23rem; }
  .project-card__summary { font-size: .72rem; }
  .workflow-step { padding: 5px; }
  .workflow-step strong { font-size: .47rem; }
  .workflow-step small { font-size: .43rem; }
  .workflow-step__no { font-size: .46rem; }
  .local-row__info strong { font-size: .48rem; }
  .local-row__info small { font-size: .35rem; }
  .atlas-map { height: 104px; }
  .section-tail span:first-child { max-width: 175px; }
  .team-head { align-items: start; }
  .team-head__right { margin-top: 36px; }
  .now-row { grid-template-columns: 58px 55px minmax(0, 1fr) 12px; gap: 6px; }
  .now-row__date, .now-row__tag { font-size: .43rem; }
  .now-row__text { font-size: .73rem; }
  .contact-band__email { font-size: 1.23rem; }
  .site-footer__bottom span:last-child { display: none; }
  .detail-hero__overline { flex-wrap: wrap; }
  .detail-person__email { max-width: 108px; overflow-wrap: anywhere; text-align: right; }
  .project-visual--large { min-height: 300px; }
}

/* Dark theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0a1220;
  --surface: #101d2d;
  --surface-blue: #14243a;
  --ink: #d5e1ed;
  --ink-strong: #f0f5fb;
  --muted: #a3b4c5;
  --muted-light: #8da2b7;
  --line: #26394e;
  --blue: #78b8ff;
  --blue-dark: #9acaff;
  --cyan: #62c7dd;
  --green: #69cb94;
  --violet: #a79bf3;
}
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] ::selection { background: #284c70; color: #f5f9ff; }
html[data-theme="dark"] .site-head-wrap { background: rgb(10 18 32 / 88%); border-bottom-color: rgb(43 62 83 / 80%); }
html[data-theme="dark"] .site-mark { color: var(--ink-strong); }
html[data-theme="dark"] .site-mark__glyph { background: #347fc7; box-shadow: 0 4px 12px rgb(0 0 0 / 28%); }
html[data-theme="dark"] .site-nav a { color: #afc0d1; }
html[data-theme="dark"] .site-nav a:hover { color: var(--blue); }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .lang-toggle { background: #132338; border-color: #2a4058; color: #dce9f5; }
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .lang-toggle:hover { background: #1a3048; border-color: #456887; color: #b6d9ff; }
html[data-theme="dark"] .hero { background: radial-gradient(ellipse at 74% 38%, rgb(32 77 117 / 35%), transparent 35%), linear-gradient(180deg, #0d1929 0%, #0a1220 100%); }
html[data-theme="dark"] .hero::before { opacity: .48; background-image: linear-gradient(to right, rgb(126 174 213 / 7%) 1px, transparent 1px), linear-gradient(to bottom, rgb(126 174 213 / 7%) 1px, transparent 1px); }
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .hero__proof { color: #a0b2c4; }
html[data-theme="dark"] .hero__visual-grid { border-color: rgb(118 166 205 / 22%); }
html[data-theme="dark"] .hero__visual-grid::before,
html[data-theme="dark"] .hero__visual-grid::after { background: rgb(118 166 205 / 20%); }
html[data-theme="dark"] .orbit { border-color: rgb(118 166 205 / 28%); }
html[data-theme="dark"] .orbit--two { border-color: rgb(118 166 205 / 19%); }
html[data-theme="dark"] .hero-card--back { background: linear-gradient(145deg, #1b3550, #14273c); }
html[data-theme="dark"] .hero-card--front { background: linear-gradient(153deg, rgb(25 43 63 / 97%), rgb(17 32 49 / 97%)); border-color: rgb(156 190 218 / 16%); }
html[data-theme="dark"] .hero-card__tiny,
html[data-theme="dark"] .hero-card__top,
html[data-theme="dark"] .hero-card__footer { color: #9db1c4; }
html[data-theme="dark"] .hero-card__line { background: rgb(132 178 214 / 23%); }
html[data-theme="dark"] .hero-card__title { color: #e2edf8; }
html[data-theme="dark"] .hero-float { background: rgb(18 34 52 / 94%); border-color: #304860; color: #b4c4d3; box-shadow: 0 9px 26px rgb(0 0 0 / 20%); }
html[data-theme="dark"] .hero-float__icon { background: #203b57; color: var(--blue); }
html[data-theme="dark"] .hero__visual-index,
html[data-theme="dark"] .hero__bottom { color: #8499ad; }
html[data-theme="dark"] .hero__bottom { border-top-color: #293b50; }
html[data-theme="dark"] .hero__bottom a { color: #b2c5d7; }
html[data-theme="dark"] .section-kicker { color: #91a5b9; }
html[data-theme="dark"] .section-intro h2 em { color: #9cb2c7; }
html[data-theme="dark"] .section--projects,
html[data-theme="dark"] .section--team { background: var(--surface); }
html[data-theme="dark"] .section--studio { background: #0e1a29; }
html[data-theme="dark"] .section--now { background: #0c1725; }
html[data-theme="dark"] .section-tail { border-top-color: var(--line); color: #8ea2b5; }
html[data-theme="dark"] .project-card { background: #111f30; border-color: #263b51; box-shadow: 0 5px 20px rgb(0 0 0 / 12%); }
html[data-theme="dark"] .project-card:hover { border-color: #416587; box-shadow: 0 20px 42px rgb(0 0 0 / 29%); }
html[data-theme="dark"] .project-visual { background: linear-gradient(145deg, #13263a, #162438 65%, #112136); }
html[data-theme="dark"] .project-card:nth-child(2) .project-visual { background: linear-gradient(145deg, #132b2d, #162a30 62%, #142631); }
html[data-theme="dark"] .project-card:nth-child(3) .project-visual { background: linear-gradient(145deg, #211f3a, #1a2033 62%, #18233a); }
html[data-theme="dark"] .project-visual::before { background-image: radial-gradient(#6e91ae 1px, transparent 1px); opacity: .24; }
html[data-theme="dark"] .visual-chrome,
html[data-theme="dark"] .visual-overline,
html[data-theme="dark"] .visual-status { color: #9aafc2; }
html[data-theme="dark"] .visual-status { border-top-color: rgb(147 177 203 / 24%); }
html[data-theme="dark"] .workflow-step { background: rgb(17 34 52 / 88%); border-color: rgb(114 160 195 / 26%); }
html[data-theme="dark"] .workflow-step strong { color: #d6e4f0; }
html[data-theme="dark"] .workflow-step small { color: #9aafc1; }
html[data-theme="dark"] .workflow-arrow { color: #9ab5cb; }
html[data-theme="dark"] .local-row { background: rgb(17 37 49 / 90%); border-color: rgb(110 174 164 / 24%); }
html[data-theme="dark"] .local-row__icon { background: #183c3a; color: #8dd8c2; }
html[data-theme="dark"] .local-row__info strong { color: #d7e8ef; }
html[data-theme="dark"] .local-row__info small { color: #96b2b1; }
html[data-theme="dark"] .local-row__state { color: #91d3b5; }
html[data-theme="dark"] .local-row__progress { background: #58b898; }
html[data-theme="dark"] .atlas-edge { stroke: #7188ad; }
html[data-theme="dark"] .atlas-node circle { fill: #17283b; }
html[data-theme="dark"] .atlas-node text { fill: #b1c0d0; }
html[data-theme="dark"] .project-card__meta,
html[data-theme="dark"] .project-card__number,
html[data-theme="dark"] .project-card__tags { color: #92a7ba; }
html[data-theme="dark"] .project-card__summary { color: #adbdcd; }
html[data-theme="dark"] .project-card__arrow { border-color: #30465d; }
html[data-theme="dark"] .principle { background: rgb(19 34 51 / 88%); border-color: #293d52; }
html[data-theme="dark"] .principle:hover { background: #182b40; box-shadow: 0 15px 33px rgb(0 0 0 / 24%); }
html[data-theme="dark"] .principle__top { border-bottom-color: #2b4055; }
html[data-theme="dark"] .principle__label,
html[data-theme="dark"] .team-head__right p { color: #9aafc2; }
html[data-theme="dark"] .rail-controls button { background: #132338; border-color: #30465d; color: #b9cee0; }
html[data-theme="dark"] .rail-controls button:hover { background: var(--blue); border-color: var(--blue); color: #071526; }
html[data-theme="dark"] .team-rail { scrollbar-color: #425c75 transparent; }
html[data-theme="dark"] .team-rail::-webkit-scrollbar-thumb { background: #425c75; }
html[data-theme="dark"] .member-card { background: linear-gradient(160deg, #17283c, #111f30); border-color: #2a4056; }
html[data-theme="dark"] .member-card:hover,
html[data-theme="dark"] .member-card:focus-within { border-color: #456b8e; box-shadow: 0 16px 34px rgb(0 0 0 / 28%); }
html[data-theme="dark"] .member-card__avatar svg,
html[data-theme="dark"] .detail-person__avatar svg { filter: brightness(.8) saturate(.9); }
html[data-theme="dark"] .member-card__role,
html[data-theme="dark"] .member-card__label,
html[data-theme="dark"] .rail-hint { color: #93a7ba; }
html[data-theme="dark"] .member-card__background p { color: #a8b9c9; }
html[data-theme="dark"] .member-card__skills li { background: #172a3e; border-color: #324a61; color: #acc2d5; }
html[data-theme="dark"] .member-card__email { color: #9acaff; }
html[data-theme="dark"] .now-row { border-bottom-color: #26394e; }
html[data-theme="dark"] .now-row__date,
html[data-theme="dark"] .now-row__arrow { color: #91a5b8; }
html[data-theme="dark"] .now-row__text { color: #b5c4d2; }
html[data-theme="dark"] .contact-band { background: #112238; }
html[data-theme="dark"] .contact-band::before { background: linear-gradient(105deg, rgb(17 35 56 / 96%), rgb(19 31 48 / 94%)); }
html[data-theme="dark"] .contact-band::after { border-color: rgb(119 168 207 / 20%); box-shadow: 0 0 0 34px rgb(119 168 207 / 5%), 0 0 0 82px rgb(119 168 207 / 4%); }
html[data-theme="dark"] .section-kicker--light,
html[data-theme="dark"] .contact-band__label { color: #a0b4c7; }
html[data-theme="dark"] .contact-band__intro,
html[data-theme="dark"] .contact-band__action p { color: #afc0cf; }
html[data-theme="dark"] .contact-band__action { border-left-color: #3a536b; }
html[data-theme="dark"] .contact-band__email { color: #a5d0ff; }
html[data-theme="dark"] .contact-band__watermark { color: rgb(120 184 255 / 5%); }
html[data-theme="dark"] .site-footer { background: #0d1826; }
html[data-theme="dark"] .site-footer__top { border-bottom-color: #25394d; }
html[data-theme="dark"] .site-footer__top p,
html[data-theme="dark"] .back-top,
html[data-theme="dark"] .site-footer__bottom,
html[data-theme="dark"] .site-footer__legal { color: #8da1b4; }
html[data-theme="dark"] .breadcrumbs { color: #8ca1b5; }
html[data-theme="dark"] .breadcrumbs a { color: #a9bdcf; }
html[data-theme="dark"] .breadcrumbs__current { color: #d3e1ee; }
html[data-theme="dark"] .detail-hero__phase,
html[data-theme="dark"] .detail-tags li { color: #a7b9ca; }
html[data-theme="dark"] .detail-tags li { border-color: #31465b; background: #122338; }
html[data-theme="dark"] .detail-intro { border-top-color: var(--line); }
html[data-theme="dark"] .detail-intro__text { color: #bdcbd8; }
html[data-theme="dark"] .story-block { background: rgb(19 34 51 / 82%); border-color: #2a4056; }
html[data-theme="dark"] .story-block__label { color: #9aafc2; }
html[data-theme="dark"] .story-block__text { color: #d5e2ee; }
html[data-theme="dark"] .detail-people { border-top-color: var(--line); }
html[data-theme="dark"] .detail-section-head__line { background: #2c4055; }
html[data-theme="dark"] .detail-person { background: #142438; border-color: #2b4056; }
html[data-theme="dark"] .detail-person:hover,
html[data-theme="dark"] .detail-person:focus-within { border-color: #456b8e; box-shadow: 0 14px 28px rgb(0 0 0 / 24%); }
html[data-theme="dark"] .detail-person__role { color: #a3b5c6; }
html[data-theme="dark"] .detail-person__email { color: #9acaff; }
html[data-theme="dark"] .detail-actions { border-color: var(--line); }
html[data-theme="dark"] .button--disabled { background: #17283a; border-color: #30465b; color: #a1b3c5; }
html[data-theme="dark"] .button--primary { background: #347fc7; color: #fff; box-shadow: 0 8px 20px rgb(12 63 111 / 32%); }
html[data-theme="dark"] .button--primary:hover { background: #2869a8; box-shadow: 0 12px 26px rgb(12 63 111 / 42%); }
html[data-theme="dark"] .coords { color: #8297aa; }
html[data-theme="dark"] :focus-visible { outline-color: #8fc8ff; }

@media (hover: none) {
  .site-nav a:hover { transform: none; }
  .project-card:hover,
  .principle:hover,
  .member-card:hover,
  .story-block:hover,
  .detail-person:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a:hover { transform: none; }
  .project-card:hover,
  .principle:hover,
  .member-card:hover,
  .member-card:focus-within,
  .story-block:hover,
  .detail-person:hover,
  .detail-person:focus-within { transform: none; }
}

/* Keep hover scaling above the scroll-reveal transform. */
@media (hover: hover) and (pointer: fine) {
  .project-card[data-animate].is-visible:hover,
  .project-card[data-animate].is-visible:focus-visible { transform: translateY(-4px) scale(1.025); }
  .principle[data-animate].is-visible:hover { transform: translateY(-3px) scale(1.02); }
  .member-card[data-animate].is-visible:hover,
  .member-card[data-animate].is-visible:focus-within { transform: translateY(-3px) scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .project-card[data-animate].is-visible:hover,
  .project-card[data-animate].is-visible:focus-visible,
  .principle[data-animate].is-visible:hover,
  .member-card[data-animate].is-visible:hover,
  .member-card[data-animate].is-visible:focus-within { transform: none; }
}

/* Final visual system: readable technical labels, clear touch targets, and quiet motion. */
:root {
  --text-label: #526b80;
  --focus-ring: #63aeea;
  --motion-ui: 240ms;
  --radius-panel: 16px;
}
html[data-theme="dark"] {
  --text-label: #a5b7c8;
  --focus-ring: #8fc8ff;
}
:focus-visible { outline-color: var(--focus-ring); }

.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.theme-toggle, .lang-toggle { min-height: 44px; touch-action: manipulation; }
.lang-toggle { min-width: 44px; }
.rail-controls button { width: 44px; height: 44px; touch-action: manipulation; }
.button, .text-link, .project-card, .member-card__email, .detail-person__email { touch-action: manipulation; }

.section-kicker,
.hero__proof,
.hero__bottom,
.section-tail,
.project-card__category,
.project-card__number,
.project-card__tags,
.principle__number,
.principle__label,
.member-card__codename,
.member-card__role,
.member-card__label,
.member-card__skills li,
.member-card__email,
.rail-hint,
.now-row__date,
.now-row__tag,
.contact-band__label,
.back-top,
.site-footer__bottom,
.breadcrumbs,
.detail-hero__phase,
.detail-tags li,
.story-block__number,
.story-block__label,
.detail-person__email {
  font-size: .75rem;
  line-height: 1.45;
  letter-spacing: .055em;
}
.section-kicker,
.hero__bottom,
.section-tail,
.project-card__meta,
.project-card__number,
.project-card__tags,
.principle__label,
.member-card__role,
.member-card__label,
.member-card__skills li,
.member-card__background p,
.rail-hint,
.now-row__date,
.site-footer__top p,
.site-footer__bottom,
.back-top,
.contact-band__label,
.breadcrumbs,
.detail-hero__phase,
.detail-tags li,
.story-block__label,
.detail-person__role {
  color: var(--text-label);
}
.hero__proof { color: var(--text-label); }
.hero__bottom, .section-tail, .rail-hint { letter-spacing: .06em; }
.project-card__tags, .member-card__email, .detail-person__email { overflow-wrap: anywhere; }
.project-card__summary,
.principle__body,
.member-card__focus,
.member-card__background p,
.now-row__text,
.contact-band__action p,
.team-head__right p {
  font-size: .95rem;
  line-height: 1.7;
}
.section-intro__aside { font-size: 1rem; }
.project-card__summary { min-height: 0; }
.member-card__background p { font-size: .9rem; }
.site-footer__top p { font-size: .9rem; }
.site-footer__bottom { font-size: .68rem; }
.detail-person__role { font-size: .9rem; }
.detail-person__email { font-size: .72rem; letter-spacing: .02em; }
.section-intro h2 em { color: #5f7f99; }

/* Small interface sketches stay compact, while their labels remain legible. */
.visual-chrome { font-size: .59rem; }
.visual-overline { font-size: .62rem; }
.visual-status { font-size: .58rem; }
.workflow-step__no, .workflow-step strong { font-size: .64rem; }
.workflow-step small { font-size: .6rem; }
.local-row__icon { font-size: .54rem; }
.local-row__info strong { font-size: .7rem; }
.local-row__info small, .local-row__state { font-size: .58rem; }

.project-card,
.principle,
.member-card,
.story-block,
.detail-person {
  border-radius: var(--radius-panel);
  transition-duration: var(--motion-ui);
}
[data-animate] { transition-duration: 380ms; }

@media (min-width: 761px) and (max-width: 900px) {
  .project-grid:not(.project-grid--related) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid:not(.project-grid--related) .project-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 480px);
    justify-self: center;
  }
}

@media (hover: hover) and (pointer: fine) {
  .project-card[data-animate].is-visible:hover,
  .project-card[data-animate].is-visible:focus-visible { transform: translateY(-4px) scale(1.025); }
  .principle[data-animate].is-visible:hover,
  .story-block[data-animate].is-visible:hover { transform: translateY(-3px) scale(1.02); }
  .member-card[data-animate].is-visible:hover,
  .member-card[data-animate].is-visible:focus-within,
  .detail-person[data-animate].is-visible:hover,
  .detail-person[data-animate].is-visible:focus-within { transform: translateY(-3px) scale(1.02); }
}

@media (max-width: 760px) {
  .site-nav a { min-height: 44px; padding-inline: 5px; font-size: .82rem; }
  .hero__bottom { font-size: .68rem; letter-spacing: .045em; }
  .project-card__summary, .principle__body, .member-card__focus, .now-row__text { font-size: .93rem; }
  .member-card__background p { font-size: .9rem; }
  .now-row { grid-template-columns: 68px 62px minmax(0, 1fr) 16px; gap: 8px; }
  .now-row__date, .now-row__tag { font-size: .7rem; letter-spacing: .025em; }
  .now-row__text { line-height: 1.65; }
  .detail-person__email { font-size: .7rem; }
  .site-footer__bottom { font-size: .66rem; }
}

@media (max-width: 520px) {
  .project-card { display: flex; min-height: 0; }
  .project-card .project-visual { min-height: 190px; }
  .project-card__copy { min-height: 205px; padding: 19px 18px; }
  .project-card__title { font-size: 1.55rem; }
  .project-card__summary { font-size: .95rem; }
  .project-card__tags { font-size: .7rem; letter-spacing: .025em; }
  .section-tail { font-size: .68rem; line-height: 1.5; }
  .team-rail { grid-auto-columns: minmax(270px, 88%); }
  .now-row { grid-template-columns: 62px 56px minmax(0, 1fr) 14px; gap: 7px; }
  .now-row__date, .now-row__tag { font-size: .66rem; }
  .now-row__text { font-size: .9rem; }
  .site-footer__bottom { font-size: .64rem; }
  .detail-person__email { font-size: .67rem; }
}

@media (max-width: 380px) {
  .hero__bottom { font-size: .63rem; }
  .site-nav a { padding-inline: 2px; font-size: .78rem; }
  .now-row { grid-template-columns: 58px 52px minmax(0, 1fr) 12px; gap: 6px; }
  .now-row__date, .now-row__tag { font-size: .62rem; }
  .detail-person { grid-template-columns: 48px minmax(0, 1fr); }
  .detail-person__avatar { width: 48px; height: 48px; }
  .detail-person__email { grid-column: 2; grid-row: 4; justify-self: start; max-width: none; text-align: left; }
}

html[data-theme="dark"] .section-intro h2 em { color: #b3c7da; }

/* Readability pass: heading contrast, balanced wrapping, narrow screens */
.studio-head h2 > span:first-child { color: #647f95; }
.studio-head__accent { white-space: nowrap; }
html[data-theme="dark"] .studio-head h2 > span:first-child { color: #93a9bc; }

.section-intro h2,
.studio-head h2,
.team-head h2,
.now-layout h2,
.contact-band h2 { text-wrap: balance; }

@media (max-width: 520px) {
  .section-intro h2,
  .studio-head h2,
  .team-head h2,
  .now-layout h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .team-head { flex-wrap: wrap; }
  .team-head > div:first-child { flex: 1 1 100%; }
  .team-head__right { margin-left: auto; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.8rem; }
  .section-intro h2,
  .studio-head h2,
  .team-head h2,
  .now-layout h2 { font-size: 1.9rem; }
  .contact-band h2 { font-size: 2.8rem; }
  .detail-hero__title { font-size: 2.9rem; }
}
html[data-theme="dark"] .hero__proof,
html[data-theme="dark"] .section-kicker,
html[data-theme="dark"] .section-tail,
html[data-theme="dark"] .rail-hint,
html[data-theme="dark"] .now-row__date,
html[data-theme="dark"] .now-row__text,
html[data-theme="dark"] .site-footer__top p,
html[data-theme="dark"] .site-footer__bottom,
html[data-theme="dark"] .member-card__background p,
html[data-theme="dark"] .team-head__right p,
html[data-theme="dark"] .detail-person__role { color: var(--text-label); }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .project-card[data-animate].is-visible:hover,
  .project-card[data-animate].is-visible:focus-visible,
  .principle[data-animate].is-visible:hover,
  .story-block[data-animate].is-visible:hover,
  .member-card[data-animate].is-visible:hover,
  .member-card[data-animate].is-visible:focus-within,
  .detail-person[data-animate].is-visible:hover,
  .detail-person[data-animate].is-visible:focus-within { transform: none; }
}

/* ===== Real screenshots, project icons, specs, contact format ===== */
.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #5f7f99;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__status-label { color: var(--blue); }
.hero__status-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}
.hero__status-sep { color: #a7b8c7; }
.hero__status-value { color: #416581; }

.project-card__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgb(24 67 102 / 12%);
}
.project-card__meta { gap: 8px; }
.project-card__category { margin-right: auto; }

.project-visual--shot { display: flex; flex-direction: column; gap: 10px; }
.project-card .project-visual--shot { height: 260px; min-height: 260px; }
.project-visual--shot.project-visual--large { height: 475px; }
.project-visual--shot .visual-chrome { flex: 0 0 auto; }
.shot-media {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(24 67 102 / 10%);
}
.shot-media__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot-media--phone .shot-media__img { object-position: center 25%; }
.shot-media--desktop .shot-media__img { object-position: top center; }
.shot-media--contain {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e3f5ec, #f5fbf8 65%, #e5f3ec);
}
.shot-media--contain .shot-media__img {
  width: auto;
  height: calc(100% - 12px);
  max-width: calc(100% - 12px);
  object-fit: contain;
  border: 3px solid #203848;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgb(24 67 102 / 18%);
}
.project-visual--large .shot-media--contain .shot-media__img { border-width: 4px; border-radius: 16px; }
.project-visual--large .shot-media { border-radius: 16px; }

.detail-hero__media { min-width: 0; }
.detail-hero__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgb(24 67 102 / 12%);
}
.detail-hero__shot-note {
  margin-top: 10px;
  color: #7c91a4;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.detail-shots { padding: 18px 0 52px; border-top: 1px solid var(--line); }
.shot-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.shot-card { margin: 0; min-width: 0; }
.shot-card--phone { justify-self: center; width: min(100%, 300px); }
.shot-card--desktop { grid-column: 1 / -1; }
.shot-card__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(24 67 102 / 8%);
}
.shot-card__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
  color: #657c90;
  font-size: 0.78rem;
  line-height: 1.6;
}
.shot-card__lang { color: #8a9cad; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.04em; }

.detail-specs { padding: 34px 0 56px; border-top: 1px solid var(--line); }
.detail-specs__grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.detail-specs__label {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  color: #8397a8;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-specs__value {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #29465f;
  font-size: 0.92rem;
  line-height: 1.6;
}
.detail-specs__link { color: var(--blue); text-decoration: none; }
.detail-specs__link:hover { text-decoration: underline; }

.contact-band__format {
  max-width: 560px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgb(120 154 181 / 35%);
}
.contact-band__format-title {
  color: #4a6a84;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-band__format-list,
.contact-band__format-examples {
  margin: 8px 0 0;
  padding-left: 17px;
  color: #617b91;
  font-size: 0.82rem;
  line-height: 1.75;
}
.contact-band__format-label {
  margin-top: 12px;
  color: #7d93a7;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-band__format-examples { color: #4f6d86; }

.principle__proof {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #6d8598;
  font-size: 0.72rem;
  line-height: 1.6;
}

/* Contrast fixes for small metadata on light surfaces */
.breadcrumbs a { color: #526b80; }
.shot-card__caption { color: #526b80; }
.detail-specs__label { color: #4f6a80; }
.button--disabled { color: #526b80; border-color: #cbd8e2; }

html[data-theme="dark"] .hero__status { color: #9bb0c4; }
html[data-theme="dark"] .hero__status-label { color: var(--blue); }
html[data-theme="dark"] .hero__status-sep { color: #61788d; }
html[data-theme="dark"] .hero__status-value { color: #d0dfed; }
html[data-theme="dark"] .shot-media { background: #0e1b2a; border-color: #304860; }
html[data-theme="dark"] .shot-media--contain { background: linear-gradient(145deg, #142c2a, #10202a 65%, #12241f); }
html[data-theme="dark"] .shot-card__img { background: #0e1b2a; border-color: #2a4056; }
html[data-theme="dark"] .shot-card__caption,
html[data-theme="dark"] .detail-hero__shot-note { color: #9db0c2; }
html[data-theme="dark"] .shot-card__lang { color: #7f95a9; }
html[data-theme="dark"] .detail-specs__label { color: #91a5b9; }
html[data-theme="dark"] .detail-specs__value { color: #d1dfeb; }
html[data-theme="dark"] .contact-band__format { border-top-color: rgb(147 177 203 / 28%); }
html[data-theme="dark"] .contact-band__format-title,
html[data-theme="dark"] .contact-band__format-label { color: #93a7ba; }
html[data-theme="dark"] .contact-band__format-list,
html[data-theme="dark"] .contact-band__format-examples { color: #a9bac9; }
html[data-theme="dark"] .principle__proof { color: #9bb0c2; }

@media (max-width: 760px) {
  .shot-gallery { grid-template-columns: 1fr; }
  .shot-card--phone { width: min(100%, 280px); }
  .detail-specs__grid { grid-template-columns: 100px minmax(0, 1fr); }
  .detail-hero__icon { width: 30px; height: 30px; }
  .hero__status { font-size: 0.66rem; }
  .project-card .project-visual--shot { height: 240px; min-height: 240px; }
  .project-visual--shot.project-visual--large { height: 350px; }
}

@media (max-width: 1020px) and (min-width: 761px) {
  .project-card .project-visual--shot { height: 230px; min-height: 230px; }
}

@media (max-width: 450px) {
  .project-card__icon { width: 26px; height: 26px; border-radius: 7px; }
  .project-card .project-visual--shot { height: 210px; min-height: 210px; }
  .project-visual--shot.project-visual--large { height: 300px; }
  .detail-specs__grid { grid-template-columns: 1fr; }
  .detail-specs__label { padding-top: 14px; padding-bottom: 3px; border-bottom: 0; }
  .detail-specs__value { padding-top: 2px; }
  .contact-band__format-list,
  .contact-band__format-examples { font-size: 0.76rem; }
}

@media (max-width: 520px) {
  .project-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .project-card .project-visual--shot {
    width: 100%;
    height: 220px;
    min-height: 220px;
  }
  .project-card__copy { min-height: 0; }
}
