/* Home Sweet Chloe — Parisian editorial: ink, porcelain, mist blue. */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@300;400;500;600&family=Noto+Sans+KR:wght@300;400;500;600&family=Noto+Serif+KR:wght@400;500;600&display=swap');

:root {
  --navy: #24354b;
  --navy-deep: #182b40;
  --ivory: #fbfaf7;
  --sand: #eef2ef;
  --gold: #547997;
  --gold-light: #b9d3df;
  --slate: #64717d;
  --slate-light: #a4afb7;
  --line: #dbe2e4;
  --line-dark: rgba(251, 250, 247, 0.24);
  --max-w: 1140px;
  --radius: 1px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy-deep);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--navy-deep);
  letter-spacing: 0.002em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- signature: crest + architectural rule ---------- */
.crest {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.crest.on-dark { border-color: var(--gold-light); color: var(--gold-light); }

.line-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.line-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.line-rule.on-dark::after { background: var(--line-dark); }

.roofline {
  width: 100%;
  height: auto;
  stroke: var(--gold);
  stroke-width: 1;
  fill: none;
  opacity: 0.5;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy-deep);
}
.brand-text small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--slate);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 3px;
}

nav.primary-nav { display: flex; align-items: center; gap: 42px; }
nav.primary-nav a {
  font-size: 0.9rem;
  color: var(--slate);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
nav.primary-nav a:hover { color: var(--navy-deep); }
nav.primary-nav a.active { color: var(--navy-deep); }
nav.primary-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy-deep); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 760px) {
  nav.primary-nav {
    position: absolute;
    top: 90px; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  nav.primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  nav.primary-nav a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}

/* ---------- hero (dark, navy) ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #253c56 0%, #1b3048 70%, #172b40 100%);
  color: var(--ivory);
  padding: 88px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line-dark);
  pointer-events: none;
}
.hero-roofline {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 620px;
  max-width: 60%;
  opacity: 0.14;
  pointer-events: none;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  color: var(--ivory);
  max-width: 17ch;
  margin-top: 18px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  margin-top: 22px;
  max-width: 50ch;
  font-size: 1.08rem;
  color: rgba(251, 250, 247, 0.8);
  font-weight: 300;
}
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}
.btn-gold { background: #dcebf0; color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(246,242,233,0.4); color: var(--ivory); }
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(246,242,233,0.06); }
.btn-outline-dark { border-color: var(--navy-deep); color: var(--navy-deep); }
.btn-outline-dark:hover { background: var(--navy-deep); color: var(--ivory); }

/* trust bar under hero */
.trust-bar { background: #182b40; border-top: 1px solid var(--line-dark); }
.trust-bar .wrap { display: flex; flex-wrap: wrap; gap: 10px 40px; padding: 22px 28px; justify-content: space-between; }
.trust-item {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(246,242,233,0.65);
  display: flex;
  align-items: center;
  gap: 9px;
}
.trust-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-top: 12px; }
.lede { font-size: 1.04rem; color: var(--slate); max-width: 62ch; font-weight: 300; }

/* expertise list */
.expertise-list { border-top: 1px solid var(--line); }
.expertise-item {
  display: grid;
  grid-template-columns: 60px 1fr 1.6fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.expertise-item .no { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--gold); }
.expertise-item h3 { font-size: 1.25rem; font-weight: 500; }
.expertise-item p { color: var(--slate); font-size: 0.95rem; font-weight: 300; }
@media (max-width: 700px) {
  .expertise-item { grid-template-columns: 40px 1fr; }
  .expertise-item p { grid-column: 2; }
}

/* territory directory */
.territory-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.territory-grid div { padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.94rem; color: var(--navy-deep); }
.territory-grid div:nth-child(3n) { border-right: none; }
@media (max-width: 700px) {
  .territory-grid { grid-template-columns: repeat(2, 1fr); }
  .territory-grid div:nth-child(3n) { border-right: 1px solid var(--line); }
  .territory-grid div:nth-child(2n) { border-right: none; }
}

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi { background: var(--ivory); padding: 32px 28px; }
.testi p.quote { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.15rem; color: var(--navy-deep); margin-bottom: 20px; }
.testi .who { font-size: 0.76rem; letter-spacing: 0.04em; color: var(--slate); text-transform: uppercase; }

/* photo frame */
.photo-frame { border: 1px solid var(--gold); padding: 10px; }
.photo-block { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.photo-block.wide { aspect-ratio: 16 / 9; }
.photo-block img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* small circular portrait */
.avatar-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
  flex: none;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* hero portrait (home page) */
.illustrated-hero { position: relative; z-index: 1; border: 1px solid rgba(251,250,247,.7); background: var(--ivory); padding: 8px; box-shadow: 14px 14px 0 rgba(185, 211, 223, .3); }
.illustrated-hero > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.48) contrast(.98); }
.hero-photo-chip { position: absolute; right: 16px; bottom: -26px; width: 106px; height: 106px; border: 5px solid var(--ivory); border-radius: 50%; overflow: hidden; box-shadow: 0 4px 12px rgba(32, 58, 73, 0.26); }
.hero-photo-chip img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .illustrated-hero { max-width: 540px; }
}

