/* =========================================================
   Noima — site styles
   Single stylesheet for index / profile / policies.
   Tokens → base → components → page sections → responsive.
   ========================================================= */

:root {
  --black: #000000;
  --white: #ffffff;

  --n-0:  #ffffff;
  --n-50: #fafafa;
  --n-100:#f4f4f4;
  --n-200:#e8e8e8;
  --n-300:#d4d4d4;
  --n-400:#a8a8a8;
  --n-500:#7a7a7a;
  --n-600:#525252;
  --n-700:#363636;
  --n-800:#1f1f1f;
  --n-900:#0a0a0a;

  --lime:      #D7FF3D;
  --lime-soft: #e8ff7a;
  --lime-edge: #a7cc1b;
  --lime-deep: #6f8a0d;

  --magenta:     #FF3DA5;
  --magenta-deep:#a31866;

  --s-1: 4px;  --s-2: 8px;   --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px;  --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --r-1: 2px; --r-2: 4px; --r-3: 8px;

  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont,
               'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
               'Yu Gothic Medium', 'Yu Gothic', 'Noto Sans JP',
               'Helvetica Neue', sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --bg:         var(--n-0);
  --bg-subtle:  var(--n-50);
  --bg-muted:   var(--n-100);
  --bg-inverse: var(--n-900);
  --surface:    var(--n-0);
  --border:        var(--n-200);
  --border-strong: var(--n-300);
  --border-bold:   var(--n-900);
  --text:        var(--n-900);
  --text-muted:  var(--n-600);
  --text-subtle: var(--n-500);

  --ease-out: cubic-bezier(.2,.7,.3,1);
  --d-fast: 120ms;
  --d-base: 200ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.mono { font-family: var(--font-mono); }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--n-900); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--n-500); }

/* ===== Glitch primitives — used on dark panes ===== */
@keyframes glitch-flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  96% { opacity: 0.7; }
  97% { opacity: 1; }
}
@keyframes glitch-shift {
  0%, 88%, 92%, 100% { transform: translate(0, 0); }
  89% { transform: translate(-2px, 1px); }
  90% { transform: translate(3px, -1px); }
  91% { transform: translate(-1px, 0); }
}
@keyframes glitch-bandpass {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(2000%); }
}
@keyframes glitch-jitter {
  0%, 21%, 54%, 79%, 100% { clip-path: inset(0 0 0 0); }
  20% { clip-path: inset(40% 0 30% 0); }
  53% { clip-path: inset(15% 0 60% 0); }
  78% { clip-path: inset(70% 0 5% 0); }
}
@keyframes glitch-skew {
  0%, 93%, 100% { transform: skewX(0); }
  94% { transform: skewX(-2deg); }
  95% { transform: skewX(1deg); }
  96% { transform: skewX(0); }
}
@keyframes blink-1s { 50% { opacity: 0; } }

.gl-scanlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.gl-noise {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.gl-bandpass {
  position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: linear-gradient(90deg, transparent, rgba(215,255,61,0.06) 30%, rgba(215,255,61,0.18) 50%, rgba(215,255,61,0.06) 70%, transparent);
  mix-blend-mode: screen;
  animation: glitch-bandpass 7s linear infinite;
  pointer-events: none;
}
.crt-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.55) 100%);
}
.gl-text-rgb { position: relative; animation: glitch-shift 5s steps(20) infinite; }
.gl-text-rgb::before,
.gl-text-rgb::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.gl-text-rgb::before {
  color: var(--magenta);
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
  animation: glitch-jitter 4s steps(8) infinite;
}
.gl-text-rgb::after {
  color: #3DD7FF;
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  animation: glitch-jitter 4.7s steps(8) infinite reverse;
}
.gl-flicker { animation: glitch-flicker 7s steps(40) infinite; }
.gl-skew    { animation: glitch-skew 8s steps(40) infinite; }
.gl-rec-dot { animation: blink-1s 1.2s steps(2) infinite; }

/* ===== Hero — split (broadcast / digital) ===== */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: min(720px, 100vh);
  font-family: var(--font-mono);
  overflow: hidden;
}

