@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap");

:root {
  --ink: #0c0c0c;
  --navy: #061d3c;
  --body: #424742;
  --muted: #5f655f;
  --canvas: #fbfaf7;
  --white: #ffffff;
  --line: #deded8;
  --green: #006b4b;
  --green-dark: #00583f;
  --acid: #d7ec00;
  --sky: #73d8ed;
  --blue: #4164ff;
  --blue-soft: #eaf5ff;
  --peach: #ffefe8;
  --orange: #bd3b13;
  --pink: #fdeefa;
  --magenta: #d10085;
  --mint: #d7f0e7;
  --yellow: #f6d56c;
  --lavender: #bda6ec;
  --ube: #6c4ab1;
  --page-pad: clamp(22px, 4vw, 64px);
  --shell: min(1280px, calc(100% - (var(--page-pad) * 2)));
  --section-gap: clamp(82px, 8vw, 124px);
  --radius-panel: clamp(34px, 3.6vw, 54px);
  --radius-card: clamp(24px, 2.6vw, 40px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Noto Sans KR Variable", "Noto Sans KR", Pretendard,
    -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-synthesis: none;
  letter-spacing: -0.018em;
  text-rendering: optimizeLegibility;
}

main {
  isolation: isolate;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
dd,
li,
strong {
  margin-block-start: 0;
  word-break: keep-all;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
dd,
li {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

em,
i,
address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

#expertise,
#process,
#experience,
#profile,
#answers,
#faq,
#contact,
#medical,
#semiconductor,
#startup {
  scroll-margin-top: 84px;
}

/* Floating Clay-style navigation */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  display: grid;
  width: min(1810px, calc(100% - 56px));
  min-height: 58px;
  padding: 0 12px 0 24px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 22px rgba(20, 25, 21, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: block;
  width: 37px;
  height: 30px;
  flex: 0 0 auto;
}

.brand-mark i {
  position: absolute;
  bottom: 3px;
  display: block;
  border-radius: 999px 999px 5px 5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5);
  transform-origin: bottom;
}

.brand-mark i:nth-child(1) {
  left: 1px;
  width: 19px;
  height: 21px;
  background: #ff6a82;
  transform: rotate(-7deg);
}

.brand-mark i:nth-child(2) {
  left: 9px;
  width: 19px;
  height: 25px;
  background: #ffc33b;
}

.brand-mark i:nth-child(3) {
  right: 1px;
  width: 19px;
  height: 21px;
  background: #3ec9ee;
  transform: rotate(7deg);
}

.brand strong {
  font-size: 18px;
  font-weight: 790;
  letter-spacing: -0.045em;
}

.brand small {
  margin-left: -3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  margin-left: clamp(40px, 5vw, 88px);
  align-items: stretch;
  align-self: stretch;
  gap: clamp(24px, 2.2vw, 38px);
}

.desktop-nav > a,
.nav-drop > a {
  display: inline-flex;
  height: 100%;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-drop > a:hover {
  color: var(--blue);
}

.nav-drop {
  display: flex;
  align-items: stretch;
}

.nav-drop > a > span {
  margin-top: -3px;
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-note {
  margin-right: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 560;
}

.nav-button {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
}

.nav-button-soft {
  background: #f1f0ec;
}

.nav-button-dark {
  background: var(--ink);
  color: var(--white);
}

.nav-button-dark > span {
  font-size: 13px;
}

.mega-menu {
  position: absolute;
  z-index: -1;
  top: 57px;
  right: -1px;
  left: -1px;
  display: grid;
  min-height: 330px;
  padding: 28px clamp(28px, 5vw, 82px) 30px;
  grid-template-columns: 1fr 1fr minmax(280px, 0.88fr);
  gap: clamp(45px, 6vw, 100px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(21, 26, 22, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.24s;
  visibility: hidden;
}

.nav-drop:hover .mega-menu,
.nav-drop:focus-within .mega-menu {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-header:has(.nav-drop:hover),
.site-header:has(.nav-drop:focus-within) {
  border-radius: 0;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mega-column > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.mega-column > a {
  display: grid;
  min-height: 65px;
  padding: 8px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  transition: background-color 0.2s ease;
}

.mega-column > a:hover {
  background: #f5f4f0;
}

.mega-column i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #f0efeb;
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 790;
}

.mega-column a:nth-of-type(2) i {
  color: var(--orange);
}

.mega-column a:nth-of-type(3) i {
  color: var(--magenta);
}

.mega-column strong,
.mega-column small {
  display: block;
}

.mega-column strong {
  font-size: 13px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.mega-column small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 460;
  line-height: 1.45;
}

.mega-feature {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: #d8eef3;
}

.mega-feature::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(0, 29, 30, 0.8));
  content: "";
}

.mega-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-feature:hover img {
  transform: scale(1.035);
}

.mega-feature > span {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--white);
}

.mega-feature small,
.mega-feature strong {
  display: block;
}

.mega-feature small {
  margin-bottom: 7px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.mega-feature strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 52px 52px;
  background:
    radial-gradient(circle at 15% 82%, rgba(52, 169, 118, 0.22), transparent 28%),
    radial-gradient(circle at 85% 76%, rgba(0, 39, 30, 0.25), transparent 31%),
    var(--green);
  color: var(--white);
}

.hero-bridge {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}

.hero::after {
  position: absolute;
  z-index: 0;
  inset: 48% 0 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.05) 0.7px, transparent 0.7px);
  background-position:
    0 0,
    3px 3px;
  background-size: 6px 6px;
  content: "";
  pointer-events: none;
}

.hero-world {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(420px, 35vw, 620px);
  overflow: hidden;
  background: var(--sky);
}

.hero-world::after {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(transparent, rgba(0, 84, 58, 0.45));
  content: "";
}

.hero-world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transform-origin: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  padding: clamp(46px, 5vw, 70px) 0 clamp(48px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(70px, 9vw, 145px);
}

.hero-kicker {
  display: flex;
  margin: 0 0 25px;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 660;
  letter-spacing: -0.01em;
}

.hero-kicker > span {
  color: var(--acid);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-kicker i {
  color: var(--acid);
}

.hero h1 {
  margin: 0;
  font-size: clamp(53px, 5.2vw, 88px);
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 > span {
  display: block;
}

.hero-side {
  padding-bottom: 7px;
}

.hero-description {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 460;
  letter-spacing: -0.026em;
  line-height: 1.55;
}

.hero-description > span {
  display: block;
}

.hero-actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 10px;
}

.clay-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.clay-button:hover {
  transform: translateY(-3px);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-acid {
  background: var(--acid);
  color: var(--ink);
}

.trust-card {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 80px));
  min-height: 184px;
  padding: 40px clamp(35px, 6vw, 82px) 34px;
  border: 1px solid rgba(12, 12, 12, 0.06);
  border-radius: 46px;
  background: var(--canvas);
  box-shadow: 0 24px 70px rgba(18, 42, 33, 0.09);
  color: var(--ink);
}

.trust-card > p {
  max-width: 650px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.trust-card > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.trust-card > div > span {
  display: flex;
  min-height: 58px;
  padding: 17px 25px 0;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.trust-card > div > span:last-child {
  border-right: 0;
}

.trust-card strong {
  color: var(--ink);
  font-weight: 700;
}

/* Section typography */

.expertise {
  padding-top: clamp(78px, 7vw, 112px);
}

.experience {
  padding-top: var(--section-gap);
}

.section-intro {
  display: grid;
  margin-bottom: clamp(48px, 6vw, 84px);
  grid-template-columns: 0.25fr 1.08fr 0.62fr;
  align-items: end;
  gap: clamp(35px, 5vw, 80px);
}

.section-index {
  display: flex;
  height: max-content;
  align-items: center;
  gap: 11px;
}

.section-index > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 790;
}

.section-index p {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-description {
  margin: 0 0 7px;
  color: var(--body);
  font-size: 15px;
  font-weight: 480;
  letter-spacing: -0.02em;
  line-height: 1.75;
}

/* Sticky overlapping expertise cards */

.feature-stack {
  position: relative;
  padding-bottom: clamp(20px, 2.4vw, 38px);
}

.feature {
  position: sticky;
  display: grid;
  min-height: calc(100vh - 94px);
  margin-bottom: clamp(90px, 14vh, 160px);
  padding: 24px;
  grid-template-columns: minmax(360px, 0.92fr) minmax(500px, 1.08fr);
  align-items: stretch;
  gap: 22px;
  overflow: hidden;
  border-radius: var(--radius-panel);
  box-shadow: 0 24px 70px rgba(20, 25, 21, 0.09);
}

.feature:nth-child(1) {
  z-index: 1;
  top: 72px;
}

.feature:nth-child(2) {
  z-index: 2;
  top: 82px;
}

.feature:nth-child(3) {
  z-index: 3;
  top: 92px;
  margin-bottom: 0;
}

.feature-medical {
  background: var(--blue-soft);
  color: var(--navy);
}

.feature-semiconductor {
  background: var(--peach);
  color: #38150d;
}

.feature-startup {
  background: var(--pink);
  color: #42102f;
}

.feature-copy {
  display: flex;
  min-width: 0;
  padding: clamp(38px, 5vw, 75px) clamp(26px, 4vw, 58px);
  flex-direction: column;
  align-items: flex-start;
}

.feature-label {
  position: relative;
  z-index: 0;
  display: inline-flex;
  min-height: 31px;
  margin: 0 0 clamp(30px, 4vw, 58px);
  padding: 0 16px;
  align-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 790;
  letter-spacing: 0.13em;
}

.feature-label::before,
.feature-label::after {
  position: absolute;
  z-index: -1;
  top: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(65, 100, 255, 0.28);
  content: "";
}

.feature-label::before {
  left: -12px;
}

.feature-label::after {
  right: -12px;
}

.feature-semiconductor .feature-label {
  background: var(--orange);
}

.feature-semiconductor .feature-label::before,
.feature-semiconductor .feature-label::after {
  background: rgba(189, 59, 19, 0.22);
}

.feature-startup .feature-label {
  background: var(--magenta);
}

.feature-startup .feature-label::before,
.feature-startup .feature-label::after {
  background: rgba(209, 0, 133, 0.2);
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(40px, 3.9vw, 63px);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.feature-copy h3 > span {
  display: block;
  white-space: nowrap;
}

.feature-copy h3 em {
  color: var(--blue);
}

.feature-semiconductor .feature-copy h3 em {
  color: var(--orange);
}

.feature-startup .feature-copy h3 em {
  color: var(--magenta);
}

.feature-copy > p:not(.feature-label) {
  max-width: 510px;
  margin: 28px 0 0;
  color: currentColor;
  font-size: 16px;
  font-weight: 470;
  letter-spacing: -0.02em;
  line-height: 1.72;
  opacity: 0.9;
}

.feature-pills {
  display: flex;
  margin-top: 29px;
  flex-wrap: wrap;
  gap: 7px;
}

.feature-pills span {
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.015em;
  opacity: 0.82;
}

.feature-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding: 0 15px;
  align-items: center;
  gap: 28px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 660;
  transition: transform 0.22s ease;
}

.feature-link:hover {
  transform: translateY(-3px);
}

.feature-visual {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-panel) - 14px);
  background: #f2e4c8;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature:hover .feature-visual img {
  transform: scale(1.05);
}

.feature-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 610;
  letter-spacing: -0.02em;
  backdrop-filter: blur(10px);
}

/* Process */

.process {
  padding-top: clamp(42px, 4vw, 60px);
}

.process-panel {
  padding: clamp(38px, 5.8vw, 78px);
  border-radius: var(--radius-panel);
  background: var(--mint);
}

.process-panel .section-intro {
  grid-template-columns: 0.25fr 1.08fr 0.62fr;
}

.process-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f4debd;
}

