.profile-page {
  padding-bottom: 0;
}
.profile-container {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.profile-section {
  padding-block: 100px;
}
.profile-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
}
.profile-label::before {
  content: "";
  width: 22px;
  height: 5px;
  background: var(--yellow);
}
.profile-label > span {
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.profile-hero {
  padding-block: 64px 72px;
  background: #f5f5f2;
}
.profile-hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}
.profile-hero h1 {
  font-size: clamp(42px, 4.5vw, 60px);
  line-height: 1.3;
  letter-spacing: 0.09em;
}
.profile-roman-name {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.profile-position {
  margin-top: 18px;
  font-size: 14px;
}
.profile-hero-message {
  margin-top: 36px;
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.65;
  font-weight: 700;
}
.profile-hero-message span {
  display: block;
}
.profile-hero-description {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2;
}
.profile-portrait {
  overflow: hidden;
  border-radius: 50% 50% 12px 12px;
  background: white;
  padding-block: 20px;
}
.profile-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}
.profile-facts > div {
  padding-inline: 20px;
  text-align: center;
}
.profile-facts > div + div {
  border-left: 1px solid var(--line);
}
.profile-facts dt {
  margin-bottom: 16px;
  font-size: 14px;
}
.profile-facts dd {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}
.profile-facts strong {
  font-size: clamp(42px, 4.5vw, 58px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.profile-facts dd span {
  font-size: 18px;
  font-weight: 700;
}
.profile-page main h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.65;
  letter-spacing: 0.035em;
  text-wrap: initial;
}
.profile-page main h2 > span {
  display: inline-block;
}
.profile-section-heading {
  margin-bottom: 48px;
}
.profile-section-heading > p:last-child {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2.1;
}
.profile-career {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
}
.profile-career li {
  display: flex;
  flex-direction: column;
  position: relative;
}
.profile-career li + li::before {
  content: "";
  position: absolute;
  top: clamp(128px, 12.4vw, 158px);
  left: -22px;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}
.profile-career-visual {
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 12px;
  background: #f5f5f1;
  overflow: hidden;
}
.profile-career-visual img {
  width: 100%;
  max-width: 380px;
}
.profile-career-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
}
.profile-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}
.profile-career h3 {
  margin-bottom: 20px;
  font-size: 23px;
  line-height: 1.7;
  letter-spacing: 0;
  text-wrap: initial;
}
.profile-career li > p:not(.profile-career-stage) {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 2;
}
.profile-career-tag {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.profile-paper {
  background: #f5f4ee;
}
.profile-work-title {
  margin-bottom: 28px;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.7;
  letter-spacing: 0;
  text-wrap: initial;
}
.profile-change-label {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.profile-work-comparison {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 40px;
  align-items: stretch;
}
.profile-work-before,
.profile-work-after {
  position: relative;
  padding: 30px;
  border: 1px solid #d8d8cf;
  border-radius: 12px;
}
.profile-work-before {
  background: #eeeee8;
}
.profile-work-before::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}
.profile-work-after {
  background: white;
  border-top: 5px solid var(--yellow);
  padding-top: 26px;
}
.profile-work-comparison h4 {
  margin: 0 0 26px;
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: 0;
}
.profile-task-requests {
  display: grid;
  gap: 12px;
  list-style: none;
}
.profile-task-requests li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid #d8d8cf;
  border-radius: 12px 12px 12px 0;
  background: white;
  font-size: 14px;
  letter-spacing: 0;
}
.profile-task-requests li > span {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
}
.profile-agent-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin-block: 32px 28px;
}
.profile-agent-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  letter-spacing: 0;
}
.profile-agent-flow li + li::before {
  content: "";
  position: absolute;
  top: 45px;
  left: -18px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}
