@import url("colors_and_type.css");

/* =============================================================
   遊玄企画 — LP styles
   Forked from the UI kit's site.css; reworked for:
   - centered hero with scroll indicator only
   - card-grid Works with hover-reveal tech stack tags
   - monotone trust logos (3-4 horizontal placeholders)
   - minimal email contact
   - subtle scroll fade-in
   ============================================================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg-1);
}

.yk-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 64px;
  position: relative;
  z-index: 2;
}

/* Hairline column-3 rule, per VISUAL FOUNDATIONS § 5.4 ----- */
.yk-rule-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -480px;
  width: 1px;
  background: var(--nibi-soft);
  z-index: 1;
  pointer-events: none;
}

/* =============================================================
   Sumi-nagashi background — two ultra-slow ink blooms (radial
   gradients in seiji/nibi) drifting over the paper, with a static
   noise overlay providing paper grain. All super-low opacity so
   the page reads as "paper with a breath of ink", not "a graphic".
   ============================================================= */
.yk-ink-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.yk-ink-blob {
  position: absolute;
  width: 90vmax;
  height: 90vmax;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  mix-blend-mode: multiply;
  will-change: transform;
}
.yk-ink-blob--a {
  top: -38vmax;
  left: -28vmax;
  background: radial-gradient(circle at 50% 50%, var(--seiji) 0%, transparent 62%);
  animation: yk-ink-drift-a 92s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}
.yk-ink-blob--b {
  bottom: -42vmax;
  right: -30vmax;
  background: radial-gradient(circle at 50% 50%, var(--nibi) 0%, transparent 62%);
  animation: yk-ink-drift-b 128s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  opacity: 0.17;
}
@keyframes yk-ink-drift-a {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(8vw, 6vh) rotate(28deg) scale(1.08); }
  100% { transform: translate(18vw, 22vh) rotate(54deg) scale(0.95); }
}
@keyframes yk-ink-drift-b {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-10vw, -8vh) rotate(-22deg) scale(1.06); }
  100% { transform: translate(-18vw, -16vh) rotate(-46deg) scale(0.92); }
}
.yk-ink-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

/* Hero title — per-character stagger reveal --------------- */
/* Default (no-JS) state is VISIBLE; the hidden start state only applies
   once <html class="js"> is set, so content never gets stuck invisible. */
.yk-hero-char {
  display: inline-block;
}
html.js .yk-hero-char {
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(4px);
  transition:
    opacity 1100ms var(--ease-quiet),
    transform 1100ms var(--ease-quiet),
    filter 1100ms var(--ease-quiet);
  will-change: opacity, transform, filter;
}
html.js .yk-hero-title.is-in .yk-hero-char {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.yk-hero-char--space {
  width: 0.25em;
}
/* The .seiji accent character keeps its hue while staggering. */
.yk-hero-char.seiji { color: var(--seiji-deep); }

/* Scroll fade-in primitive --------------------------------- */
/* Visible by default; only hidden once JS is confirmed (html.js). */
html.js .yk-fade {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 900ms var(--ease-quiet),
    transform 900ms var(--ease-quiet);
  will-change: opacity, transform;
}
html.js .yk-fade.is-in {
  opacity: 1;
  transform: translateY(0);
}
.yk-fade--delay-1 { transition-delay: 80ms; }
.yk-fade--delay-2 { transition-delay: 180ms; }
.yk-fade--delay-3 { transition-delay: 320ms; }
.yk-fade--delay-4 { transition-delay: 480ms; }

/* HEADER ---------------------------------------------------- */
.yk-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 36px 0;
  position: relative;
  z-index: 2;
}
.yk-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.yk-brand-jp {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--fg-1);
}
.yk-brand-jp .seiji {
  color: var(--seiji);
}
.yk-brand-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--fg-3);
}
.yk-nav { display: flex; gap: 40px; }
.yk-nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  text-decoration: none;
  padding-bottom: 6px;
  position: relative;
  transition: color var(--dur-hover) var(--ease-quiet);
}
.yk-nav-link:hover { color: var(--fg-1); }
.yk-nav-link.is-active { color: var(--fg-1); }
.yk-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--seiji);
}