.process-visual img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.process-steps {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.process-steps article {
  display: grid;
  min-height: 150px;
  padding: 23px;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.process-steps article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--acid);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
}

.process-steps h3 {
  margin: 2px 0 9px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.process-steps p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.018em;
  line-height: 1.65;
}

/* Selected experience */

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

.experience-card {
  position: relative;
  min-height: 330px;
  padding: clamp(30px, 3.5vw, 50px);
  overflow: hidden;
  border-radius: var(--radius-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.experience-card:hover {
  box-shadow: 0 22px 50px rgba(20, 25, 21, 0.11);
  transform: translateY(-7px);
}

.card-mint {
  background: var(--mint);
}

.card-yellow {
  background: var(--yellow);
}

.card-pink {
  background: #f5a8bc;
}

.card-lavender {
  background: var(--lavender);
}

.experience-card > span {
  position: absolute;
  top: 30px;
  right: 30px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.experience-card > p {
  margin: 0 0 60px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.experience-card h3 {
  max-width: 510px;
  margin: 0;
  font-size: clamp(29px, 3.2vw, 47px);
  font-weight: 610;
  letter-spacing: -0.05em;
  line-height: 1.14;
}

.experience-card strong {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 530;
  letter-spacing: -0.018em;
}

/* Profile */

.profile {
  display: grid;
  margin-top: var(--section-gap);
  padding: 24px;
  grid-template-columns: minmax(500px, 1.12fr) minmax(360px, 0.88fr);
  align-items: stretch;
  gap: clamp(30px, 4vw, 65px);
  border-radius: var(--radius-panel);
  background: var(--yellow);
}

.profile-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-panel) - 14px);
  background: #f1ddb9;
}

.profile-visual img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.profile-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.profile-copy {
  display: flex;
  padding: clamp(35px, 4vw, 66px) clamp(20px, 3vw, 45px);
  flex-direction: column;
  justify-content: center;
}

.profile-role {
  margin: clamp(38px, 5vw, 70px) 0 14px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.profile-copy h2 {
  margin: 0;
  font-size: clamp(58px, 6.7vw, 96px);
  font-weight: 620;
  letter-spacing: -0.06em;
  line-height: 1;
}

.profile-copy h2 span {
  font-size: 0.42em;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.profile-description {
  margin: 27px 0 35px;
  color: rgba(17, 17, 17, 0.82);
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.75;
}

.profile-copy dl {
  margin: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.35);
}

.profile-copy dl > div {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 0.27fr 0.73fr;
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
  gap: 14px;
}

.profile-copy dt {
  padding-top: 2px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.profile-copy dd {
  margin: 0;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: -0.018em;
  line-height: 1.65;
}

.profile-links {
  display: flex;
  margin-top: 26px;
  gap: 9px;
}

.profile-links a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 13px;
  align-items: center;
  gap: 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 650;
}

.profile-links a:hover {
  background: var(--white);
}

/* Direct-answer hub for search and AI answer engines */

.answer-hub {
  padding-top: var(--section-gap);
}

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

.answer-card {
  position: relative;
  min-height: 260px;
  padding: clamp(28px, 3.2vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: var(--radius-card);
  background: var(--blue-soft);
}

.answer-card:nth-child(2) {
  background: var(--peach);
}

.answer-card:nth-child(3) {
  background: var(--mint);
}

.answer-card:nth-child(4) {
  background: #f1ebff;
}

.answer-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: clamp(34px, 4vw, 58px);
  place-items: center;
  border: 1px solid rgba(12, 12, 12, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.07em;
}

.answer-card h3 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(25px, 2.55vw, 37px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.answer-card p {
  max-width: 620px;
  margin: 0;
  color: var(--body);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: -0.018em;
  line-height: 1.8;
}

/* FAQ */

.faq {
  display: grid;
  padding-top: var(--section-gap);
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(55px, 9vw, 135px);
}

.faq .section-intro {
  display: block;
  margin: 0;
}

.faq .section-index {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.faq .section-intro h2 {
  font-size: clamp(43px, 5vw, 72px);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  display: grid;
  min-height: 108px;
  padding: 23px 0;
  grid-template-columns: 45px 1fr 40px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 720;
}

.faq-list summary strong {
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.faq-list summary i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 15px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.faq-list details[open] summary i {
  background: var(--acid);
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 680px;
  margin: -4px 0 29px 61px;
  color: var(--body);
  font-size: 14px;
  font-weight: 440;
  letter-spacing: -0.018em;
  line-height: 1.8;
}

/* Clay-style closing scene and directory footer */

.closing {
  padding-top: clamp(92px, 8vw, 132px);
  overflow: hidden;
}

.closing-copy {
  position: relative;
  z-index: 3;
  text-align: center;
}

.closing-kicker {
  margin: 0 0 22px;
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.13em;
}

.closing-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 80px);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 1.06;
}

.closing-copy h2 > span {
  display: block;
}

.closing-description {
  margin: 25px auto 0;
  color: var(--body);
  font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: -0.024em;
  line-height: 1.7;
}

.closing-actions {
  display: flex;
  margin-top: 28px;
  justify-content: center;
  gap: 10px;
}

.closing-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 670;
  letter-spacing: -0.025em;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.closing-button:hover {
  transform: translateY(-3px);
}

.closing-button-dark {
  background: var(--ink);
  color: var(--white);
}

.closing-button-outline {
  background: var(--canvas);
  color: var(--ink);
}

.footer-scene {
  position: relative;
  margin-top: -18px;
  overflow: hidden;
}

.footer-landscape {
  width: 100%;
  height: clamp(630px, 48vw, 850px);
  object-fit: cover;
  object-position: center top;
}

.footer-directory {
  position: relative;
  z-index: 2;
  margin-top: clamp(-275px, -16vw, -205px);
  padding: clamp(38px, 4.5vw, 58px) clamp(34px, 4.5vw, 62px) 28px;
  border-radius: 42px 42px 0 0;
  background: var(--canvas);
  box-shadow: 0 -18px 55px rgba(6, 35, 28, 0.08);
}

.footer-brand-row {
  display: flex;
  padding-bottom: 40px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 640;
}

.top-link span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--white);
}

.footer-grid {
  display: grid;
  padding: clamp(45px, 6vw, 78px) 0;
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.65fr;
  gap: clamp(34px, 4.5vw, 72px);
}

.footer-grid address,
.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid p {
  margin: 0 0 19px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.footer-grid address > span {
  color: var(--body);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.018em;
  line-height: 1.75;
}

.footer-grid address > a {
  margin-top: 19px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--acid);
  font-size: 17px;
  font-weight: 670;
  letter-spacing: -0.025em;
}

.footer-grid nav a {
  margin-bottom: 10px;
  color: var(--body);
  font-size: 12px;
  font-weight: 560;
}

.footer-note {
  margin: 0;
  padding: 21px 0;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 11px;
  letter-spacing: -0.015em;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.mobile-contact {
  display: none;
}

/* Scroll-driven motion */

@supports (animation-timeline: scroll()) {
  .hero-world img {
    animation: heroParallax linear both;
    animation-range: 0 900px;
    animation-timeline: scroll(root);
  }
}

@supports (animation-timeline: view()) {
  .section-intro,
  .process-panel,
  .experience-card,
  .profile,
  .faq-list,
  .closing-copy,
  .footer-directory {
    animation: reveal linear both;
    animation-range: entry 0% cover 18%;
    animation-timeline: view();
  }

  .feature-visual img {
    animation: imageDrift linear both;
    animation-range: entry 0% exit 100%;
    animation-timeline: view();
  }
}

@keyframes heroParallax {
  from {
    transform: scale(1);
  }
  to {
    transform: translateY(28px) scale(1.075);
  }
}

@keyframes imageDrift {
  from {
    transform: translateY(2.5%) scale(1.06);
  }
  to {
    transform: translateY(-2.5%) scale(1.06);
  }
}

@keyframes reveal {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    margin-left: 38px;
    gap: 22px;
  }

  .office-note {
    display: none;
  }

  .feature {
    grid-template-columns: minmax(320px, 0.82fr) minmax(430px, 1.18fr);
  }

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

  .profile-visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 980px) {
  :root {
    --page-pad: 24px;
    --section-gap: 105px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    cursor: pointer;
    list-style: none;
    border-radius: 12px;
    background: var(--ink);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary i {
    position: absolute;
    width: 17px;
    height: 1px;
    background: var(--white);
    transition: transform 0.25s ease;
  }

  .mobile-menu summary i:first-child {
    transform: translateY(-4px);
  }

  .mobile-menu summary i:last-child {
    transform: translateY(4px);
  }

  .mobile-menu[open] summary i:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu[open] summary i:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu nav {
    position: absolute;
    top: 48px;
    right: -13px;
    display: flex;
    width: min(310px, calc(100vw - 34px));
    padding: 18px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(20, 25, 21, 0.16);
  }

  .mobile-menu nav a {
    padding: 13px 10px;
    border-bottom: 1px solid #efefeb;
    font-size: 14px;
    font-weight: 620;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-side {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 35px;
  }

  .hero-actions {
    min-width: 240px;
  }

  .section-intro,
  .process-panel .section-intro,
  .faq {
    grid-template-columns: 1fr;
  }

  .section-intro {
    align-items: start;
    gap: 34px;
  }

  .feature {
    position: relative;
    top: auto !important;
    min-height: 0;
    margin-bottom: 20px;
    grid-template-columns: 1fr;
  }

  .feature:nth-child(3) {
    margin-bottom: 0;
  }

  .feature-copy {
    min-height: 500px;
  }

  .feature-visual {
    min-height: 520px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

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

  .faq {
    gap: 52px;
  }

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

@media (max-width: 640px) {
  :root {
    --page-pad: 15px;
    --section-gap: 82px;
  }

  body {
    padding-bottom: 76px;
  }

  .site-header {
    width: calc(100% - 24px);
    min-height: 60px;
    padding: 0 10px 0 16px;
    border-radius: 0 0 18px 18px;
  }

  .brand-mark {
    width: 32px;
    height: 27px;
  }

  .brand-mark i:nth-child(1),
  .brand-mark i:nth-child(3) {
    width: 17px;
    height: 19px;
  }

  .brand-mark i:nth-child(2) {
    width: 17px;
    height: 22px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero {
    border-radius: 0 0 34px 34px;
  }

  .hero-world {
    height: 410px;
  }

  .hero-world img {
    object-position: center 50%;
  }

  .hero-content {
    padding: 38px 0 52px;
    gap: 32px;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.3vw, 54px);
    letter-spacing: -0.048em;
    line-height: 1.08;
  }

  .hero-side {
    display: block;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-description > span {
    display: inline;
  }

  .hero-actions {
    min-width: 0;
    align-items: stretch;
    flex-direction: column;
  }

  .clay-button {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
  }

  .trust-card {
    width: calc(100% - 30px);
    padding: 29px 22px 22px;
    border-radius: 28px;
  }

  .trust-card > p {
    margin-bottom: 23px;
    text-align: left;
    font-size: 15px;
  }

  .trust-card > div {
    grid-template-columns: 1fr;
  }

  .trust-card > div > span {
    min-height: 48px;
    padding: 14px 0 0;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-card > div > span:last-child {
    border-bottom: 0;
  }

  .desktop-only {
    display: none;
  }

  .section-intro {
    margin-bottom: 42px;
    gap: 28px;
  }

  .section-intro h2,
  .faq .section-intro h2 {
    font-size: clamp(37px, 10.6vw, 47px);
    letter-spacing: -0.045em;
    line-height: 1.13;
  }

  .section-description {
    font-size: 14px;
  }

  .feature-stack {
    padding-bottom: 0;
  }

  .feature {
    padding: 16px;
    border-radius: 30px;
    gap: 10px;
    box-shadow: none;
  }

  .feature-copy {
    min-height: 460px;
    padding: 26px 8px 20px;
  }

  .feature-label {
    margin-bottom: 32px;
  }

  .feature-copy h3 {
    font-size: clamp(32px, 8.8vw, 40px);
    letter-spacing: -0.047em;
    line-height: 1.1;
  }

  .feature-copy > p:not(.feature-label) {
    margin-top: 23px;
    font-size: 14px;
  }

  .feature-visual {
    min-height: 380px;
    border-radius: 22px;
  }

  .feature-visual img {
    height: 100%;
  }

  .feature-visual figcaption {
    right: 10px;
    bottom: 10px;
    font-size: 9px;
  }

  .process-panel {
    padding: 28px 18px 20px;
    border-radius: 30px;
  }

  .process-visual {
    border-radius: 21px;
  }

  .process-visual img {
    aspect-ratio: 4 / 3;
  }

  .process-steps article {
    min-height: 130px;
    padding: 18px;
  }

  .experience-card {
    min-height: 255px;
    padding: 27px 23px;
    border-radius: 25px;
  }

  .experience-card > span {
    top: 23px;
    right: 22px;
    width: 50px;
    height: 50px;
  }

  .experience-card > p {
    margin-bottom: 52px;
  }

  .experience-card h3 {
    max-width: 80%;
    font-size: 29px;
  }

  .profile {
    padding: 16px;
    border-radius: 30px;
  }

  .profile-visual {
    border-radius: 22px;
  }

  .profile-visual img {
    aspect-ratio: 4 / 3;
  }

  .profile-copy {
    padding: 28px 7px 10px;
  }

  .profile-role {
    margin-top: 45px;
  }

  .profile-copy h2 {
    font-size: 56px;
  }

  .profile-description {
    font-size: 14px;
  }

  .profile-copy dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .profile-links {
    flex-direction: column;
  }

  .profile-links a {
    justify-content: space-between;
  }

  .answer-grid {
    gap: 10px;
  }

  .answer-card {
    min-height: 0;
    padding: 26px 23px 29px;
    border-radius: 25px;
  }

  .answer-card > span {
    margin-bottom: 32px;
  }

  .answer-card h3 {
    font-size: 27px;
  }

  .answer-card p {
    font-size: 14px;
  }

  .faq {
    gap: 45px;
  }

  .faq-list summary {
    min-height: 98px;
    grid-template-columns: 28px 1fr 36px;
    gap: 9px;
  }

  .faq-list summary strong {
    font-size: 16px;
  }

  .faq-list summary i {
    width: 34px;
    height: 34px;
  }

  .faq-list details > p {
    margin: -3px 4px 27px 37px;
    font-size: 14px;
  }

  .closing {
    padding-top: 104px;
  }

  .closing-kicker {
    margin-bottom: 17px;
  }

  .closing-copy h2 {
    font-size: clamp(39px, 10.8vw, 50px);
    line-height: 1.1;
  }

  .closing-description {
    margin-top: 20px;
    font-size: 14px;
  }

  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .closing-button {
    width: 100%;
    justify-content: space-between;
  }

  .footer-scene {
    margin-top: 18px;
  }

  .footer-landscape {
    height: 540px;
    object-position: center top;
  }

  .footer-directory {
    width: calc(100% - 30px);
    margin-top: -105px;
    padding: 29px 22px 95px;
    border-radius: 28px 28px 0 0;
  }

  .footer-brand-row {
    align-items: flex-start;
  }

  .top-link {
    font-size: 0;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-contact {
    position: fixed;
    z-index: 90;
    right: 13px;
    bottom: 12px;
    left: 13px;
    display: flex;
    min-height: 58px;
    padding: 0 9px 0 21px;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    background: var(--ink);
    box-shadow: 0 12px 30px rgba(20, 25, 21, 0.24);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-contact > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: var(--acid);
    color: var(--ink);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
