:root {
  --bg: #f5efe6;
  --surface: #fffdf9;
  --surface-strong: #fff9f0;
  --text: #1d2d36;
  --muted: #4f6673;
  --line: #d9d3ca;
  --brand: #0b7b88;
  --brand-2: #f28f3b;
  --shadow-soft: 0 14px 42px rgba(20, 35, 45, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(242, 143, 59, 0.18), transparent 40%),
    radial-gradient(1000px 680px at 95% 0%, rgba(11, 123, 136, 0.22), transparent 42%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(22, 33, 40, 0.08) 0.6px, transparent 0.6px);
  background-size: 6px 6px;
  opacity: 0.12;
}

a {
  cursor: pointer;
  color: var(--brand);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100vw - 2rem));
  margin-inline: auto;
}

.site-header {
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.95rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.84);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0.8rem;
  z-index: 9;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}

nav a {
  color: #29424d;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background-color 220ms ease, color 220ms ease;
}

nav a:hover {
  color: #10313d;
  background: rgba(11, 123, 136, 0.12);
}

main {
  padding-bottom: 2rem;
  display: grid;
  gap: 1.4rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  max-width: 17ch;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
}

h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  margin: 0.7rem 0;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6a583f;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.15rem;
}

.hero-copy,
.hero-panel,
.contact-section,
.page-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 250, 0.98));
  border: 1px solid #ebe4da;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: clamp(1.2rem, 3vw, 2.4rem);
}

.hero-copy p {
  max-width: 62ch;
  color: #2f4450;
}

.hero-outcomes {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.hero-outcomes li {
  color: #2c4652;
  padding-left: 1.05rem;
  position: relative;
  font-size: 0.97rem;
}

.hero-outcomes li::before {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: var(--brand-2);
  position: absolute;
  left: 0;
  top: 0.58rem;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #c5d8de;
  color: #164350;
  font-weight: 600;
  padding: 0.66rem 1rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.cta-secondary:hover {
  background: #e8f4f6;
  border-color: #a5c6cf;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand), #07616f);
  color: #ffffff;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(6, 97, 111, 0.25);
}

.hero-panel {
  padding: 1.25rem 1.25rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 252, 0.98));
}

.hero-panel h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hero-panel li {
  padding: 0.45rem 0 0.45rem 1.25rem;
  border-top: 1px solid #e6ddd0;
  color: #2c4652;
  position: relative;
}

.hero-panel li::before {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--brand-2);
  position: absolute;
  left: 0.25rem;
  top: 0.92rem;
}

.service-grid {
  padding: clamp(1.1rem, 2.6vw, 1.6rem) 0;
  border-top: 1px solid #ddd6cb;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.service-card {
  padding: 0.25rem 0.35rem 0.35rem 1.05rem;
  border-left: 2px solid rgba(11, 123, 136, 0.4);
}

.service-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 0.45rem;
}

.service-card p {
  color: #2f4450;
  max-width: 42ch;
  line-height: 1.65;
}

.service-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: #335766;
}

.process-section,
.pilot-section,
.faq-section,
.blog-section {
  padding: clamp(1.1rem, 2.6vw, 1.6rem) 0;
  border-top: 1px solid #ddd6cb;
}

.capability-list {
  margin: 0.3rem 0;
  padding-left: 1.1rem;
}

.capability-list li {
  margin-bottom: 0.45rem;
}

.process-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #d6cec2;
}

.process-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-list span {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #0b7b88;
  color: #ffffff;
  display: grid;
  place-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.process-list h3 {
  margin: 0;
  font-size: 1.08rem;
}

.process-list p {
  margin: 0.35rem 0 0;
  color: #37505b;
}

.faq-grid {
  display: grid;
  gap: 0;
  align-items: start;
}

.faq-item {
  border: 0;
  border-bottom: 1px solid #d8d0c4;
  border-radius: 0;
  background: transparent;
  padding: 0.85rem 0.1rem;
}

.faq-item:first-child {
  border-top: 1px solid #d8d0c4;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #223740;
}

.faq-item p {
  margin: 0.65rem 0 0;
  color: #324a55;
}

.contact-section {
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

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

.contact-field {
  display: grid;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f3842;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d4ccc1;
  border-radius: 10px;
  background: #fffdf9;
  color: #1d2d36;
  padding: 0.68rem 0.78rem;
  font: inherit;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(11, 123, 136, 0.25);
  outline-offset: 0;
  border-color: #6ca9b2;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 0.1rem 0 0;
  min-height: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3b5661;
}

.form-status.is-error {
  color: #a12f2f;
}

.form-status.is-success {
  color: #1f7a44;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.page-content > h1 + .post-list {
  margin-top: 1.25rem;
  padding-top: 0.1rem;
}

.post-card,
.post-list li {
  border: 1px solid #ded8cf;
  border-radius: 14px;
  background: #fffdf9;
  padding: 0.95rem;
}

.post-card--linked {
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  overflow: visible;
}

.post-list .post-card--linked {
  padding: 0;
}

.post-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: 1px solid #ded8cf;
  border-radius: 14px;
  padding: 0.95rem;
  color: inherit;
  background: linear-gradient(180deg, #fffdf9, #fffaf2);
  text-decoration: none !important;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.post-card-link:link,
.post-card-link:hover,
.post-card-link:visited,
.post-card-link:active,
.post-card-link:focus,
.post-card-link:focus-visible {
  color: inherit;
  text-decoration: none !important;
}

.post-card-link:hover,
.post-card-link:focus-visible {
  transform: translateY(-4px);
  border-color: #0b7b88;
  background: linear-gradient(180deg, #ffffff, #f1fafb);
  box-shadow: 0 14px 28px rgba(20, 35, 45, 0.16), 0 0 0 3px rgba(11, 123, 136, 0.2);
}

.post-card-link:focus-visible {
  outline: none;
}

.post-card-link * {
  cursor: pointer;
  text-decoration: none !important;
}

.post-card-title {
  display: block;
  color: #18353f;
  font-weight: 700;
}

.post-card small,
.post-list li small {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
  font-size: 0.84rem;
}

.post-card p,
.post-list li p {
  margin: 0.4rem 0 0;
  color: #324a55;
}

.page-content {
  padding: clamp(1.1rem, 2.8vw, 1.9rem);
}

.page-content iframe {
  width: 100%;
  max-width: 100%;
}

.page-content ul {
  padding-left: 1.1rem;
}

.site-footer {
  margin-bottom: 1.2rem;
  padding: 0.75rem 0 2.2rem;
  color: #405864;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.3rem 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  color: #2b414c;
}

.footer-brand-logo {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.site-footer a {
  color: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise-in 700ms cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
  }

  .delay-1 { animation-delay: 80ms; }
  .delay-2 { animation-delay: 150ms; }
  .delay-3 { animation-delay: 210ms; }
  .delay-4 { animation-delay: 280ms; }
  .delay-5 { animation-delay: 350ms; }
  .delay-6 { animation-delay: 420ms; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 950px) {
  .home-hero,
  .hero-outcomes,
  .service-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    border-radius: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.78rem 0.85rem;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
  }

  nav a {
    text-align: center;
    font-size: 0.84rem;
    padding: 0.28rem 0.4rem;
  }
}

@media (max-width: 640px) {
  main {
    gap: 1rem;
  }

  .hero-copy,
  .hero-panel,
  .contact-section,
  .page-content {
    border-radius: 14px;
  }
}
