@font-face {
  font-family: "Pretendard Variable";
  src: url("/assets/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-sans: "Pretendard Variable", Pretendard, SUIT, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --color-paper: #ffffff;
  --color-ink: #111111;
  --color-muted: #595959;
  --color-line: #d9d9d9;
  --color-frame: #ededeb;
  --color-control: #fafafa;
  --color-error: #a12424;
  --color-success: #235b40;
  --shell-width: 1328px;
  --gutter: clamp(24px, 4vw, 56px);
  --space-section: clamp(72px, 8vw, 120px);
  --text-body: 17px;
  --text-small: 14px;
  --text-section: clamp(26px, 2.5vw, 36px);
  --text-hero: clamp(34px, 3.45vw, 50px);
  --duration-fast: 150ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  background: var(--color-paper);
  color: var(--color-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 280px;
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.3;
  text-wrap: balance;
}

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

[hidden] {
  display: none !important;
}

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

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 16px;
  left: var(--gutter);
  padding: 10px 16px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: var(--text-small);
  font-weight: 600;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--color-ink);
  color: var(--color-paper);
}

.site-header > .shell {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid #454545;
}

.brand {
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.header-nav a,
.header-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.header-nav a:hover,
.header-contact:hover {
  text-decoration: underline;
}

.header-contact {
  gap: 20px;
  margin-left: 24px;
  font-size: 15px;
  font-weight: 600;
}

.hero {
  padding-block: 32px 58px;
  background: var(--color-ink);
  color: var(--color-paper);
}

.hero-wordmark {
  width: fit-content;
  max-width: 100%;
  font-size: clamp(92px, 25vw, 390px);
  font-weight: 750;
  letter-spacing: -0.085em;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid #454545;
}

.hero-title {
  max-width: 620px;
  color: var(--color-paper);
  font-size: var(--text-hero);
  line-height: 1.23;
}

.hero-copy {
  max-width: 550px;
  color: #d7d7d7;
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy p + p {
  margin-top: 12px;
}

.hero-copy .hero-title + p {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  align-self: end;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 54px;
  min-width: 156px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--color-ink);
  padding: 14px 21px;
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: opacity var(--duration-fast) ease;
}

.button:hover {
  opacity: 0.78;
}

.button:active {
  opacity: 0.62;
}

.button--inverse {
  border-color: var(--color-paper);
  background: var(--color-paper);
  color: var(--color-ink);
}

.hero .button--inverse:focus-visible {
  outline-color: var(--color-paper);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

button.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-ink);
}

.section {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 0.72fr);
  gap: 64px;
  padding-block: var(--space-section);
  border-bottom: 1px solid var(--color-line);
}

.section-heading {
  font-size: var(--text-section);
}

.section-heading h2,
.service-title h3 {
  font-size: inherit;
}

.section-body,
.intro-body,
.service-list,
.space-grid,
.contact-layout {
  min-width: 0;
}

.intro-body {
  max-width: 800px;
}

.intro-body p:first-child {
  max-width: 790px;
  font-size: clamp(24px, 2.45vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.48;
}

.intro-body p + p {
  margin-top: 24px;
  color: var(--color-muted);
}

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

.service-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.33fr) minmax(0, 0.67fr);
  column-gap: 36px;
  row-gap: 12px;
  padding-block: 31px 33px;
  border-bottom: 1px solid var(--color-line);
}

.service-row:last-child {
  border-bottom-color: var(--color-ink);
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.service-copy {
  max-width: 550px;
  color: var(--color-muted);
  font-size: 16px;
}

.service-copy p + p {
  margin-top: 12px;
}

.service-link {
  width: fit-content;
  grid-column: 2;
  min-height: 40px;
  align-content: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}

.space-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.space-intro {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--color-muted);
  font-size: 16px;
}

.space .form-note {
  margin-top: 24px;
  margin-bottom: 0;
}

.space-grid > figure:nth-child(2) {
  margin-top: 66px;
}

.photo-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  border: 1px solid var(--color-line);
  background: var(--color-frame);
  color: var(--color-muted);
  font-size: 14px;
}

.space-grid > figure:nth-child(2) .photo-frame {
  aspect-ratio: 1 / 1;
}

.photo-caption {
  margin-top: 13px;
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
}

.contact-layout {
  display: block;
}

.contact-intro {
  max-width: 460px;
}

.contact-intro h2 {
  margin-bottom: 25px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.3;
}

.contact-intro p {
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.65;
}

.contact-intro p + p {
  margin-top: 16px;
}

.contact-hint {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 15px;
}

.contact.section {
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 80px;
}

.inquiry-form {
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.field label,
.field > span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  padding: 12px 14px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.field textarea {
  min-height: 176px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #767676;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--color-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-ink);
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

.field input[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  outline-color: var(--color-error);
}

.field :disabled {
  background: var(--color-control);
  color: var(--color-muted);
  cursor: not-allowed;
}

.field-error {
  color: var(--color-error);
  font-size: var(--text-small);
  line-height: 1.5;
}

.field-help,
.form-note,
.privacy-note {
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
}

.form-note {
  margin-bottom: 22px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--text-small);
  line-height: 1.6;
}

.consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--color-ink);
  cursor: pointer;
}