.profile-agent-flow img {
  width: 116px;
  margin-bottom: 10px;
}
.profile-agent-flow strong {
  font-size: 18px;
  margin-bottom: 5px;
}
.profile-agent-flow li > span {
  font-size: 14px;
}
.profile-diagram-note {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.9;
}
.profile-work-after .profile-diagram-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.profile-diagram-note > span[aria-hidden] {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
}
.profile-work-detail {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2.1;
}
.profile-expansion {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid #d1d1c8;
}
.profile-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.profile-output-grid li {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 18px 18px 26px;
  border-radius: 12px;
  background: white;
  text-align: center;
  letter-spacing: 0;
}
.profile-output-grid img {
  width: 140px;
  margin-bottom: 6px;
}
.profile-output-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}
.profile-output-grid li > div > span {
  display: block;
  font-size: 14px;
}
.profile-human-note {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-top: 48px;
  padding: 30px 32px;
  border: 1px solid #d1d1c8;
  border-radius: 12px;
}
.profile-human-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  font-size: 30px;
  font-weight: 700;
}
.profile-human-note h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.7;
  text-wrap: initial;
}
.profile-human-note div > p:last-child {
  font-size: 15px;
  line-height: 2;
}
.profile-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.profile-principles article {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.profile-principles .profile-number {
  display: block;
  margin-bottom: 24px;
}
.profile-principles h3 {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0;
  text-wrap: initial;
}
.profile-principles p {
  font-size: 15px;
  line-height: 2;
}
.profile-activities {
  background: #fafaf7;
  border-block: 1px solid var(--line);
}
.profile-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.profile-activities .seminar-teaser {
  max-width: none;
}
.profile-service-card {
  display: flex;
  flex-direction: column;
  padding: 30px 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.profile-service-card:hover {
  border-color: var(--ink);
}
.profile-service-card:focus-visible,
.profile-social-links a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.profile-service-card > img {
  width: min(100%, 310px);
  height: auto;
  margin: 0 auto 22px;
}
.profile-service-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.profile-service-type {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.profile-service-card h3 {
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 1.65;
  text-wrap: initial;
}
.profile-service-card h3 br {
  display: none;
}
.profile-service-card p:not(.profile-service-type) {
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 2;
}
.profile-card-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}
.profile-sharing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
}
.profile-sharing h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0;
  text-wrap: initial;
}
.profile-sharing p {
  font-size: 14px;
}
.profile-social-links {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.profile-social-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 156px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
}
.profile-social-links img {
  width: 70px;
  height: 40px;
  object-fit: contain;
}
.profile-social-links a:hover {
  border-color: var(--ink);
}
.profile-company-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.profile-company-summary {
  align-self: start;
  padding: 36px;
  background: #f5f5f2;
  border-radius: 10px;
}
.profile-company-wordmark {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.015em;
}
.profile-company-message {
  margin-block: 28px 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.9;
}
.profile-company-summary > p:last-of-type {
  font-size: 14px;
  line-height: 2;
}
.profile-company-summary .text-link {
  margin-top: 24px;
  font-size: 14px;
}
.profile-company-specs {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.profile-company-specs > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.profile-company-specs dt {
  font-size: 14px;
  font-weight: 700;
}
.profile-company-specs dd {
  margin: 0;
  font-size: 15px;
  line-height: 2;
}
.profile-contact {
  margin-bottom: 60px;
  padding-block: 64px;
  background: #eeeee4;
}
.profile-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.profile-contact .profile-label {
  margin-bottom: 20px;
}
.profile-contact h2 > span {
  display: block;
}
.profile-contact-inner > div > p:last-child {
  margin-top: 20px;
  font-size: 15px;
}
.profile-contact .button {
  min-width: 290px;
  flex-shrink: 0;
  border-radius: 6px;
}
.profile-page .site-footer {
  padding-top: 20px;
}
@media (max-width: 1100px) {
  .profile-hero-inner,
  .profile-company-layout {
    gap: 34px;
  }
  .profile-career,
  .profile-principles {
    gap: 24px;
  }
  .profile-career h3 {
    font-size: 21px;
  }
  .profile-service-card h3 {
    font-size: 23px;
  }
  .profile-service-card h3 br {
    display: initial;
  }
  .profile-sharing {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-company-summary {
    padding: 28px;
  }
}
@media (max-width: 820px) {
  .profile-section {
    padding-block: 76px;
  }
  .profile-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-portrait {
    width: min(440px, 100%);
    justify-self: center;
  }
  .profile-facts > div {
    padding-inline: 12px;
  }
  .profile-facts dt {
    min-height: 54px;
    margin-bottom: 10px;
  }
  .profile-facts dd span {
    font-size: 14px;
  }
  .profile-career,
  .profile-principles,
  .profile-company-layout {
    grid-template-columns: 1fr;
  }
  .profile-career {
    gap: 48px;
  }
  .profile-career li + li::before {
    top: -32px;
    left: calc(50% - 6px);
    transform: rotate(135deg);
  }
  .profile-career-visual {
    max-width: 480px;
    width: 100%;
  }
  .profile-work-comparison {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-work-before::after {
    top: auto;
    bottom: -20px;
    right: calc(50% - 6px);
    transform: rotate(135deg);
  }
  .profile-task-requests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .profile-task-requests li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .profile-output-grid {
    gap: 16px;
  }
  .profile-output-grid strong {
    font-size: 18px;
  }
  .profile-career h3 br {
    display: none;
  }
  .profile-principles article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 20px;
  }
  .profile-principles .profile-number {
    grid-row: span 2;
  }
  .profile-principles p {
    grid-column: 2;
  }
  .profile-contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .profile-container {
    width: calc(100% - 40px);
  }
  .profile-section {
    padding-block: 64px;
  }
  .profile-section-heading {
    margin-bottom: 36px;
  }
  .profile-page main h2 {
    font-size: clamp(25px, 6vw, 32px);
    letter-spacing: 0.015em;
  }
  .profile-label {
    gap: 8px 12px;
    margin-bottom: 22px;
  }
  .profile-label::before {
    width: 18px;
    height: 4px;
  }
  .profile-hero {
    padding-block: 40px 36px;
  }
  .profile-hero h1 {
    font-size: 42px;
  }
  .profile-roman-name {
    font-size: 16px;
  }
  .profile-hero-message {
    font-size: 23px;
    letter-spacing: 0.015em;
    margin-top: 28px;
  }
  .profile-portrait {
    max-width: 350px;
    padding-block: 12px;
  }
  .profile-facts {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }
  .profile-facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
  }
  .profile-facts > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .profile-facts dt {
    max-width: 45%;
    min-height: 0;
    margin: 0;
    text-align: left;
    letter-spacing: 0;
  }
  .profile-facts strong {
    font-size: 42px;
  }
  .profile-facts dd {
    flex-wrap: wrap;
    gap: 5px;
  }
  .profile-career h3 {
    font-size: 21px;
  }
  .profile-service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-service-card {
    padding: 24px;
  }
  .profile-service-card > img {
    max-width: 280px;
  }
  .profile-service-card h3 br {
    display: initial;
  }
  .profile-social-links {
    width: 100%;
  }
  .profile-social-links a {
    flex: 1;
    min-width: 0;
    padding-inline: 8px;
    letter-spacing: 0;
  }
  .profile-company-summary {
    padding: 26px 22px;
  }
  .profile-company-wordmark {
    font-size: 22px;
  }
  .profile-company-message {
    font-size: 17px;
  }
  .profile-company-specs > div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }
  .profile-contact {
    margin-bottom: 40px;
    padding-block: 48px;
  }
  .profile-contact .button {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .profile-work-before,
  .profile-work-after {
    padding: 24px 20px;
  }
  .profile-work-after {
    padding-top: 20px;
  }
  .profile-work-comparison h4 {
    font-size: 20px;
  }
  .profile-task-requests {
    grid-template-columns: 1fr;
  }
  .profile-task-requests li {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .profile-agent-flow {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-block: 20px;
  }
  .profile-agent-flow li {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    text-align: left;
  }
  .profile-agent-flow img {
    grid-row: span 2;
    width: 86px;
    margin: 0;
  }
  .profile-agent-flow strong {
    align-self: end;
  }
  .profile-agent-flow li > span {
    align-self: start;
  }
  .profile-agent-flow li + li::before {
    top: -20px;
    left: 39px;
    transform: rotate(135deg);
  }
  .profile-expansion {
    margin-top: 40px;
    padding-top: 36px;
  }
  .profile-output-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .profile-output-grid li {
    flex-direction: row;
    gap: 12px;
    padding: 16px 12px;
    text-align: left;
  }
  .profile-output-grid img {
    flex: 0 0 78px;
    width: 78px;
    margin: 0;
  }
  .profile-output-grid strong {
    font-size: 18px;
  }
  .profile-human-note {
    position: relative;
    gap: 14px;
    padding: 24px 20px;
  }
  .profile-human-check {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 20px;
    left: 18px;
    font-size: 20px;
  }
  .profile-human-note .profile-change-label {
    padding-left: 42px;
    margin-bottom: 20px;
  }
  .profile-human-note h3 {
    font-size: 21px;
  }
}

.profile-phrase {
  display: inline-block;
}