/* territory section with photo */
.territory-layout { display: grid; grid-template-columns: 1fr 0.7fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .territory-layout { grid-template-columns: 1fr; } }

/* ---------- original French editorial line-art doodles ---------- */
.doodle {
  stroke: var(--gold);
  stroke-width: 1.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}
.doodle.slate { stroke: var(--slate-light); }
.doodle-corner {
  position: absolute;
  pointer-events: none;
}
.doodle-inline {
  width: 46px;
  height: 46px;
  flex: none;
}
.section-head-doodle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.story-break { display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: center; margin: -12px 0 34px; padding: 14px 18px; background: #f2f6f7; border: 1px solid var(--line); }
.story-break img { width: 108px; height: 108px; object-fit: cover; border-radius: 50%; border: 1px solid var(--gold); }
.story-break p { font-family: 'DM Serif Display', serif; font-size: 1.35rem; font-style: italic; color: var(--navy-deep); max-width: 32ch; }
@media (max-width: 560px) { .story-break { grid-template-columns: 92px 1fr; gap: 14px; } .story-break img { width: 76px; height: 76px; } }

/* CTA band */
.cta-band { background: var(--navy); color: var(--ivory); padding: 76px 0; position: relative; overflow: hidden; }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band h2 { color: var(--ivory); font-size: clamp(1.8rem, 3.2vw, 2.5rem); max-width: 22ch; }
.cta-band .lede { color: rgba(246,242,233,0.72); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding: 52px 0 32px; background: var(--ivory); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { display: flex; gap: 14px; max-width: 34ch; }
.footer-brand h4 { font-size: 1.15rem; margin-bottom: 8px; }
.footer-brand p { color: var(--slate); font-size: 0.9rem; font-weight: 300; }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; margin-bottom: 9px; color: var(--navy-deep); }
.footer-col a:hover { color: var(--gold); }
.footer-brokerage { flex: 0 0 auto; margin-left: auto; }
.brokerage-logo { display: block; width: 150px; max-width: 100%; height: auto; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.74rem; color: var(--slate); letter-spacing: 0.02em; }

/* ---------- about page ---------- */
.about-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
@media (max-width: 800px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero .photo-frame { max-width: 380px; }
.background-heading { display: grid; grid-template-columns: 1fr 190px; gap: 46px; align-items: center; margin-bottom: 46px; }
.background-heading img { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; border: 1px solid var(--gold); background: var(--ivory); filter: saturate(.48) contrast(.98); }
@media (max-width: 620px) { .background-heading { grid-template-columns: 1fr; gap: 24px; } .background-heading img { width: 150px; height: 150px; } }

.credential-list { margin-top: 10px; }
.credential-item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.credential-item:last-child { border-bottom: 1px solid var(--line); }
.credential-item .tag-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.credential-item h4 { font-size: 1.1rem; margin-bottom: 6px; font-weight: 500; }
.credential-item p { color: var(--slate); font-size: 0.93rem; font-weight: 300; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); margin-top: 46px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat { padding: 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
@media (max-width: 700px) { .stat { border-right: none; border-bottom: 1px solid var(--line); } .stat:last-child{border-bottom:none;} }
.stat .num { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--navy-deep); }
.stat .lbl { font-size: 0.72rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

.contact-info-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: 1px solid var(--line); }
.contact-info-item h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); margin-bottom: 5px; font-weight: 600; }
.contact-info-item p, .contact-info-item a { font-size: 1rem; }
.contact-info-item a:hover { color: var(--gold); }

