:root {
  color-scheme: light;
  --paper: #f7f0e8;
  --paper-light: #fcf8f2;
  --surface: #fffdf9;
  --ink: #183047;
  --muted: #52616b;
  --line: #e4d7c9;
  --line-strong: #d1bfae;
  --accent: #d96d43;
  --teal: #176b68;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background-color: var(--paper-light); font-size: 1rem; line-height: 1.58; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(to right, rgba(134, 106, 81, .075) 1px, transparent 1px), linear-gradient(to bottom, rgba(134, 106, 81, .075) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 5; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.page-shell { max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.1rem, 4.5vw, 4.5rem); }
.site-header { min-height: 76px; padding: .85rem 1.4rem; display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(105px, 1fr); align-items: center; gap: 1.5rem; background: rgba(255, 253, 249, .95); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 15px 15px; }
.wordmark, .footer-brand { font-size: 1.36rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-dot { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3.5rem); }
.main-nav a, .language-switch a { text-decoration: none; font-weight: 600; font-size: .91rem; }
.main-nav a:hover, .language-switch a:hover { color: var(--teal); }
.language-switch { justify-self: end; display: flex; align-items: center; gap: .75rem; font-size: .88rem; }
.language-switch span { color: var(--line-strong); }
.language-switch a { color: var(--muted); padding: .25rem .1rem; }
.language-switch [aria-current="page"] { color: var(--teal); box-shadow: 0 2px 0 var(--teal); }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.eyebrow { margin: 0 0 1rem; color: #815d44; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; vertical-align: middle; width: 21px; height: 2px; margin: 0 .6rem .2rem 0; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.7rem); max-width: 12ch; margin-bottom: 1.55rem; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.45rem; margin-bottom: .5rem; }
p { color: var(--muted); }
.hero { min-height: 615px; padding: clamp(4rem, 7vw, 7rem) 0; }
.hero-copy { max-width: 730px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-intro { max-width: 57ch; font-size: clamp(1.15rem, 1.65vw, 1.43rem); color: #344b5a; line-height: 1.55; }
.hero-notice { display: flex; gap: .8rem; max-width: 56ch; margin: 1.5rem 0 2rem; font-size: .99rem; }
.notice-mark { flex: none; width: 9px; height: 9px; margin-top: .5rem; border: 2px solid var(--teal); border-radius: 50%; }
.primary-link, .outline-link { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: .77rem 1.2rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.primary-link { background: var(--accent); color: white; border: 1px solid var(--accent); }
.primary-link:hover { background: #b84f2b; color: white; }
.outline-link { border: 1px solid var(--line-strong); background: var(--surface); }
.outline-link:hover { border-color: var(--teal); }
.text-link { display: inline-flex; gap: 1.1rem; align-items: center; font-size: .91rem; font-weight: 750; text-underline-offset: .25rem; }
.hero-process { align-self: stretch; display: flex; flex-direction: column; min-height: 455px; padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 253, 249, .82); box-shadow: 0 20px 60px rgba(64, 43, 28, .035); }
.process-topline, .process-bottomline { display: flex; justify-content: space-between; gap: 1rem; color: #846b58; font-size: .69rem; font-weight: 750; letter-spacing: .15em; }
.process-heading { max-width: 20ch; margin: auto 0 1.1rem; color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 2.15rem); font-weight: 750; line-height: 1.2; letter-spacing: -.04em; }
.hero-process ol { margin: 0 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-process li { display: flex; gap: 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: #334858; font-weight: 600; }
.step-number, .feature-number { color: #b56540; font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.process-bottomline { padding-top: 1.6rem; }
.projects-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading h2 { margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.project-card { display: flex; gap: 1.5rem; min-height: 218px; padding: 1.6rem; border: 1px solid var(--line); border-left: 4px solid var(--project-accent); border-radius: 14px; background: var(--surface); box-shadow: 0 7px 22px rgba(44, 33, 26, .025); }
.project-icon { flex: 0 0 112px; width: 112px; height: 112px; border-radius: 25px; object-fit: cover; }
.project-card-content { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; color: #795f50; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-card h3 { margin: .7rem 0 .35rem; }
.project-card p { max-width: 45ch; margin-bottom: 1.3rem; font-size: .95rem; }
.card-bottom { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: auto; }
.status-label { display: inline-flex; align-items: center; padding: .32rem .65rem; border: 1px solid var(--line); border-radius: 6px; color: #4b5b63; background: #faf5ed; font-size: .77rem; font-weight: 700; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; border-top: 1px solid var(--line); }
.about-section h2 { max-width: 19ch; }
.about-section > p { max-width: 62ch; margin: 2rem 0 0; font-size: 1.13rem; }
.contact-section { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: 0 0 6rem; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: 15px; background: #f0e7db; }
.contact-section h2 { margin-bottom: .8rem; }
.contact-section p:last-child { max-width: 56ch; margin-bottom: 0; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.site-footer { padding: 2.8rem 0 1rem; border-top: 1px solid var(--line-strong); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-main p { max-width: 34ch; margin-top: .65rem; font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-links a { font-size: .91rem; text-underline-offset: .2rem; }
.footer-label { color: #7f6d60; font-size: .71rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.8rem; padding-top: 1rem; border-top: 1px solid var(--line); color: #7b6a60; font-size: .78rem; }
.page-intro { padding-bottom: 3rem; }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { max-width: 67ch; }
.lead { color: #344b5a; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; }
.project-list { padding-top: 0; }
.detail-breadcrumb { padding-bottom: 1.5rem; }
.detail-breadcrumb a { color: var(--teal); font-size: .91rem; font-weight: 700; text-underline-offset: .25rem; }
.detail-hero { align-items: center; padding: 0 0 4rem; }
.detail-copy h1 { margin: 1rem 0; }
.detail-overline { display: flex; align-items: center; gap: 1rem; color: #795f50; font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.detail-overline img { border-radius: 14px; }
.detail-summary { max-width: 30ch; color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2.3rem); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.detail-copy .lead { max-width: 55ch; }
.detail-visual { margin: 0; padding: 1.3rem; background: #eee0cc; border: 1px solid #ddcbb6; border-radius: 16px; }
.detail-visual img { width: 100%; max-height: 390px; object-fit: contain; border-radius: 10px; }
.detail-visual figcaption { margin-top: .7rem; color: #715d4e; font-size: .78rem; }
.detail-mark { display: grid; place-items: center; min-height: 340px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--project-accent) 6%, var(--surface)); }
.detail-mark img { width: min(52%, 260px); aspect-ratio: 1; border-radius: 50px; }
.detail-content, .content-columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.15rem; padding-top: 0; }
.detail-panel, .info-panel { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.detail-panel h2, .info-panel h2 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.feature-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.feature-list li { display: flex; gap: 1.5rem; align-items: start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.feature-list li:last-child { border-bottom: 0; }
.detail-side { display: grid; gap: 1.15rem; align-content: start; }
.detail-side .info-panel p:last-child { margin-bottom: 0; }
.privacy-panel { background: #f4eee5; }
.detail-related { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: .4rem 0; }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.16rem; }
.faq-item p { margin-bottom: 0; }
.content-columns .info-panel { align-self: start; }
.draft-banner { display: inline-block; padding: .7rem 1rem; color: #563c2c; background: #f2dfc8; border: 1px solid #dbbc99; border-radius: 7px; font-weight: 700; }
.legal-content { padding-top: 0; min-height: 360px; }
.prose { max-width: 75ch; padding: clamp(1.5rem, 3vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .section-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .project-card { gap: 1rem; padding: 1.2rem; }
  .project-icon { flex-basis: 82px; width: 82px; height: 82px; border-radius: 18px; }
  .card-bottom { align-items: start; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 1rem; }
  .site-header { grid-template-columns: 1fr auto; gap: .8rem; padding: 1rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; gap: 1.3rem; overflow-x: auto; white-space: nowrap; }
  .main-nav a { font-size: .86rem; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .section-grid, .project-grid, .about-section, .detail-content, .content-columns { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 4.2rem 0; }
  .hero h1 { max-width: 14ch; }
  .hero-process { min-height: 355px; }
  .section { padding: 3.4rem 0; }
  .section-heading { align-items: start; }
  .about-section { gap: .5rem; }
  .about-section > p { margin: 0; }
  .contact-section { align-items: start; flex-direction: column; margin-bottom: 3.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .detail-hero { padding-bottom: 2.5rem; }
  .detail-content, .content-columns { padding-top: 0; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 1.2rem; }
  .hero h1, .page-intro h1, .detail-copy h1 { font-size: clamp(2.55rem, 11vw, 3.7rem); }
  .section-heading { flex-direction: column; }
  .project-card { min-height: 0; gap: 1rem; }
  .project-icon { flex-basis: 64px; width: 64px; height: 64px; border-radius: 14px; }
  .project-card h3 { font-size: 1.25rem; }
  .card-meta { display: block; }
  .card-meta span { display: block; }
  .card-bottom { margin-top: .2rem; }
  .status-label { font-size: .71rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
