:root {
  --ink: #0a0a0b;
  --ink-soft: #111114;
  --paper: #f3f0e9;
  --muted: rgba(243, 240, 233, 0.64);
  --soft: rgba(243, 240, 233, 0.42);
  --line: rgba(243, 240, 233, 0.16);
  --warm: #c6a978;
  --display: "SUIT Variable", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; font-synthesis: none; }
html { background: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 5px; }
.skip-link { position: fixed; top: 1rem; left: 50%; z-index: 20; padding: 0.7rem 1rem; background: var(--paper); color: var(--ink); transform: translate(-50%, -180%); transition: transform 240ms var(--ease); }
.skip-link:focus { transform: translate(-50%, 0); }
.service-shell { width: min(100% - clamp(2.5rem, 14vw, 15rem), 1240px); margin: 0 auto; }
.service-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.service-brand { display: inline-flex; min-height: 44px; align-items: center; gap: 0.7rem; font-family: var(--display); font-size: 1rem; font-weight: 750; letter-spacing: -0.08em; }
.service-brand img { width: 28px; height: 28px; padding: 3px; border-radius: 8px; background: var(--paper); object-fit: contain; }
.service-brand small { margin-left: 0.45rem; color: var(--soft); font-family: var(--mono); font-size: 0.52rem; font-weight: 400; letter-spacing: 0.08em; }
.service-nav { display: flex; align-items: center; gap: 1.5rem; color: var(--soft); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; }
.service-nav a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; transition: color 220ms ease, border-color 220ms ease; }
.service-nav a:hover, .service-nav a[aria-current="page"] { color: var(--paper); border-color: var(--warm); }
.service-main { padding: clamp(5rem, 10vw, 9rem) 0 7rem; }
.service-crumb { color: var(--warm); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.66fr); align-items: end; gap: clamp(2rem, 9vw, 9rem); padding: 1.7rem 0 7rem; border-bottom: 1px solid var(--line); }
.service-hero h1 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 7vw, 7.4rem); font-weight: 620; letter-spacing: -0.14em; line-height: 0.9; }
.service-hero h1 em { color: var(--warm); font-style: normal; }
.service-hero__aside p { max-width: 32rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.95; word-break: keep-all; }
.service-cta { display: inline-flex; min-height: 50px; align-items: center; gap: 0.75rem; margin-top: 2rem; padding: 0 1.15rem; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; transition: background 220ms ease, transform 220ms var(--ease); }
.service-cta span { font-size: 1rem; }
.service-cta:hover, .service-cta:focus-visible { background: var(--warm); transform: translateY(-2px); }
.service-section { padding: 5rem 0; border-bottom: 1px solid var(--line); }
.service-section__heading { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.service-section__heading h2 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 4.1rem); font-weight: 600; letter-spacing: -0.11em; line-height: 0.96; }
.service-section__heading p { max-width: 38rem; margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.9; word-break: keep-all; }
.service-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--line); }
.service-point { min-height: 13rem; padding: 1.25rem; background: var(--ink-soft); }
.service-point > span, .service-flow li > span, .service-spec strong, .service-related small, .service-footer, .service-eyebrow { color: var(--warm); font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.08em; }
.service-point h3 { margin: 3rem 0 0.7rem; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.06em; }
.service-point p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.75; }
.service-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 3.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-flow li { min-height: 14rem; padding: 1.2rem 1.2rem 1.3rem 0; border-right: 1px solid var(--line); }
.service-flow li + li { padding-left: 1.2rem; }
.service-flow li:last-child { border-right: 0; }
.service-flow h3 { margin: 3rem 0 0.6rem; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.06em; }
.service-flow p { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.8; }
.service-output { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.service-output h2 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 4rem); font-weight: 600; letter-spacing: -0.11em; line-height: 0.98; }
.service-output h2 em { color: var(--warm); font-style: normal; }
.service-output > div > p { max-width: 38rem; margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.9; }
.service-spec { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.service-spec div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.service-spec strong { font-weight: 400; }
.service-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3.5rem; }
.service-related a { display: block; min-height: 8rem; padding: 1.15rem 0; border-top: 1px solid var(--line); transition: color 220ms ease; }
.service-related a:hover { color: var(--warm); }
.service-related span { display: block; margin-top: 0.8rem; font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.05em; }
.service-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.66fr); gap: clamp(2rem, 9vw, 9rem); align-items: end; padding: 6rem 0 0; }
.service-contact h2 { max-width: 11ch; margin: 0; font-family: var(--display); font-size: clamp(2.7rem, 5vw, 5.7rem); font-weight: 620; letter-spacing: -0.13em; line-height: 0.92; }
.service-contact h2 em { color: var(--warm); font-style: normal; }
.service-contact p { max-width: 30rem; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.85; }
.service-email { display: inline-flex; min-height: 46px; align-items: center; margin-top: 1.4rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--warm); color: var(--paper); font-family: var(--mono); font-size: 0.88rem; transition: color 220ms ease; }
.service-email:hover { color: var(--warm); }
.service-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); line-height: 1.7; }
.service-footer a { color: var(--paper); transition: color 220ms ease; }
.service-footer a:hover { color: var(--warm); }

@media (max-width: 760px) {
  .service-shell { width: min(100% - 2.5rem, 1240px); }
  .service-header { min-height: 72px; }
  .service-brand small { display: none; }
  .service-nav { gap: 0.8rem; font-size: 0.52rem; }
  .service-nav a:nth-child(3) { display: none; }
  .service-main { padding-top: 4.7rem; }
  .service-hero, .service-section__heading, .service-output, .service-contact { display: block; }
  .service-hero { padding-bottom: 4.6rem; }
  .service-hero h1 { font-size: clamp(3rem, 14.5vw, 5.2rem); }
  .service-hero__aside { margin-top: 2rem; }
  .service-hero__aside p { font-size: 0.88rem; line-height: 1.85; }
  .service-section { padding: 4rem 0; }
  .service-section__heading p { margin-top: 1.4rem; font-size: 0.86rem; line-height: 1.85; }
  .service-points { display: block; margin-top: 2.5rem; }
  .service-point { min-height: 11.5rem; border-bottom: 1px solid var(--line); }
  .service-point h3 { margin-top: 2.5rem; }
  .service-flow { display: block; margin-top: 2.5rem; }
  .service-flow li, .service-flow li + li { min-height: 0; padding: 1.1rem 0 1.3rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-flow h3 { margin-top: 2rem; }
  .service-output h2 { font-size: clamp(2.3rem, 11vw, 4rem); }
  .service-output > div > p { margin-top: 1.4rem; font-size: 0.86rem; }
  .service-spec div { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.8rem; font-size: 0.75rem; }
  .service-related { grid-template-columns: 1fr; gap: 0; }
  .service-contact { padding-top: 4.5rem; }
  .service-contact h2 { font-size: clamp(2.7rem, 13vw, 5rem); }
  .service-contact > div:last-child { margin-top: 2.5rem; }
  .service-footer { display: block; font-size: 0.5rem; }
  .service-footer span, .service-footer a { display: block; }
  .service-footer a { margin-top: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link, .service-nav a, .service-cta, .service-related a, .service-email { transition-duration: 0.001ms; }
}
