:root {
  --page: #fff;
  --ink: #222522;
  --muted: #525952;
  --accent: #1c553e;
  --line: #d3d7d2;
  --panel: #f6f7f5;
  --button-text: #fff;
  --display: "Noto Serif KR", "Batang", "AppleMyungjo", Georgia, serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block-start: 24px; }
body { margin: 0; font: 16px/1.68 var(--sans); color: var(--ink); background: var(--page); }
h1, h2, h3 { line-height: 1.18; word-break: keep-all; overflow-wrap: break-word; }
p, dd, li { word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .18em; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.home-skip { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 12px; background: #fff; color: #172019; }
.home-skip:focus { top: 12px; }
.site-photo { margin: 0; min-width: 0; }
.site-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.site-photo figcaption { padding-top: 5px; font-size: .75rem; line-height: 1.4; color: inherit; text-align: right; }
.site-photo figcaption a { text-decoration-style: dotted; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; color: var(--button-text); background: var(--accent); border: 1px solid var(--accent); text-decoration: none; cursor: pointer; line-height: 1.4; font-weight: 650; }
.button:hover { filter: brightness(.92); }
.button:disabled { opacity: .72; cursor: wait; }

.enquiry { min-width: 0; color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 4vw, 46px); }
.enquiry h2 { color: inherit; font-size: clamp(26px, 3vw, 42px); margin: 0 0 8px; }
.enquiry p { margin-block: 0 16px; }
.muted { color: var(--muted); }
.enquiry .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.enquiry label { display: block; min-width: 0; font-size: .94rem; font-weight: 650; }
.enquiry .wide { grid-column: 1 / -1; }
.enquiry input:not([type=checkbox]), .enquiry textarea {
  display: block; min-width: 0; width: 100%; min-height: 44px; margin-top: 5px; padding: 8px 10px;
  color: #172019; background: #fff; border: 1px solid #9ea6a0; border-radius: 4px; font-weight: 400;
}
.enquiry input:not([type=checkbox]):focus-visible, .enquiry textarea:focus-visible { outline-color: #242c25; outline-offset: 1px; }
.enquiry textarea { resize: vertical; }
.enquiry details { margin-block: 17px; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: .88rem; }
.enquiry details p { margin: 8px 0 0; }
.enquiry summary { min-height: 28px; cursor: pointer; }
.enquiry .consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; margin-block: 12px 18px; }
.enquiry .consent input { margin: .37em 0 0; inline-size: 18px; block-size: 18px; flex-shrink: 0; accent-color: var(--accent); }
.enquiry .required { color: inherit; font-weight: 800; }
.enquiry .feedback { margin: 10px 0 0; line-height: 1.5; font-weight: 650; }
.enquiry .feedback.error { text-decoration: underline; text-decoration-thickness: .12em; }

@media (max-width: 550px) {
  .enquiry .field-grid { grid-template-columns: 1fr; }
  .enquiry .submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

:root {
  --page: #f7f4fc;
  --ink: #262035;
  --muted: #51475f;
  --accent: #553879;
  --line: #d9cde8;
  --panel: #fff;
}

.masthead, .opening, .work-layout, .site-footer {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}
.masthead, .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.masthead strong { font-size: 1.14rem; }
.masthead a, .site-footer a { padding-block: 8px; }
.opening {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 18px 34px;
  padding-block: clamp(39px, 6.5vw, 93px) clamp(27px, 4vw, 54px);
}
.opening h1 {
  margin: 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(2.9rem, 7.5vw, 6.7rem);
  letter-spacing: -.055em;
  line-height: 1.06;
}
.opening p { margin: 0 0 .2rem; font-size: clamp(1rem, 1.55vw, 1.18rem); }
.bench-photo { width: min(100% - 40px, 1120px); margin-inline: auto; }
.bench-photo img {
  max-height: 480px;
  aspect-ratio: 2.3;
  object-position: 50% 59%;
  border-radius: 8px 8px 0 0;
}
.bench-photo figcaption { color: var(--muted); }
.work-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(220px, .67fr) minmax(0, 1.33fr);
  gap: clamp(22px, 4.5vw, 56px);
  margin-block: clamp(28px, 5vw, 66px);
}
.work-notes {
  padding: clamp(20px, 3vw, 38px);
  color: #fff;
  background: #3d2b58;
  border-radius: 8px 8px 0 8px;
}
.work-notes h2 {
  margin: 0 0 22px;
  font: 700 clamp(1.65rem, 3.6vw, 2.9rem)/1.17 var(--display);
  letter-spacing: -.04em;
}
.work-notes dl { margin: 0; }
.work-notes dt { border-top: 1px solid #745c93; padding-top: 14px; font-weight: 750; }
.work-notes dd { margin: 4px 0 16px; color: #f2e8fb; font-size: .94rem; }
.work-notes dd:last-child { margin-bottom: 0; }
.enquiry { border-radius: 0 8px 8px 8px; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 720px) {
  .opening, .work-layout { grid-template-columns: 1fr; }
  .bench-photo img { aspect-ratio: 1.39; }
}
