:root {
  --ink: #0a1510;
  --pine: #173527;
  --pine-soft: #244636;
  --paper: #fbfaf6;
  --mist: #ece8df;
  --gold: #c7a35f;
  --gold-soft: #e4cf9d;
  --rose: #8b403b;
  --sage: #afbeb3;
  --white: #ffffff;
  --muted: #6f786f;
  --shadow: 0 24px 80px rgba(10, 21, 16, 0.24);
  --shadow-hover: 0 30px 90px rgba(10, 21, 16, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 6px;
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 120ms linear;
}

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

.site-header {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 36px;
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease, min-height 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(10, 21, 16, 0.92);
  backdrop-filter: blur(18px);
  border-color: rgba(199, 163, 95, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 84px;
  font-weight: 700;
}

.brand__logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  transition: transform 220ms var(--ease-out);
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  transform: translateY(-1px) scale(1.04);
}

.brand__text {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  transition: transform 180ms var(--ease-out), background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--ink);
  background: var(--gold);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--ink);
  background: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 38%;
  filter: saturate(0.86) contrast(1.05);
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.035);
  transform-origin: center;
  will-change: transform;
  animation: heroImageIn 1400ms var(--ease-out) both;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(10, 21, 16, 0.98) 0%, rgba(10, 21, 16, 0.76) 40%, rgba(10, 21, 16, 0.28) 74%),
    linear-gradient(180deg, rgba(10, 21, 16, 0.8) 0%, rgba(10, 21, 16, 0.1) 44%, rgba(10, 21, 16, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 176px 0 132px;
  text-align: center;
}

.chapter,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.35rem;
  text-align: center;
}

.hero-logo {
  display: grid;
  justify-items: center;
  width: min(600px, 100%);
  margin: 0;
  color: var(--white);
  text-align: center;
}

.hero-logo__mark {
  display: block;
  width: min(560px, 100%);
  height: clamp(152px, 18vw, 214px);
  overflow: hidden;
  transform-origin: center;
}

.hero__content.is-visible .hero-logo__mark {
  animation: logoFloat 7s ease-in-out 1200ms infinite;
}

.hero-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-logo__name-block {
  display: inline-grid;
  justify-items: end;
  margin-top: 14px;
  color: var(--white);
  text-align: right;
  text-transform: uppercase;
}

.hero-logo__name {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-logo__role {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 18px;
  align-items: center;
  width: min(520px, 100%);
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(0.92rem, 1.2vw, 1.15rem);
  font-weight: 500;
  text-transform: uppercase;
}

.hero-logo__role span {
  display: block;
  height: 4px;
  background: var(--gold);
  transform-origin: center;
}

.hero__content.is-visible .hero-logo__role span {
  animation: lineGrow 760ms var(--ease-out) 240ms both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(600px, 100%);
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 520ms var(--ease-out);
  pointer-events: none;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(120%);
}

.button span {
  margin-left: 10px;
  transition: transform 220ms var(--ease-out);
}

.button:hover span,
.button:focus-visible span {
  transform: translateX(4px);
}

.button--primary {
  color: var(--ink);
  background: var(--gold);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--gold-soft);
  box-shadow: 0 16px 34px rgba(199, 163, 95, 0.28);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.button--ink {
  color: var(--ink);
  border-color: rgba(10, 21, 16, 0.22);
  background: rgba(255, 255, 255, 0.32);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.button--ink:hover,
.button--ink:focus-visible {
  color: var(--ink);
  border-color: rgba(199, 163, 95, 0.5);
  background: var(--white);
}

.hero__bottom {
  position: absolute;
  z-index: 1;
  left: 36px;
  right: 36px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.intro-band {
  background: var(--gold-soft);
}

.intro-band__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 44px 0;
}

.intro-band .chapter {
  color: var(--rose);
}

.intro-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.12;
}

.intro-band p:not(.chapter) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(10, 21, 16, 0.74);
}

.section {
  padding: 112px 0;
}

.section--paper {
  background: var(--paper);
}

.about-grid,
.work-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.about-grid {
  align-items: start;
}

.section-copy h2,
.chapter-block h2,
.services-heading h2,
.statement h2,
.contact-copy h2 {
  margin: 0 0 24px;
  font-size: 3.1rem;
  line-height: 1.04;
}

