/*
Theme Name: Hasegawa Yumi Portfolio
Theme URI: https://taiwan-yumi-hasegawa.com/
Author: Codex
Description: Portfolio site for Yumi Hasegawa, bilingual MC, interpreter and translator.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 7.0
Text Domain: hasegawa-yumi-site
*/

:root {
  --ink: #181716;
  --ink-soft: #302d2a;
  --muted: #68635e;
  --paper: #f7f5f1;
  --paper-warm: #eee9e2;
  --white: #ffffff;
  --line: rgba(24, 23, 22, .14);
  --red: #c93d3b;
  --red-dark: #9e292a;
  --teal: #16766e;
  --gold: #b7872f;
  --shadow: 0 22px 54px rgba(31, 25, 20, .16);
}

* {
  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;
}

body,
button,
input,
select,
textarea {
  font-feature-settings: "palt" 0;
}

a {
  color: inherit;
}

img {
  height: auto;
  max-width: 100%;
}

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

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

.yh-header {
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 241, .92);
  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: 24px;
  justify-content: space-between;
  min-height: 66px;
}

.yh-brand {
  align-items: baseline;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  text-decoration: none;
}

.yh-brand strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.yh-nav a {
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.yh-nav a:hover {
  background: rgba(22, 118, 110, .09);
  color: var(--teal);
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(22, 118, 110, .38);
  outline-offset: 3px;
}

.yh-hero {
  background:
    linear-gradient(270deg, rgba(18, 16, 15, .94) 0%, rgba(18, 16, 15, .82) 38%, rgba(18, 16, 15, .20) 72%, rgba(18, 16, 15, .06) 100%),
    var(--hero-image) 46% 42% / cover no-repeat;
  color: var(--white);
  min-height: 690px;
  position: relative;
}

.yh-hero-inner {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 690px;
  padding-bottom: 64px;
  padding-top: 64px;
}

.yh-hero-content {
  max-width: 570px;
  width: 49%;
}

.yh-eyebrow,
.yh-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.yh-eyebrow {
  color: rgba(255, 255, 255, .68);
}

.yh-kicker {
  color: var(--red);
}

.yh-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.yh-hero-tagline {
  color: var(--white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.55;
  margin: 28px 0 0;
}

.yh-hero-copy {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  margin: 22px 0 0;
}

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

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

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

.yh-button-primary:hover {
  background: var(--red-dark);
  color: var(--white);
}

.yh-button-dark {
  background: var(--ink);
  color: var(--white);
  margin-top: 30px;
}

.yh-button-dark:hover {
  background: var(--teal);
  color: var(--white);
}

.yh-text-link {
  border-bottom: 1px solid rgba(255, 255, 255, .48);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 0;
  text-decoration: none;
}

.yh-text-link:hover {
  border-color: var(--white);
}

.yh-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.yh-hero-tags li {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  padding-left: 13px;
  position: relative;
}

.yh-hero-tags li::before {
  background: var(--red);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: .46em;
  width: 5px;
}

.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: 25px 24px;
}

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

.yh-proof-item span {
  color: var(--red);
  display: block;
  font-size: 9px;
  font-weight: 900;
  margin-bottom: 7px;
}

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

.yh-proof-item small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 4px;
}

.yh-section {
  padding: 104px 0;
  scroll-margin-top: 84px;
}

.yh-section-head {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .62fr);
  margin-bottom: 58px;
}

.yh-section h2,
.yh-contact h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  margin: 0;
}

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

.yh-services {
  display: grid;
  gap: 14px;
  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: 28px 24px;
}

.yh-service-number {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 40px;
}

.yh-service h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 14px;
}

.yh-service > p:not(.yh-service-number) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
  margin: 0;
}

.yh-service ul {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
}

.yh-service li {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  padding-left: 13px;
  position: relative;
}

.yh-service li::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  top: .62em;
  width: 4px;
}

.yh-strengths {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.yh-strengths-grid {
  display: grid;
  gap: 84px;
  grid-template-columns: minmax(320px, .76fr) minmax(0, 1fr);
}

.yh-strengths-intro {
  align-self: start;
  position: sticky;
  top: 100px;
}

.yh-strengths-intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  margin: 26px 0 0;
}

.yh-strength-list {
  border-top: 1px solid var(--line);
}

.yh-strength-list article {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 30px 0;
}

.yh-strength-list article > span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.yh-strength-list h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 8px;
}

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

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