/* HERO — centered, no CTA, scroll indicator only ----------- */
.yk-hero {
  min-height: calc(100vh - 120px);
  padding: 80px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  gap: 48px;
}
.yk-hero-mark {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}
.yk-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  margin: 0;
  max-width: none;
  /* Desktop: a single centred line. nowrap keeps all three segments on one
     row; the fluid font-size above shrinks them to fit narrower laptops. */
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.34em;
}
.yk-hero-seg {
  display: inline-block;
  white-space: nowrap;
}
.yk-hero-seg--x {
  color: var(--seiji-deep);
}
.yk-hero-title .seiji {
  color: var(--seiji-deep);
}
.yk-hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2.05;
  color: var(--fg-2);
  max-width: 38ch;
  margin: 0;
}
.yk-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--fg-3);
  text-transform: lowercase;
}
.yk-hero-scroll-line {
  width: 1px;
  height: 56px;
  background: var(--nibi-soft);
  position: relative;
  overflow: hidden;
}
.yk-hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 1px;
  height: 40%;
  background: var(--nibi);
  animation: yk-drip 2.8s var(--ease-quiet) infinite;
}
@keyframes yk-drip {
  0%   { top: -40%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* SECTION --------------------------------------------------- */
.yk-section {
  padding: 160px 0 140px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.yk-section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  margin-bottom: 96px;
  align-items: start;
}
.yk-section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.yk-section-num-jp {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  margin-top: 8px;
}
.yk-section-titles {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 56ch;
}
.yk-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
}
.yk-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  margin: 0;
  max-width: 16ch;
}
.yk-section-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.95;
  color: var(--fg-2);
  margin: 0;
  max-width: 44ch;
}

/* WORKS — card grid with hover-reveal tech stack ---------- */
.yk-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.yk-work-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  cursor: default;
  overflow: hidden;
  transition:
    border-color var(--dur-entry) var(--ease-quiet),
    background var(--dur-entry) var(--ease-quiet),
    transform 480ms var(--ease-quiet);
}
.yk-work-card:hover {
  border-color: var(--sumi-400);
  background: var(--paper-soft);
}
.yk-work-axis-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 56px;
}
.yk-work-axis-letter {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--seiji-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.yk-work-axis-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.yk-work-theme {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  margin: 0 0 16px;
}
.yk-work-body {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
}

/* Work media — evidence image (e.g. system screenshot). Quietly desaturated
   so it reads as "artifact" rather than "ad". Restores on card hover. */
.yk-work-media {
  margin: 24px 0 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  position: relative;
}
.yk-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.45) contrast(0.96);
  transition:
    filter 520ms var(--ease-quiet),
    transform 900ms var(--ease-quiet);
}
.yk-work-card:hover .yk-work-media img,
.yk-work-card:focus-within .yk-work-media img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.02);
}

/* Tech stack — the hidden flower ------------------------- */
.yk-work-stack {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 380ms var(--ease-quiet),
    transform 380ms var(--ease-quiet);
}
.yk-work-card:hover .yk-work-stack,
.yk-work-card:focus-within .yk-work-stack {
  opacity: 1;
  transform: translateY(0);
}
.yk-work-card:hover .yk-work-stack-tag,
.yk-work-card:focus-within .yk-work-stack-tag {
  transform: translateY(0);
  opacity: 1;
}
.yk-work-stack-label {
  width: 100%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--fg-3);
  margin-bottom: 10px;
}
.yk-work-stack-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--sumi-700);
  padding: 5px 10px;
  border: 1px solid var(--nibi-soft);
  background: var(--paper-soft);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
  transition:
    opacity 520ms var(--ease-quiet),
    transform 520ms var(--ease-quiet),
    filter 520ms var(--ease-quiet),
    border-color 260ms var(--ease-quiet),
    background 260ms var(--ease-quiet);
}
.yk-work-card:hover .yk-work-stack-tag,
.yk-work-card:focus-within .yk-work-stack-tag {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.yk-work-stack-tag:hover {
  border-color: var(--seiji);
  background: var(--seiji-ghost);
}
.yk-work-stack-tag:nth-of-type(1) { transition-delay: 60ms; }
.yk-work-stack-tag:nth-of-type(2) { transition-delay: 110ms; }
.yk-work-stack-tag:nth-of-type(3) { transition-delay: 160ms; }
.yk-work-stack-tag:nth-of-type(4) { transition-delay: 210ms; }
.yk-work-stack-tag:nth-of-type(5) { transition-delay: 260ms; }
.yk-work-stack-tag:nth-of-type(6) { transition-delay: 310ms; }

.yk-work-index {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-3);
}