.section-copy p,
.work-copy p,
.contact-copy p {
  max-width: 650px;
  color: rgba(10, 21, 16, 0.72);
  font-size: 1.06rem;
}

.about-portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pine);
  box-shadow: var(--shadow);
  transition: transform 360ms var(--ease-out), box-shadow 360ms ease;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 600ms var(--ease-out), filter 360ms ease;
}

.about-portrait:hover,
.about-portrait:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.about-portrait:hover img,
.about-portrait:focus-within img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.035);
}

.about-portrait figcaption {
  padding: 14px 16px;
  color: var(--gold-soft);
  background: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.section--dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(199, 163, 95, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(139, 64, 59, 0.14), transparent 55%);
  pointer-events: none;
}

.section--dark .container {
  position: relative;
}

.section--dark h2 {
  color: var(--white);
}

.section--dark .work-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.section--services {
  background: var(--mist);
}

.services-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.services-heading h2 {
  max-width: 780px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 28px;
  color: var(--paper);
  background: var(--pine);
  border: 1px solid rgba(199, 163, 95, 0.22);
  border-radius: 8px;
  transition: transform 320ms var(--ease-out), border-color 320ms ease, box-shadow 320ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(228, 207, 157, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(228, 207, 157, 0.48);
  box-shadow: 0 24px 70px rgba(10, 21, 16, 0.22);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
}

.service-card:nth-child(2) {
  background: #23302b;
}

.service-card:nth-child(3) {
  background: #321d1b;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 42px;
  padding: 13px;
  background: rgba(228, 207, 157, 0.08);
  border: 1px solid rgba(228, 207, 157, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 320ms var(--ease-out), background 320ms ease, border-color 320ms ease;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.service-card:hover .service-card__icon,
.service-card:focus-within .service-card__icon {
  background: rgba(228, 207, 157, 0.13);
  border-color: rgba(228, 207, 157, 0.58);
  transform: rotate(-6deg) scale(1.06);
}

.service-card h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: rgba(251, 250, 246, 0.76);
}

.reviews {
  background: #f7f7f4;
}

.reviews-intro {
  max-width: 980px;
  margin: 0 auto 32px;
  text-align: center;
}

.reviews-intro h2 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.reviews-intro p:not(.chapter) {
  max-width: 760px;
  margin: 14px auto 0;
  color: rgba(10, 21, 16, 0.72);
  font-size: 1.08rem;
}

.google-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 21, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(10, 21, 16, 0.08);
}

.google-summary__brand {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0;
}

.google-summary__brand span:nth-child(1),
.google-summary__brand span:nth-child(4) {
  color: #4285f4;
}

.google-summary__brand span:nth-child(2),
.google-summary__brand span:nth-child(6) {
  color: #db4437;
}

.google-summary__brand span:nth-child(3) {
  color: #f4b400;
}

.google-summary__brand span:nth-child(5) {
  color: #0f9d58;
}

.google-summary__rating strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.google-summary__rating p {
  margin: 0;
  color: rgba(10, 21, 16, 0.62);
}

.google-summary__rating b {
  color: var(--ink);
  font-size: 1.2rem;
}

.google-summary__rating span,
.review-card__stars {
  color: #f4b400;
  letter-spacing: 0;
}

.google-summary__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #082247;
  background: #4285f4;
  border: 2px solid #082247;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  font-weight: 800;
  transition: transform 220ms var(--ease-out), background 220ms ease, box-shadow 220ms ease;
}

.google-summary__button:hover,
.google-summary__button:focus-visible {
  background: #65a0ff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75), 0 14px 28px rgba(26, 115, 232, 0.22);
  transform: translateY(-3px);
  outline: none;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 214px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 21, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(10, 21, 16, 0.08);
  transition: transform 300ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(199, 163, 95, 0.28);
  box-shadow: 0 20px 48px rgba(10, 21, 16, 0.12);
}

.review-card:hover::before,
.review-card:focus-within::before {
  transform: scaleX(1);
}

.review-card__header {
  display: grid;
  grid-template-columns: 40px 1fr 26px;
  gap: 10px;
  align-items: start;
}

.review-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: #0a65a8;
  border-radius: 50%;
  font-weight: 800;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  transition: transform 260ms var(--ease-out);
}

.review-card:hover .review-card__avatar,
.review-card:focus-within .review-card__avatar {
  transform: scale(1.06);
}

.review-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
}