.yh-technical-grid {
  align-items: center;
  display: grid;
  gap: 78px;
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1fr);
}

.yh-technical-image {
  margin: 0;
  position: relative;
}

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

.yh-technical-image figcaption {
  background: var(--white);
  bottom: 24px;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 700;
  left: 24px;
  line-height: 1.5;
  padding: 13px 16px;
  position: absolute;
}

.yh-technical .yh-lead {
  margin-top: 28px;
}

.yh-term-groups {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.yh-term-groups > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 17px 0;
}

.yh-term-groups strong {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
}

.yh-term-groups p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}

.yh-works {
  background: var(--ink);
  color: var(--white);
}

.yh-works .yh-kicker {
  color: #ee7570;
}

.yh-works .yh-lead {
  color: rgba(255, 255, 255, .66);
}

.yh-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yh-gallery figure {
  background: #292522;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: grid;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.yh-gallery-main {
  grid-row: auto;
}

.yh-gallery img {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  width: 100%;
}

.yh-gallery-main img {
  aspect-ratio: 16 / 10;
  object-position: center 36%;
}

.yh-gallery figure:not(.yh-gallery-main) img {
  aspect-ratio: 16 / 10;
  object-position: center 38%;
}

.yh-gallery figcaption {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  padding: 17px 18px;
}

.yh-gallery figcaption strong {
  font-size: 14px;
  font-weight: 900;
}

.yh-gallery figcaption span {
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
}

.yh-track-record {
  background: var(--paper-warm);
  scroll-margin-top: 84px;
}

.yh-record-stats {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 54px;
}

.yh-record-stats > div {
  display: grid;
  gap: 7px;
  padding: 24px 28px;
}

.yh-record-stats > div + div {
  border-left: 1px solid var(--line);
}

.yh-record-stats strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  line-height: 1.25;
}

.yh-record-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.yh-featured-works {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yh-featured-work {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 27px 28px 25px;
}

.yh-featured-work-meta {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 27px;
}

.yh-featured-work-meta > span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.yh-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.yh-role-list span {
  background: rgba(22, 118, 110, .09);
  border-radius: 3px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 8px;
  white-space: nowrap;
}

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

.yh-featured-work p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  margin: 15px 0 23px;
}

.yh-featured-work > a {
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  margin-top: auto;
  padding-bottom: 3px;
  text-decoration: none;
}

.yh-featured-work > a:hover,
.yh-record-title a:hover {
  color: var(--red);
}

.yh-history-heading {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-top: 82px;
  padding-bottom: 20px;
}

.yh-history-heading h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 34px;
  line-height: 1.35;
  margin: 5px 0 0;
}

.yh-history-heading > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
}

.yh-record-years {
  border-bottom: 1px solid var(--line);
}

.yh-record-year {
  border-top: 1px solid var(--line);
}

.yh-record-year:first-child {
  border-top: 0;
}

.yh-record-year summary {
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  padding: 21px 8px;
}

.yh-record-year summary small {
  color: var(--muted);
  float: right;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding-top: 9px;
}

.yh-record-year[open] summary {
  color: var(--red);
}

.yh-record-year ul {
  list-style: none;
  margin: 0;
  padding: 0 0 18px;
}

.yh-record-year li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 62px minmax(0, 1fr);
  padding: 18px 8px;
}

.yh-record-year time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.yh-record-entry {
  min-width: 0;
}

.yh-record-title {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
}

.yh-record-title strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.75;
}

.yh-record-title a {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yh-record-entry > .yh-role-list {
  margin-top: 9px;
}

.yh-record-entry > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  margin: 11px 0 0;
}

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

.yh-profile-grid {
  display: grid;
  gap: 86px;
  grid-template-columns: minmax(280px, .6fr) minmax(0, 1fr);
}

.yh-profile-heading h2 {
  font-size: 66px;
}

.yh-profile-roman {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  margin: 16px 0 0;
}

.yh-profile-intro {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.85;
  margin: 0 0 34px;
}

.yh-profile-list {
  border-top: 1px solid var(--line);
  margin: 0;
}

.yh-profile-list > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 20px 0;
}

.yh-profile-list dt {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.8;
}

.yh-profile-list dd {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
  margin: 0;
}

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

