/* ============================================================
   Terra Pacific Landscape — modern stylesheet (restored archive)
   System-font stack, no external requests, fully offline capable
   ============================================================ */

:root {
  --teal: #0d6a5c;
  --teal-dark: #0a4f44;
  --teal-deep: #083f37;
  --teal-soft: #e3efeb;
  --gold: #b8862b;
  --ink: #22302b;
  --muted: #5d6d66;
  --paper: #f5f3ea;
  --surface: #ffffff;
  --line: #e3dfd0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -18px rgba(34, 48, 43, .35);
  --wrap: 1100px;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

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

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 99;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--teal-deep);
  color: #d7e5df;
  font-size: .82rem;
}
.topbar-in {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 22px;
  flex-wrap: wrap;
}
.topbar a { color: #e9f2ee; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--teal);
  border-radius: 12px;
  color: #ecf4f0;
}
.brand-mark svg { width: 24px; height: 24px; fill: #eaf4ef; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: .01em;
  display: block;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:focus-visible { outline-offset: 0; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 9px 13px;
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 9px;
}
.site-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.site-nav a[aria-current="page"] { background: var(--teal); color: #f2f7f4; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  padding: 14px 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #b9b4a2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(720px 340px at 86% -60px, rgba(255, 255, 255, .14), transparent 60%),
    radial-gradient(520px 300px at -60px 110%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(158deg, var(--teal) 0%, var(--teal-dark) 58%, var(--teal-deep) 100%);
  color: #eef5f1;
  border-radius: 22px;
  margin-top: 22px;
  overflow: hidden;
}
.hero-in {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
}
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #cfdfd7;
  border: 1px solid rgba(238, 245, 241, .35);
  border-radius: 99px;
  padding: 5px 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.18;
  margin: 0 0 16px;
  color: #fbf9f0;
}
.hero p.lede {
  font-size: 1.06rem;
  color: #d5e3dc;
  margin: 0 0 26px;
  max-width: 56ch;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: #f7f4e6; color: var(--teal-deep); }
.btn-solid:hover { background: #ffffff; color: var(--teal-deep); }
.btn-ghost { border-color: rgba(240, 246, 242, .5); color: #f0f6f2; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-line { border-color: #c9c4b2; color: var(--teal-dark); background: #fff; }
.btn-line:hover { border-color: var(--teal); color: var(--teal-dark); }

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}
.hero-photos figure {
  margin: 0;
  background: rgba(251, 249, 240, .93);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
}
.hero-photos img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-photos figcaption {
  font-size: .74rem;
  font-weight: 600;
  color: var(--teal-dark);
  padding: 7px 4px 2px;
  text-align: center;
}

/* ---------- trust bar ---------- */
.trust {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 16px;
}
.trust-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-item { text-align: center; }
.trust-item b {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--teal-dark);
}
.trust-item span {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ---------- sections ---------- */
section.block { padding: 58px 0 10px; }
section.block:last-of-type { padding-bottom: 30px; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.kicker {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}
.section-head p { margin: 0; color: var(--muted); }

h3 { font-family: var(--serif); color: var(--ink); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 0 rgba(34, 48, 43, .03);
}
.card h3 { margin: 0 0 8px; font-size: 1.13rem; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.card .more {
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
.card .more::after { content: " →"; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}

/* ---------- resources / recommended module ---------- */
.resources-card {
  display: flex;
  flex-direction: column;
}
.resources-card .more {
  margin-top: auto;
}

/* article teaser card */
.teaser-img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  background: var(--teal-soft);
}
.teaser-meta {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.gallery-grid img {
  border-radius: 7px;
  background: var(--teal-soft);
  width: 100%;
  object-fit: cover;
}
.gallery-grid figcaption {
  font-size: .8rem;
  color: var(--muted);
  padding-top: 8px;
  line-height: 1.45;
}

/* ---------- prose (articles) ---------- */
.prose {
  max-width: 74ch;
  margin: 0 auto;
  font-size: 1.02rem;
}
.prose p { margin: 0 0 1.1em; }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 1.6em 0 .5em;
  color: var(--ink);
}
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

figure.media {
  margin: 0 0 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
figure.media img { border-radius: var(--radius-sm); }
figure.media figcaption {
  font-size: .8rem;
  color: var(--muted);
  padding-top: 9px;
}
figure.float-right {
  float: right;
  width: 300px;
  margin: 6px 0 16px 26px;
}
figure.float-left {
  float: left;
  width: 300px;
  margin: 6px 26px 16px 0;
}
@media (max-width: 720px) {
  figure.float-right, figure.float-left { float: none; width: 100%; margin: 0 0 18px; }
}

/* ---------- article header ---------- */
.article-head { max-width: 74ch; margin: 0 auto 30px; }
.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 10px;
}
.article-meta {
  color: var(--muted);
  font-size: .88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  margin: 8px 0 12px;
  color: var(--ink);
}
.page-intro { color: var(--muted); max-width: 70ch; margin: 0 0 8px; }

/* ---------- misc components ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 99px;
  font-size: .9rem;
  color: var(--ink);
}
.chips { padding: 0; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.note {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  color: var(--teal-deep);
  font-size: .93rem;
}

table.cal {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
}
table.cal caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.1rem;
}
table.cal th, table.cal td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.cal thead th {
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
table.cal tbody tr:last-child td { border-bottom: 0; }
table.cal td:first-child { font-weight: 700; white-space: nowrap; color: var(--teal-dark); }

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}
.faq-item summary::after { content: "+"; color: var(--teal); font-weight: 800; flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-item .faq-a p { margin: 0 0 .8em; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* contact cards */
.office {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.office h3 { margin: 0 0 4px; font-size: 1.12rem; }
.office .tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.office address { font-style: normal; color: var(--muted); margin: 10px 0 12px; line-height: 1.6; }
.office table { border-collapse: collapse; font-size: .92rem; }
.office td { padding: 3px 14px 3px 0; color: var(--muted); }
.office td:first-child { color: var(--ink); font-weight: 600; }

/* awards */
.award-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.award-year { font-family: var(--serif); color: var(--teal-dark); font-weight: 700; white-space: nowrap; }

/* CTA band */
.cta-band {
  background: linear-gradient(150deg, var(--teal-dark), var(--teal-deep));
  color: #e9f2ed;
  border-radius: var(--radius);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 40px 0 10px;
}
.cta-band h2 { color: #fbf9f0; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #cfdfd7; }

/* ---------- footer ---------- */
.site-footer {
  background: #10281f;
  color: #b9cdc4;
  margin-top: 70px;
  font-size: .93rem;
}
.footer-in {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 34px;
  padding-top: 52px;
  padding-bottom: 40px;
}
.site-footer h4 {
  color: #f0f5ef;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-family: var(--sans);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9cdc4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #f0f5ef; }
.footer-brand p { margin: 12px 0 0; line-height: 1.65; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-contact a { color: #cfe0d7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #8fa89e;
}
.footer-bottom a { color: #a9c2b6; }

/* ---------- intro page ---------- */
.intro-stage {
  background: #10241f;
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  place-items: center;
}
.intro-note { max-width: 620px; margin: 18px auto 0; color: var(--muted); text-align: center; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 52px; }
  .hero-photos { max-width: 560px; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar-in { justify-content: center; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 14px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 11px 14px; }
  .header-in { flex-wrap: wrap; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 30px 26px; }
  section.block { padding: 44px 0 8px; }
}