/* ============================================================
   YOMAI — HOME (index.html only)
   Athletic campaign layout: full-bleed hero, condensed display
   type, editorial marks. Loaded after site.css so inner pages
   stay untouched.
   ============================================================ */

:root {
  --cond: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
}

body.home { background: var(--paper); }

/* header */
body.home .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
body.home .site-header.is-solid { background: rgba(255, 255, 255, 0.96); }
body.home .header-cta {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
  font-family: var(--cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
}
body.home .header-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.hp { padding-top: var(--header-h); }

/* ---------------------------------------------------------- type ---- */
.hp-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.hp-label::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.hp-label--light { color: rgba(255, 255, 255, 0.6); }

.hp-h2 {
  font-family: var(--cond); font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.94; letter-spacing: 0.005em;
  margin-top: clamp(14px, 1.8vw, 22px);
}
.hp-h2 em { font-style: italic; color: var(--accent); }
.hp-h2--light { color: #fff; }

.hp-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.hp-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hp-eyebrow--light {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(17, 17, 17, 0.55);
}

/* ---------------------------------------------------------- hero ---- */
.hp-hero { position: relative; overflow: hidden; background: var(--ink); }
.hp-hero__img {
  display: block; width: 100%;
  height: min(84svh, 820px);
  object-fit: cover; object-position: 50% 38%;
}
.hp-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.22) 0%, rgba(17, 17, 17, 0) 34%, rgba(17, 17, 17, 0.78) 100%);
}
.hp-hero__content {
  position: absolute; inset: auto 0 0 0;
  z-index: 2; color: #fff;
  padding-bottom: clamp(30px, 4vw, 56px);
}
.hp-hero__title {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-family: var(--cond); font-weight: 800; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(3.1rem, 8.6vw, 8.2rem);
  line-height: 0.9; letter-spacing: 0.005em;
}
.hp-hero__title span { display: block; }
.hp-hero__title .stroke {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.92);
  text-shadow: none;
}
@supports not (-webkit-text-stroke: 2px white) {
  .hp-hero__title .stroke { color: rgba(255, 255, 255, 0.55); }
}

/* action bar under hero */
.hp-hero__bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.hp-hero__bar-grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3vw, 48px);
  padding-block: clamp(18px, 2.2vw, 28px);
}
.hp-lede {
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: var(--muted);
}
.hp-actions { display: flex; flex-shrink: 0; gap: 12px; }

.hp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  font-family: var(--cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 1rem;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.hp-btn::after { content: "\2192"; font-family: var(--font); letter-spacing: 0; }
.hp-btn--solid { background: var(--ink); color: #fff; }
.hp-btn--solid:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.hp-btn--ghost { background: transparent; color: var(--ink); }
.hp-btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.hp-btn--big { padding: 18px 34px; font-size: 1.1rem; }

/* ---------------------------------------------------------- hero marks */
.hp-hero__cross {
  position: absolute; z-index: 2;
  width: 15px; height: 15px;
  opacity: 0.7;
}
.hp-hero__cross::before,
.hp-hero__cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.85); }
.hp-hero__cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.hp-hero__cross::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.hp-hero__cross--tl { top: 22px; left: 22px; }
.hp-hero__cross--tr { top: 22px; right: 22px; }
.hp-hero__cross--bl { bottom: 22px; left: 22px; }
.hp-hero__cross--br { bottom: 22px; right: 22px; }

.hp-hero__side {
  position: absolute; z-index: 2;
  top: 50%; right: clamp(18px, 2.2vw, 34px);
  transform: translateY(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.hp-hero__stamp {
  position: absolute; z-index: 2;
  top: clamp(74px, 9vw, 118px); right: clamp(52px, 6vw, 96px);
  width: clamp(74px, 8vw, 112px); height: clamp(74px, 8vw, 112px);
  animation: hp-spin 24s linear infinite;
}
.hp-hero__stamp svg { width: 100%; height: 100%; display: block; }
@keyframes hp-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- contents */
.hp-index { background: var(--stone); border-bottom: 1px solid var(--line); }
.hp-index__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-index__item {
  display: flex; flex-direction: column; gap: 7px;
  padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
  transition: background 0.35s;
}
.hp-index__item:first-child { border-left: 0; padding-left: 0; }
.hp-index__item:last-child { padding-right: 0; }
.hp-index__item:hover { background: var(--paper); }
.hp-index__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--accent); }
.hp-index__name {
  font-family: var(--cond); font-weight: 700;
  font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hp-index__desc { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------------------------------------------------------- statement */
.hp-statement { padding-block: clamp(52px, 7.6vw, 118px); border-bottom: 1px solid var(--line); }
.hp-statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 72px);
  align-items: start;
}
.hp-quote {
  font-family: var(--cond); font-weight: 700; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.3vw, 3.1rem);
  line-height: 1.06; letter-spacing: 0.005em;
  max-width: 30ch;
}
.hp-quote::after { content: ""; display: block; width: 64px; height: 4px; background: var(--accent); margin-top: 26px; }

