:root {
  --ink: #15211f;
  --ink-soft: #31413e;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --mist: #e8edf0;
  --teal: #087a76;
  --teal-dark: #075b59;
  --amber: #c98228;
  --sage: #8fa58f;
  --line: rgba(21, 33, 31, 0.13);
  --shadow: 0 22px 60px rgba(21, 33, 31, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 4rem, 4.8rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 2.6rem, 3.1rem);
}

h3 {
  font-size: 1.25rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(8, 122, 118, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: url("assets/hero-products-platform.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 19, 18, 0.88) 0%, rgba(10, 19, 18, 0.7) 34%, rgba(10, 19, 18, 0.17) 75%),
    linear-gradient(180deg, rgba(10, 19, 18, 0.18), rgba(10, 19, 18, 0.22));
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 88px;
  color: white;
}

.hero-lede {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.3rem;
}

.hero-actions,
.filter-row,
.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.muted {
  background: #eef1ec;
}

.intro-band {
  padding-top: 58px;
  padding-bottom: 58px;
  background: var(--ink);
  color: white;
}

.intro-band p {
  color: rgba(255, 255, 255, 0.76);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 80px);
}

.align-center {
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.intro-band .eyebrow {
  color: #efb263;
}

.text-link,
.service-card a,
.insight-card a {
  color: var(--teal-dark);
  font-weight: 800;
}

.brand-tree {
  display: grid;
  gap: 26px;
}

.tree-root {
  display: flex;
  justify-content: center;
}

.tree-root span {
  padding: 16px 28px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-weight: 850;
}

.tree-grid,
.service-grid,
.tech-grid,
.role-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tree-grid article,
.service-card,
.detail-card,
.tech-grid article,
.role-grid article,
.insight-card,
.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(21, 33, 31, 0.07);
}

.tree-grid article,
.service-card,
.tech-grid article,
.role-grid article,
.insight-card {
  padding: 26px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 306px;
  display: flex;
  flex-direction: column;
}

.service-card a {
  margin-top: auto;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: white;
  background: var(--teal);
  font-size: 0.86rem;
  font-weight: 850;
}

.platform-preview {
  background: var(--paper);
}

.tab-button,
.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--surface);
  font-weight: 750;
  cursor: pointer;
}

.tab-button.active,
.filter-button.active {
  color: white;
  background: var(--ink);
}

.dashboard-shell {
  padding: 24px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(145deg, #15211f, #1f3733 58%, #78521e);
  box-shadow: var(--shadow);
}

.dashboard-top,
.dashboard-metrics {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-metrics {
  margin: 22px 0;
}

.dashboard-metrics div {
  flex: 1;
  min-height: 96px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-metrics small,
.dashboard-top span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #efb263;
  transition: width 0.25s ease;
}

.activity-list {
  margin: 22px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 104px 0 72px;
  background:
    radial-gradient(circle at 78% 12%, rgba(201, 130, 40, 0.2), transparent 30%),
    linear-gradient(135deg, #eef1ec, #f7f4ed);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 3.5rem, 4.1rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.13rem;
}

.rich-text p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journey div {
  padding: 22px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.72);
}

.journey span {
  color: var(--amber);
  font-weight: 850;
}

.journey strong {
  display: block;
  margin: 10px 0;
  font-size: 1.1rem;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list div {
  padding: 20px;
  border-left: 3px solid var(--amber);
  background: var(--surface);
}

.filter-row {
  margin-bottom: 28px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  padding: 30px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.tech-hero {
  background:
    linear-gradient(135deg, rgba(21, 33, 31, 0.93), rgba(8, 122, 118, 0.7)),
    url("assets/hero-products-platform.png") center / cover no-repeat;
  color: white;
}

.tech-hero h1,
.tech-hero .eyebrow,
.tech-hero p:not(.eyebrow) {
  color: white;
}

.tech-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.system-map div {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-weight: 800;
}

.project-grid {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-card span,
.insight-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-visual {
  min-height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--amber));
}

.project-visual.sydney {
  background: linear-gradient(135deg, rgba(8, 122, 118, 0.88), rgba(21, 33, 31, 0.88)), url("assets/hero-products-platform.png") center / cover;
}

.project-visual.canberra {
  background: linear-gradient(135deg, #516a80, #d5a15d);
}

.project-visual.melbourne {
  background: linear-gradient(135deg, #6d7b6d, #193331);
}

.project-visual.thailand {
  background: linear-gradient(135deg, #1b5d6b, #d08e47);
}

.project-visual.china {
  background: linear-gradient(135deg, #8b3f34, #d6b26c);
}

dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 14px;
  margin-bottom: 0;
}

dt {
  font-weight: 850;
}

dd {
  margin: 0;
  color: var(--ink-soft);
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.inline-form label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

.inline-form > div {
  display: flex;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.contact-form,
.contact-panel {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-panel {
  align-self: start;
}

.contact-panel div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-panel a {
  color: var(--teal-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.site-footer strong,
.site-footer span {
  display: block;
  color: white;
  font-weight: 850;
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.2rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .two-column,
  .detail-grid,
  .newsletter,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .tree-grid,
  .tech-grid,
  .role-grid,
  .insight-grid,
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 78vh;
    background-position: 58% center;
  }

  .hero-content {
    padding: 54px 0 70px;
  }

  h1,
  .page-hero h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading.split,
  .dashboard-top,
  .dashboard-metrics,
  .inline-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .tree-grid,
  .tech-grid,
  .role-grid,
  .insight-grid,
  .journey,
  .system-map,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-metrics {
    display: grid;
  }

  .project-visual {
    min-height: 180px;
  }
}
