/* ============================================================
   YIKO 一高 · Classic direction
   Closer to the existing yikosecurity.com language:
   white paper / full-bleed photography / cobalt blue / quiet rules.
   Loaded after main.css as a theme layer.
   ============================================================ */

:root {
  --paper: #FFFFFF;
  --paper-2: #F7F5F1;
  --paper-3: #EBE1DD;
  --white: #FFFFFF;
  --ink: #16181D;
  --ink-2: #3C4048;
  --muted: #6E7278;
  --muted-light: #9298A0;
  --line: #E7E3DC;
  --line-strong: #CDD1D5;
  --line-light: rgba(255, 255, 255, .18);
  --blue: #0662EC;
  --blue-deep: #1B4E87;
  --blue-dark: #163E6E;
  --navy: #1B4E87;
  --teal: #1B5458;
  --header-h: 86px;
  --container: 1312px;
}

/* ---------- global calm ---------- */
body { background: #fff; }
body::after { display: none; }

.eyebrow {
  gap: 0;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
}
.eyebrow__line { display: none; }
.eyebrow--light { color: rgba(255, 255, 255, .7); }

.section { padding: clamp(70px, 8vw, 108px) 0; }
.section-head { gap: clamp(32px, 6vw, 86px); margin-bottom: clamp(34px, 4vw, 50px); }
.section-head h2 {
  max-width: 16em;
  font-size: clamp(29px, 3.15vw, 43px);
  line-height: 1.35;
  letter-spacing: .012em;
}
.section-head__lead { max-width: 32em; font-size: 13.5px; line-height: 1.95; }
.section-foot { border-color: var(--line); }

.reg-mark, .microtext-band, .page-hero__file, .page-hero__pattern,
.process-media__stamp, .process-media__scan, .footer__thread,
.hero__micro, .hero__coords { display: none !important; }

/* ---------- header ---------- */
.topbar { display: none; }
.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header__inner { height: 86px; gap: 38px; }
.brand__logo { width: 268px; }
.nav ul { gap: clamp(17px, 2vw, 29px); }
.nav__link { color: var(--ink-2); font-size: 13px; }
.nav__link.is-active { color: var(--blue); }
.nav__link::after { background: var(--blue); }
.lang-switch { font-size: 10px; }
.header__cta { min-height: 40px; padding-inline: 18px; }

/* mobile menu */
.mobile-menu { background: #fff; }
.mobile-menu__nav a { border-color: var(--line); }

/* ---------- hero: full-bleed photography ---------- */
.hero {
  position: relative;
  min-height: clamp(680px, calc(100vh - 86px), 880px);
  padding: 0;
  background: url("../img/paper-rosette.webp") center 42% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  left: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 32, .16) 0%, rgba(6, 18, 32, .04) 36%, rgba(6, 18, 32, .62) 74%, rgba(6, 18, 32, .84) 100%),
    linear-gradient(90deg, rgba(6, 18, 32, .42), transparent 62%);
  opacity: 1;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: clamp(680px, calc(100vh - 86px), 880px);
  padding-top: 0;
  padding-bottom: clamp(48px, 7vh, 76px);
  gap: 0;
}
.hero__copy { max-width: 700px; padding: 0; }
.hero__eyebrow {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
}
.hero__title {
  color: #fff;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: .02em;
}
.hero__title em, .hero__title em::after { color: #fff; }
.hero__title em::after { display: none; }
.hero__lead {
  max-width: 37em;
  margin-top: 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 14.5px;
  line-height: 1.85;
}
.hero__actions { margin-top: 27px; gap: 22px; }
.hero__actions .btn--primary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .58);
  color: #fff;
}
.hero__actions .btn--primary:hover { background: #fff; color: var(--ink); }
.hero__actions .text-link { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero__actions .text-link:hover { color: #fff; border-color: #fff; }
.hero__note { color: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .2); }
.hero__stage, .hero__foot { display: none; }
.hero__title-line2 { white-space: normal; }

/* ---------- classic image strip ---------- */
.classic-strip { background: #fff; padding: 22px 0 0; }
.classic-strip__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0 14px;
  border-top: 1px solid var(--line);
}
.classic-strip__top .eyebrow { font-size: 10px; }
.classic-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.classic-card { display: block; min-width: 0; }
.classic-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-radius: 10px;
}
.classic-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .9s var(--ease);
}
.classic-card:hover .classic-card__media img { transform: scale(1.025); }
.classic-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.classic-card figcaption span { color: var(--blue); font-family: var(--mono); font-size: 7px; }
.classic-card figcaption b { color: var(--ink); font-size: 11px; font-weight: 500; }
.classic-card figcaption em { font-style: normal; color: var(--muted); }

