/*
Theme Name: Hasegawa Yumi Portfolio
Theme URI: https://taiwan-yumi-hasegawa.com/
Author: Codex
Description: One-page portfolio site for Yumi Hasegawa, Chinese translation and MC work.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 7.0
Text Domain: hasegawa-yumi-site
*/

:root {
  --ink: #171717;
  --muted: #5f6068;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(23, 23, 23, .12);
  --teal: #08736d;
  --jade: #0f9b85;
  --coral: #d95b49;
  --gold: #b9852c;
  --shadow: 0 18px 46px rgba(17, 24, 39, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
  margin: 0;
  min-width: 320px;
}

body.admin-bar .yh-header {
  top: 32px;
}

a {
  color: inherit;
}

.yh-page {
  overflow-x: clip;
}

.yh-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px;
  width: 100%;
}

.yh-header {
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, .86);
  border-bottom: 1px solid var(--line);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
}

.yh-header-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 68px;
}

.yh-brand {
  align-items: baseline;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  text-decoration: none;
}

.yh-brand strong {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.yh-brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.yh-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.yh-nav a {
  border-radius: 4px;
  color: #31323a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 10px;
  text-decoration: none;
}

.yh-nav a:hover,
.yh-nav a:focus {
  background: rgba(8, 115, 109, .1);
  color: var(--teal);
  outline: 0;
}

.yh-nav .is-cta {
  background: var(--ink);
  color: var(--white);
  padding-inline: 14px;
}

.yh-nav .is-cta:hover,
.yh-nav .is-cta:focus {
  background: var(--teal);
  color: var(--white);
}

.yh-hero {
  background:
    linear-gradient(90deg, rgba(10, 20, 22, .82) 0%, rgba(10, 20, 22, .54) 44%, rgba(10, 20, 22, .08) 100%),
    var(--hero-image) center / cover no-repeat;
  color: var(--white);
  min-height: min(760px, calc(100vh - 30px));
  position: relative;
}

.yh-hero-inner {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(290px, .64fr);
  gap: clamp(28px, 6vw, 84px);
  min-height: min(760px, calc(100vh - 30px));
  padding-bottom: clamp(54px, 9vh, 92px);
  padding-top: clamp(96px, 14vh, 148px);
}

.yh-eyebrow {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.yh-hero h1 {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .96;
  margin: 0;
}

.yh-hero-copy {
  color: rgba(255, 255, 255, .9);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 760px;
}

.yh-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.yh-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 50px;
  padding: 15px 20px;
  text-decoration: none;
}

.yh-button-primary {
  background: var(--coral);
  color: var(--white);
}

.yh-button-primary:hover,
.yh-button-primary:focus {
  background: #bd4738;
  color: var(--white);
}

.yh-button-secondary {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
}

.yh-button-secondary:hover,
.yh-button-secondary:focus {
  background: rgba(255, 255, 255, .22);
}

.yh-hero-panel {
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, .26);
  display: grid;
  gap: 14px;
  max-width: 420px;
  padding-left: 26px;
}

.yh-hero-panel p {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
}

.yh-hero-panel strong {
  color: var(--white);
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
}

.yh-proof {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.yh-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yh-proof-item {
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: 28px 24px;
}

.yh-proof-item:first-child {
  border-left: 1px solid var(--line);
}

.yh-proof-item span {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.yh-proof-item strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.yh-section {
  padding: clamp(70px, 10vw, 118px) 0;
}

.yh-section-head {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, .68fr) minmax(280px, .54fr);
  margin-bottom: clamp(36px, 6vw, 64px);
}

.yh-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.yh-section h2 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.yh-lead {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  margin: 0;
}

.yh-services {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yh-service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 26px;
}

.yh-service span {
  align-items: center;
  background: rgba(8, 115, 109, .1);
  border-radius: 6px;
  color: var(--teal);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 28px;
  width: 38px;
}

.yh-service h3 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 12px;
}

.yh-service p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
}

.yh-split {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  grid-template-columns: minmax(0, .92fr) minmax(320px, .76fr);
}

.yh-image-stack {
  display: grid;
  gap: 18px;
}

.yh-feature-image {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  width: 100%;
}

.yh-feature-image.is-wide {
  aspect-ratio: 16 / 10;
}

.yh-checks {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.yh-check {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.yh-check strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 6px;
}

.yh-check p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
}

.yh-band {
  background: #13201f;
  color: var(--white);
}

.yh-band .yh-kicker {
  color: #79d8cb;
}

.yh-band .yh-lead,
.yh-band .yh-work p,
.yh-band .yh-work li {
  color: rgba(255, 255, 255, .72);
}

