:root {
  color-scheme: light;
  --paper: #fbf9f4;
  --white: #fffefa;
  --ink: #22261f;
  --muted: #5e6055;
  --forest: #27342b;
  --line: #dfddd3;
  --page: 1296px;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #9d581f; outline-offset: 4px; }
.wrap { width: min(var(--page), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 30; padding: .7rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.36rem; font-weight: 700; letter-spacing: -.067em; white-space: nowrap; }
.brand-mark { position: relative; display: inline-block; width: 23px; height: 26px; border: 1px solid currentColor; border-radius: 53% 44% 54% 42%; transform: rotate(21deg); flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 51% 41% 49% 45%; }
.brand-mark::before { inset: 3px 4px 3px 3px; }
.brand-mark::after { inset: 7px 8px 7px 6px; }
.site-nav ul { display: flex; align-items: center; gap: clamp(23px, 3vw, 46px); }
.site-nav a { display: flex; align-items: center; position: relative; min-height: 73px; white-space: nowrap; font-size: .972rem; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--forest); }

.hero { background: var(--forest); color: #fffdf5; }
.hero-grid { min-height: clamp(450px, 43vw, 625px); display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 3rem 10% 3rem 0; }
.hero-kicker { margin-bottom: 1.25rem; color: #e8d4b8; font-size: .98rem; }
.hero h1 { font-size: clamp(2rem, 3.65vw, 3.25rem); line-height: 1.23; font-weight: 550; letter-spacing: -.075em; word-break: keep-all; }
.hero-detail { margin-top: 1.15rem; line-height: 1.6; color: #e6e2d7; font-size: .98rem; }
.hero-copy .button { margin-top: 1.85rem; }
.hero-photo { position: relative; min-width: 0; overflow: hidden; }
.hero-photo img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 50% 62%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #c9cbbf; padding: .55rem 1.15rem; font-size: .95rem; line-height: 1.3; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover, .button.primary { background: var(--forest); color: var(--white); border-color: var(--forest); }
.button.primary:hover { background: #3b4b3d; }
.hero .button { color: #fffdf5; border-color: #a6ab99; }
.hero .button:hover { background: #fffdf5; color: var(--forest); border-color: #fffdf5; }
.hero .button:focus-visible { outline-color: #f2cf9d; }

.section { padding-block: clamp(52px, 6vw, 90px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: clamp(22px, 3vw, 38px); }
.section h2, .feature h2, .visit h2 { font-size: clamp(1.52rem, 2.5vw, 2.15rem); font-weight: 600; line-height: 1.35; letter-spacing: -.06em; word-break: keep-all; }
.section-heading p, .feature p, .page-heading p, .intro p, .visit p { color: var(--muted); font-size: 1rem; line-height: 1.78; word-break: keep-all; }
.section-heading p { margin-top: .48rem; }
.work-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.1vw, 30px); }
.work-card img, .gallery-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.work-card h3, .gallery-grid figcaption { margin-top: .72rem; font-size: 1rem; font-weight: 550; letter-spacing: -.034em; }
.work-card p { margin-top: .32rem; color: var(--muted); font-size: .93rem; line-height: 1.6; word-break: keep-all; }
.gallery-grid a, .work-card a { display: block; }
.gallery-grid a:hover img, .work-card a:hover img { filter: brightness(1.07); }

.feature { background: #efeee7; border-block: 1px solid var(--line); }
.feature-grid { display: grid; align-items: center; grid-template-columns: 1.23fr .77fr; gap: clamp(28px, 6.5vw, 93px); }
.feature img { aspect-ratio: 1.54; object-fit: cover; object-position: center 56%; }
.feature-copy { max-width: 400px; }
.feature p { margin: .78rem 0 1.3rem; }
.visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.visit p { margin-top: .45rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.page-heading {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 3.5vw, 49px);
  color: #fffdf7;
  background: #31271e;
}
.page-heading-photo, .page-heading::before { position: absolute; inset: 0; }
.page-heading-photo { z-index: -2; }
.page-heading-photo img { height: 100%; object-fit: cover; object-position: center var(--photo-focus, 54%); }
.page-heading::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #1b150eeb 0%, #1b150ec7 27%, #1b150e52 68%, #1b150e20 100%);
}
.page-heading h1 { font-size: clamp(1.54rem, 2.3vw, 1.98rem); font-weight: 600; line-height: 1.35; letter-spacing: -.06em; }
.page-heading p { margin-top: .5rem; color: inherit; }
.page-body { padding-block: clamp(28px, 4.3vw, 60px) clamp(53px, 7vw, 96px); min-height: 55vh; }
.intro { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); align-items: center; gap: clamp(24px, 6vw, 82px); }
.intro > img { aspect-ratio: 1.4; object-fit: cover; }
.intro h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.4; word-break: keep-all; margin-bottom: .9rem; }
.intro p + p { margin-top: .65rem; }
.intro .actions, .intro .button { margin-top: 1.25rem; }
.intro .actions .button { margin: 0; }
.studio-grid { margin-top: clamp(30px, 5vw, 66px); border-top: 1px solid var(--line); padding-top: clamp(25px, 4vw, 52px); }
.info-list { margin: 1.2rem 0 0; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding-block: .73rem; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--muted); font-size: .93rem; }
.info-list dd { font-weight: 550; line-height: 1.5; }
.contact-number { font-size: clamp(1.36rem, 2.8vw, 2.05rem); font-weight: 650; letter-spacing: -.02em; color: var(--forest); }
.map { display: block; width: 100%; height: clamp(340px, 36vw, 486px); border: 0; background: #eeece3; }
.gallery-heading { padding-block: clamp(12px, 1.5vw, 22px); }
.page-body.gallery-embed { width: 100%; min-height: 0; margin: 0; padding: 0; }
.gallery-frame { display: block; width: 100%; min-height: max(720px, 83vh); border: 0; background: var(--white); }
.gallery-actions { padding-block: 12px; }
.gallery-external { border-radius: 4px; }

.gallery-dialog { max-width: min(96vw, 1050px); padding: 0; border: 0; color: white; background: #222821; overflow: auto; }
.gallery-dialog::backdrop { background: rgb(20 22 18 / .86); }
.gallery-dialog img { width: auto; max-width: 100%; max-height: 76dvh; margin-inline: auto; object-fit: contain; }
.dialog-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 46px; padding: .35rem .9rem; }
.dialog-caption button { border: 1px solid #a4a9a0; color: inherit; background: transparent; padding: .35rem .72rem; cursor: pointer; }
.dialog-caption button:focus-visible { outline-color: #f2cf9d; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 28px; }
.footer-brand { font-size: 1.14rem; }
.footer-brand .brand-mark { scale: .82; }
.footer-details { display: flex; flex-wrap: wrap; column-gap: 1.15rem; margin-top: .72rem; font-style: normal; color: var(--muted); font-size: .875rem; line-height: 1.85; }
.footer-details a:hover { text-decoration: underline; }
.copyright { margin-top: 2rem; color: var(--muted); font-size: .81rem; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: 425px; }
  .hero-copy { padding-right: 1.1rem; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .page-heading::before { background: linear-gradient(90deg, #1b150ee8 0%, #1b150eb8 65%, #1b150e66 100%); }
  .header-inner { display: block; }
  .header-inner .brand { min-height: 48px; font-size: 1.17rem; gap: 8px; }
  .brand-mark { width: 19px; height: 22px; }
  .brand-mark::after { inset: 6px; }
  .site-nav ul { gap: 7px; justify-content: space-between; }
  .site-nav a { min-height: 40px; font-size: .875rem; letter-spacing: -.06em; }
  .hero-grid { width: 100%; display: flex; flex-direction: column; min-height: auto; }
  .hero-photo { order: -1; aspect-ratio: 1.18; max-height: min(52svh, 490px); }
  .hero-photo img { object-position: 48% 61%; }
  .hero-copy { padding: 1.3rem 18px 1.65rem; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.45rem); }
  .hero-kicker { margin-bottom: .6rem; }
  .hero-detail { margin-top: .75rem; }
  .hero-copy .button { margin-top: 1.05rem; }
  .section { padding-block: 39px; }
  .section-heading { align-items: flex-start; }
  .section-heading .button { margin-top: 2px; min-height: 39px; padding-inline: .65rem; white-space: nowrap; }
  .work-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 11px; }
  .home-works .work-card:last-child { display: none; }
  .feature-grid, .intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .map { min-height: 300px; }
  .visit { align-items: flex-start; flex-direction: column; gap: 13px; }
  .site-footer { padding-block: 24px; }
}
@media (max-width: 340px) {
  .wrap { width: calc(100% - 24px); }
  .hero-grid { width: 100%; }
  .site-nav ul { gap: 4px; }
  .site-nav a { font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
