/* Evergreen Care Home — design inspired by ballance.framer.website:
   deep-to-light background gradients, centered tight headlines, mono micro-labels with a square bullet,
   square buttons, cream cards with pencil illustrations, dark tabbed panels, two-column FAQ, photo footer.
   Palette: evergreen (Ballance's navy -> our forest), cream, near-black green, persimmon accent. */
:root {
  --evergreen-0: #0a241d;
  --evergreen-1: #123a2e;
  --evergreen-2: #2e5e4b;
  --sage: #8fb5a1;
  --mist: #dbe8df;
  --cream: #f4f3ee;
  --cream-2: #ecebe4;
  --white: #ffffff;
  --ink: #141714;
  --ink-2: #4a524d;
  --mute: #7c857f;
  --line: #dcdcd4;
  --night: #101714;
  --night-2: #1a231f;
  --night-line: #2a3530;
  --leaf: #2f6b52;
  --leaf-light: #9cc8b0;
  --persimmon: #e2582f;
  --persimmon-dark: #c4461f;

  --sans: "Geist", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ko: "Pretendard Variable", Pretendard, "Geist", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --hero-gradient: linear-gradient(180deg,
      var(--evergreen-0) 0%, var(--evergreen-1) 24%, #24503f 40%, #4f8068 55%,
      #9cbfac 70%, #dbe8e0 85%, #fff 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--sans); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lang-ko { font-family: var(--ko); word-break: keep-all; letter-spacing: -0.015em; }
body.lang-ko [lang="en"]:not(html), body.lang-en [lang="ko"]:not(html) { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--evergreen-1); color: var(--cream); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 1.08; text-wrap: balance; }
.lang-ko h1, .lang-ko h2, .lang-ko h3 { font-weight: 600; letter-spacing: -0.04em; line-height: 1.22; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
.sub { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-2); max-width: 46ch; line-height: 1.6; }
.center .sub { margin-left: auto; margin-right: auto; }
.lang-ko .sub { line-height: 1.75; }

/* mono label with square bullet: "□ BUILT FOR MODERN TEAMS" */
.label {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 .74rem/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--leaf);
}
.label::before { content: ""; width: .72em; height: .72em; border: 1.2px solid currentColor; border-radius: 1px; }
.label.on-dark { color: var(--leaf-light); }
.label.plain { color: var(--ink-2); }
.lang-ko .label { font-family: var(--ko); font-weight: 600; font-size: .8rem; letter-spacing: 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .label { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 16px; }

/* ---------- Buttons (square, mono, uppercase) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 48px; padding: 0 1.5em; border: 0; border-radius: 0;
  font: 500 .8rem/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.lang-ko .btn { font-family: var(--ko); font-weight: 600; font-size: .92rem; letter-spacing: 0; text-transform: none; }
.btn-accent { background: var(--persimmon); color: #fff; }
.btn-accent:hover { background: var(--persimmon-dark); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--evergreen-1); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn .ic { font-family: var(--mono); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1400px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 24px; height: 24px; flex: none; }
.brand b { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.04em; }
.brand small { font-size: .8rem; opacity: .7; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-right { display: flex; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: .5em; height: 34px; padding: 0 12px; border: 0; border-radius: 3px;
  background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  font: 500 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; text-decoration: none;
}
.chip:hover { background: rgba(255,255,255,.18); }
.chip.accent { background: var(--persimmon); box-shadow: none; }
.lang-ko .chip { font-family: var(--ko); font-weight: 600; font-size: .82rem; letter-spacing: 0; }
.chip-lang { font-family: var(--mono) !important; font-weight: 500 !important; }
.menu-btn { display: none; }
/* solid state after scrolling, and on light pages */
.nav.solid { background: rgba(244,243,238,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .brand, .nav.solid .nav-links a[aria-current="page"], .nav.solid .nav-links a:hover { color: var(--ink); }
.nav.solid .nav-links a { color: var(--ink-2); }
.nav.solid .chip:not(.accent) { background: var(--cream-2); color: var(--ink); box-shadow: none; }
@media (max-width: 960px) {
  .nav-links, .nav .chip.call { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 420px) { .brand small { display: none; } }

.panel-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--evergreen-0); color: #fff;
  display: none; flex-direction: column; padding: 0 var(--gutter) 28px;
}
.panel-menu.open { display: flex; }
.panel-menu .top { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.panel-menu nav { margin-top: 5vh; display: grid; }
.panel-menu nav a {
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; display: flex; justify-content: space-between; align-items: center;
}
.panel-menu nav a span.n { font: 500 .75rem var(--mono); opacity: .5; }
.panel-menu .meta { margin-top: auto; display: grid; gap: 6px; opacity: .8; font-size: .95rem; }

/* ---------- Hero (gradient) ---------- */
.hero { background: var(--hero-gradient); color: #fff; padding-top: 100px; overflow: hidden; position: relative; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 500 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; color: #fff;
}
.hero .pill i { width: 9px; height: 9px; background: currentColor; display: inline-block; }
.lang-ko .hero .pill { font-family: var(--ko); font-weight: 600; font-size: .8rem; letter-spacing: 0; }
.hero h1 { margin: 18px auto 14px; max-width: 16ch; color: #fff; }
.hero .sub { color: rgba(255,255,255,.78); }
.hero .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero-visual { position: relative; margin: clamp(8px, 2vw, 20px) auto 0; width: min(1000px, 100%); }
.hero-visual img { width: 100%; height: auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 18px 0 clamp(70px, 9vw, 110px); color: var(--ink); text-align: center; }
.stat b { display: block; font-weight: 500; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.05em; line-height: 1.05; }
.stat b small { font-size: .45em; letter-spacing: -0.02em; margin-left: .1em; }
.stat span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 28px; } }

/* page hero (sub pages): shorter band of the same gradient */
.page-hero { background: linear-gradient(180deg, var(--evergreen-0) 0%, var(--evergreen-1) 30%, #3a6b56 62%, #b4d0c0 86%, #fff 100%); color: #fff; padding: 150px 0 clamp(90px, 11vw, 140px); text-align: center; }
.page-hero h1 { margin: 22px auto 18px; max-width: 18ch; }
.page-hero .sub { color: rgba(255,255,255,.8); margin: 0 auto; }
.page-hero .label { color: var(--leaf-light); }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 10vw, 140px) 0; }
.bg-white { background: #fff; }
.bg-cream { background: var(--cream); }
.bg-night { background: var(--night); color: #f1f3ef; }
.bg-night .sub { color: rgba(241,243,239,.68); }
.bg-night h2, .bg-night h3 { color: #fff; }

/* cream cards with illustrations */
.ill-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ill-card { background: var(--cream-2); aspect-ratio: 4 / 5; position: relative; display: flex; flex-direction: column; padding: 22px; }
.bg-cream .ill-card { background: #fff; }
.ill-card img { flex: 1; min-height: 0; object-fit: contain; width: 86%; margin: 10px auto; transition: transform .6s var(--ease); }
.ill-card:hover img { transform: translateY(-4px) rotate(-1deg); }
.ill-card .label { color: var(--ink); }
.ill-card p { margin: 10px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
@media (max-width: 860px) { .ill-cards { grid-template-columns: 1fr; } .ill-card { aspect-ratio: auto; } .ill-card img { height: 260px; } }

/* dark tabbed panel */
.tabbox { border: 1px solid var(--night-line); }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--night-line); }
.tabbar button {
  background: transparent; color: rgba(241,243,239,.75); border: 0; border-right: 1px solid var(--night-line);
  padding: 18px 12px; font: 500 .78rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.lang-ko .tabbar button { font-family: var(--ko); font-weight: 600; font-size: .9rem; letter-spacing: 0; text-transform: none; }
.tabbar button:last-child { border-right: 0; }
.tabbar button[aria-selected="true"] { background: var(--cream); color: var(--ink); }
.tabbar button[aria-selected="true"]::before { content: "| "; opacity: .5; }
.tabpane { display: none; grid-template-columns: 1fr 1fr; min-height: 460px; }
.tabpane.on { display: grid; animation: fade .5s var(--ease); }
.tabpane .txt { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.tabpane .txt h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; color: #f6f6f2; }
.tabpane .txt p { color: rgba(241,243,239,.72); max-width: 44ch; }
.tabpane .txt .btn { margin-top: auto; align-self: flex-start; }
.tabpane .pic { position: relative; overflow: hidden; }
.tabpane .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 860px) {
  .tabbar { grid-template-columns: 1fr 1fr; }
  .tabbar button:nth-child(2) { border-right: 0; }
  .tabbar button:nth-child(-n+2) { border-bottom: 1px solid var(--night-line); }
  .tabpane { grid-template-columns: 1fr; }
  .tabpane .pic { aspect-ratio: 4 / 3; order: -1; }
  .tabpane .txt .btn { margin-top: 24px; }
}

/* centered statement (Ballance testimonial style, without fabricated quotes) */
.statement { max-width: 30ch; margin: 0 auto; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.25; text-align: center; text-wrap: balance; }
.lang-ko .statement { font-weight: 600; line-height: 1.45; max-width: 26ch; }
.statement-by { display: block; margin-top: 26px; text-align: center; font: 500 .74rem var(--mono); text-transform: uppercase; color: var(--mute); }
.lang-ko .statement-by { font-family: var(--ko); font-size: .85rem; text-transform: none; }
.mark { display: flex; justify-content: center; margin-bottom: 26px; }
.mark svg { width: 34px; height: 34px; }

/* dark cards (Ballance compliance cards) */
.dcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dcard { background: var(--night-2); padding: 22px; min-height: 230px; display: flex; flex-direction: column; }
.dcard h3 { font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.dcard p { margin: 0; color: rgba(241,243,239,.6); font-size: .92rem; line-height: 1.55; }
.dcard svg { margin-top: auto; width: 40px; height: 40px; color: rgba(241,243,239,.28); }
.dcards.light .dcard { background: #fff; }
.dcards.light .dcard p { color: var(--ink-2); }
.dcards.light .dcard svg { color: var(--sage); }
@media (max-width: 960px) { .dcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .dcards { grid-template-columns: 1fr; } .dcard { min-height: 0; gap: 18px; } }

/* FAQ, two columns */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--line);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23141714' stroke-width='1.6'/%3E%3C/svg%3E");
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding-right: 50px; margin: -6px 0 22px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* CTA over a soft, blurred photo */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(110px, 14vw, 180px) 0; }
.cta::before { content: ""; position: absolute; inset: -40px; background: var(--cta-img) center / cover; filter: blur(14px) saturate(1.05); transform: scale(1.05); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,36,29,.55), rgba(10,36,29,.72)); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta .sub { color: rgba(255,255,255,.8); margin: 0 auto; }
.callbox { display: inline-flex; margin-top: 34px; max-width: 100%; }
.callbox span { display: flex; align-items: center; padding: 0 22px; min-height: 52px; border: 1px solid rgba(255,255,255,.6); border-right: 0; font-size: 1.1rem; letter-spacing: 0; white-space: nowrap; }
.callbox .btn { background: #fff; color: var(--ink); min-height: 52px; }
.callbox .btn:hover { background: var(--cream); }

/* illustration strip above footer */
.strip { background: var(--cream); padding: 50px 0 0; overflow: hidden; }
.strip .row { display: flex; justify-content: center; gap: clamp(20px, 6vw, 90px); align-items: flex-end; }
.strip img { height: clamp(90px, 13vw, 150px); width: auto; margin-bottom: -14px; }

/* footer over a dark photo */
footer { position: relative; color: #fff; overflow: hidden; }
footer::before { content: ""; position: absolute; inset: 0; background: url("../images/garden.jpg") center 70% / cover; filter: saturate(.9); }
footer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,36,29,.82), rgba(10,36,29,.9)); }
footer .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 28px; max-width: 1400px; }
.foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot .tagline { margin-top: 26px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.2; }
.lang-ko .foot .tagline { font-weight: 600; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(10,20,16,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.foot-links > div { padding: 26px; border-right: 1px solid rgba(255,255,255,.08); }
.foot-links > div:last-child { border-right: 0; }
.foot-links h4 { margin: 0 0 16px; font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.lang-ko .foot-links h4 { font-family: var(--ko); font-weight: 700; font-size: .85rem; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { text-decoration: none; color: rgba(255,255,255,.82); } .foot-links a:hover { color: #fff; }
.foot-links p { color: rgba(255,255,255,.82); margin: 0; }
.foot-bottom { margin-top: 70px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font: 500 .74rem var(--mono); text-transform: uppercase; opacity: .75; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } .foot-links { grid-template-columns: 1fr; } .foot-links > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); } }

/* ---------- Content blocks for sub pages ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { overflow: hidden; background: var(--cream-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.r45 { aspect-ratio: 4 / 5; } .photo.r32 { aspect-ratio: 3 / 2; } .photo.r43 { aspect-ratio: 4 / 3; } .photo.r11 { aspect-ratio: 1; }
.cap { margin-top: 12px; font: 500 .72rem var(--mono); text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: .6em; }
.cap::before { content: ""; width: .7em; height: .7em; border: 1.2px solid currentColor; }
.lang-ko .cap { font-family: var(--ko); font-size: .82rem; text-transform: none; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows .n { font: 500 .74rem var(--mono); color: var(--mute); }
.rows b { font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; }
.lang-ko .rows b { font-weight: 600; }
.rows .d { color: var(--ink-2); text-align: right; font-size: .95rem; }
.bg-night .rows li { border-color: var(--night-line); }
.bg-night .rows .d { color: rgba(241,243,239,.6); }
@media (max-width: 700px) { .rows li { grid-template-columns: 40px 1fr; } .rows .d { grid-column: 2; text-align: left; } }

.note { background: #fff; padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; }
.note p { margin: 0; font-size: 1.1rem; }
.note a { color: var(--persimmon-dark); font-weight: 600; }

/* weekly menu board */
.menu-board { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); background: #fff; }
.menu-day { padding: 20px 16px; border-right: 1px solid var(--line); }
.menu-day:last-child { border-right: 0; }
.menu-day .d { display: block; margin-bottom: 16px; font: 500 .74rem var(--mono); color: var(--mute); }
.menu-day dl { margin: 0; display: grid; gap: 12px; }
.menu-day dt { font: 500 .66rem var(--mono); text-transform: uppercase; color: var(--leaf); }
.lang-ko .menu-day dt { font-family: var(--ko); font-weight: 700; font-size: .74rem; }
.menu-day dd { margin: 2px 0 0; font-size: .92rem; line-height: 1.45; }
@media (max-width: 1100px) { .menu-board { grid-template-columns: repeat(4, 1fr); } .menu-day:nth-child(4) { border-right: 0; } .menu-day:nth-child(n+5) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .menu-board { grid-template-columns: 1fr 1fr; } .menu-day { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); } .menu-day:nth-child(even) { border-right: 0 !important; } .menu-day:nth-child(-n+2) { border-top: 0; } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; border: 1px solid var(--line); width: fit-content; max-width: 100%; margin: 0 auto 40px; background: #fff; }
.filters button { background: transparent; border: 0; border-right: 1px solid var(--line); padding: 14px 18px; font: 500 .76rem var(--mono); text-transform: uppercase; cursor: pointer; color: var(--ink-2); }
.lang-ko .filters button { font-family: var(--ko); font-weight: 600; font-size: .88rem; text-transform: none; }
.filters button:last-child { border-right: 0; }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.masonry { columns: 3 280px; column-gap: 10px; }
.masonry figure { margin: 0 0 10px; break-inside: avoid; background: var(--cream); }
.masonry img { width: 100%; cursor: zoom-in; }
.masonry figcaption { padding: 12px 14px; font-size: .9rem; color: var(--ink-2); }
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(1400px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
dialog.lb::backdrop { background: rgba(10,36,29,.92); }
dialog.lb img { max-height: calc(100dvh - 90px); width: auto; margin: 0 auto; }
dialog.lb p { color: #fff; text-align: center; margin: 12px 0 0; }
dialog.lb .chip { position: fixed; top: 16px; right: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccard { background: var(--cream); padding: clamp(24px, 3vw, 36px); }
.ccard a.big { display: block; margin: 16px 0 6px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.04em; text-decoration: none; line-height: 1.1; }
.ccard a.big:hover { color: var(--persimmon-dark); }
.ccard p { margin: 0; color: var(--ink-2); }
.map { min-height: 440px; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.nav.solid .brand svg path { fill: var(--leaf); }

/* Compact gradient headers (40% smaller than the original design) */
.hero { padding-top: 88px; }
.hero h1, .page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.hero h1 { margin: 12px auto 10px; }
.hero .sub, .page-hero .sub { font-size: .95rem; line-height: 1.6; }
.hero .btns { margin-top: 16px; }
.hero .btn { min-height: 42px; }
.hero-visual { width: min(600px, 100%); margin-top: 6px; }
.stats { padding: 6px 0 clamp(40px, 5.4vw, 66px); }
.stat b { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.stat span { font-size: .88rem; margin-top: 4px; }
.page-hero { padding: 90px 0 clamp(54px, 6.6vw, 84px); }
.page-hero h1 { margin: 12px auto 10px; }
/* stats as short headlines instead of numbers */
.stat b { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.lang-ko .stat b { font-weight: 700; }
.stats { gap: 32px; }