/* ---------- light stat band ---------- */
.stat-band {
  background: var(--paper-2);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-band::before { display: none; }
.stat { border-color: var(--line); padding: 27px 28px 29px; }
.stat:first-child { padding-left: 0; }
.stat__num { color: var(--ink); font-weight: 300; font-size: clamp(42px, 4.6vw, 60px); }
.stat__suffix { color: var(--muted); }
.stat__label { color: var(--ink-2); margin-top: 10px; font-size: 11.5px; }
.stat__note { display: none; }

/* ---------- manifesto ---------- */
.manifesto { background: #fff; border-bottom: 1px solid var(--line); }
.manifesto__grid { grid-template-columns: 2.1fr 9.9fr; }
.manifesto__side .eyebrow { writing-mode: initial; transform: none; margin-top: 16px; }
.statement { max-width: 18em; font-size: clamp(29px, 3.3vw, 44px); line-height: 1.45; }
.manifesto__foot { border-color: var(--line); }
.microtext-band { display: none; }

/* ---------- clean four-layer grid ---------- */
.layers { background: #fff; }
.layer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 24px;
}
.layer-card {
  display: flex;
  flex-direction: column;
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 0;
  overflow: visible;
  background: transparent;
  color: var(--ink);
  isolation: auto;
}
.layer-card::after, .layer-card__shade, .layer-card__arrow { display: none; }
.layer-card__img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: none;
  border-radius: 10px;
  transition: transform .8s var(--ease), filter .4s;
}
.layer-card:hover .layer-card__img { transform: scale(1.02); filter: none; }
.layer-card__top {
  position: static;
  order: 2;
  padding: 12px 0 0;
  color: var(--muted-light);
  font-size: 7.5px;
}
.layer-card__top span:first-child { color: var(--blue); }
.layer-card__body {
  position: static;
  order: 3;
  left: auto; right: auto; bottom: auto;
  padding: 7px 0 0;
}
.layer-card__body h3 { color: var(--ink); font-size: 20px; line-height: 1.4; font-weight: 400; }
.layer-card__body p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.layer-card__body .tag-list, .layer-card--4 .layer-card__body .tag-list { display: none; }
.layer-card--4 .layer-card__body { display: block; }
.layer-card--4 .layer-card__body p { margin-top: 6px; }

/* ---------- clean solution cards ---------- */
.solutions { background: #fff; border-top: 1px solid var(--line); }
.solution-grid { gap: 24px; align-items: start; }
.solution-card, .solution-card--2, .solution-card--3 {
  display: block;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.solution-card__media { border-radius: 10px; }
.solution-card__media img { filter: saturate(.86); }
.solution-card__open { display: none; }
.solution-card__no {
  top: 12px; left: 12px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink-2);
}
.solution-card__body { padding-top: 15px; }
.solution-card__body h3 { font-size: 23px; font-weight: 300; }
.solution-card__body > p:not(.solution-card__en) { font-size: 12px; line-height: 1.8; }
.solution-card .tag-list { display: none; }
.solution-card__link { color: var(--blue); border-color: transparent; font-size: 10px; margin-top: 14px; }

/* ---------- verification: original teal band ---------- */
.verify-section {
  background: var(--teal);
  color: #fff;
}
.verify-section__pattern { opacity: .12; }
.verify-section::after { display: none; }
.verify-section__copy h2 { font-size: clamp(31px, 3.6vw, 47px); }
.verify-section__copy .lead { color: rgba(255, 255, 255, .66); }
.verify-points { border-color: rgba(255, 255, 255, .2); }
.verify-points li { border-color: rgba(255, 255, 255, .18); }
.verify-points p { color: rgba(255, 255, 255, .58); }
.verify-card { background: #fff; border: 0; box-shadow: 0 28px 60px -34px rgba(0, 0, 0, .55); }

/* ---------- process: quieter ---------- */
.process { background: #fff; }
.process-media { border-radius: 12px; overflow: hidden; }
.process-media > img { filter: saturate(.85) contrast(1.02) brightness(1.02); }
.process-media__overlay {
  background: linear-gradient(0deg, rgba(5, 17, 28, .62), transparent 46%);
}
.process-media figcaption { color: rgba(255, 255, 255, .72); }
.process-step { border-color: var(--line); }

/* ---------- standards ---------- */
.standards { background: var(--paper-2); }
.standard__code { font-size: 13px; }
.standards__note { font-size: 9.5px; }

/* ---------- insights ---------- */
.insights { background: #fff; }
.insight__media, .insight__thumb, .insight__tag { border-radius: 9px; }
.insight__tag { background: rgba(255, 255, 255, .9); color: var(--blue); top: 10px; left: 10px; }
.insight--feature h3 { font-size: 27px; font-weight: 300; }
.insight__more { color: var(--blue); border-color: transparent; }
.insight-list { border-color: var(--line); }

/* ---------- CTA ---------- */
.cta { background: var(--blue-deep); }
.cta__pattern, .cta::after { display: none; }
.cta h2 { font-size: clamp(38px, 5.2vw, 67px); line-height: 1.2; }
.cta h2 span:last-child { color: rgba(255, 255, 255, .78); }
.cta__row { border-color: rgba(255, 255, 255, .24); }
.cta__note { font-size: 9px; }

/* ---------- footer ---------- */
.footer { background: #16181D; }
.footer__lead h2 { font-size: clamp(36px, 4.7vw, 60px); }
.footer__logo { width: 244px; }
.footer__badge { border-color: rgba(255, 255, 255, .16); }
.footer__bottom { border-color: rgba(255, 255, 255, .14); }

/* ---------- interior heroes: navy title blocks, no image ---------- */
.page-hero,
.page-hero--paper,
.page-hero--navy,
.page-hero--blue {
  background: var(--blue-deep);
  color: #fff;
  border-bottom: 0;
}
.page-hero__pattern { display: none; }
.page-hero .eyebrow { color: rgba(255, 255, 255, .66); }
.page-hero .breadcrumb { color: rgba(255, 255, 255, .5); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span[aria-current="page"] { color: rgba(255, 255, 255, .85); }
.page-hero__top { padding-top: 18px; }
.page-hero__grid {
  display: block;
  padding: 42px 0 36px;
}
.page-hero__copy h1 {
  max-width: 13em;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(36px, 4.1vw, 50px);
  line-height: 1.28;
  letter-spacing: .015em;
}
.page-hero__copy .lead {
  max-width: 760px;
  margin-top: 17px;
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
  line-height: 1.9;
}
.page-hero__note { color: rgba(255, 255, 255, .5); }
.page-hero__media { display: none; }
.page-hero__stats { border-color: rgba(255, 255, 255, .16); }
.page-stat { border-color: rgba(255, 255, 255, .15); padding: 18px 22px 21px 0; }
.page-stat b { color: #fff; font-size: 32px; font-weight: 300; }
.page-stat > div span { color: rgba(255, 255, 255, .55); }
.page-stat p { color: rgba(255, 255, 255, .6); font-size: 10.5px; }

/* anchor index */
.anchor-nav { background: rgba(255, 255, 255, .97); border-color: var(--line); }
.anchor-nav__links a { font-size: 11px; }

/* ---------- verify page ---------- */
.verify-hero { background: var(--blue-deep); }
.verify-hero__pattern { display: none; }
.verify-hero__copy h1 { font-size: clamp(42px, 5vw, 64px); }
.verify-hero__copy .lead { color: rgba(255, 255, 255, .72); }
.verify-hero__domain { border-color: rgba(255, 255, 255, .2); }
.verify-hero .breadcrumb { color: rgba(255, 255, 255, .5); }
.sample-grid { border-color: var(--line); }
.sample-record { background: #fff; border-color: var(--line); border-radius: 2px; }
.mode .tag-list { display: none; }
.domain-safety { background: var(--paper-2); }

/* ---------- insights index ---------- */
.insights-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.insights-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.12; }
.insights-hero__note { color: var(--muted); }
.featured-note__media { border-radius: 10px; }
.featured-note { border-color: var(--line); }
.notes-grid { gap: 28px 20px; }
.note-card__media { border-radius: 9px; }
.note-card__link { color: var(--blue); }

/* ---------- contact ---------- */
.contact-hero { background: #fff; }
.contact-hero::after { display: none; }
.contact-hero h1 { font-size: clamp(38px, 4.7vw, 58px); }
.contact-hero__grid { padding-top: 38px; }
.contact-direct { border-color: var(--line); }
.contact-main { background: #fff; }
.contact-aside__block { background: var(--paper-2); border-color: var(--line); }
.contact-map { border-radius: 2px; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { background: #fff; }
.privacy-note { background: var(--paper-2); }

/* ---------- technology: white lab, light archive ---------- */
.lab { background: var(--paper-2); border-color: var(--line); }
.lab__tabs { border-color: var(--line); }
.lab__tab.is-active { background: var(--blue); }
.lab__tab:hover:not(.is-active) { background: #fff; }
.lab-panel { background: #fff; }
.lab-panel__media { border-radius: 8px; }
.archive-section { background: #fff; border-color: var(--line); }
.archive-card__media { border-radius: 9px; }
.archive-card__no { background: rgba(255, 255, 255, .86); color: var(--ink-2); }
.archive-card__en { display: none; }
.light-test {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.light-test__copy h3 { color: var(--ink); }
.light-test .eyebrow--light { color: var(--blue); }
.light-test__copy > p:not(.eyebrow) { color: var(--muted); }
.light-test__note { color: var(--muted); border-color: var(--line); }
.light-panel { border-radius: 7px; }
.light-panel figcaption span { color: rgba(255, 255, 255, .92); }
.light-panel figcaption p { color: rgba(255, 255, 255, .65); }
.light-panel--uv figcaption span { color: #8FF2CF; }
.selector__tab.is-active { background: var(--blue-deep); }
.matrix-table thead th { background: var(--paper-2); }

/* ---------- about / articles / contact imagery ---------- */
.story__media img, .why__media img, .school-problem__media img,
.detail-row__frame, .note-card__media, .article-hero__media img,
.article-hero__media, .contact-map { border-radius: 10px; }
.detail-row__frame { overflow: hidden; }
.article-hero { background: #fff; }
.article-hero h1 { font-size: clamp(38px, 5vw, 63px); font-weight: 300; }
.article-hero__standfirst { font-size: 16px; }
.article-points { border-color: var(--line); }
.article-rail__box { background: var(--blue-deep); }
.article-rail__box .btn { background: #fff; color: var(--ink); }
.article-rail__box .btn:hover { background: var(--paper-2); }
.article-next { background: #fff; border-color: var(--line); }
.prose-section h2 span { color: var(--blue); }
blockquote { border-color: var(--blue); color: var(--blue-deep); }

/* ---------- utility pages ---------- */
.legal-hero, .error-page { background: #fff; }
.legal-hero h1 { font-size: clamp(36px, 4.4vw, 54px); }

/* ---------- responsive adjustments ---------- */
@media (max-width: 1100px) {
  .brand__logo { width: 220px; }
  .header__inner { gap: 26px; }
  .header__cta { padding-inline: 14px; }
  .layer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .classic-strip__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero, .hero__grid { min-height: 660px; }
  .hero__copy { max-width: 700px; }
  .hero__title { font-size: clamp(38px, 6.6vw, 52px); }
  .page-hero__grid { padding: 34px 0 32px; }
  .page-hero__copy h1 { font-size: clamp(34px, 6vw, 48px); }
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__side { display: flex; gap: 16px; }
  .manifesto__side .eyebrow { margin-top: 0; }
  .statement { max-width: 20em; }
  .classic-strip { padding-top: 18px; }
  .classic-strip__grid { gap: 12px; }
  .stat-band__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { padding-left: 22px; }
  .stat:nth-child(3) { padding-left: 0; }
}

@media (max-width: 680px) {
  .site-header { --header-h: 64px; }
  .header__inner { height: 64px; }
  .brand__logo { width: 176px; }
  .hero, .hero__grid { min-height: 640px; }
  .hero { background-position: center 38%; }
  .hero__grid { padding-bottom: 42px; }
  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(33px, 9vw, 40px); line-height: 1.28; }
  .hero__lead { font-size: 13px; line-height: 1.8; max-width: 32em; }
  .hero__actions { gap: 14px 20px; }
  .hero__actions .btn { width: auto; }
  .hero__note { margin-top: 20px; font-size: 10px; }
  .classic-strip__top { padding-top: 13px; }
  .classic-strip__top .text-link { display: none; }
  .classic-strip__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .classic-card figcaption { gap: 5px; flex-wrap: wrap; font-size: 9px; }
  .classic-card figcaption em { width: 100%; margin-left: 15px; }
  .stat { padding: 20px 12px 22px; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(2) { padding-left: 12px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 20px; }
  .stat__num { font-size: 42px; }
  .layer-grid { grid-template-columns: 1fr; gap: 30px; }
  .layer-card__body h3 { font-size: 21px; }
  .solution-grid { grid-template-columns: 1fr; gap: 30px; }
  .verify-section__copy h2 { font-size: 31px; }
  .page-hero__stats { grid-template-columns: 1fr 1fr; }
  .page-stat { padding: 13px 10px 15px 0; }
  .page-stat b { font-size: 27px; }
  .page-hero__copy h1 { font-size: clamp(31px, 8.8vw, 39px); }
  .page-hero__copy .lead { font-size: 12.5px; }
  .process-media { border-radius: 8px; }
  .cta h2 { font-size: clamp(36px, 10vw, 45px); }
  .footer__lead h2 { font-size: 38px; }
  .footer__logo { width: 220px; }
  .insights-hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .contact-hero h1 { font-size: 38px; }
  .archive-grid { gap: 22px; }
  .light-test { padding: 18px; }
  .article-hero h1 { font-size: 35px; }
}

@media (max-width: 420px) {
  .classic-strip__grid { grid-template-columns: 1fr; }
  .classic-card__media { aspect-ratio: 16 / 10; }
  .brand__logo { width: 160px; }
}

.page-hero__copy h1 .nowrap { white-space: nowrap; }

/* ---------- school section: align with standard section head ---------- */
.school-problem .section-head h2 {
  max-width: 15em;
  margin-top: 18px;
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: .015em;
}
.school-problem__grid { align-items: start; }
.school-problem__grid .school-problem__list { margin-top: 0; }
.school-problem__media img { aspect-ratio: 4 / 3; }