/* PROFILE --------------------------------------------------- */
.yk-profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 96px;
  margin-bottom: 120px;
  align-items: start;
}
.yk-profile-photo .yk-img-slot {
  aspect-ratio: 4 / 5;
  background: var(--kinari);
  border: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  overflow: hidden;
  position: relative;
}
.yk-profile-photo .yk-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  /* "幽玄" treatment — gentle desaturation; restored on hover */
  filter: grayscale(0.35) contrast(1.02);
  transition: filter var(--dur-entry) var(--ease-quiet);
}
.yk-profile-photo .yk-img-slot:hover img {
  filter: grayscale(0) contrast(1);
}
.yk-profile-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0 0 4px;
  line-height: 1.1;
}
.yk-profile-name-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--fg-3);
  margin-bottom: 40px;
}
.yk-profile-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2.0;
  color: var(--fg-1);
  max-width: 52ch;
  margin: 0 0 24px;
}
.yk-profile-body .yk-lead {
  font-size: 17px;
  line-height: 2.0;
  color: var(--fg-1);
  margin-bottom: 32px;
}
.yk-profile-body .yk-lead strong {
  font-weight: 500;
  background-image: linear-gradient(transparent 62%, var(--seiji-ghost) 62%);
  padding: 0 2px;
}

/* Facts list — definition-list style, rule-divided, scannable */
.yk-profile-facts {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  max-width: 56ch;
}
.yk-profile-fact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.yk-profile-fact dt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  margin: 0;
}
.yk-profile-fact dd {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fg-1);
  margin: 0;
}

/* Career row — aligns dt to top since the dd may be tall */
.yk-profile-fact--career { align-items: start; }
.yk-profile-fact--career dt { padding-top: 4px; }

.yk-profile-career {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yk-profile-career li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-1);
}

/* TRUST — monotone logo placeholders, 3-4 horizontal ----- */
.yk-trust {
  padding-top: 80px;
  border-top: 1px solid var(--rule);
}
.yk-trust-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 32px;
}
.yk-trust-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
}
.yk-trust-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.yk-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  justify-content: start;
}
.yk-trust-cell {
  background: var(--paper);
  aspect-ratio: 5 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  filter: grayscale(1);
  opacity: 0.78;
  transition:
    opacity var(--dur-entry) var(--ease-quiet),
    background var(--dur-entry) var(--ease-quiet);
}
.yk-trust-cell:hover {
  opacity: 1;
  background: var(--paper-soft);
}
.yk-trust-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sumi-700);
}
.yk-trust-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--sumi-700);
  text-align: center;
  line-height: 1.5;
}
.yk-trust-kind {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
}

/* CONTACT --------------------------------------------------- */
.yk-contact {
  padding: 200px 0 160px;
  border-top: 1px solid var(--rule);
}
.yk-contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 56px;
}
.yk-contact-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--fg-3);
}
.yk-contact-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.yk-contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.005em;
  color: var(--fg-1);
  text-decoration: none;
  border-bottom: 1px solid var(--sumi-300);
  padding: 6px 4px 10px;
  transition:
    color var(--dur-hover) var(--ease-quiet),
    border-color var(--dur-hover) var(--ease-quiet);
}
.yk-contact-mail:hover {
  color: var(--seiji-deep);
  border-color: var(--seiji);
}
.yk-contact-mail .arrow {
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: transform var(--dur-hover) var(--ease-quiet);
}
.yk-contact-mail:hover .arrow {
  transform: translate(2px, -2px);
}
.yk-contact-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
}
.yk-contact-meta .dot {
  width: 3px; height: 3px;
  background: var(--seiji);
  display: inline-block;
}

/* LOG ------------------------------------------------------- */
/* Log section sits between Contact and Footer; needs less top
   padding than other sections since Contact already breathes. */