form.contact-form label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); margin-bottom: 8px; font-weight: 600; }
form.contact-form .field { margin-bottom: 24px; }
form.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { form.contact-form .field-row { grid-template-columns: 1fr; } }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 2px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem;
  color: var(--navy-deep);
  border-radius: 0;
}
form.contact-form textarea { resize: vertical; min-height: 110px; border: 1px solid var(--line); padding: 12px; }
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.form-note { margin-top: 18px; font-size: 0.82rem; color: var(--slate); font-weight: 300; }
.form-status { margin-top: 16px; font-size: 0.88rem; color: var(--gold); display: none; }
.form-status.show { display: block; }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-story { width: 100%; max-width: 280px; display: block; margin-top: 28px; border: 1px solid var(--gold); background: var(--ivory); padding: 8px; transform: rotate(-1.5deg); box-shadow: 8px 8px 0 #e5eef2; filter: saturate(.42) contrast(.98); }
.form-success { margin: 0 0 24px; padding: 18px 20px; border: 1px solid #a8c3d0; background: #eef6f8; color: var(--navy-deep); }
.form-success strong, .form-success span { display: block; }
.form-success span { margin-top: 3px; color: var(--slate); font-size: .9rem; }


/* Seller landing page form: readable on the dark consultation panel. */
.cta-band .contact-form label { color: rgba(251, 250, 247, 0.82); }
.cta-band .contact-form input,
.cta-band .contact-form select,
.cta-band .contact-form textarea {
  color: var(--ivory);
  border-color: rgba(251, 250, 247, 0.42);
}
.cta-band .contact-form textarea { background: rgba(251, 250, 247, 0.05); }
.cta-band .contact-form input:focus,
.cta-band .contact-form select:focus,
.cta-band .contact-form textarea:focus { border-color: var(--gold-light); }
.cta-band .contact-form input:-webkit-autofill,
.cta-band .contact-form textarea:-webkit-autofill { -webkit-text-fill-color: var(--ivory); }


/* ---------- bilingual navigation ---------- */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 20px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  white-space: nowrap;
}
.language-switcher a { color: var(--slate); padding: 4px 0; }
.language-switcher a[aria-current="page"] { color: var(--navy-deep); font-weight: 700; }
.language-switcher a:hover { color: var(--gold); }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4 { font-family: 'Noto Serif KR', 'DM Serif Display', serif; }
html[lang="ko"] .brand-text { font-family: 'DM Serif Display', serif; }
html[lang="ko"] h1 em { font-family: 'Noto Serif KR', 'DM Serif Display', serif; }
html[lang="ko"] .hero .eyebrow { font-family: 'Manrope', sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }
html[lang="ko"] footer.site-footer,
html[lang="ko"] footer.site-footer h5,
html[lang="ko"] footer.site-footer a,
html[lang="ko"] footer.site-footer p,
html[lang="ko"] footer.site-footer .footer-bottom {
  font-family: 'Manrope', 'Noto Sans KR', sans-serif;
}
html[lang="ko"] footer.site-footer .footer-brand h4 {
  font-family: 'DM Serif Display', 'Noto Serif KR', serif;
}
html[lang="ko"] body,
html[lang="ko"] .eyebrow,
html[lang="ko"] .btn { font-family: 'Noto Sans KR', 'Manrope', sans-serif; }
html[lang="ko"] .eyebrow { letter-spacing: 0.06em; text-transform: none; }
@media (max-width: 760px) {
  .site-header .wrap { height: 78px; }
  .brand-text { font-size: 1.14rem; }
  .brand-text small { font-size: 0.54rem; letter-spacing: 0.07em; }
  .crest { width: 36px; height: 36px; }
  .language-switcher { margin-left: auto; margin-right: 6px; font-size: 0.7rem; }
  nav.primary-nav { top: 78px; }
}


/* Seller address: one compact group with separate underlined fields. */
fieldset.seller-address-fields { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
fieldset.seller-address-fields legend { padding: 0; margin-bottom: 14px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); font-weight: 600; }
.cta-band fieldset.seller-address-fields legend { color: rgba(251, 250, 247, 0.82); }
fieldset.seller-address-fields .field { margin-bottom: 18px; }
fieldset.seller-address-fields .field:last-child { margin-bottom: 0; }