.hp-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.hp-link::after { content: "\2192"; font-family: var(--font); font-size: 13px; letter-spacing: 0; }
.hp-link:hover { color: var(--accent); border-color: var(--accent); gap: 18px; }
.hp-link--inline { margin-top: clamp(20px, 2.4vw, 30px); }

/* ---------------------------------------------------------- collections */
.hp-coll {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(52px, 7vw, 104px);
}
.hp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(14px, 3vw, 56px);
  align-items: end;
}
.hp-head .hp-label { grid-column: 1 / -1; }
.hp-head__lede {
  justify-self: end; max-width: 36ch;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.6; color: var(--muted);
}

.hp-coll__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
  margin-top: clamp(28px, 3.6vw, 52px);
}
.hp-card { display: block; }
.hp-card:nth-child(2), .hp-card:nth-child(4) { margin-top: clamp(24px, 4vw, 64px); }

.hp-card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #E8E8E3;
}
.hp-card__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, rgba(17,17,17,0) 0%, rgba(17,17,17,0.28) 100%);
  opacity: 0; transition: opacity 0.4s;
}
.hp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hp-card:hover .hp-card__media img { transform: scale(1.04); }
.hp-card:hover .hp-card__media::after { opacity: 1; }
.hp-card__media .ph {
  position: absolute; inset: 0;
  background: #E2E2DC;
  border: 1px dashed rgba(17, 17, 17, 0.22);
}
.hp-card__media .ph__mark { color: #4A4A44; }
.hp-card__media .ph__spec { color: #6E6E67; }
.hp-card__media .ph__file {
  color: #8A8A82;
  font-size: 9px;
  white-space: nowrap;
  word-break: normal;
  max-width: none;
  padding-inline: 0;
}

.hp-card__meta {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 14px;
  font-size: 12.5px;
}
.hp-card__meta .no { font-family: var(--mono); font-size: 9.5px; color: var(--accent); letter-spacing: 0.1em; }
.hp-card__meta .nm {
  flex: 1;
  font-family: var(--cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1.2rem;
}
.hp-card__meta .ar { color: var(--muted); transition: transform 0.35s, color 0.35s; }
.hp-card:hover .hp-card__meta .ar { transform: translateX(4px); color: var(--accent); }

/* ---------------------------------------------------------- technology */
.hp-tech { padding-block: clamp(52px, 7.4vw, 112px); }
.hp-tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(26px, 4.4vw, 72px);
  align-items: start;
}
.hp-rows { margin-top: clamp(22px, 2.8vw, 34px); border-top: 1px solid var(--line); }
.hp-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 190px) minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 22px);
  align-items: baseline;
  padding-block: clamp(15px, 1.7vw, 22px);
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s;
}
.hp-row:hover { padding-left: 8px; }
.hp-row .no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--accent); }
.hp-row h3 {
  font-family: var(--cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
}
.hp-row p { font-size: 12.8px; line-height: 1.55; color: var(--muted); }

.hp-tech__media {
  display: grid; gap: clamp(14px, 1.6vw, 22px);
  max-width: 380px; margin-left: auto;
}
.hp-tech__media figure { margin: 0; }
.hp-tech__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.hp-tech__media .offset { width: 76%; margin-left: auto; }
.hp-tech__media figcaption {
  display: flex; gap: 9px; margin-top: 9px;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.hp-tech__media figcaption span { color: var(--accent); }

/* ---------------------------------------------------------- culture --- */
.hp-culture { background: var(--ink); color: #fff; padding-block: clamp(52px, 6.6vw, 104px); }
.hp-culture__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4.2vw, 68px);
  align-items: start;
}
.hp-culture__lede {
  margin-top: clamp(16px, 2vw, 22px);
  max-width: 34ch;
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.62; color: rgba(255, 255, 255, 0.66);
}
.hp-times {
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hp-times li {
  display: flex; gap: 16px;
  padding-block: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}
.hp-times li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.hp-times li span { width: 42px; color: var(--accent); }
.hp-culture__media { display: grid; gap: clamp(16px, 2.2vw, 30px); }
.hp-culture__media figure { margin: 0; }
.hp-culture__media .m1 img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hp-culture__media .m2 { width: 88%; margin-left: auto; }
.hp-culture__media .m2 img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------------------------------------------------------- cta ------- */
.hp-cta { padding-block: clamp(56px, 8vw, 128px); }
.hp-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
}
.hp-cta__title {
  font-family: var(--cond); font-weight: 800; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.92; letter-spacing: 0.005em;
}
.hp-cta__title em { font-style: italic; color: var(--accent); }
.hp-cta__body p {
  max-width: 32ch; color: var(--muted);
  font-size: 0.96rem; line-height: 1.6;
}
.hp-cta__body .hp-btn { margin-top: 18px; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hp-hero__img { height: 72svh; }
  .hp-hero__title { font-size: clamp(3rem, 10.5vw, 6.4rem); }
  .hp-hero__bar-grid { flex-direction: column; align-items: flex-start; gap: 16px; }

  .hp-index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-index__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hp-index__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .hp-statement__grid { grid-template-columns: 1fr; gap: 18px; }
  .hp-head { grid-template-columns: 1fr; }
  .hp-head__lede { justify-self: start; margin-top: 12px; }

  .hp-coll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .hp-card:nth-child(2), .hp-card:nth-child(4) { margin-top: 0; }
  .hp-card:nth-child(even) { margin-top: clamp(20px, 4vw, 48px); }

  .hp-tech__grid { grid-template-columns: 1fr; }
  .hp-tech__media { grid-template-columns: 1fr 1fr; align-items: start; max-width: none; margin-left: 0; }
  .hp-tech__media .offset { width: 100%; }

  .hp-culture__grid { grid-template-columns: 1fr; }
  .hp-culture__media .m2 { width: 100%; }

  .hp-cta__grid { grid-template-columns: 1fr; align-items: start; gap: 22px; }
}

@media (max-width: 640px) {
  .hp-hero__img { height: 62svh; object-position: 50% 30%; }
  .hp-hero__cross--tl, .hp-hero__cross--tr { top: 14px; }
  .hp-hero__cross--tl, .hp-hero__cross--bl { left: 14px; }
  .hp-hero__cross--tr, .hp-hero__cross--br { right: 14px; }
  .hp-hero__cross--bl, .hp-hero__cross--br { bottom: 14px; }
  .hp-hero__side { display: none; }
  .hp-hero__stamp { top: 58px; right: 14px; width: 62px; height: 62px; }
  .hp-hero__content { padding-bottom: 24px; }
  .hp-hero__title { font-size: clamp(2.7rem, 13.5vw, 4.4rem); }
  .hp-hero__title .stroke { -webkit-text-stroke-width: 1.5px; }
  .hp-hero__bar-grid { padding-block: 20px; }
  .hp-actions { width: 100%; gap: 10px; }
  .hp-actions .hp-btn {
    flex: 1; justify-content: center;
    padding: 14px 10px; font-size: 0.92rem; letter-spacing: 0.08em;
  }
  .hp-actions .hp-btn::after { display: none; }

  .hp-index__grid { grid-template-columns: 1fr; }
  .hp-index__item { border-left: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  .hp-index__item:nth-child(-n + 2) { border-bottom: 0; }
  .hp-index__item:first-child { border-top: 0; }

  .hp-coll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .hp-card:nth-child(even) { margin-top: 30px; }
  .hp-card__meta { font-size: 11.5px; gap: 7px; }
  .hp-card__meta .nm { font-size: 1.02rem; letter-spacing: 0.03em; }

  .hp-row { grid-template-columns: 26px 1fr; row-gap: 6px; }
  .hp-row h3 { grid-column: 2; }
  .hp-row p { grid-column: 2; }

  .hp-quote { font-size: clamp(1.5rem, 6.6vw, 2.1rem); }
  .hp-cta__title { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .hp-btn--big { width: 100%; justify-content: center; }
}