.yh-process {
  counter-reset: none;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.yh-process li {
  border-left: 1px solid var(--line);
  min-width: 0;
  padding: 4px 26px 8px;
}

.yh-process li:last-child {
  border-right: 1px solid var(--line);
}

.yh-process span {
  color: var(--gold);
  display: block;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 26px;
}

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

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

.yh-contact {
  background:
    linear-gradient(90deg, rgba(20, 18, 17, .98) 0%, rgba(20, 18, 17, .93) 55%, rgba(20, 18, 17, .62) 100%),
    var(--contact-image) center 30% / cover no-repeat;
  color: var(--white);
  padding: 104px 0;
  scroll-margin-top: 84px;
}

.yh-contact-grid {
  align-items: start;
  display: grid;
  gap: 78px;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr);
}

.yh-contact .yh-kicker {
  color: #ee7570;
}

.yh-contact-copy > p:not(.yh-kicker) {
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
  margin: 24px 0 0;
}

.yh-contact-copy ul {
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
}

.yh-contact-copy li {
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 800;
  padding-left: 16px;
  position: relative;
}

.yh-contact-copy li::before {
  background: var(--red);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: .48em;
  width: 5px;
}

.yh-form-wrap {
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
  padding: 32px;
}

.yh-contact-form {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yh-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.yh-field-full,
.yh-submit {
  grid-column: 1 / -1;
}

.yh-field span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.yh-field em {
  color: var(--red);
  font-size: 9px;
  font-style: normal;
  margin-left: 4px;
}

.yh-field input,
.yh-field select,
.yh-field textarea {
  background: #faf9f7;
  border: 1px solid rgba(24, 23, 22, .22);
  border-radius: 5px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  min-height: 48px;
  padding: 11px 12px;
  width: 100%;
}

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

.yh-field input:focus,
.yh-field select:focus,
.yh-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 118, 110, .16);
  outline: 0;
}

.yh-field input::placeholder,
.yh-field textarea::placeholder {
  color: #918b85;
  font-weight: 600;
}

.yh-submit {
  border: 0;
  margin-top: 4px;
  width: 100%;
}

.yh-form-status {
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 18px;
  padding: 12px 14px;
}

.yh-form-status.is-success {
  background: rgba(22, 118, 110, .12);
  color: #0d5f58;
}

.yh-form-status.is-error {
  background: rgba(201, 61, 59, .12);
  color: var(--red-dark);
}

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

.yh-footer {
  background: #0f0e0d;
  color: rgba(255, 255, 255, .58);
  padding: 32px 0;
}

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

.yh-footer-inner > div {
  display: grid;
  gap: 3px;
}