/* Scroll cue — anchored at the bottom-center of the hero,
   indicates there's more content below */
.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 9px;
  background: var(--lime);
  color: var(--n-900);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--lime-edge);
  border-bottom: 0;
  border-top-left-radius: var(--r-2);
  border-top-right-radius: var(--r-2);
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out);
}
.hero-scroll-hint .hero-scroll-arrow {
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  animation: scroll-bob 2s ease-in-out infinite;
}
.hero-scroll-hint:hover {
  background: var(--n-900);
  color: var(--lime);
  border-color: rgba(215,255,61,0.3);
}
.hero-scroll-hint:focus-visible {
  outline: none;
  background: var(--n-900);
  color: var(--lime);
  border-color: rgba(215,255,61,0.3);
  box-shadow: 0 0 0 3px rgba(215,255,61,0.45);
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(3px); opacity: 1; }
}

.hero-left {
  position: relative;
  background: var(--n-900);
  color: var(--n-100);
  padding: 80px 56px;
  overflow: hidden;
}
.hero-left .top-row {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.55; margin-bottom: 80px;
  position: relative; z-index: 5;
}
.hero-left .on-air {
  display: flex; align-items: center; gap: 8px;
  color: var(--magenta);
}
.hero-left .on-air-dot {
  width: 8px; height: 8px;
  background: var(--magenta);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--magenta);
}
.hero-left h1 {
  font-family: var(--font-sans);
  font-size: 96px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  position: relative; z-index: 4;
}
.hero-left h1 .line { display: block; }
.hero-left h1 .gap { height: 24px; }
.hero-left h1 .accent {
  color: var(--lime);
}
.hero-left .bottom-meta {
  position: absolute;
  bottom: 32px; left: 56px; right: 56px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.45;
  display: flex; justify-content: space-between;
  z-index: 5;
}

.hero-right {
  position: relative;
  background: var(--white);
  color: var(--n-900);
  padding: 80px 56px 40px;
  display: flex; flex-direction: column;
  font-family: var(--font-sans);
  overflow: hidden;
}
.hero-right .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--n-400);
}
.hero-right .digital-out {
  display: flex; align-items: center; gap: 8px;
}
.hero-right .digital-dot {
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 999px;
  display: inline-block;
}
.hero-right .statement-wrap {
  flex: 1;
  display: flex; align-items: center;
}
.hero-right .statement {
  max-width: 460px;
}
.hero-right .statement-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--n-400);
  margin-bottom: 28px;
}
.hero-right .statement-eyebrow::before {
  content: ""; display: inline-block;
  width: 20px; height: 1px; background: var(--n-900);
  vertical-align: middle; margin-right: 10px;
}
.hero-right .statement p.lead {
  font-size: 22px; font-weight: 400;
  letter-spacing: 0.01em; line-height: 1.85;
  color: var(--n-900);
}
.hero-right .statement p.lead .accent {
  color: var(--lime-deep);
}
.hero-right .statement p.tail {
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.04em; line-height: 1.9;
  color: var(--n-600);
  margin-top: 28px;
}

.nav-rail {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--n-600);
  padding-top: 18px;
  border-top: 1px solid var(--n-900);
}
.nav-rail a {
  color: var(--n-600);
  text-decoration: none;
  transition: color var(--d-fast) var(--ease-out);
}
.nav-rail a:hover { color: var(--n-900); }
.nav-rail a.active { color: var(--n-900); }
.nav-rail .scroll { color: var(--n-400); }

/* ===== Services ===== */
.services {
  padding: 96px 64px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.services-inner { max-width: 1280px; margin: 0 auto; }
.services-head {
  display: flex; justify-content: space-between; align-items: end;
  padding-bottom: 24px; margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.services-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}
.services-head .eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--lime-edge);
  vertical-align: middle; margin-right: 12px;
}
.services-head h2 {
  font-size: 44px; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.05;
  max-width: 720px;
}
.services-head .index {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-subtle);
}
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color var(--d-fast) var(--ease-out),
              transform var(--d-fast) var(--ease-out),
              box-shadow var(--d-fast) var(--ease-out);
}
.service-card:hover {
  border-color: var(--border-bold);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}