.review-card h3 a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.review-card h3 a:hover,
.review-card h3 a:focus-visible {
  color: var(--pine);
  text-decoration: underline;
  outline: none;
}

.review-card__header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
}

.review-card__google {
  width: 26px;
  height: 26px;
  object-fit: contain;
  justify-self: end;
  transition: transform 260ms var(--ease-out);
}

.review-card:hover .review-card__google,
.review-card:focus-within .review-card__google {
  transform: rotate(8deg) scale(1.08);
}

.review-card__text {
  margin: 14px 0 18px;
  color: rgba(10, 21, 16, 0.84);
  font-size: 0.96rem;
}

.review-card__stars {
  align-self: end;
  margin: 0;
  font-size: 1.15rem;
}

.articles {
  background: var(--mist);
}

.articles-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.articles-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.articles-heading p:not(.chapter) {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(10, 21, 16, 0.72);
  font-size: 1.05rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 360px;
  background: var(--white);
  border: 1px solid rgba(10, 21, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(10, 21, 16, 0.09);
  transition: transform 300ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(199, 163, 95, 0.34);
  box-shadow: 0 26px 68px rgba(10, 21, 16, 0.15);
}

.article-card__media {
  min-height: 190px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--mist);
}

.article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms var(--ease-out);
}

.article-card:hover .article-card__media img,
.article-card:focus-within .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.83rem;
}

.article-card__category {
  color: var(--pine);
  background: rgba(199, 163, 95, 0.18);
  border: 1px solid rgba(199, 163, 95, 0.28);
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.22;
}

.article-card p {
  margin: 0;
  color: rgba(10, 21, 16, 0.74);
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--pine);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-card__link:hover,
.article-card__link:focus-visible {
  color: var(--rose);
  outline: none;
}

.article-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  color: rgba(10, 21, 16, 0.68);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(10, 21, 16, 0.08);
  border-radius: 8px;
}

.articles-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 154px 0 76px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 21, 16, 0.94), rgba(23, 53, 39, 0.86)),
    var(--pine);
}

.subpage-hero::before {
  content: "MCA";
  position: absolute;
  right: 5%;
  bottom: -58px;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 900;
  line-height: 1;
}

.subpage-hero__content {
  position: relative;
  max-width: 850px;
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1.04;
}

.subpage-hero p:not(.chapter) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.articles-page {
  background: var(--paper);
}

.article-detail-shell {
  min-height: 70vh;
  padding: 132px 0 76px;
  background:
    linear-gradient(180deg, var(--mist) 0, var(--paper) 280px),
    var(--paper);
}

.article-detail {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  background: var(--white);
  border: 1px solid rgba(10, 21, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 21, 16, 0.12);
}

.article-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 22px;
  padding: 0 18px;
  color: var(--pine);
  background: rgba(228, 207, 157, 0.18);
  border: 1px solid rgba(199, 163, 95, 0.44);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms var(--ease-out);
}

.article-back::before {
  content: "<";
  margin-right: 10px;
}

.article-back:hover,
.article-back:focus-visible {
  background: rgba(199, 163, 95, 0.3);
  border-color: rgba(199, 163, 95, 0.72);
  transform: translateX(-3px);
}

.article-detail__actions {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(10, 21, 16, 0.1);
}

.article-back--bottom {
  margin-bottom: 0;
}

.article-detail h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
}

.article-detail__meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.article-detail__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 34px 0;
  background: var(--mist);
  border-radius: 8px;
}

.article-detail__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-detail__content {
  color: rgba(10, 21, 16, 0.82);
  font-size: 1.06rem;
}

.article-detail__content h2,
.article-detail__content h3 {
  margin: 34px 0 12px;
  color: var(--pine);
  line-height: 1.2;
}

.article-detail__content p,
.article-detail__content ul,
.article-detail__content ol {
  margin: 0 0 18px;
}

.article-detail__content ul,
.article-detail__content ol {
  padding-left: 22px;
}

.article-detail__content li + li {
  margin-top: 8px;
}

.statement {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--pine) 0%, var(--ink) 72%);
}

