@charset "UTF-8";

/*
 * HYUN family theme
 * The visual language follows the parent firm's quiet, architectural tone while
 * keeping the patent firm's own cobalt accent and consultation journey.
 */

:root {
  --ink: #17191c;
  --ink-soft: #45494e;
  --night: #101820;
  --night-soft: #19242d;
  --paper: #ffffff;
  --paper-deep: #f2f0eb;
  --white: #ffffff;
  --line: rgba(23, 25, 28, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --blue: #1d3f68;
  --cyan: #7795b3;
  --lime: #c6b38f;
  --serif: "Libre Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Noto Sans KR", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --max: 1280px;
  --side: clamp(24px, 4.75vw, 72px);
}

html {
  scroll-padding-top: 78px;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-weight: 400;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.skip-link {
  color: #fff;
  background: var(--ink);
}

/* Header */
.site-header,
.site-header.is-scrolled,
.site-header.menu-active {
  height: 78px;
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 25, 28, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: none;
  height: 78px;
  padding: 0 14px;
}

.site-header .brand {
  display: flex;
  width: 112px;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  justify-content: center;
}

.site-header .brand-wordmark,
.site-header.is-scrolled:not(.menu-active) .brand-wordmark {
  display: block;
  width: 104px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.075em;
  text-align: center;
  white-space: nowrap;
}

.site-header .brand-name {
  display: block;
  width: 104px;
  margin-top: 5px;
  padding: 4px 0 0;
  border-top: 1px solid rgba(23, 25, 28, 0.88);
  border-left: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.44em;
  text-align: center;
  opacity: 1;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  gap: clamp(22px, 2.35vw, 42px);
  margin: 0;
  transform: translateX(-50%);
}

.desktop-nav a {
  position: relative;
  color: #24272a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact,
.site-header.is-scrolled .header-contact,
.site-header.menu-active .header-contact {
  gap: 10px;
  min-height: auto;
  padding: 9px 0;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.header-contact span {
  display: grid;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(23, 25, 28, 0.25);
  border-radius: 50%;
  place-items: center;
  font-family: var(--sans);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.header-contact:hover span,
.header-contact:focus-visible span {
  color: #fff;
  background: var(--ink);
  transform: rotate(45deg);
}

.header-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-tools .header-contact {
  margin-right: 18px;
}

.header-tools .language-selector,
.header-tools .family-sites {
  margin-left: 0;
  padding-left: 19px;
  border-left: 1px solid rgba(23, 25, 28, 0.16);
}

.header-tools .family-sites {
  margin-left: 18px;
}

.language-toggle,
.site-header.is-scrolled .language-toggle,
.site-header.menu-active .language-toggle,
.family-toggle,
.site-header.is-scrolled .family-toggle {
  color: var(--ink);
  border-color: transparent;
  background: transparent;
}

.header-tools .language-toggle {
  width: auto;
  min-width: 42px;
  height: 40px;
  gap: 9px;
  padding: 0;
  font-size: 11px;
}

.header-tools .language-toggle i {
  border-top-color: currentColor;
  border-right-color: transparent;
  border-bottom: 0;
  border-left-color: transparent;
}

.header-tools .family-toggle {
  min-width: 110px;
  height: 40px;
  padding: 0;
  font-size: 9px;
}

.header-tools .language-selector.is-open .language-toggle,
.header-tools .family-sites.is-open .family-toggle {
  color: var(--blue);
  background: transparent;
  border-color: transparent;
}

.language-toggle i,
.family-toggle i {
  border-color: var(--ink);
}

.language-panel,
.family-panel {
  border: 1px solid rgba(23, 25, 28, 0.12);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(15, 20, 24, 0.14);
}

.menu-toggle span {
  background: var(--ink);
}

.mobile-menu {
  top: 78px;
  color: var(--ink);
  background: #f7f6f2;
}

.mobile-menu-meta {
  color: #6d767d;
  border-top-color: rgba(23, 25, 28, 0.16);
}

.mobile-family > p {
  color: var(--blue);
}

.mobile-family > div {
  border-top-color: rgba(23, 25, 28, 0.16);
  border-left-color: rgba(23, 25, 28, 0.16);
}

.mobile-family a {
  color: #4f585f;
  border-right-color: rgba(23, 25, 28, 0.16);
  border-bottom-color: rgba(23, 25, 28, 0.16);
}

/* Hero film */
.hero {
  position: relative;
  display: block;
  height: calc(100svh - 78px);
  min-height: 680px;
  max-height: 980px;
  margin-top: 78px;
  color: #fff;
  background: #17212b;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  display: none;
  content: none;
}

.hero-media,
.hero-film,
.hero-film-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  background: #17212b url("assets/hero/hyun-patent-hero-poster.webp") center / cover no-repeat;
}

.hero-film {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.03);
}

.hero-film-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 13, 18, 0.03) 32%, rgba(7, 13, 18, 0.62) 100%),
    linear-gradient(90deg, rgba(7, 13, 18, 0.19), transparent 48%);
}