.service-card .img {
  aspect-ratio: 4 / 3;
  margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-5);
  background-image: repeating-linear-gradient(-45deg, var(--n-200) 0 8px, var(--n-100) 8px 16px);
  border-bottom: 1px solid var(--border);
  border-top-left-radius: calc(var(--r-3) - 1px);
  border-top-right-radius: calc(var(--r-3) - 1px);
  position: relative;
  overflow: hidden;
}
.service-card .img::after {
  content: ""; position: absolute; inset: 0;
  background-color: var(--surface);
  background-image: var(--img);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 8px;
}
.service-card h3 {
  font-size: 20px; font-weight: 500;
  line-height: 1.3; letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}

/* ===== Contact form ===== */
.contact {
  padding: 96px 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.contact-inner {
  max-width: 880px; margin: 0 auto;
}
.contact-head {
  padding-bottom: 24px; margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.contact-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}
.contact-head .eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--lime-edge);
  vertical-align: middle; margin-right: 12px;
}
.contact-head h2 {
  font-size: 44px; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.05;
  margin-bottom: 18px;
}
.contact-head p.lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 24px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form label .req {
  color: var(--lime-deep);
  margin-left: 4px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-2);
  transition: border-color var(--d-fast) var(--ease-out),
              box-shadow var(--d-fast) var(--ease-out);
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.65;
  font-family: var(--font-sans);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4.5l3 3 3-3' stroke='%237a7a7a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-subtle);
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: var(--n-500); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--n-900);
  box-shadow: 0 0 0 3px rgba(167,204,27,0.30);
}

.contact-form .field-error {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--magenta-deep);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
  margin-top: 2px;
}
.contact-form .field-error::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  background: var(--magenta);
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(255,61,165,0.45);
}
.contact-form .field[data-error="true"] .field-error {
  display: block;
}
.contact-form .field[data-error="true"] input,
.contact-form .field[data-error="true"] select,
.contact-form .field[data-error="true"] textarea {
  border-color: var(--magenta);
}
.contact-form .field[data-error="true"] input:focus,
.contact-form .field[data-error="true"] select:focus,
.contact-form .field[data-error="true"] textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(255,61,165,0.20);
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px; width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-foot .note {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--text-subtle);
  line-height: 1.6;
}
.form-foot .submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 28px; height: 48px;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--n-0);
  background: var(--n-900);
  border: 1px solid var(--n-900);
  border-radius: var(--r-2);
  cursor: pointer;
  transition: background var(--d-fast) var(--ease-out),
              color var(--d-fast) var(--ease-out),
              transform var(--d-fast) var(--ease-out);
}
.form-foot .submit:hover {
  background: var(--lime);
  color: var(--n-900);
  border-color: var(--lime-edge);
}
.form-foot .submit:active { transform: translateY(1px); }
.form-foot .submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(167,204,27,0.40);
}
.form-foot .submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Hidden iframe target for form submission (no page navigation) */
.contact-sink {
  position: absolute;
  width: 0; height: 0;
  border: 0; visibility: hidden;
  pointer-events: none;
}

/* Success state shown after submission */
.contact-success {
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 56px 40px;
  background: var(--bg-subtle);
  text-align: center;
}
.contact-success .success-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 16px;
}
.contact-success .success-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 999px;
  display: inline-block;
}
.contact-success h3 {
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.2;
  margin-bottom: 12px;
}
.contact-success p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Footer (minimal) ===== */
.site-footer {
  background: var(--bg-inverse);
  color: var(--n-0);
  padding: 32px 64px;
}
.site-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-footer-inner .copy { opacity: 0.5; }
.site-footer-inner .loc { opacity: 0.4; }

