:root{
  --bg:#ffffff; --bg-alt:#f7f8f7; --text:#1e1e1e; --text-mute:#5b625b;
  --accent:#4e6841; --accent-dark:#3a4d30; --accent-tint:#e7ede0;
  --border:#e7e7e5; --footer-bg:#24272c; --footer-text:#c9cdc7;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:-apple-system,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;
  line-height:1.7; font-size:clamp(15px,3.9vw,17px);
}
h1,h2,h3{line-height:1.3; font-weight:800}
a{color:inherit}
img{max-width:100%; display:block}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
@media (prefers-reduced-motion: reduce){*{transition:none!important; animation:none!important}}

/* header */
.site-head{
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  padding:12px max(16px,env(safe-area-inset-left)) 12px max(16px,env(safe-area-inset-right));
  border-bottom:1px solid var(--border); background:var(--bg);
  position:sticky; top:0; z-index:20;
}
.brand{display:flex; align-items:center; gap:8px; font-weight:800; text-decoration:none; font-size:18px; margin-right:auto}
.brand::before{
  content:""; width:26px; height:26px; flex:none;
  background:var(--accent);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="black" stroke-width="1.8"/><path d="M12 12 L12 4.5" stroke="black" stroke-width="1.8" stroke-linecap="round"/><path d="M12 12 L19.5 12" stroke="black" stroke-width="1.8" stroke-linecap="round"/><path d="M12 12 L12 19.5" stroke="black" stroke-width="1.8" stroke-linecap="round"/><path d="M12 12 L4.5 12" stroke="black" stroke-width="1.8" stroke-linecap="round"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="black" stroke-width="1.8"/><path d="M12 12 L12 4.5" stroke="black" stroke-width="1.8" stroke-linecap="round"/><path d="M12 12 L19.5 12" stroke="black" stroke-width="1.8" stroke-linecap="round"/><path d="M12 12 L12 19.5" stroke="black" stroke-width="1.8" stroke-linecap="round"/><path d="M12 12 L4.5 12" stroke="black" stroke-width="1.8" stroke-linecap="round"/></svg>') center/contain no-repeat;
}
.brand .sub{display:none}
.nav-btn{
  display:none; margin-left:auto; min-width:44px; min-height:44px; border:1px solid var(--border);
  background:var(--bg); border-radius:8px; font-size:14px; cursor:pointer;
}
.site-nav{display:flex; gap:22px; font-size:14px; font-weight:600}
.site-nav a{text-decoration:none; color:var(--text-mute); padding:6px 0}
.site-nav a:hover{color:var(--accent)}
.btn-consult{
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 20px;
  background:var(--accent); color:#fff; border-radius:999px; font-weight:700; font-size:14px;
  text-decoration:none; white-space:nowrap;
}
@media (max-width:768px){
  .nav-btn{display:inline-flex; align-items:center; justify-content:center}
  .site-nav{
    display:none; position:absolute; left:0; right:0; top:100%; background:var(--bg);
    border-bottom:1px solid var(--border); flex-direction:column; gap:0; padding:8px 16px;
  }
  .site-nav.open{display:flex}
  .site-nav a{padding:12px 0; border-bottom:1px solid var(--border)}
}

