:root {
  --paper: #f6f2ea;
  --paper-warm: #efe6da;
  --sheet: rgba(255, 255, 255, 0.86);
  --sheet-strong: #fffdf8;
  --ink: #37322f;
  --ink-soft: rgba(55, 50, 47, 0.78);
  --line: rgba(55, 50, 47, 0.14);
  --deep: #074957;
  --teal: #0e89a3;
  --sky: #87c4d1;
  --sand: #ebd6c1;
  --shadow-soft: 0 18px 40px rgba(55, 50, 47, 0.08);
  --shadow-paper: 0 8px 18px rgba(55, 50, 47, 0.06);
  --container: min(1120px, calc(100vw - 32px));
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(135, 196, 209, 0.1), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(235, 214, 193, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(61, 49, 41, 0.99) 0%, rgba(61, 49, 41, 0.96) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(55, 50, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 50, 47, 0.03) 1px, transparent 1px);
  background-size: 100% 20px, 20px 100%;
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.25rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(55, 50, 47, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px 0;
}

.brand img {
  width: auto;
  height: 3.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: #074957;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #063b47;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(55, 50, 47, 0.1);
}

.nav-toggle span {
  position: absolute;
  width: 1rem;
  height: 1.5px;
  background: var(--deep);
  transition: transform var(--transition);
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.hero {
  padding: 44px 0 12px;
}

.hero-grid {
  display: block;
}

.hero-copy {
  padding-top: 8px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 4.45rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.hero-stair {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.hero-step {
  display: grid;
  grid-template-columns: var(--chevron-width) auto;
  align-items: center;
  column-gap: 42px;
}

.hero-step h1 {
  text-align: left;
}

.hero-step-chevron {
  position: relative;
  display: block;
  height: 52px;
  border-radius: 999px 0 0 999px;
}

.hero-step-chevron::after {
  content: "";
  position: absolute;
  top: 0;
  right: -34px;
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
}

.hero-step-mocha {
  --chevron-width: minmax(220px, 1fr);
  color: #0e89a3;
}

.hero-step-mocha .hero-step-chevron {
  background: #0e89a3;
}

.hero-step-mocha .hero-step-chevron::after {
  border-left: 34px solid #0e89a3;
}

.hero-step-deep {
  --chevron-width: minmax(176px, 0.82fr);
  color: var(--sky);
}

.hero-step-deep .hero-step-chevron {
  background: var(--sky);
}

.hero-step-deep .hero-step-chevron::after {
  border-left: 34px solid var(--sky);
}

.hero-step-sky {
  --chevron-width: minmax(132px, 0.62fr);
  color: var(--paper);
}

.hero-step-sky .hero-step-chevron {
  background: var(--paper);
}

.hero-step-sky .hero-step-chevron::after {
  border-left: 34px solid var(--paper);
}

.hero-lead-box {
  margin-top: 36px;
}

.hero-lead {
  max-width: none;
  margin-top: 0;
  font-size: clamp(1.18rem, 2.15vw, 1.36rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: 28px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: #074957;
  color: #ffffff;
  box-shadow: var(--shadow-paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #063b47;
}

.button-secondary {
  color: #ffffff;
  background: #074957;
  box-shadow: var(--shadow-paper);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #063b47;
}

.intro-panel,
.service-card,
.profile-card,
.cta-panel,
.legal-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 20px 0 56px;
}

.section-overview {
  padding-top: 12px;
}

.intro-panel {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #ffffff;
}

.intro-panel p + p {
  margin-top: var(--space-4);
}

.intro-panel p {
  max-width: 61rem;
  color: rgba(255, 255, 255, 0.88);
}

.section-heading {
  margin-bottom: var(--space-5);
}

.services-grid,
.team-grid {
  display: grid;
  gap: var(--space-4);
}

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

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  color: var(--ink);
}

.service-card::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-bottom: var(--space-4);
  background: var(--deep);
}

.service-card h3 {
  margin-bottom: 18px;
}

.service-card p {
  color: var(--ink-soft);
}

.service-card p + p {
  margin-top: var(--space-4);
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  grid-auto-rows: 1fr;
}

.profile-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  color: var(--ink);
  min-height: 320px;
  height: 100%;
}

.profile-image-link {
  display: block;
  align-self: start;
  width: 168px;
  height: 268px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-warm);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
}

.profile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 10px;
}

.profile-title {
  margin-top: 6px;
  color: var(--deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.profile-copy p:last-child {
  margin-top: var(--space-3);
  color: var(--ink-soft);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  color: var(--ink);
}

.cta-panel img {
  width: auto;
  height: 3.35rem;
}

.cta-panel .button-primary {
  background: #074957;
  color: #ffffff;
}

.cta-panel .button-primary:hover,
.cta-panel .button-primary:focus-visible {
  background: #063b47;
}

.site-footer {
  margin-top: var(--space-8);
  background: rgba(255, 253, 248, 0.94);
  border-top: 1px solid rgba(55, 50, 47, 0.08);
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  color: #074957;
  font-size: 0.92rem;
}

.footer-inner a {
  text-decoration: none;
  color: #074957;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #063b47;
}

.legal-main .section {
  padding-top: 0;
}

.legal-hero {
  padding-top: 48px;
}

.legal-heading h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.legal-section {
  padding-top: 8px;
}

.legal-card {
  max-width: 54rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-xl);
}

.legal-card > * + * {
  margin-top: var(--space-4);
}

.legal-card h2,
.legal-card h3 {
  margin-top: 1.7rem;
}

.legal-card h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.legal-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-card a {
  color: var(--deep);
}

@media (max-width: 960px) {
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-toggle {
    position: relative;
    display: inline-flex;
  }

  .hero-step {
    column-gap: 28px;
  }

  .hero-step-mocha {
    --chevron-width: minmax(150px, 1fr);
  }

  .hero-step-deep {
    --chevron-width: minmax(128px, 0.82fr);
  }

  .hero-step-sky {
    --chevron-width: minmax(100px, 0.62fr);
  }

  .cta-panel,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .hero-stair {
    gap: 10px;
  }

  .hero-step {
    column-gap: 18px;
  }

  .hero-step-mocha {
    --chevron-width: minmax(106px, 1fr);
  }

  .hero-step-deep {
    --chevron-width: minmax(88px, 0.82fr);
  }

  .hero-step-sky {
    --chevron-width: minmax(68px, 0.62fr);
  }

  .hero-step-chevron {
    height: 32px;
  }

  .hero-step-chevron::after {
    right: -18px;
    border-top-width: 16px;
    border-bottom-width: 16px;
  }

  .hero-step-mocha .hero-step-chevron::after,
  .hero-step-deep .hero-step-chevron::after,
  .hero-step-sky .hero-step-chevron::after {
    border-left-width: 18px;
  }

  .hero-lead-box {
    padding: 16px 16px;
  }

  .profile-card {
    grid-template-columns: 96px 1fr;
    gap: var(--space-3);
    min-height: 0;
  }

  .profile-image-link {
    width: 96px;
    height: 132px;
  }

  .section {
    padding-bottom: 44px;
  }
}