.statement__watermark {
  position: absolute;
  right: 4%;
  bottom: -76px;
  color: rgba(255, 255, 255, 0.06);
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.statement__content {
  position: relative;
}

.statement__content .chapter,
.contact-copy .chapter {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.statement h2 {
  max-width: 860px;
}

.section--contact {
  background: var(--paper);
}

.contact-grid {
  align-items: start;
}

.contact-copy .button {
  margin-top: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(228, 207, 157, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-honey,
.contact-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-field label {
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font: inherit;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.form-field textarea {
  min-height: 142px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(228, 207, 157, 0.72);
  box-shadow: 0 0 0 3px rgba(199, 163, 95, 0.16);
  outline: none;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.form-status.is-success {
  color: #9be7b2;
}

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

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: transform 260ms var(--ease-out), background 260ms ease, border-color 260ms ease;
}

.contact-panel div:hover,
.contact-panel div:focus-within {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(228, 207, 157, 0.2);
  transform: translateX(4px);
}

.contact-panel span {
  color: var(--gold-soft);
  font-weight: 900;
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

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

.footer-brand {
  margin: 0 0 6px;
  color: var(--gold-soft);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-soft);
  outline: none;
}

.whatsapp-float {
  position: fixed;
  z-index: 950;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(10, 21, 16, 0.28);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: inherit;
  animation: whatsappPulse 2.6s ease-out infinite;
}

.whatsapp-float svg {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 5px rgba(10, 21, 16, 0.2));
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  box-shadow: 0 22px 54px rgba(10, 21, 16, 0.34);
  transform: translateY(-4px) scale(1.03);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.service-card.reveal,
.review-card.reveal,
.article-card.reveal {
  transition:
    opacity 680ms var(--ease-out),
    transform 680ms var(--ease-out),
    border-color 300ms ease,
    box-shadow 300ms ease;
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms;
}

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

@keyframes heroImageIn {
  from {
    filter: saturate(0.76) contrast(1);
    transform: translate3d(0, -12px, 0) scale(1.065);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes lineGrow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.85;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 12px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: rgba(10, 21, 16, 0.96);
    border: 1px solid rgba(199, 163, 95, 0.24);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
  }

  .hero__content {
    padding-top: 148px;
  }

  .hero__image img {
    object-position: 64% 36%;
  }

  .intro-band__grid,
  .services-heading,
  .about-grid,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .google-summary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__icon {
    margin-bottom: 36px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .brand__text {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 21, 16, 0.92) 0%, rgba(10, 21, 16, 0.68) 45%, rgba(10, 21, 16, 0.96) 100%),
      linear-gradient(90deg, rgba(10, 21, 16, 0.92), rgba(10, 21, 16, 0.3));
  }

  .hero__content {
    width: min(100% - 28px, 940px);
    padding: 136px 0 112px;
  }

  .hero__lead {
    font-size: 1.08rem;
  }

  .hero-logo {
    max-width: 430px;
  }

  .hero-logo__mark {
    height: clamp(126px, 32vw, 156px);
  }

  .hero-logo__role {
    gap: 12px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__bottom {
    left: 14px;
    right: 14px;
    bottom: 16px;
    font-size: 0.78rem;
  }

  .intro-band h2,
  .section-copy h2,
  .chapter-block h2,
  .services-heading h2,
  .articles-heading h2,
  .statement h2,
  .contact-copy h2 {
    font-size: 2.15rem;
  }

  .section {
    padding: 78px 0;
  }

  .contact-panel {
    padding: 12px;
  }

  .reviews-intro {
    text-align: left;
  }

  .reviews-intro p:not(.chapter) {
    margin-left: 0;
  }

  .subpage-hero {
    padding: 136px 0 58px;
  }

  .article-detail-shell {
    padding: 118px 0 54px;
  }

  .article-detail__image {
    aspect-ratio: 4 / 3;
  }

  .google-summary {
    align-items: stretch;
  }

  .google-summary__button {
    width: 100%;
  }

  .contact-panel div {
    grid-template-columns: 42px 1fr;
    padding: 14px;
  }

  .statement__watermark {
    right: 8px;
    bottom: -28px;
    font-size: 6rem;
  }

  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float::before {
    animation: none;
    opacity: 0;
  }

  .hero__image img,
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible,
  .button:hover,
  .button:focus-visible,
  .site-nav a:hover,
  .site-nav a:focus-visible,
  .about-portrait:hover,
  .about-portrait:focus-within,
  .service-card:hover,
  .service-card:focus-within,
  .review-card:hover,
  .review-card:focus-within,
  .article-card:hover,
  .article-card:focus-within,
  .contact-panel div:hover,
  .contact-panel div:focus-within {
    transform: none !important;
  }
}
