:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5f6b7a;
  --primary: #1f5f78;
  --primary-dark: #16485b;
  --accent: #c98b2e;
  --border: #dbe3eb;
  --shadow: 0 10px 30px rgba(20, 40, 60, 0.08);
  --radius: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a.active,
.nav-links a:hover { color: var(--primary); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(31,95,120,0.16), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #eef4f7 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 52px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
h1, h2, h3 { line-height: 1.18; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -0.05em; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.035em; }
h3 { font-size: 1.3rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 760px; }

.hero-card,
.card,
.stat,
.project-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 30px; }
.hero-card .portrait {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dce8ee, #eef3f6);
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid var(--primary);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: transparent; color: var(--primary); }

section { padding: 76px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.section-heading p { color: var(--muted); max-width: 650px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card, .project-card, .panel { padding: 26px; }
.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-card p { color: var(--muted); margin: 0; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf3f6;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}
.project-card .card-link { margin-top: auto; font-weight: 750; }

.stat { padding: 24px; text-align: center; }
.stat strong { display: block; font-size: 2rem; color: var(--primary); }
.stat span { color: var(--muted); }

.page-hero {
  padding: 72px 0 54px;
  background: linear-gradient(135deg, #ffffff, #edf4f7);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }

.timeline {
  border-left: 3px solid var(--primary);
  margin-left: 8px;
  padding-left: 26px;
}
.timeline-item { margin-bottom: 28px; }
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { margin: 0; color: var(--muted); }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 10px 0; border-bottom: 1px solid var(--border); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
label { display: block; font-weight: 700; margin-bottom: 8px; }
input, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: white;
}
textarea { min-height: 150px; resize: vertical; }
.form-group { margin-bottom: 18px; }

.site-footer {
  background: #172033;
  color: #eaf0f4;
  padding: 48px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 30px;
}
.site-footer a { color: #dce8ee; }
.site-footer small { color: #aebac5; }

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #fff8e9;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-4, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 4%;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  section { padding: 58px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
.brand-wrap{display:flex;align-items:center;gap:12px}.custom-logo{max-height:48px;width:auto}.wp-post-image{border-radius:14px;margin-bottom:18px}.panel>*:last-child{margin-bottom:0}.nav-links.current-menu-item>a,.current-menu-item>a{color:var(--primary)}
