:root {
  color-scheme: light;
  --paper: #f7f7ee;
  --surface: #fffef9;
  --ink: #173229;
  --muted: #4c6459;
  --forest: #173d30;
  --lime: #e1eea3;
  --line: #d9e0d0;
  --serif: Georgia, serif;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { line-height: 1.55; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #527b5e; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.frame { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 8px 12px; background: var(--surface); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; line-height: 1.3; }
.brand small { display: block; margin-top: 2px; font-size: .84rem; font-weight: 500; color: var(--muted); }
.brand-icon { position: relative; display: block; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--forest); }
.brand-icon::before, .brand-icon::after { content: ""; position: absolute; background: var(--lime); }
.brand-icon::before { width: 11px; height: 17px; left: 20px; top: 9px; border-radius: 95% 0 95% 0; }
.brand-icon::after { width: 11px; height: 13px; left: 9px; top: 16px; border-radius: 0 95% 0 95%; }
.nav-link, .text-link { font-size: .94rem; font-weight: 750; text-underline-offset: .3em; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; }
.nav-link:hover, .text-link:hover, .card-body h3 a:hover { color: #286748; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 28px;
  padding: 18px;
  border-radius: 26px;
  background: var(--forest);
  color: var(--paper);
}
.hero-copy { align-self: center; padding: clamp(18px, 3.2vw, 44px); }
.eyebrow { font-size: .88rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); margin-bottom: 14px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.052em; }
h1 { font-size: clamp(2.75rem, 5.05vw, 5rem); line-height: .99; text-wrap: balance; }
h1 em { color: var(--lime); font-weight: inherit; }
.hero-description { margin-top: 21px; max-width: 42ch; color: #e2ebdf; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.hero-description strong { color: #fffef9; }
.hero-copy .button { margin-top: 24px; }
.hero-map { position: relative; min-height: 345px; overflow: hidden; border-radius: 16px; background: #81a66c; isolation: isolate; }
.hero-map img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-map figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  width: fit-content;
  padding: 10px 15px;
  border-radius: 10px;
  background: #14372dee;
  color: #fffef9;
  font-weight: 750;
}
.hero-map small { display: block; color: #dce8d8; font-size: .85rem; font-weight: 500; }
.button {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 780;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s ease;
}
.button-light { background: var(--lime); color: #152c23; }
.button-light:hover { background: #f2f9c9; }
.hero a:focus-visible { outline-color: var(--lime); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #286748; }

.catalog { margin: 48px 0 62px; scroll-margin-top: 18px; }
.section-heading { margin-bottom: 22px; }
h2 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); line-height: 1.05; }
.section-heading p { margin-top: 8px; color: var(--muted); }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.theme-office { --tone: #1c5061; --tint: #def0f2; --map-position: 72%; }
.theme-computing { --tone: #704411; --tint: #f8e8c8; --map-position: 80%; }
.theme-ai { --tone: #514176; --tint: #ece6f6; --map-position: 70%; }
.theme-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card-visual { position: relative; display: block; height: 142px; background: var(--tint); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: var(--map-position) 58%; }
.theme-label { position: absolute; top: 12px; left: 12px; border-radius: 6px; padding: 4px 10px; background: var(--tint); color: var(--tone); font-size: .88rem; font-weight: 800; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
.card-body h3 { font-size: clamp(1.15rem, 1.85vw, 1.38rem); line-height: 1.16; letter-spacing: -.032em; }
.card-body h3 a { text-decoration: none; }
.card-body p, .detail-content p { color: var(--muted); }
.card-body p strong, .detail-content p strong, .detail-hero .hero-description strong { color: var(--ink); }
.section-heading p, .detail-content p { max-width: 65ch; }
.topics { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 2px 0 8px; }
.topics li { padding: 3px 8px; border-radius: 5px; background: var(--tint); color: var(--tone); font-weight: 650; font-size: .88rem; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 75px; padding-block: 14px; color: var(--muted); font-size: .92rem; }

.detail-hero { background: var(--tint); color: var(--ink); }
.detail-hero .eyebrow { color: var(--tone); }
.detail-hero .hero-description { color: var(--muted); }
.detail-hero a:focus-visible { outline-color: var(--tone); }
.detail-hero .hero-map img { object-position: var(--map-position) center; }
.detail-hero h1 { font-size: clamp(2.7rem, 4.7vw, 4.7rem); }
.detail-content { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; margin: 34px 0 60px; }
.detail-content section { padding: clamp(18px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.detail-content h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.detail-content p { margin-top: 10px; }
.detail-content .topics { margin-top: 16px; }

@media (max-width: 950px) {
  .frame { width: calc(100% - 48px); }
  .theme-grid { gap: 12px; }
  .card-body { padding: 14px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding: 20px 14px; }
  h1, .detail-hero h1 { max-width: 17ch; text-wrap: initial; }
  .hero-map { min-height: 240px; }
  .theme-grid { grid-template-columns: 1fr; }
  .card-visual { height: 165px; }
  .detail-content { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .frame { width: calc(100% - 28px); }
  .header-inner, .footer-inner { gap: 10px; }
  .header-inner { min-height: 68px; }
  .brand-icon { display: none; }
  .brand small { font-size: .78rem; }
  .nav-link { font-size: .88rem; }
  .hero { margin-top: 14px; padding: 9px; border-radius: 18px; }
  .hero-map { min-height: 200px; border-radius: 12px; }
  .catalog { margin: 34px 0 42px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
