:root {
  --sage: #8b9d83;
  --sage-deep: #53644f;
  --moss: #606c38;
  --oat: #e8dcc7;
  --clay: #c66b3d;
  --ink: #2d3a2f;
  --muted: #687366;
  --rule: rgba(45, 58, 47, .18);
  --soft: rgba(255, 253, 247, .38);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--oat);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--oat); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.site-header { height: 80px; max-width: 1320px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 80px); display: flex; justify-content: space-between; align-items: center; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 11px; }
.brand span { font-family: "Fraunces", serif; font-size: 23px; font-weight: 600; letter-spacing: .04em; }
.brand small { color: var(--sage-deep); font-size: 9px; letter-spacing: .12em; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--clay); }
.site-header .header-phone { color: var(--ink); border-bottom: 1px solid var(--clay); padding-bottom: 3px; }

.hero { max-width: 1320px; min-height: 620px; margin: 0 auto; padding: 36px clamp(22px, 5vw, 80px) 78px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: clamp(36px, 8vw, 120px); align-items: center; }
.hero-copy { padding: 42px 0; }
.location, .section-label { margin: 0 0 18px; color: var(--clay); font-size: 11px; letter-spacing: .16em; }
.hero h1 { margin: 0; font-family: "Fraunces", serif; font-size: clamp(76px, 10vw, 152px); line-height: .82; font-weight: 500; letter-spacing: -.08em; }
.role { margin: 26px 0 0; font-size: 17px; font-weight: 600; }
.intro { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.contact-button { margin-top: 38px; display: inline-flex; flex-direction: column; gap: 5px; padding: 16px 24px; border-radius: 18px; background: var(--moss); color: #f5f1e8; text-decoration: none; transition: transform 220ms ease, background 220ms ease; }
.contact-button:hover { transform: translateY(-2px); background: var(--clay); }
.contact-button span { font-size: 11px; opacity: .82; }
.contact-button strong { font-size: 15px; font-weight: 600; }
.portrait { margin: 0; position: relative; }
.portrait::before { content: ""; position: absolute; width: 82%; height: 88%; right: -26px; bottom: -24px; z-index: 0; border-radius: 56px 18px 56px 18px; background: var(--sage); }
.portrait img { position: relative; z-index: 1; width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; border-radius: 56px 18px 56px 18px; }
.portrait figcaption { position: relative; z-index: 2; margin: 18px 0 0 28px; color: var(--sage-deep); font-size: 13px; }

.promise { background: var(--sage); color: #f7f3ea; padding: 54px clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; }
.promise p { max-width: 630px; margin: 0; font-family: "Fraunces", serif; font-size: clamp(29px, 4vw, 50px); line-height: 1.16; letter-spacing: -.04em; }
.promise div { display: grid; gap: 10px; color: rgba(247,243,234,.82); font-size: 13px; }

.materials { max-width: 1320px; margin: 0 auto; padding: 112px clamp(22px, 5vw, 80px) 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; font-family: "Fraunces", serif; font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: .95; letter-spacing: -.06em; }
.section-heading > p { max-width: 290px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-heading strong { color: var(--clay); font-weight: 600; }
.library-tools { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.search-field { min-width: min(100%, 340px); display: flex; align-items: center; gap: 10px; color: var(--sage-deep); }
.search-field svg { width: 18px; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-field input::placeholder { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { border: 0; border-radius: 99px; padding: 8px 12px; background: transparent; color: var(--muted); font-size: 13px; }
.filter:hover, .filter.is-active { background: var(--sage-deep); color: #f7f3ea; }

.document-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; }
.document-item { border-bottom: 1px solid var(--rule); padding: 20px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: left; background: transparent; border-left: 0; border-right: 0; border-top: 0; color: var(--ink); }
.document-item:hover { color: var(--clay); }
.document-type { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(139,157,131,.22); color: var(--sage-deep); font-size: 10px; font-weight: 700; }
.document-item.is-featured .document-type { background: rgba(198,107,61,.16); color: var(--clay); }
.document-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
.document-meta { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.document-year { color: var(--muted); font-size: 12px; }
.empty-state { padding: 68px 0; text-align: center; color: var(--muted); }
.empty-state svg { width: 26px; color: var(--clay); }

footer { padding: 30px clamp(22px, 5vw, 80px); display: flex; justify-content: space-between; gap: 24px; color: var(--sage-deep); background: rgba(139,157,131,.22); font-size: 12px; }
footer a { color: var(--ink); text-decoration: none; }

.detail-dialog { width: min(510px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 28px; background: var(--oat); color: var(--ink); box-shadow: 0 22px 80px rgba(45,58,47,.22); }
.detail-dialog::backdrop { background: rgba(45,58,47,.42); }
.dialog-content { position: relative; padding: 38px; }
.close-button { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(139,157,131,.18); color: var(--ink); }
.close-button svg { width: 18px; }
.dialog-group { margin: 0; color: var(--clay); font-size: 12px; }
.dialog-content h3 { margin: 18px 0 30px; font-family: "Fraunces", serif; font-size: 31px; font-weight: 500; line-height: 1.25; letter-spacing: -.04em; }
.dialog-content dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dialog-content dl div { padding: 16px 0; }
.dialog-content dl div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.dialog-content dt { color: var(--muted); font-size: 11px; }
.dialog-content dd { margin: 7px 0 0; font-size: 14px; font-weight: 600; }
.open-file { display: inline-flex; margin-top: 28px; padding: 14px 20px; border-radius: 16px; background: var(--moss); color: #f7f3ea; text-decoration: none; font-size: 14px; }
.open-file:hover { background: var(--clay); }
.open-file.is-disabled { opacity: .6; pointer-events: none; }

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 18px; }
  .brand small, .site-header nav a:first-child { display: none; }
  .site-header nav { gap: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 12px; padding: 20px 18px 66px; }
  .hero-copy { padding: 30px 0 8px; }
  .hero h1 { font-size: clamp(72px, 24vw, 110px); }
  .role { font-size: 15px; }
  .intro { font-size: 15px; }
  .portrait { width: min(86%, 390px); margin-left: auto; }
  .portrait::before { right: -14px; bottom: -14px; }
  .promise { grid-template-columns: 1fr; padding: 46px 22px; }
  .materials { padding: 76px 18px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .library-tools { align-items: flex-start; flex-direction: column; }
  .document-list { grid-template-columns: 1fr; }
  footer { padding: 24px 18px; flex-direction: column; }
  .dialog-content { padding: 34px 24px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
