@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --ink: #1d3029;
  --muted: #64736c;
  --paper: #f8f7f1;
  --white: #fffefa;
  --green: #315b4d;
  --lime: #d9e96f;
  --coral: #ee8065;
  --line: #d9ded5;
  font-family: 'DM Sans', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
.site-header { height: 92px; max-width: 1280px; margin: 0 auto; padding: 0 6.25%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; width: 210px; }
.brand img { display: block; width: 100%; height: auto; }
.login-status { max-width: 1280px; min-height: 68px; margin: 0 auto; padding: 10px 6.25%; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.welcome-gate { min-height: 100vh; display: grid; place-items: center; padding: 48px 6%; overflow: hidden; color: var(--white); text-align: center; background: linear-gradient(112deg, var(--green) 0 72%, #26483e 72% 100%); }
.welcome-content { width: min(100%, 820px); }
.welcome-kicker { margin-bottom: 20px; color: var(--lime); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.welcome-content h1 { max-width: none; margin: 0 0 34px; color: var(--white); font-family: 'Playfair Display', Georgia, serif; font-size: 58px; font-weight: 500; line-height: 1.08; }
.welcome-button { min-width: 112px; justify-content: center; }
.auth-form, .auth-logout { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0; }
.welcome-toggle { margin: 0; }
.special-screen-controls { display: flex; align-items: center; gap: 8px; }
.special-screen-controls form { margin: 0; }
.special-screen-controls form + form::before { content: '|'; margin-right: 8px; color: var(--line); font-size: 10px; }
.welcome-toggle-button { padding: 4px 0; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.welcome-toggle-button:disabled { color: var(--green); font-weight: 700; cursor: default; }
.welcome-toggle-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-field { display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 700; }
.auth-field input { width: 150px; height: 34px; padding: 0 9px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; }
.auth-field input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.auth-button { min-height: 34px; padding: 0 14px; border: 0; color: var(--white); background: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.auth-button:hover { background: var(--green); }
.auth-message { margin: 0; color: var(--muted); font-size: 12px; }
.auth-error { color: #a32929; }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; font-weight: 600; }
.main-nav a:not(.nav-contact):hover, .site-footer nav a:hover { color: var(--green); }
.nav-contact { border: 1px solid var(--ink); padding: 12px 17px; }
.nav-contact span { padding-left: 9px; }
.hero { max-width: 1280px; min-height: 604px; margin: 0 auto; padding: 80px 6.25% 50px; display: grid; grid-template-columns: 1fr 0.88fr; align-items: center; column-gap: 7%; position: relative; }
.hero-copy { padding: 0 0 24px; animation: arrive .7s ease-out both; }
.eyebrow { margin: 0 0 25px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--coral); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-weight: 500; }
h1 { max-width: 610px; margin-bottom: 23px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(50px, 6.2vw, 78px); line-height: 1.02; }
h1 em { color: var(--green); font-weight: 500; }
.hero-intro { max-width: 420px; margin-bottom: 31px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.button { min-height: 49px; padding: 0 19px; display: inline-flex; align-items: center; gap: 19px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--green); }
.button-light { color: var(--ink); background: var(--lime); }
.button-light:hover { background: #e5f18c; }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-art { min-height: 404px; position: relative; overflow: hidden; background: #e7eddd; animation: arrive .8s .12s ease-out both; }
.art-topline, .art-caption { position: absolute; z-index: 2; left: 23px; right: 23px; display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; letter-spacing: 0; }
.art-topline { top: 22px; color: var(--green); }
.time-model-label { text-shadow: 0 1px 3px rgba(29, 48, 41, .3); }
.art-caption { bottom: 20px; color: var(--ink); }
.strategy-chart { position: absolute; inset: 49px 16px 48px; width: calc(100% - 32px); height: calc(100% - 97px); overflow: visible; }
.chart-axis, .chart-ticks { fill: none; stroke: #315b4d; stroke-width: 1; }
.chart-axis { stroke-width: 1.5; }
.chart-scale { fill: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 9px; }
.chart-axis-label { fill: var(--green); font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; }
.chart-curve { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-point circle { stroke: var(--paper); stroke-width: 2; }
.chart-point text { fill: var(--white); font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; }
.chart-point-one circle, .chart-point-three circle { fill: var(--green); }
.chart-point-two circle, .chart-point-four circle { fill: var(--coral); }
.hero-index { position: absolute; bottom: 20px; left: 6.25%; color: var(--muted); font-size: 9px; font-weight: 600; }
.hero-index span { padding: 0 8px; color: var(--coral); }
.intro-band { padding: 88px max(6.25%, calc((100% - 1120px) / 2)); background: var(--white); }
.intro-band .eyebrow { margin-bottom: 18px; }
.intro-content { display: grid; grid-template-columns: 1fr .72fr; gap: 10%; align-items: end; }
.intro-content h2, .section-heading h2, .closing-cta h2, .page-hero h1 { margin-bottom: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(34px, 4vw, 49px); line-height: 1.12; }
.intro-content p { margin-bottom: 21px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.time-strategy { padding: 78px max(6.25%, calc((100% - 1120px) / 2)); background: #e7eddd; }
.time-strategy-inner { max-width: 1120px; margin: 0 auto; }
.time-strategy-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 9%; margin-bottom: 40px; }
.time-strategy-heading .eyebrow { margin-bottom: 15px; }
.time-strategy-heading h2 { max-width: 570px; margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(34px, 4vw, 48px); font-weight: 500; line-height: 1.12; }
.time-strategy-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.time-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.time-step { padding-top: 14px; border-top: 1px solid rgba(29, 48, 41, .45); }
.time-letter { display: block; margin-bottom: 8px; color: var(--coral); font-family: 'Playfair Display', Georgia, serif; font-size: 31px; line-height: 1; }
.time-step h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.time-step p { max-width: 230px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.services-preview { max-width: 1280px; margin: 0 auto; padding: 91px 6.25% 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 39px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.service-grid { border-top: 1px solid var(--line); }
.service-item { min-height: 97px; display: grid; grid-template-columns: 70px 1fr 34px; grid-template-rows: 1fr 1fr; align-items: end; padding: 19px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease; }
.service-item:hover { padding-right: 8px; padding-left: 8px; }
.service-number { grid-row: 1 / 3; align-self: center; color: var(--muted); font-size: 11px; }
.service-name { grid-column: 2; font-family: 'Playfair Display', Georgia, serif; font-size: 23px; }
.service-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; justify-self: end; font-size: 19px; }
.service-note { grid-column: 2; color: var(--muted); font-size: 12px; }
.closing-cta { min-height: 336px; padding: 70px 8%; position: relative; overflow: hidden; text-align: center; color: var(--white); background: var(--green); }
.closing-cta .eyebrow { color: var(--lime); }
.closing-cta h2 { margin-bottom: 27px; }
.cta-spark { position: absolute; right: 10%; top: 35px; color: var(--lime); font-size: 54px; animation: turn 24s linear infinite; }
.site-footer { max-width: 1280px; min-height: 110px; margin: 0 auto; padding: 24px 6.25%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; }
.footer-brand span { display: block; color: var(--green); font-family: 'DM Sans', 'Trebuchet MS', sans-serif; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.site-footer p, .copyright { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer nav { display: flex; gap: 20px; font-size: 12px; font-weight: 600; }
.page-hero { max-width: 1280px; min-height: 370px; margin: 0 auto; padding: 87px 6.25% 70px; position: relative; }
.page-hero h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(43px, 5.5vw, 68px); }
.page-hero > p:last-child { max-width: 570px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.page-body { padding: 70px max(6.25%, calc((100% - 1120px) / 2)); background: var(--white); }
.page-body h2 { margin-bottom: 16px; font-family: 'Playfair Display', Georgia, serif; font-size: 34px; font-weight: 500; }
.page-body p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.values-row { margin-top: 45px; padding-top: 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; border-top: 1px solid var(--line); }
.values-row strong { display: block; margin-bottom: 7px; font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 500; }
.values-row p { margin-bottom: 0; font-size: 13px; }
.service-detail { padding: 28px 0; display: grid; grid-template-columns: 65px 1fr; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail .service-number { align-self: start; padding-top: 8px; }
.service-detail h2 { margin-bottom: 7px; font-size: 27px; }
.service-detail p { max-width: 700px; margin-bottom: 0; }
.contact-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 12%; }
.contact-box { padding: 28px; background: var(--paper); }
.contact-box .eyebrow { margin-bottom: 12px; }
.contact-box h2 { font-size: 27px; }
.contact-box a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.demo-note { margin-top: 16px; font-size: 11px !important; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes turn { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .site-header { height: 76px; padding: 0 6%; }
  .brand { width: 160px; }
  .main-nav { gap: 17px; font-size: 12px; }
  .login-status { justify-content: center; padding: 10px 6%; }
  .special-screen-controls { flex-wrap: wrap; justify-content: center; }
  .auth-field input { width: 135px; }
  .welcome-content h1 { font-size: 44px; }
  .nav-contact { padding: 10px 11px; }
  .hero { min-height: auto; padding: 57px 6% 67px; grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding-bottom: 0; }
  h1 { max-width: 530px; font-size: clamp(48px, 12vw, 68px); }
  .hero-art { min-height: 330px; }
  .hero-index { bottom: 25px; left: 6%; }
  .intro-band { padding: 65px 6%; }
  .intro-content, .two-column, .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .time-strategy { padding: 64px 6%; }
  .time-strategy-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .time-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .services-preview { padding: 67px 6% 74px; }
  .section-heading { align-items: start; gap: 20px; }
  .section-heading > .text-link { margin-top: 26px; white-space: nowrap; }
  .service-name { font-size: 20px; }
  .closing-cta { min-height: 310px; padding: 64px 6%; }
  .cta-spark { right: 6%; top: 16px; font-size: 38px; }
  .site-footer { padding: 26px 6%; flex-wrap: wrap; }
  .site-footer p { width: calc(100% - 130px); text-align: right; }
  .site-footer nav { order: 1; }
  .copyright { order: 2; margin-left: auto; }
  .page-hero { min-height: 320px; padding: 66px 6% 55px; }
  .page-body { padding: 58px 6%; }
  .values-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 430px) {
  .site-header { padding: 0 4%; }
  .main-nav { gap: 8px; }
  .brand { width: 132px; }
  .main-nav { font-size: 10px; }
  .nav-contact { padding: 8px 6px; }
  .login-status { justify-content: flex-start; gap: 10px; }
  .auth-form { display: grid; width: 100%; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 7px; }
  .auth-field input { width: 100%; min-width: 0; }
  .auth-button { padding: 0 9px; }
  .welcome-content h1 { font-size: 38px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .section-heading { display: block; }
  .section-heading > .text-link { margin-top: 19px; }
  .service-item { grid-template-columns: 40px 1fr 25px; }
  .site-footer p { width: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}