.yk-section--log {
  padding-top: 96px;
  padding-bottom: 80px;
  border-top: 1px solid var(--rule);
}
.yk-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.yk-log-item {
  border-bottom: 1px solid var(--rule);
}
.yk-log-row {
  display: grid;
  grid-template-columns: 110px 80px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-hover) var(--ease-quiet);
}
.yk-log-row--link {
  cursor: pointer;
}
.yk-log-row--link:hover {
  background: var(--seiji-ghost);
}
.yk-log-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.yk-log-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  text-transform: lowercase;
  border-left: 1px solid var(--rule);
  padding-left: 16px;
}
.yk-log-title {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg-1);
}
.yk-log-arrow {
  width: 12px;
  height: 12px;
  color: var(--fg-3);
  transition: transform var(--dur-hover) var(--ease-quiet),
              color var(--dur-hover) var(--ease-quiet);
}
.yk-log-row--link:hover .yk-log-arrow {
  color: var(--seiji-deep);
  transform: translate(2px, -2px);
}

/* FOOTER ---------------------------------------------------- */
.yk-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
  gap: 32px;
}
.yk-footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yk-footer-name {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 13px;
  color: var(--fg-1);
  letter-spacing: 0.08em;
}
.yk-footer-name .seiji {
  color: var(--seiji);
}
.yk-footer-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.yk-footer-seal {
  width: 38px;
  height: 38px;
  justify-self: center;
  opacity: 0.7;
}
.yk-footer-right {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
}
.yk-footer-right a {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg-3);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color var(--dur-hover) var(--ease-quiet);
}
.yk-footer-right a:hover { color: var(--seiji-deep); }

/* Visually-hidden helper for accessible text whose visual form is animated. */
.yk-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion — quiet everything that drifts/staggers ---- */
@media (prefers-reduced-motion: reduce) {
  .yk-ink-blob { animation: none; }
  .yk-hero-char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .yk-work-stack-tag { transition: none !important; }
  .yk-hero-scroll-line::after { animation: none !important; }
}

/* RESPONSIVE ----------------------------------------------- */
@media (max-width: 1000px) {
  .yk-works-grid { grid-template-columns: 1fr; }
  .yk-trust-row { grid-template-columns: repeat(2, 1fr); }
  .yk-section-head { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .yk-page { padding: 0 24px; }
  .yk-rule-bg { display: none; }
  .yk-header { padding: 24px 0; }
  .yk-nav { gap: 20px; }
  .yk-nav-link { font-size: 12px; }
  .yk-hero { padding: 48px 0 96px; min-height: calc(100vh - 80px); }
  .yk-hero-title {
    font-size: 34px;
    line-height: 1.4;
    /* Mobile: stack each segment on its own line, centred horizontally,
       × centred between. */
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    row-gap: 0.16em;
    column-gap: 0;
  }
  .yk-hero-seg--x {
    font-size: 0.72em;
    opacity: 0.9;
  }
  .yk-hero-sub { font-size: 14px; line-height: 1.95; }
  .yk-hero-scroll-line { height: 40px; }
  .yk-section { padding: 96px 0 80px; }
  .yk-section-head { margin-bottom: 56px; }
  .yk-h2 { font-size: 30px; }
  .yk-profile-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .yk-profile-photo .yk-img-slot { aspect-ratio: 4 / 3; max-width: 240px; }
  .yk-profile-name { font-size: 28px; }
  .yk-profile-fact { grid-template-columns: 72px 1fr; gap: 16px; }
  .yk-profile-fact dd { font-size: 13.5px; }
  .yk-profile-career li { font-size: 13px; }
  .yk-trust-row { grid-template-columns: 1fr 1fr; }
  .yk-trust-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .yk-work-card { min-height: 380px; padding: 32px 28px 28px; }
  .yk-work-theme { font-size: 19px; }
  .yk-work-stack { opacity: 1; transform: none; }
  .yk-work-stack-tag { opacity: 1; transform: none; }
  .yk-contact { padding: 120px 0 96px; }
  .yk-contact-lead { font-size: 24px; }
  .yk-contact-mail { font-size: 19px; }
  .yk-contact-meta { font-size: 10px; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .yk-section--log { padding: 64px 0 56px; }
  .yk-log-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .yk-log-tag {
    border-left: 0;
    padding-left: 0;
  }
  .yk-log-arrow { display: none; }
  .yk-footer { grid-template-columns: 1fr; text-align: center; gap: 20px; padding: 40px 0; }
  .yk-footer-left { align-items: center; }
  .yk-footer-right { justify-content: center; }
  .yk-footer-seal { justify-self: center; }
}
