/* ===========================================================
   stasis group - design tokens
   ink       #10221f  near-black teal, primary text
   teal-deep #0b3d3a  primary brand / dark surfaces
   teal      #175e59  mid accent, links, borders on dark
   moss      #2f8f86  bright accent, hover states, the eq-dot
   paper     #faf8f4  warm off-white background
   muted     #5c6b67  secondary text
   line      #e2ddd2  hairline borders on paper
   =========================================================== */

:root {
  --ink: #10221f;
  --teal-deep: #025460; /* matches the stasis logo mark exactly */
  --teal: #1c6c78;
  --moss: #2f8f86;
  --paper: #faf8f4;
  --muted: #5c6b67;
  --line: #e2ddd2;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal-deep);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

/* full-bleed banner strip beneath the sticky header */

.masthead {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: var(--teal-deep);
}

.masthead img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.primary-nav {
  display: flex;
  gap: 32px;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--moss);
  transition: right 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
}

/* ---------- hero ---------- */

.hero {
  padding: 96px 24px 72px;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.equilibrium {
  margin: 0 auto 40px;
  width: 260px;
}

.eq-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.eq-line {
  stroke: var(--line);
  stroke-width: 1.5;
}

.eq-dot {
  fill: var(--moss);
  transform-origin: 160px 30px;
  animation: settle 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1 both;
}

@keyframes settle {
  0%   { transform: translateX(-120px); }
  100% { transform: translateX(0px); }
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
  margin: 0;
}

/* ---------- sections ---------- */

.section {
  padding: 88px 24px;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 720px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--teal-deep);
  margin: 0 0 40px;
  font-weight: 600;
}

/* capabilities grid */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-card {
  background: var(--paper);
  padding: 32px 28px;
  transition: background 0.25s ease;
}

.capability-card:hover {
  background: #f3f0e8;
}

.capability-card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--teal-deep);
  margin: 0 0 12px;
  font-weight: 600;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .capability-grid { grid-template-columns: 1fr; }
}

/* about / thought-leadership / contact text */

.about p,
.thought-leadership p,
.contact p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about {
  background: var(--teal-deep);
}
.about .section-title { color: #fff; }
.about p { color: rgba(255,255,255,0.82); }

/* thought leadership card */

.tl-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.tl-thumb-link {
  display: block;
  line-height: 0;
  background: var(--teal-deep);
}

.tl-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tl-thumb-link:hover .tl-thumb {
  transform: scale(1.02);
}

.tl-body {
  padding: 28px;
}

.tl-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* buttons */

.btn {
  display: inline-block;
  padding: 12px 26px;
  text-decoration: none;
  font-size: 0.92rem;
  border: 1px solid var(--teal-deep);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--teal-deep);
  color: #fff;
}
.btn-primary:hover {
  background: var(--moss);
  border-color: var(--moss);
}

.btn-outline {
  background: transparent;
  color: var(--teal-deep);
}
.btn-outline:hover {
  background: var(--teal-deep);
  color: #fff;
}

.contact-actions {
  margin-top: 28px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 22px;
  width: auto;
  display: block;
  margin-bottom: 24px;
  opacity: 0.9;
}

.footer-link {
  display: block;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--teal);
  text-decoration: underline;
}

.footer-name {
  font-family: var(--serif);
  color: var(--teal-deep);
  margin: 0;
  font-size: 1rem;
}

.footer-abn {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