/* ===== Profile page ===== */
.profile-split {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 760px;
  font-family: var(--font-mono);
  overflow: hidden;
}
.profile-left {
  position: relative;
  background: var(--n-900);
  color: var(--n-100);
  padding: 80px 56px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.profile-left .top-row {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.55;
  position: relative; z-index: 5;
}
.profile-left .rec {
  display: flex; align-items: center; gap: 8px;
  color: var(--magenta);
}
.profile-left .rec-dot {
  width: 8px; height: 8px;
  background: var(--magenta);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--magenta);
}
.profile-portrait-wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0;
  position: relative; z-index: 4;
}
.profile-portrait {
  position: relative;
  width: 360px; aspect-ratio: 3 / 4;
}
.profile-portrait .layer-base,
.profile-portrait .layer-ghost {
  position: absolute; inset: 0;
  background-image: var(--portrait);
  background-size: cover;
  background-position: center;
}
.profile-portrait .layer-base {
  filter: grayscale(0.85) contrast(1.1);
}
.profile-portrait .layer-ghost {
  mix-blend-mode: screen;
  opacity: 0.6;
  transform: translate(3px, -1px);
  filter: hue-rotate(-30deg) saturate(2);
}
.profile-portrait .corner {
  position: absolute; width: 24px; height: 24px;
}
.profile-portrait .corner.tl { top: -8px; left: -8px;
  border-top: 1px solid var(--lime); border-left: 1px solid var(--lime); }
.profile-portrait .corner.tr { top: -8px; right: -8px;
  border-top: 1px solid var(--lime); border-right: 1px solid var(--lime); }
.profile-portrait .corner.bl { bottom: -8px; left: -8px;
  border-bottom: 1px solid var(--lime); border-left: 1px solid var(--lime); }
.profile-portrait .corner.br { bottom: -8px; right: -8px;
  border-bottom: 1px solid var(--lime); border-right: 1px solid var(--lime); }
.profile-portrait .target-label {
  position: absolute; bottom: -28px; left: 0;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime);
}
.profile-left .name-plate {
  position: relative; z-index: 5;
  padding-top: 24px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.7;
}

.profile-right {
  position: relative;
  background: var(--white);
  color: var(--n-900);
  padding: 80px 56px 40px;
  display: flex; flex-direction: column;
  font-family: var(--font-sans);
  overflow: hidden;
}
.profile-right .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--n-400);
}
.profile-right .digital-out {
  display: flex; align-items: center; gap: 8px;
}
.profile-right .digital-dot {
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 999px;
  display: inline-block;
}
.profile-name {
  margin-top: 44px;
}
.profile-name .role-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--n-400);
  margin-bottom: 16px;
}
.profile-name .role-eyebrow::before {
  content: ""; display: inline-block;
  width: 20px; height: 1px; background: var(--n-900);
  vertical-align: middle; margin-right: 10px;
}
.profile-name h1 {
  font-size: 56px; font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 8px;
}
.profile-name .ja {
  font-size: 18px;
  color: var(--n-600);
  letter-spacing: 0.02em;
}
.profile-bio {
  margin-top: 32px; max-width: 480px;
}
.profile-bio p.lead {
  font-size: 14px; line-height: 1.85;
  color: var(--n-900);
}
.profile-bio p.lead .accent { color: var(--lime-deep); }
.profile-bio p.tail {
  font-size: 13px; line-height: 1.85;
  color: var(--n-600);
  margin-top: 14px;
}

.profile-section {
  margin-top: 48px;
  font-family: var(--font-mono);
}
.profile-section + .profile-section { margin-top: 36px; }
.profile-section .head {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--n-400);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--n-200);
}
.profile-channels {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
.profile-channels > li { border-bottom: 1px solid var(--n-100); }
.profile-channels a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--n-900);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.04em;
}
.profile-channels a .left {
  display: flex; align-items: baseline; gap: 12px;
  min-width: 0; flex: 1;
}
.profile-channels a .label {
  color: var(--n-400);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  flex-shrink: 0; width: 86px;
}
.profile-channels a .handle {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex: 1;
}
.profile-channels a .arrow { color: var(--lime-deep); flex-shrink: 0; }

.profile-pubs {
  list-style: none;
}
.profile-pubs a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 10px 0;
  color: var(--n-900);
  text-decoration: none;
  border-bottom: 1px solid var(--n-100);
}
.profile-pubs a .title {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
}
.profile-pubs a .kind {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--n-600);
}
.profile-pubs a .arrow { color: var(--lime-deep); }