.yh-work-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yh-work {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.yh-work img {
  aspect-ratio: 16 / 11;
  display: block;
  object-fit: cover;
  width: 100%;
}

.yh-work-body {
  padding: 22px;
}

.yh-work h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px;
}

.yh-work ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yh-work li {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.yh-work li::before {
  background: var(--coral);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: .72em;
  width: 6px;
}

.yh-profile {
  background: var(--white);
}

.yh-profile-grid {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 70px);
  grid-template-columns: minmax(0, .58fr) minmax(0, .9fr);
}

.yh-profile-name {
  position: sticky;
  top: 96px;
}

.yh-profile-name img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: min(320px, 100%);
}

.yh-profile-name h2 {
  font-size: 54px;
  margin-top: 24px;
}

.yh-profile-list {
  display: grid;
  gap: 0;
}

.yh-profile-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 22px 0;
}

.yh-profile-row:last-child {
  border-bottom: 1px solid var(--line);
}

.yh-profile-row strong {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.yh-profile-row p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
  margin: 0;
}

.yh-process {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.yh-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: process;
  min-width: 0;
  padding: 24px;
}

.yh-step::before {
  color: var(--gold);
  content: "0" counter(process);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.yh-step strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 8px;
}

.yh-step p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
  margin: 0;
}

.yh-cta {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, .84), rgba(23, 23, 23, .48)),
    var(--cta-image) center / cover no-repeat;
  color: var(--white);
  padding: clamp(76px, 12vw, 132px) 0;
}

.yh-cta-box {
  max-width: 760px;
}

.yh-cta h2 {
  font-size: 64px;
}

.yh-cta p {
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.9;
  margin: 22px 0 0;
}

.yh-contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  max-width: 780px;
}

.yh-field {
  display: grid;
  gap: 8px;
}

.yh-field-full,
.yh-contact-form .yh-hero-actions {
  grid-column: 1 / -1;
}

.yh-field span {
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.yh-field input,
.yh-field select,
.yh-field textarea {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 6px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
  min-height: 48px;
  padding: 11px 13px;
  width: 100%;
}

.yh-field textarea {
  min-height: 132px;
  resize: vertical;
}

.yh-field input:focus,
.yh-field select:focus,
.yh-field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(217, 91, 73, .28);
  outline: 0;
}

.yh-form-status {
  border-radius: 6px;
  font-size: 15px;
  margin: 20px 0 0;
  padding: 12px 14px;
}

.yh-form-status.is-success {
  background: rgba(15, 155, 133, .18);
  color: var(--white);
}

.yh-form-status.is-error {
  background: rgba(217, 91, 73, .24);
  color: var(--white);
}

.yh-hp {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.yh-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 30px 0;
}

.yh-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.yh-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  body.admin-bar .yh-header {
    top: 0;
  }

  .yh-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .yh-nav {
    justify-content: flex-start;
  }

  .yh-hero-inner,
  .yh-section-head,
  .yh-split,
  .yh-profile-grid {
    grid-template-columns: 1fr;
  }

  .yh-hero-panel {
    align-self: auto;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .26);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    padding-left: 0;
    padding-top: 22px;
  }

  .yh-proof-grid,
  .yh-services,
  .yh-work-grid,
  .yh-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yh-profile-name {
    position: static;
  }

  .yh-hero h1 {
    font-size: 76px;
  }

  .yh-hero-copy {
    font-size: 20px;
  }

  .yh-hero-panel strong {
    font-size: 27px;
  }

  .yh-proof-item strong {
    font-size: 21px;
  }

  .yh-section h2,
  .yh-profile-name h2,
  .yh-cta h2 {
    font-size: 38px;
  }

  .yh-lead,
  .yh-cta p {
    font-size: 16px;
  }

  .yh-contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .yh-wrap {
    padding: 0 18px;
  }

  .yh-nav a {
    font-size: 12px;
    padding: 10px 8px;
  }

  .yh-hero {
    background:
      linear-gradient(180deg, rgba(10, 20, 22, .92) 0%, rgba(10, 20, 22, .58) 62%, rgba(10, 20, 22, .26) 100%),
      var(--hero-image) center top / cover no-repeat;
  }

  .yh-hero-inner {
    min-height: 720px;
    padding-bottom: 42px;
    padding-top: 116px;
  }

  .yh-hero h1 {
    font-size: 54px;
  }

  .yh-section h2,
  .yh-profile-name h2,
  .yh-cta h2 {
    font-size: 31px;
  }

  .yh-hero-panel,
  .yh-proof-grid,
  .yh-services,
  .yh-work-grid,
  .yh-process {
    grid-template-columns: 1fr;
  }

  .yh-proof-item,
  .yh-proof-item:first-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .yh-profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
