:root {
  --ink: #1d2a33;
  --muted: #5b6b75;
  --bg: #ffffff;
  --soft: #f3f6f5;
  --line: #dde4e2;
  --brand: #2f6b5e;
  --brand-dark: #234f45;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--brand); }

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

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo span { color: var(--brand); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: var(--brand); }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost {
  background: transparent;
  color: var(--brand) !important;
  border: 1.5px solid var(--brand);
}
.btn.ghost:hover { background: var(--soft); }

/* Hero */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, #3d7f70, #1f4a40);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.2));
}
.hero .wrap { width: 100%; position: relative; z-index: 1; padding-bottom: 56px; padding-top: 56px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 10px; }
.hero p { font-size: 1.15rem; margin: 0 0 24px; max-width: 560px; opacity: 0.95; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff !important; border-color: #fff; }
.hero .btn.ghost:hover { background: rgba(255,255,255,0.12); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: 1.7rem; margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
.lead { color: var(--muted); max-width: 680px; margin: 0 0 32px; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.fact strong { display: block; font-size: 1.4rem; color: var(--brand); }
.fact span { color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.gallery figure { margin: 0; }
.gallery img, .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.placeholder {
  background: repeating-linear-gradient(45deg, #e6ecea, #e6ecea 12px, #eef2f1 12px, #eef2f1 24px);
  border: 1px dashed #b9c6c2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.gallery figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* Two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 8px;
}

/* Careers */
.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
}
.job .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.job ul { padding-left: 20px; }
.job h3 { margin-top: 22px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  header.site .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  nav { gap: 14px; flex-wrap: wrap; }
  nav a { font-size: 0.88rem; }
  nav a[href$="#contact"] { display: none; }
  nav .btn { padding: 7px 12px; }
  section { padding: 48px 0; }
  .hero { min-height: 380px; }
}

/* Announcement bar */
.topbar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  padding: 8px 16px;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar strong { color: #9fd6c6; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; margin-right: 8px; }

/* Smaller page hero */
.hero.short { min-height: 300px; }

/* Feature list */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.features li { padding-left: 26px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }

/* Distance list */
.nearby { list-style: none; padding: 0; margin: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nearby li span:last-child { color: var(--brand); font-weight: 600; white-space: nowrap; }

/* Form */
form.inquiry { display: grid; gap: 14px; }
form.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.inquiry label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c5d0cd; border-radius: 6px; background: #fff; color: var(--ink);
}
form.inquiry textarea { min-height: 120px; resize: vertical; }
form.inquiry button { border: 0; cursor: pointer; justify-self: start; font-family: inherit; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; display: none; }
.notice.ok { background: #e3f2ec; border: 1px solid #9fd0bc; }
.notice.err { background: #fbeaea; border: 1px solid #e3b1b1; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.cta-band { background: var(--brand); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: 0.92; max-width: 640px; }
.cta-band .btn { background: #fff; color: var(--brand) !important; }
.cta-band .btn:hover { background: #e9f2ef; }

@media (max-width: 760px) {
  form.inquiry .row { grid-template-columns: 1fr; }
}

section[id] { scroll-margin-top: 110px; }