.consent input[aria-invalid="true"] {
  outline: 1px solid var(--color-error);
  outline-offset: 2px;
}

.consent input[aria-invalid="true"]:focus-visible {
  outline-width: 3px;
}

.consent label {
  cursor: pointer;
}

.field label.consent {
  font-size: var(--text-small);
  font-weight: 500;
}

.privacy-note {
  margin-top: 12px;
}

.form-actions {
  margin-top: 28px;
}

.form-actions .button {
  min-width: 184px;
}

.form-status {
  margin-top: 20px;
  padding: 15px 18px;
  border-left: 3px solid var(--color-ink);
  background: var(--color-control);
  font-size: 15px;
  line-height: 1.6;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  border-color: var(--color-error);
  color: var(--color-error);
}

.form-status[data-state="success"] {
  border-color: var(--color-success);
  color: var(--color-success);
}

.form-status[data-state="pending"],
.form-status[data-state="notice"] {
  color: var(--color-muted);
}

.footer {
  padding-block: 42px 44px;
}

.footer > .shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  flex: 0 0 auto;
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
}

.footer-brand span {
  display: inline-block;
  margin-left: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.footer-descriptor,
.footer p {
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .hero {
    padding-top: 42px;
  }

  .hero-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 42px;
  }

  .section {
    grid-template-columns: minmax(150px, 0.26fr) minmax(0, 0.74fr);
    gap: 40px;
  }

  .service-row {
    grid-template-columns: minmax(140px, 0.34fr) minmax(0, 0.66fr);
    gap: 24px;
  }

  .service-title {
    font-size: 22px;
  }

  .contact.section {
    gap: 48px;
  }

  .header-nav {
    gap: 26px;
  }

  .header-contact {
    margin-left: 6px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-body: 16px;
    --text-hero: 38px;
    --space-section: 72px;
  }

  .site-header > .shell {
    min-height: 78px;
    gap: 20px;
  }

  .brand {
    font-size: 24px;
  }

  .header-nav {
    gap: 22px;
    font-size: 14px;
  }

  .header-contact {
    margin-left: 0;
  }

  .hero {
    padding-block: 36px 54px;
  }

  .hero-wordmark {
    font-size: 28vw;
  }

  .hero-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 30px;
    padding-top: 28px;
  }

  .hero-title {
    max-width: 620px;
  }

  .hero-copy {
    max-width: 590px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
    justify-content: flex-start;
  }

  .section {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .intro-body p:first-child {
    font-size: 26px;
  }

  .service-row {
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
    column-gap: 28px;
    row-gap: 12px;
  }

  .space-grid {
    gap: 20px;
  }

  .space-grid > figure:nth-child(2) {
    margin-top: 42px;
  }

  .contact.section {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .contact-intro {
    max-width: 560px;
  }

  .contact-intro h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .contact-hint {
    margin-top: 22px;
    padding-top: 20px;
  }

  .footer > .shell {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --text-hero: 34px;
    --text-section: 26px;
    --space-section: 62px;
  }

  .site-header > .shell {
    min-height: 72px;
    gap: 16px;
  }

  .brand {
    font-size: 23px;
  }

  .header-nav {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    padding-block: 29px 44px;
  }

  .hero-wordmark {
    font-size: 29.5vw;
    letter-spacing: -0.085em;
  }

  .hero-bottom {
    gap: 20px;
    margin-top: 25px;
    padding-top: 24px;
  }

  .hero-title {
    max-width: 340px;
    font-size: var(--text-hero);
    line-height: 1.27;
  }

  .hero-copy {
    line-height: 1.65;
  }

  .hero-actions {
    gap: 20px;
    margin-top: 24px;
  }

  .button {
    min-height: 52px;
    min-width: 145px;
    gap: 24px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .text-link {
    gap: 12px;
    font-size: 14px;
  }

  .section {
    gap: 28px;
  }

  .intro-body p:first-child {
    font-size: 24px;
    line-height: 1.48;
  }

  .intro-body p + p {
    margin-top: 20px;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 26px 28px;
  }

  .service-title {
    font-size: 22px;
  }

  .service-copy {
    font-size: 15px;
  }

  .service-link {
    grid-column: 1;
  }

  .space-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .space-grid > figure:nth-child(2) {
    width: 85%;
    margin-top: 0;
    margin-left: auto;
  }

  .space-grid > figure:nth-child(2) .photo-frame {
    aspect-ratio: 4 / 3;
  }

  .photo-caption {
    margin-top: 11px;
    font-size: 13px;
  }

  .contact.section {
    gap: 32px;
  }

  .contact-intro h2 {
    font-size: 30px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .field {
    margin-bottom: 22px;
  }

  .field textarea {
    min-height: 168px;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer {
    padding-block: 32px;
  }

  .footer > .shell {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    font-size: 34px;
  }

  .footer-descriptor,
  .footer p {
    font-size: 13px;
  }
}

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

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