/* hero */
.hero{
  background:var(--accent-tint); padding:36px max(16px,env(safe-area-inset-left)) 40px;
}
.breadcrumb{font-size:13px; color:var(--text-mute); margin:0 0 10px}
.eyebrow{
  display:block; font-size:12px; font-weight:700; letter-spacing:.08em; color:var(--accent-dark);
  text-transform:uppercase; margin:0 0 8px;
}
.hero h1{font-size:clamp(26px,6.2vw,44px); margin:0 0 14px}
.hero .lead{max-width:720px; color:var(--text-mute); margin:0 0 20px; font-size:clamp(15px,3.9vw,17px)}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.btn-hero, .cta a{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:52px;
  padding:0 26px; border-radius:999px; font-weight:700; text-decoration:none; font-size:15px;
}
.hero .btn-hero{background:var(--accent); color:#fff}
.btn-hero.secondary{background:#fff; color:var(--accent-dark); border:1px solid var(--accent)}

/* main content */
main{max-width:1100px; margin:0 auto; padding:0 max(16px,env(safe-area-inset-left)) 40px}
.content{padding-top:32px}
.layout{display:grid; grid-template-columns:280px 1fr; gap:32px; align-items:start}
.photo-stack, .photo-col{display:flex; flex-direction:column; gap:14px}
.photo-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:28px 0}
.shot{margin:0; border-radius:12px; overflow:hidden; border:1px solid var(--border)}
.shot img{aspect-ratio:4/3; object-fit:cover; object-position:center 35%; width:100%; height:auto}
.body-text{display:flex; flex-direction:column; gap:20px}
.content-block{background:var(--bg-alt); border:1px solid var(--border); border-radius:12px; padding:22px 24px}
.body-text h2{font-size:clamp(19px,4.2vw,24px); margin:0 0 12px}
.body-text p{margin:0 0 14px; max-width:75ch}
.body-text table{width:100%; border-collapse:collapse; margin:18px 0 0; font-size:14px}
.body-text table caption{text-align:left; font-weight:700; padding:0 0 8px}
.body-text th, .body-text td{border:1px solid var(--border); padding:10px 12px; text-align:left}
.body-text thead th{background:var(--accent-tint); color:var(--accent-dark)}
.history-box{
  border-left:4px solid var(--accent); background:var(--bg-alt); padding:16px 18px; border-radius:0 10px 10px 0;
  margin:20px 0;
}
.history-box h3{margin:0 0 8px; font-size:16px}
.history-box p{margin:0}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}

/* related links */
.related{margin:32px 0}
.related h2{font-size:18px; margin:0 0 12px}
.related ul{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px}
.related a{
  display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border:1px solid var(--border);
  border-radius:999px; text-decoration:none; font-size:14px; font-weight:600; color:var(--text);
}
.related a:hover{border-color:var(--accent); color:var(--accent)}
.related a::after{content:"\2192"}

/* faq */
.faq{margin:32px 0}
.faq h2{font-size:18px; margin:0 0 12px}
.faq details{border:1px solid var(--border); border-radius:10px; margin-bottom:10px; padding:14px 18px}
.faq summary{
  cursor:pointer; font-weight:700; list-style:none; display:flex; justify-content:space-between; gap:12px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:var(--accent); font-weight:800; font-size:18px}
.faq details[open] summary::after{content:"\2212"}
.faq p{margin:12px 0 0; color:var(--text-mute)}

/* cta banner */
.cta{
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:center;
  background:linear-gradient(120deg, var(--accent-dark), var(--accent));
  color:#fff; padding:28px 20px; border-radius:16px; margin:36px 0 8px; text-align:center;
}
.cta a:first-child{background:#fff; color:var(--accent-dark)}
.cta a:last-child{background:transparent; color:#fff; border:1px solid rgba(255,255,255,.7)}

/* footer */
.site-foot{background:var(--footer-bg); color:var(--footer-text)}
.foot-row{display:flex; flex-wrap:wrap; gap:0 18px; font-size:12px; line-height:1.5; padding:14px max(20px,env(safe-area-inset-left))}
.foot-row span{padding-left:18px; border-left:1px solid rgba(255,255,255,.15)}
.foot-row span:first-child{padding-left:0; border-left:none}
.lastmod{margin:0; padding:0 20px 14px; font-size:11px; color:#8a9084}

@media (max-width:768px){
  .layout{grid-template-columns:1fr}
  .photo-stack, .photo-col{flex-direction:row; overflow-x:auto; -webkit-overflow-scrolling:touch}
  .photo-stack .shot, .photo-col .shot{flex:0 0 200px}
}
@media (max-width:480px){
  .photo-grid{grid-template-columns:1fr 1fr}
  .cta{flex-direction:column}
  .cta a{width:100%}
}