.yh-footer strong {
  color: var(--white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
}

.yh-footer span,
.yh-footer a {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.yh-footer a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}

@media (max-width: 1080px) {
  .yh-hero {
    min-height: 650px;
  }

  .yh-hero-inner {
    min-height: 650px;
  }

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

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

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

  .yh-strengths-grid,
  .yh-technical-grid,
  .yh-profile-grid,
  .yh-contact-grid {
    gap: 52px;
  }
}

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

  .yh-wrap {
    padding: 0 22px;
  }

  .yh-header-inner {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 9px 0;
  }

  .yh-nav {
    flex: 0 0 auto;
    justify-content: flex-end;
    max-width: none;
    overflow: visible;
    padding-bottom: 0;
    width: auto;
  }

  .yh-nav a:not(.is-cta) {
    display: none;
  }

  .yh-nav a {
    padding: 9px 8px;
  }

  .yh-nav .is-cta {
    margin-left: 0;
  }

  .yh-hero {
    background:
      linear-gradient(180deg, rgba(18, 16, 15, .14) 0%, rgba(18, 16, 15, .32) 44%, rgba(18, 16, 15, .96) 78%, rgba(18, 16, 15, .99) 100%),
      var(--hero-image) 42% top / cover no-repeat;
    min-height: 720px;
  }

  .yh-hero-inner {
    align-items: flex-end;
    min-height: 720px;
    padding-bottom: 42px;
    padding-top: 250px;
  }

  .yh-hero-content {
    max-width: 660px;
    width: 100%;
  }

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

  .yh-hero-tagline {
    font-size: 25px;
    margin-top: 18px;
  }

  .yh-hero-copy {
    font-size: 14px;
    margin-top: 15px;
  }

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

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

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

  .yh-section,
  .yh-contact {
    padding: 78px 0;
  }

  .yh-section-head,
  .yh-strengths-grid,
  .yh-technical-grid,
  .yh-profile-grid,
  .yh-contact-grid {
    grid-template-columns: 1fr;
  }

  .yh-section-head {
    gap: 24px;
    margin-bottom: 42px;
  }

  .yh-section h2,
  .yh-contact h2 {
    font-size: 38px;
  }

  .yh-strengths-intro {
    position: static;
  }

  .yh-technical-image {
    margin: 0 auto;
    max-width: 520px;
    order: 2;
    width: 100%;
  }

  .yh-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .yh-gallery-main {
    grid-row: auto;
  }

  .yh-gallery img,
  .yh-gallery-main img,
  .yh-gallery figure:not(.yh-gallery-main) img {
    aspect-ratio: 16 / 10;
  }

  .yh-featured-works {
    grid-template-columns: 1fr;
  }

  .yh-featured-work {
    min-height: 0;
  }

  .yh-profile-heading h2 {
    font-size: 54px;
  }

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

  .yh-process li:nth-child(3) {
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }

  .yh-process li:nth-child(4) {
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }
}

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

  .yh-brand strong {
    font-size: 19px;
  }

  .yh-brand span {
    font-size: 9px;
  }

  .yh-nav a {
    font-size: 11px;
  }

  .yh-record-stats {
    grid-template-columns: 1fr;
  }

  .yh-record-stats > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
  }

  .yh-record-stats > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .yh-record-stats strong {
    font-size: 22px;
  }

  .yh-featured-work {
    padding: 23px 21px;
  }

  .yh-featured-work-meta {
    margin-bottom: 20px;
  }

  .yh-history-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    margin-top: 62px;
  }

  .yh-history-heading h3 {
    font-size: 30px;
  }

  .yh-record-year summary {
    font-size: 21px;
    padding-inline: 2px;
  }

  .yh-record-year li {
    gap: 13px;
    grid-template-columns: 43px minmax(0, 1fr);
    padding-inline: 2px;
  }

  .yh-record-title strong {
    font-size: 13px;
  }

  .yh-hero {
    background:
      linear-gradient(180deg, rgba(18, 16, 15, .08) 0%, rgba(18, 16, 15, .2) 38%, rgba(18, 16, 15, .94) 68%, rgba(18, 16, 15, 1) 100%),
      var(--hero-image) 43% top / auto 470px no-repeat,
      #151311;
    min-height: 690px;
  }

  .yh-hero-inner {
    min-height: 690px;
    padding-bottom: 34px;
    padding-top: 300px;
  }

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

  .yh-hero-tagline {
    font-size: 22px;
    line-height: 1.5;
  }

  .yh-hero-copy {
    line-height: 1.8;
  }

  .yh-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .yh-button,
  .yh-text-link {
    width: 100%;
  }

  .yh-text-link {
    text-align: center;
  }

  .yh-hero-tags {
    gap: 6px 13px;
    margin-top: 20px;
  }

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

  .yh-proof-item,
  .yh-proof-item:first-child,
  .yh-proof-item:nth-child(odd) {
    border-left: 0;
    border-right: 0;
  }

  .yh-section,
  .yh-contact {
    padding: 66px 0;
  }

  .yh-section h2,
  .yh-contact h2 {
    font-size: 32px;
  }

  .yh-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .yh-service-number {
    margin-bottom: 26px;
  }

  .yh-strengths-grid {
    gap: 36px;
  }

  .yh-strength-list article {
    gap: 14px;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 24px 0;
  }

  .yh-technical-grid {
    gap: 40px;
  }

  .yh-technical-image figcaption {
    bottom: 12px;
    font-size: 14px;
    left: 12px;
    padding: 10px 12px;
  }

  .yh-term-groups > div,
  .yh-profile-list > div {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .yh-profile-heading h2 {
    font-size: 46px;
  }

  .yh-profile-intro {
    font-size: 20px;
  }

  .yh-process li,
  .yh-process li:nth-child(3),
  .yh-process li:nth-child(4) {
    border-bottom: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 22px 0;
  }

  .yh-process span {
    margin-bottom: 14px;
  }

  .yh-contact {
    background:
      linear-gradient(rgba(20, 18, 17, .94), rgba(20, 18, 17, .98)),
      var(--contact-image) center / cover no-repeat;
  }

  .yh-contact-grid {
    gap: 38px;
  }

  .yh-form-wrap {
    padding: 22px 17px;
  }

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

  .yh-field,
  .yh-field-full,
  .yh-submit {
    grid-column: 1;
  }

  .yh-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
