.global-nav a[aria-current="page"] {
  color: var(--color-accent-strong);
}

.company-hero,
.representative-message,
.company-philosophy {
  overflow: hidden;
}

.company-hero .eyebrow,
.company-philosophy .eyebrow,
.company-purpose .eyebrow,
.company-profile .eyebrow {
  color: var(--color-accent-strong);
}

.company-hero {
  position: relative;
  padding: 5.5rem 0 3.4rem;
}

.company-hero::before {
  position: absolute;
  z-index: -1;
  top: -12rem;
  right: -14rem;
  width: min(88vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgb(138 112 80 / 18%);
  border-radius: 50%;
  content: "";
}

.company-hero__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.company-hero__content h1 {
  max-width: none;
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(2.05rem, 4vw, 2.5rem);
  line-height: 1.32;
}

.company-hero__content h1 .typo-line {
  white-space: nowrap;
}

.company-photo {
  position: relative;
  margin: 0;
  border-radius: 0.15rem;
  box-shadow: 0 1.6rem 4rem rgb(16 26 34 / 9%);
}

.company-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-photo::before,
.company-photo::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.company-photo::before {
  inset: 0;
  background: linear-gradient(105deg, rgb(255 253 248 / 54%) 0%, rgb(255 253 248 / 20%) 38%, rgb(16 26 34 / 8%) 100%);
  mix-blend-mode: screen;
}

.company-photo::after {
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgb(16 26 34 / 28%), transparent);
}

.company-photo .photo-slot__surface {
  padding: 0;
}

.company-photo .photo-slot__surface::before,
.company-photo .photo-slot__surface::after {
  display: none;
}

.company-photo--hero {
  min-height: clamp(18rem, 72vw, 34rem);
}

.company-photo--hero .photo-slot__surface {
  background:
    linear-gradient(118deg, rgb(255 253 248 / 82%) 0%, rgb(231 224 212 / 64%) 34%, rgb(36 43 44 / 44%) 100%),
    url("../images/company/company-hero.jpg") center / cover,
    linear-gradient(90deg, #d8d0c3, #a99d8d);
}

.representative-message {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
}

.representative-message__layout {
  display: grid;
  max-width: 54rem;
  gap: 0;
  align-items: start;
}

.representative-message__content {
  position: relative;
  z-index: 1;
}

.company-photo--representative {
  width: min(68vw, 18rem);
  height: auto;
  aspect-ratio: 4 / 5.25;
  margin: 1.25rem auto 1.6rem;
  overflow: hidden;
  box-shadow: 0 1.6rem 4rem rgb(0 0 0 / 18%);
}

.company-photo--representative img {
  object-position: center 18%;
}

.company-photo--representative::before {
  background: linear-gradient(105deg, rgb(255 253 248 / 22%) 0%, transparent 48%, rgb(19 33 43 / 12%) 100%);
  mix-blend-mode: screen;
}

.company-photo--representative::after {
  height: 34%;
  background: linear-gradient(0deg, rgb(19 33 43 / 28%), transparent);
}

.company-photo--representative .photo-slot__surface {
  background:
    linear-gradient(145deg, #817668, #bdb3a6 52%, #958879);
}

.representative-message__content h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.24;
}

.message-story {
  display: grid;
  gap: 1.25rem;
  max-width: 45rem;
}

.message-story p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 76%);
  line-height: 2.05;
}

.message-story p:nth-of-type(3),
.message-story p:nth-of-type(7),
.message-story p:nth-of-type(12) {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 4.4vw, 1.55rem);
  line-height: 1.85;
}

.message-keywords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 1rem 0;
}

.message-keywords span {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 18%);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.representative-message__signature {
  margin: 2.4rem 0 0;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.representative-message__signature span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-accent-soft);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.company-philosophy {
  background: var(--color-surface);
}

.company-philosophy__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.company-philosophy__content {
  position: relative;
  z-index: 2;
}

.company-philosophy h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(1.65rem, 6vw, 3rem);
}

.company-philosophy__content p:last-child {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 7vw, 4rem);
  line-height: 1.35;
}

.company-photo--philosophy {
  min-height: clamp(18rem, 70vw, 34rem);
}

.company-photo--philosophy .photo-slot__surface {
  background:
    linear-gradient(118deg, rgb(255 253 248 / 72%) 0%, rgb(255 253 248 / 22%) 42%, rgb(16 26 34 / 26%) 100%),
    url("../images/company/company-philosophy.jpg") center / cover,
    linear-gradient(135deg, #c7bda9 0%, #eee8dc 45%, #5d625d 100%);
}

.company-purpose {
  background: var(--color-background);
}

.purpose-list {
  display: grid;
  border-top: 1px solid var(--color-border);
}

.purpose-list article {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.purpose-list article > span {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-accent-strong);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purpose-list h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.55;
}

.purpose-list p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.company-profile {
  background: var(--color-surface);
}

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

.profile-list > div {
  display: grid;
  gap: 0.5rem;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.profile-list dt {
  color: var(--color-accent-strong);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-list dd {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  line-height: 1.8;
}

.profile-business-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-business-list li {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgb(32 39 44 / 13%);
  border-radius: 999px;
  background: rgb(255 253 248 / 58%);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 43.99rem) {
  .section {
    padding-block: 3.7rem;
  }

  .company-hero__content h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .company-hero__content h1 .typo-line {
    white-space: normal;
  }

  .representative-message__content h2 .typo-line,
  .company-purpose h2 .typo-line,
  .purpose-list h3 .typo-line {
    display: block;
  }

  .representative-message__content h2 {
    font-size: clamp(1.7rem, 7.4vw, 2.15rem);
    line-height: 1.34;
  }

  .representative-message__layout {
    gap: 0;
  }

  .company-photo--representative {
    width: min(66vw, 16rem);
    aspect-ratio: 4 / 5.25;
    margin-block: 1rem 1.45rem;
  }
}

@media (min-width: 44rem) {
  .company-hero {
    padding: 7rem 0 4.5rem;
  }

  .company-hero__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1.08fr);
    gap: clamp(2.4rem, 5vw, 4rem);
  }

  .company-photo--hero {
    min-height: 30rem;
  }

  .representative-message__layout {
    grid-template-columns: 1fr;
  }

  .company-philosophy__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4.8rem);
  }

  .company-philosophy__content {
    order: 2;
  }

  .company-photo--philosophy {
    order: 1;
  }

  .purpose-list {
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--color-border);
  }

  .purpose-list article {
    min-height: 19rem;
    padding: var(--space-4);
    border-right: 1px solid var(--color-border);
  }

  .profile-list > div {
    grid-template-columns: 12rem 1fr;
    gap: var(--space-4);
    align-items: baseline;
  }

}

@media (min-width: 64rem) {
  .company-hero {
    min-height: 42rem;
    display: grid;
    align-items: center;
    padding: 7rem 0 4rem;
  }

  .company-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
    gap: clamp(3rem, 5vw, 5rem);
  }

  .company-photo--hero {
    min-height: 38rem;
  }

  .representative-message {
    padding-block: 6rem;
  }

  .company-photo--representative {
    width: min(28vw, 17rem);
    aspect-ratio: 4 / 5.25;
    margin-block: 1.5rem 1.9rem;
  }

  .message-story {
    gap: 1.45rem;
  }

  .company-philosophy,
  .company-purpose,
  .company-profile {
    padding-block: 6.2rem;
  }

  .company-photo--philosophy {
    min-height: 38rem;
  }

  .profile-list {
    margin-left: 18%;
  }
}