.hero-story {
  position: absolute;
  z-index: 3;
  top: 48%;
  right: var(--side);
  left: var(--side);
  height: 110px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-story-line {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  place-items: center;
  font-size: clamp(32px, 4.6vw, 70px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.055em;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(22px);
  transition: opacity 1.1s ease, filter 1.1s ease, transform 1.1s ease;
}

.hero-story-line.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hero-signature {
  position: absolute;
  z-index: 4;
  bottom: clamp(88px, 11vh, 132px);
  left: var(--side);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero.is-signature .hero-signature {
  opacity: 1;
  transform: translateY(0);
}

.hero-signature-en {
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: #fff;
  font-family: inherit;
  font-style: normal;
}

.hero h1 span::after {
  display: none;
}

.hero-bottom {
  position: absolute;
  z-index: 4;
  right: var(--side);
  bottom: 42px;
  left: var(--side);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.7;
}

.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-bottom a span {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  place-items: center;
}

.hero-progress {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  transform-origin: left;
}

.scope-ticker {
  height: 68px;
  color: #4e5154;
  border-top: 0;
  border-bottom: 1px solid rgba(23, 25, 28, 0.12);
  background: #fff;
}

.ticker-track {
  height: 100%;
}

.ticker-group {
  gap: 34px;
  padding: 0 17px;
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.ticker-group i {
  width: 3px;
  height: 3px;
  background: #a2a5a7;
}

/* Shared sections */
.section {
  padding: clamp(112px, 11vw, 176px) 0;
}

.section-inner {
  width: calc(100% - (var(--side) * 2));
  max-width: var(--max);
}

.section-heading {
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(44px, 7vw, 112px);
  margin-bottom: clamp(70px, 8vw, 126px);
}

.section-heading h2,
.faq-title h2,
.location-copy h2,
.contact-intro h2 {
  font-size: clamp(42px, 5.15vw, 72px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.058em;
}

.section-heading > div:last-child > p {
  max-width: 700px;
  margin-top: 28px;
  color: #73777b;
  font-size: 14px;
  line-height: 1.85;
}

.section-kicker {
  color: #6b6e71;
}

.section-kicker span,
.section-kicker-dark span,
.section-kicker-accent span {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 9px;
}

.section-kicker p {
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

/* About and figures */
.intro-section {
  background: #f5f3ee;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-color: rgba(23, 25, 28, 0.14);
}

.metric-card {
  min-height: 246px;
  padding: clamp(28px, 3vw, 44px);
  border-color: rgba(23, 25, 28, 0.14);
  background: rgba(255, 255, 255, 0.3);
}

.metric-card::after {
  display: none;
}

.metric-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(39px, 4.15vw, 64px);
  font-weight: 400;
}

.metric-card sup {
  color: #777b7e;
  font-family: var(--serif);
  font-weight: 400;
}

.metric-card p {
  color: #64686c;
  font-size: 12px;
  font-weight: 500;
}

.metric-card-accent {
  color: #fff;
  background: var(--blue);
}

.metric-card-accent strong,
.metric-card-accent p,
.metric-card-accent sup {
  color: #fff;
}

/* Professionals */
.professionals-section {
  color: var(--ink);
  background: #fff;
}

.professionals-heading h2 {
  color: var(--ink);
}

.professionals-heading h2 em {
  color: var(--blue);
  font-family: var(--serif);
  font-weight: 400;
}

.professionals-heading > div:last-child > p {
  color: #73777b;
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px 26px;
}

.professional-card {
  grid-column: span 4;
  padding: 0 0 24px;
  color: var(--ink);
  border-color: rgba(23, 25, 28, 0.16);
}

.professional-card:nth-child(1) {
  grid-column: span 6;
}

.professional-card:nth-child(2),
.professional-card:nth-child(3) {
  grid-column: span 3;
}

.professional-portrait {
  aspect-ratio: 0.93 / 1;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #ece9e2;
}

.professional-card:nth-child(1) .professional-portrait {
  aspect-ratio: 1.86 / 1;
}

.professional-portrait::after {
  border-color: rgba(23, 25, 28, 0.06);
  border-radius: inherit;
}

.professional-portrait img {
  object-position: center top;
  filter: grayscale(0.12) saturate(0.78) contrast(0.96);
}

.professional-meta h3 {
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 450;
}

.professional-meta p {
  color: #777b7e;
  font-family: var(--serif);
  font-weight: 400;
}

.professional-meta > span {
  border-color: rgba(23, 25, 28, 0.22);
}

.professional-card:hover .professional-meta > span,
.professional-card:focus-visible .professional-meta > span {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.professional-focus {
  color: #74787c;
}

/* Expertise */
.services-section {
  color: var(--ink);
  background: #efede8;
}

.services-section .section-heading h2 {
  color: var(--ink);
}

.service-list {
  border-top-color: rgba(23, 25, 28, 0.2);
}

.service-card {
  min-height: 138px;
  color: var(--ink);
  border-bottom-color: rgba(23, 25, 28, 0.2);
}

.service-card::before {
  background: #fff;
}

.service-card:hover,
.service-card:focus-within {
  color: var(--ink);
}

.service-number {
  color: #777b7e;
  font-family: var(--serif);
}

.service-copy h3 {
  font-size: clamp(27px, 2.75vw, 40px);
  font-weight: 400;
}

.service-copy span {
  color: #777b7e;
  font-family: var(--serif);
  font-weight: 400;
}

.service-description,
.service-card:hover .service-description,
.service-card:focus-within .service-description {
  color: #65696d;
}

.service-arrow {
  color: var(--ink);
  border-color: rgba(23, 25, 28, 0.24);
}

.service-card:hover .service-arrow,
.service-card:focus-within .service-arrow {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

/* Representative work */
.cases-section {
  color: var(--ink);
  background: #fff;
}

.cases-heading h2 {
  color: var(--ink);
}

.cases-heading > div:last-child > p {
  color: #73777b;
}

.case-grid {
  gap: clamp(22px, 2.4vw, 34px);
}

.case-loading {
  color: #73777b;
  border-color: rgba(23, 25, 28, 0.16);
}

.case-card {
  padding-bottom: 25px;
  color: var(--ink);
  border-color: rgba(23, 25, 28, 0.17);
}

.case-thumbnail {
  aspect-ratio: 1.3 / 1;
  margin-bottom: 28px;
  border-radius: 15px;
  background: #213b5b;
}

.case-card:nth-child(3n + 2) .case-thumbnail,
.case-thumbnail-brand {
  color: var(--ink);
  background: #ded8cc;
}

.case-card:nth-child(3n + 3) .case-thumbnail,
.case-thumbnail-rnd {
  color: #fff;
  background: #486782;
}

.case-copy > p,
.case-thumbnail-brand + .case-copy > p {
  color: #68727c;
  font-family: var(--serif);
  font-weight: 400;
}

.case-copy h3 {
  min-height: 2.6em;
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 400;
}

.case-copy > span {
  color: #777b7e;
}

.case-arrow {
  color: var(--ink);
  border-color: rgba(23, 25, 28, 0.24);
}

.case-card:hover .case-arrow,
.case-card:focus-within .case-arrow {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.case-update-note {
  color: #777b7e;
}

.case-update-note span {
  background: var(--blue);
}

.case-more-link {
  color: var(--ink);
  border-color: rgba(23, 25, 28, 0.26);
}

.case-more-link:hover,
.case-more-link:focus-visible {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

/* Process */
.process-section {
  background: #f5f3ee;
}

.process-list {
  border-color: rgba(23, 25, 28, 0.18);
}

.process-list li {
  min-height: 132px;
  border-color: rgba(23, 25, 28, 0.18);
}

.process-list > li > span {
  color: #686c70;
  font-family: var(--serif);
}

.process-list strong {
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 450;
}

.process-list p {
  color: #6e7276;
}

/* Brand statement */
.message-section {
  position: relative;
  min-height: 720px;
  padding: clamp(120px, 13vw, 198px) 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 17, 24, 0.92), rgba(9, 17, 24, 0.5)),
    url("assets/hero/hyun-patent-scene-03.png") center / cover no-repeat;
}

.message-section::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
}

.message-inner {
  position: relative;
  z-index: 1;
}

.message-mark {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
}

.message-inner blockquote > p {
  max-width: 900px;
  font-size: clamp(35px, 4.7vw, 66px);
  font-weight: 300;
  line-height: 1.42;
}

.message-inner blockquote footer span {
  color: rgba(255, 255, 255, 0.58);
}

.message-seal {
  border-color: rgba(255, 255, 255, 0.38);
}

/* Location */
.location-section {
  background: #fff;
}

.location-map {
  background: #e9e7e1;
}

.map-grid {
  opacity: 0.3;
  filter: grayscale(1);
}

.map-lines path {
  stroke: rgba(23, 25, 28, 0.22);
}

.map-pin > span {
  background: var(--blue);
}

.location-info {
  color: var(--ink);
  background: #f5f3ee;
}

.location-copy h2 {
  color: var(--ink);
}

.location-copy address,
.location-copy dl {
  color: #65696d;
}

.location-copy dd,
.location-copy dd a {
  color: #31373b;
}

.location-copy dl > div {
  border-color: rgba(23, 25, 28, 0.16);
}

.button-outline {
  color: var(--ink);
  border-color: rgba(23, 25, 28, 0.34);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

/* Contact */
.contact-section {
  color: var(--ink);
  background: #e8e5de;
}

.contact-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(570px, 1.28fr);
  gap: clamp(60px, 8vw, 118px);
}

.contact-intro h2 {
  color: var(--ink);
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.28;
}

.contact-title-line {
  display: block;
}

html[lang="ko"] .contact-title-line:first-child {
  white-space: nowrap;
}

.contact-intro > p {
  color: #686c70;
}

.contact-direct {
  border-color: rgba(23, 25, 28, 0.2);
}

.contact-direct a {
  border-color: rgba(23, 25, 28, 0.2);
}

.contact-direct small {
  color: #686c70;
  font-family: var(--serif);
  font-weight: 400;
}

.inquiry-form {
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(15, 20, 24, 0.09);
}

.inquiry-form legend span,
.form-field em,
.form-consent em {
  color: var(--blue);
}

.category-options span {
  border-radius: 999px;
  border-color: #d3d0ca;
  background: #fff;
}

.category-options input:checked + span {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.form-consent input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
}

.form-submit {
  border-radius: 999px;
  background: var(--ink);
}

.form-submit:hover,
.form-submit:focus-visible {
  color: #fff;
  background: var(--blue);
}

/* Footer and dialogs */
.site-footer {
  padding: 0;
  color: #fff;
  background: #000;
  font-family: var(--sans);
  overflow: hidden;
}

.footer-top,
.footer-bottom {
  width: min(calc(100% - (var(--side) * 2)), 1280px);
  max-width: none;
}

.footer-top {
  position: relative;
  display: flex;
  min-height: 108px;
  align-items: center;
  padding: 0;
}

.footer-top::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: translateX(-50%);
}

.footer-brand .brand-wordmark {
  display: block;
  width: 104px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.075em;
  text-align: center;
  white-space: nowrap;
}

.footer-brand {
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.footer-brand .brand-name {
  display: block;
  width: 104px;
  margin-top: 5px;
  padding: 4px 0 0;
  border-color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-left: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.44em;
  text-align: center;
  opacity: 1;
}

.footer-bottom {
  display: block;
  padding: 19px 0 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 0;
  font-size: 12px;
  line-height: 1.75;
}

.footer-address {
  display: block;
  width: fit-content;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  cursor: pointer;
}

.footer-bottom > .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 600;
}

.footer-bottom > .footer-meta > * + * {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-policy {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}

.footer-policy a,
.footer-policy button {
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.footer-bottom > p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
}

.footer-address:hover,
.footer-address:focus-visible,
.footer-policy a:hover,
.footer-policy a:focus-visible,
.footer-policy button:hover,
.footer-policy button:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

@media (max-width: 720px) {
  .footer-top,
  .footer-bottom {
    width: calc(100% - 40px);
  }

  .footer-top {
    min-height: 100px;
  }

  .footer-bottom {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .footer-address {
    width: 100%;
    text-align: left;
  }

  .footer-bottom > .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 7px;
  }

  .footer-bottom > .footer-meta > * + * {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .footer-policy {
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 22px;
  }

  .footer-bottom > p {
    margin-top: 22px;
  }
}

.privacy-dialog,
.service-dialog,
.case-dialog,
.navigation-dialog {
  border-radius: 16px;
  overflow: hidden;
}

.privacy-dialog::backdrop,
.service-dialog::backdrop,
.case-dialog::backdrop,
.navigation-dialog::backdrop {
  background: rgba(10, 14, 18, 0.72);
}

.service-dialog-aside,
.case-dialog-visual {
  background: var(--night);
}

.service-dialog-contact,
.case-dialog-contact,
.dialog-confirm {
  background: var(--ink);
}

.dialog-policy-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  padding-bottom: 3px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.dialog-policy-link:hover,
.dialog-policy-link:focus-visible {
  color: var(--profile-blue, #1d3f68);
}

@media (max-width: 1240px) {
  .desktop-nav {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .family-sites {
    display: none;
  }

  .professional-card:nth-child(1),
  .professional-card:nth-child(2),
  .professional-card:nth-child(3),
  .professional-card {
    grid-column: span 4;
  }

  .professional-card:nth-child(1) .professional-portrait {
    aspect-ratio: 0.93 / 1;
  }
}

@media (max-width: 1040px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-active,
  .header-inner {
    height: 74px;
  }

  .site-header.menu-active {
    background: #f7f6f2;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header-inner {
    z-index: 1;
  }

  .mobile-menu {
    z-index: 0;
    top: 74px;
    height: calc(100dvh - 74px);
    min-height: 0;
  }

  .hero {
    height: calc(100svh - 74px);
    min-height: 650px;
    margin-top: 74px;
  }

  .hero-story {
    right: 38px;
    left: 38px;
  }

  .hero-signature {
    left: 38px;
  }

  .hero-bottom {
    right: 38px;
    left: 38px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-kicker {
    width: max-content;
  }

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

  .metric-card-wide {
    grid-column: span 1;
  }

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

  .contact-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    column-gap: 50px;
  }

  .contact-intro .section-kicker {
    grid-column: 1 / -1;
  }

  .contact-direct {
    align-self: end;
  }
}

@media (max-width: 720px) {
  :root {
    --side: 20px;
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-active,
  .header-inner {
    height: 68px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .site-header .brand,
  .site-header .brand-wordmark,
  .site-header .brand-name,
  .site-header.is-scrolled:not(.menu-active) .brand-wordmark {
    width: 102px;
  }

  .site-header .brand-wordmark,
  .site-header.is-scrolled:not(.menu-active) .brand-wordmark {
    font-size: 27px;
  }

  .site-header .brand-name {
    margin-top: 4px;
    padding-top: 3px;
    font-size: 11px;
  }

  .language-selector,
  .header-contact {
    display: none;
  }

  .mobile-menu {
    top: 68px;
    height: calc(100dvh - 68px);
    justify-content: flex-start;
    padding: 32px 20px 28px;
  }

  .mobile-menu nav a {
    font-size: clamp(27px, 8vw, 38px);
    font-weight: 350;
  }

  .mobile-menu-meta {
    margin-top: 22px;
    padding-top: 18px;
  }

  .mobile-family {
    margin-top: 22px;
  }

  .hero {
    height: calc(100svh - 68px);
    min-height: 590px;
    max-height: 860px;
    margin-top: 68px;
  }

  .hero-film {
    object-position: 52% center;
  }

  .hero-film-shade {
    background: linear-gradient(180deg, rgba(7, 13, 18, 0.04) 22%, rgba(7, 13, 18, 0.7) 100%);
  }

  .hero-story {
    top: 42%;
    right: 22px;
    left: 22px;
    height: 88px;
  }

  .hero-story-line {
    padding: 0 10px;
    font-size: clamp(25px, 7.2vw, 38px);
    line-height: 1.35;
    text-align: center;
  }

  .hero-signature {
    right: 20px;
    bottom: 106px;
    left: 20px;
  }

  .hero-signature-en {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 54px);
    line-height: 1.14;
  }

  .hero-bottom {
    right: 20px;
    bottom: 25px;
    left: 20px;
  }

  .hero-bottom p {
    display: none;
  }

  .hero-bottom a {
    width: 100%;
    justify-content: space-between;
  }

  .scope-ticker {
    height: 58px;
  }

  .section {
    padding: 96px 0;
  }

  .section-inner {
    width: calc(100% - 40px);
  }

  .section-heading {
    gap: 35px;
    margin-bottom: 62px;
  }

  .section-heading h2,
  .location-copy h2,
  .contact-intro h2 {
    font-size: clamp(35px, 10.3vw, 49px);
    line-height: 1.24;
  }

  .section-heading > div:last-child > p {
    margin-top: 22px;
  }

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

  .metric-card {
    min-height: 178px;
    padding: 24px 18px;
  }

  .metric-card strong {
    font-size: clamp(32px, 10vw, 46px);
  }

  .metric-card p {
    font-size: 11px;
  }

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

  .professional-card,
  .professional-card:nth-child(1),
  .professional-card:nth-child(2),
  .professional-card:nth-child(3) {
    grid-column: span 1;
  }

  .professional-portrait,
  .professional-card:nth-child(1) .professional-portrait {
    aspect-ratio: 0.85 / 1;
    margin-bottom: 17px;
    border-radius: 10px;
  }

  .professional-meta {
    gap: 8px;
  }

  .professional-meta h3 {
    font-size: 21px;
  }

  .professional-meta > span {
    width: 31px;
    height: 31px;
  }

  .professional-focus {
    margin-top: 15px;
    font-size: 10px;
  }

  .service-card {
    min-height: 156px;
  }

  .service-copy h3 {
    font-size: 27px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .case-section-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-more-link {
    width: 100%;
  }

  .case-copy h3 {
    min-height: auto;
  }

  .process-list li {
    min-height: 0;
    padding: 28px 0;
  }

  .message-section {
    min-height: 620px;
    padding: 110px 0;
    background-position: 62% center;
  }

  .message-inner blockquote > p {
    font-size: clamp(30px, 8.7vw, 43px);
    line-height: 1.45;
  }

  .contact-intro {
    display: block;
  }

  .contact-direct {
    margin-top: 48px;
  }

  .inquiry-form {
    padding: 28px 20px;
    border-radius: 10px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top > p {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-film {
    display: none;
  }

  .hero-story-line {
    display: none;
  }

  .hero-story-line:first-child {
    display: grid;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-signature {
    opacity: 1;
    transform: none;
  }
}
