/* C Tree — Bright European editorial
   Layout concept: 아이보리 바탕의 비대칭 편집 레이아웃. 사진은 큰 면으로, 글은 좁은 단으로 배치하고 샴페인 골드는 가는 선과 숫자에만 쓴다. */
:root {
  --ivory: #F8F2E2;
  --cream: #F0E8D3;
  --gold: #B89B69;
  --gold-ink: #7A6334;      /* 골드 텍스트용(대비 확보) */
  --sage: #879783;
  --forest: #344C3D;
  --forest-deep: #2A3E32;
  --charcoal: #30332F;
  --white: #FFFFFF;
  --muted: #5C605A;
  --line: rgba(48, 51, 47, .16);
  --line-gold: rgba(184, 155, 105, .55);
  --error: #9A3B2E;

  --font-display: "Cormorant Garamond", "DM Serif Display", Georgia, serif;
  --font-ui: "Manrope", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, "SUIT", system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--font-body); font-size: 16px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all;
}
img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--ivory); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--forest); color: var(--ivory); padding: 10px 16px; z-index: 200; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(72px, 10vw, 148px); }

/* type */
.eyebrow { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-ink); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.on-dark .eyebrow { color: #D9C69C; }
.on-dark .eyebrow::before { background: #D9C69C; }
.h-en { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.h-ko { font-family: var(--font-body); font-weight: 300; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.28; letter-spacing: -.025em; text-wrap: balance; }
.sub { font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 34em; }
.on-dark .sub, .on-dark p { color: rgba(248, 242, 226, .84); }
.copy { max-width: 36em; color: var(--muted); }
.copy + .copy { margin-top: 1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .01em; border: 1px solid var(--forest); background: var(--forest); color: var(--ivory); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--forest-deep); }
.btn.ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn.ghost:hover { background: var(--charcoal); color: var(--ivory); }
.on-dark .btn { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.on-dark .btn:hover { background: var(--white); }
.btn[disabled] { opacity: .55; cursor: wait; }
.link { font-family: var(--font-ui); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 242, 226, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-word { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-family: var(--font-ui); font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: var(--charcoal); position: relative; content: ""; transition: transform .25s; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px max(var(--gutter), env(safe-area-inset-left, 0px)) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 18px; min-height: 52px; }
}

/* hero */
.hero { padding-block: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(86vh, 860px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 7vw, 96px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.hero h1 { font-family: var(--font-body); font-weight: 300; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 18px; text-wrap: balance; }
.hero .en-line { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--gold-ink); margin-bottom: 30px; }
.hero .sub { margin-bottom: 40px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; background: var(--cream); min-height: 420px; }
.hero-grid.no-media { grid-template-columns: 1fr; min-height: 0; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px max(var(--gutter), env(safe-area-inset-right, 0px)) 40px; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}

/* slots (data-driven images) */
.slot { position: relative; overflow: hidden; background: var(--cream); aspect-ratio: var(--ratio, 4/5); }
.slot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
.slot:hover img { transform: scale(1.025); }
.slot-cap { font-family: var(--font-ui); font-size: 12px; color: var(--muted); margin-top: 10px; }
.slot.fill { position: absolute; inset: 0; aspect-ratio: auto; }
.slot .cap { position: absolute; left: 20px; bottom: 16px; background: rgba(248, 242, 226, .92); padding: 6px 12px; font-family: var(--font-ui); font-size: 12px; color: var(--charcoal); }

/* approach */
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.approach-grid.no-media { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.approach-media { margin-top: clamp(0px, 8vw, 120px); }
.approach h2 { margin-bottom: 32px; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 48px; border-top: 1px solid var(--line); }
.pillars li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pillars b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--forest); }
.pillars span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; } .approach-media { margin-top: 0; } }

/* services */
.services { background: var(--cream); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head.stack { display: block; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-gold); align-items: start; }
.svc:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.svc:nth-child(even) .svc-media { order: 2; }
.svc.no-media { grid-template-columns: minmax(0, 1fr); }
.svc.no-media .svc-text { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.svc-text h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; margin-bottom: 10px; }
.svc-text .ko { font-weight: 600; font-size: 17px; margin-bottom: 16px; }
.svc-text .copy { font-size: 15.5px; }
@media (max-width: 860px) {
  .svc, .svc:nth-child(even), .svc.no-media { grid-template-columns: 1fr; gap: 24px; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .svc.no-media .svc-text { grid-template-columns: 1fr; gap: 16px; }
}
.svc-media .slot { --ratio: 4/5; }
.svc:nth-child(3n+2) .svc-media .slot { --ratio: 3/2; }
.svc:nth-child(3n) .svc-media .slot { --ratio: 1/1; }

/* works */
.works-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 40px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters button { background: none; border: 0; padding: 8px 0; font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.filters button:hover { color: var(--charcoal); }
.filters button[aria-pressed="true"] { color: var(--charcoal); border-bottom-color: var(--gold); }
.filters sup { font-weight: 500; color: var(--gold-ink); margin-left: 3px; font-size: 10px; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 52px) clamp(16px, 2vw, 28px); align-items: start; }
.work { grid-column: span var(--span, 2); }
.work button.thumb { display: block; width: 100%; padding: 0; border: 0; background: var(--cream); cursor: zoom-in; overflow: hidden; aspect-ratio: var(--ratio, 4/5); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
.work button.thumb:hover img { transform: scale(1.03); }
.work figcaption { padding-top: 14px; display: grid; gap: 2px; }
.work .t { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.2; }
.work .m { font-size: 14px; color: var(--muted); }
.work .note { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 36em; }
.badge { justify-self: start; margin-top: 8px; font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; padding: 3px 10px; border: 1px solid var(--line-gold); color: var(--gold-ink); }
.badge.built { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.works-note { margin-top: 56px; font-size: 14px; color: var(--muted); max-width: 46em; border-top: 1px solid var(--line); padding-top: 20px; }
.empty-msg { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work { grid-column: span 1; } .work.wide { grid-column: span 2; } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } .work, .work.wide { grid-column: span 1; } }

/* lightbox */
dialog.lb { border: 0; padding: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: rgba(248, 242, 226, .97); color: var(--charcoal); }
dialog.lb::backdrop { background: rgba(48, 51, 47, .4); }
.lb-inner { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); gap: 16px; }
.lb-stage { min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.lb-cap .t { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.2; }
.lb-cap .m { font-size: 14px; color: var(--muted); }
.lb-ctrl { display: flex; gap: 8px; align-items: center; }
.lb-ctrl button { min-width: 44px; height: 44px; border: 1px solid var(--charcoal); background: transparent; cursor: pointer; font-size: 15px; padding: 0 14px; }
.lb-ctrl button:hover { background: var(--charcoal); color: var(--ivory); }
.lb-count { font-family: var(--font-ui); font-size: 13px; color: var(--muted); padding: 0 8px; }

/* spaces */
.spaces { background: var(--cream); }
.space-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.space { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 30px; border-top: 1px solid var(--line-gold); }
.space.has-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.space h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 8px; }
.space p { font-size: 15px; color: var(--muted); }
.space .slot { --ratio: 4/3; }
@media (max-width: 860px) { .space-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .space.has-media { grid-template-columns: 1fr; } }

/* process */
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 36px 32px 44px 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.step:not(:nth-child(3n+1)) { padding-left: 32px; }
.step .n { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 27px; line-height: 1.15; }
.step .ko { font-weight: 600; font-size: 15px; margin: 6px 0 10px; }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) {
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step:not(:nth-child(3n)), .step:not(:nth-child(3n+1)) { border-right: 0; padding: 32px 24px 36px 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } .step:nth-child(even) { padding-left: 0; border-left: 0; } }

/* details */
.details { background: var(--cream); }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.detail h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.15; margin: 20px 0 6px; padding-top: 18px; border-top: 1px solid var(--line-gold); }
.detail .ko { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.detail p { font-size: 14.5px; color: var(--muted); }
.detail.has-media h3 { margin-top: 18px; }
.detail .slot { --ratio: 4/5; }
.detail:nth-child(even) .slot { --ratio: 1/1; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .detail-grid { grid-template-columns: 1fr; } }

/* planning (forest band) */
.planning { background: var(--forest); color: var(--ivory); }
.planning .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.planning h2 { color: var(--ivory); }
.plan-steps { border-top: 1px solid rgba(248, 242, 226, .28); }
.plan-steps li { padding: 22px 0; border-bottom: 1px solid rgba(248, 242, 226, .28); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.plan-steps b { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.2; color: #E2D3AE; }
.plan-steps span { font-size: 15px; color: rgba(248, 242, 226, .86); }
.plan-note { margin-top: 24px; font-size: 14px; color: rgba(248, 242, 226, .72); }
@media (max-width: 860px) { .planning .wrap { grid-template-columns: 1fr; } .plan-steps li { grid-template-columns: 1fr; gap: 4px; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.faq-grid .head { position: sticky; top: calc(var(--header-h) + 32px); }
details.q { border-top: 1px solid var(--line); }
details.q:last-child { border-bottom: 1px solid var(--line); }
details.q summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px; line-height: 1.5; position: relative; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--gold); line-height: 1; }
details.q[open] summary::after { content: "–"; }
details.q p { padding: 0 40px 26px 0; color: var(--muted); font-size: 15.5px; max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .head { position: static; } }

/* contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.contact-info { margin-top: 40px; display: grid; gap: 14px; font-size: 15px; }
.contact-info div { padding-top: 14px; border-top: 1px solid var(--line-gold); }
.contact-info dt { font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--gold-ink); }
.contact-info:empty { display: none; }
form#quote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--charcoal); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0; font: inherit; font-size: 16px; color: var(--charcoal);
  background: transparent; border: 0; border-bottom: 1px solid rgba(48, 51, 47, .45); border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--forest); box-shadow: 0 1px 0 var(--forest); }
.field input[type="file"] { padding: 12px 0; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--error); min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: var(--error); }
.radios { display: flex; gap: 28px; padding-top: 10px; }
.radios label { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-size: 15px; }
.radios input, .consent input { accent-color: var(--forest); width: 18px; height: 18px; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.consent { display: grid; gap: 10px; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.consent details { font-size: 13px; color: var(--muted); }
.consent summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.consent details p { margin-top: 8px; max-width: 44em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; min-height: 24px; font-size: 15px; }
.form-status.ok { color: var(--forest); font-weight: 600; }
.form-status.bad { color: var(--error); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form#quote { grid-template-columns: 1fr; } .radios { gap: 20px; } }

/* footer */
.site-footer { background: var(--forest); color: var(--ivory); padding-block: 72px 40px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(248, 242, 226, .25); }
.site-footer .brand-word { font-size: 36px; }
.site-footer .slogan { margin-top: 18px; font-size: 17px; font-weight: 300; }
.site-footer .slogan-en { font-family: var(--font-display); font-style: italic; font-size: 20px; color: #E2D3AE; margin-top: 4px; }
.foot-nav { display: grid; gap: 8px; font-size: 14.5px; align-content: start; }
.foot-nav b, .foot-co b { font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: #E2D3AE; margin-bottom: 6px; display: block; }
.foot-co { font-size: 14px; display: grid; gap: 4px; align-content: start; color: rgba(248, 242, 226, .86); }
.foot-bottom { padding-top: 28px; font-size: 13px; color: rgba(248, 242, 226, .7); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } }

/* mobile floating CTA */
.fab { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 90; display: none; box-shadow: 0 6px 18px rgba(48, 51, 47, .18); }
@media (max-width: 960px) { .fab { display: inline-flex; } }
.fab.show { opacity: 1; visibility: visible; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .6, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slot img, .work img, .nav a::after, .btn { transition: none; }
  .slot:hover img, .work button.thumb:hover img { transform: none; }
}
