:root {
  --ink: #242726;
  --muted: #6d716f;
  --paper: #fbfaf6;
  --soft: #f4f6f5;
  --line: #dedfd9;
  --white: #ffffff;
  --green: #627f8a;
  --green-dark: #2f4852;
  --terracotta: #b77b6b;
  --lilac: #8b849a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

p,
h1,
h2,
h3,
span,
strong,
small,
li,
dt,
dd,
summary,
.eyebrow {
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: pageFade 520ms ease both;
  }
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(25, 38, 43, 0.72), rgba(25, 38, 43, 0));
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a {
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 82px) 70px;
  color: var(--white);
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero img {
    animation: heroDrift 16s ease-out both;
  }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(29, 43, 49, 0.82) 0%, rgba(29, 43, 49, 0.55) 42%, rgba(29, 43, 49, 0.1) 78%),
    linear-gradient(0deg, rgba(29, 43, 49, 0.22), rgba(29, 43, 49, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: #e9b5a7;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8.5vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  border-color: var(--green);
  background: var(--green);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.full {
  width: 100%;
}

.summary {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.summary article {
  min-height: 128px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.summary article + article {
  padding-left: 28px;
}

.summary article:last-child {
  border-right: 0;
}

.summary span,
dt,
.process-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary strong {
  display: block;
  max-width: 270px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 620ms ease,
      transform 620ms ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: clamp(68px, 9vw, 112px) 0;
}

.quiet {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.two-column,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.profile-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 4 / 5;
  background: var(--soft);
}

.profile-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  content: "";
  pointer-events: none;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 700ms ease;
}

.profile-photo:hover img {
  transform: scale(1.025);
}

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

.section-heading p,
.copy-block p,
.process-grid p,
.service-grid p,
.audience-grid p,
.faq-list p,
.contact p,
.notice p {
  color: var(--muted);
}

.copy-block p {
  font-size: 1.06rem;
}

.credential-list,
.list-grid ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.credential-list li,
.list-grid li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.process-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article,
.service-grid article,
.audience-grid article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  overflow-wrap: anywhere;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.process-grid article {
  min-height: 225px;
}

.process-grid article:hover,
.service-grid article:hover,
.audience-grid article:hover {
  background: var(--white);
  box-shadow: 0 14px 28px rgba(47, 72, 82, 0.07);
  transform: translateY(-3px);
}

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

.list-grid ul {
  margin-top: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--ink);
  font-weight: 800;
  transition: color 180ms ease;
}

details p {
  max-width: 680px;
  margin-bottom: 22px;
}

summary:hover {
  color: var(--green);
}

.notice {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.notice p {
  max-width: 920px;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.contact {
  padding: clamp(62px, 8vw, 100px) 0;
  background: var(--green-dark);
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.contact-panel dl {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

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

.contact-panel div:last-child {
  border-bottom: 0;
}

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

footer {
  padding: 26px 0;
  background: #1f2b2f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .summary-grid,
  .about-layout,
  .two-column,
  .contact-inner,
  .list-grid {
    grid-template-columns: 1fr;
  }

  .summary article,
  .summary article + article {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary article:last-child {
    border-bottom: 0;
  }

  .profile-photo {
    width: min(360px, 100%);
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 30px, 1120px);
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 220px;
  }

  .hero {
    min-height: 88vh;
    padding: 108px 16px 44px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(20, 32, 30, 0.86), rgba(20, 32, 30, 0.36));
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.1rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .process-grid,
  .service-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .service-grid article,
  .audience-grid article {
    min-height: auto;
  }

  .footer-inner {
    display: grid;
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1);
  }
}