.profile-right .nav-rail-wrap {
  flex: 1; min-height: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  margin-top: 28px;
}

/* ===== Responsive ===== */
/* Short-viewport desktop — compress padding and headline so F-rail fits */
@media (min-width: 901px) and (max-height: 760px) {
  .hero-left { padding: 56px 48px; }
  .hero-left .top-row { margin-bottom: 56px; }
  .hero-left h1 { font-size: 80px; }
  .hero-left .bottom-meta { bottom: 24px; left: 48px; right: 48px; }
  .hero-right { padding: 56px 48px 32px; }
}
@media (min-width: 901px) and (max-height: 640px) {
  .hero-left { padding: 36px 40px; }
  .hero-left .top-row { margin-bottom: 32px; }
  .hero-left h1 { font-size: 60px; }
  .hero-left .bottom-meta { bottom: 18px; left: 40px; right: 40px; }
  .hero-right { padding: 36px 40px 28px; }
}

@media (max-width: 900px) {
  .hero-split,
  .profile-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-scroll-hint { display: none; }
  .hero-left {
    padding: 28px 24px 36px;
  }
  .hero-left .top-row { margin-bottom: 56px; }
  .hero-left h1 { font-size: 52px; }
  .hero-left h1 .gap { height: 14px; }
  .hero-left .bottom-meta {
    position: static;
    margin-top: 56px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255,255,255,0.18);
  }
  .hero-right {
    padding: 28px 24px;
    min-height: 420px;
  }
  .hero-right .statement-wrap {
    padding: 40px 0 32px;
  }
  .hero-right .statement p.lead { font-size: 17px; }
  .hero-right .statement p.tail { font-size: 12px; margin-top: 18px; }

  .services { padding: 56px 24px; }
  .services-head {
    flex-wrap: wrap; gap: 12px;
    align-items: flex-start;
    padding-bottom: 18px; margin-bottom: 28px;
  }
  .services-head h2 { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card .img { aspect-ratio: 16 / 9; }
  .service-card { padding: var(--s-4); }
  .service-card .img {
    margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-4);
  }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 12.5px; }

  .site-footer { padding: 24px; }
  .site-footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 10px;
  }

  .contact { padding: 56px 24px; }
  .contact-head {
    padding-bottom: 18px; margin-bottom: 28px;
  }
  .contact-head h2 { font-size: 26px; }
  .contact-head p.lead { font-size: 14px; }
  .contact-form { grid-template-columns: 1fr; column-gap: 0; row-gap: 18px; }
  .contact-form .field.full { grid-column: 1; }
  .form-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
  }
  .form-foot .submit {
    width: 100%;
    justify-content: center;
  }
  .form-foot .note { text-align: center; }

  /* Profile mobile: white-content first, dark portrait at bottom */
  .profile-split {
    display: flex;
    flex-direction: column-reverse;
  }
  .profile-left {
    padding: 28px 24px 32px;
  }
  .profile-portrait { width: 200px; }
  .profile-portrait .target-label { display: none; }
  .profile-left .top-row { margin-bottom: 20px; }
  .profile-portrait-wrap { padding: 8px 0 24px; }
  .profile-left .name-plate {
    padding-top: 12px;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    opacity: 0.6;
  }

  .profile-right {
    padding: 28px 24px;
  }
  .profile-name { margin-top: 24px; }
  .profile-name h1 { font-size: 32px; }
  .profile-name .ja { font-size: 13px; }
  .profile-bio p.lead { font-size: 13px; }
  .profile-bio p.tail { font-size: 12px; }
  .profile-section { margin-top: 28px; }
  .profile-channels {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .profile-channels a { font-size: 11px; }
  .profile-channels a .label { width: 76px; font-size: 9px; }
  .profile-pubs a .title { font-size: 13px; }
  .profile-pubs a .kind { font-size: 9px; }
  .profile-right .nav-rail-wrap { margin-top: 20px; }
  .nav-rail { font-size: 9.5px; letter-spacing: 0.16em; padding-top: 14px; }
}

@media (max-width: 420px) {
  .hero-left h1 { font-size: 44px; }
  .services-head h2 { font-size: 22px; }
}
