:root {
  --ink: #171416;
  --ink-soft: #585154;
  --paper: #ffffff;
  --paper-warm: #f7f4f2;
  --line: #e7dfdc;
  --red: #a6121f;
  --red-dark: #710713;
  --red-bright: #e0182d;
  --plum: #25131a;
  --gold: #c99b55;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 24px 70px rgba(38, 13, 18, 0.12);
  --container: min(1180px, calc(100vw - 48px));
  --font: "Noto Sans Thai", "Leelawadee UI", "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.3rem;
}

::selection {
  color: #fff;
  background: var(--red);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

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

.section {
  padding: 120px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow.light {
  color: #ffd6d9;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--ink-soft);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 18px 0;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: padding 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  padding: 10px 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(40, 20, 25, 0.08);
  box-shadow: 0 10px 40px rgba(33, 13, 19, 0.06);
}

.site-header.scrolled {
  backdrop-filter: blur(18px);
}

.site-header.menu-active {
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  margin-top: 3px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 30px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.language-switcher {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.scrolled .language-switcher,
.menu-active .language-switcher {
  border-color: var(--line);
}

.language-switcher button {
  min-width: 34px;
  padding: 5px 8px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 12px rgba(35, 13, 18, 0.12);
}

.scrolled .language-switcher button[aria-pressed="true"],
.menu-active .language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 12px 10px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(224, 24, 45, 0.32), transparent 30%),
    linear-gradient(118deg, #170b10 0%, #2a1017 45%, #790b16 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -25vw;
  right: -15vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(255, 255, 255, 0.02), 0 0 0 16vw rgba(255, 255, 255, 0.018);
}

.hero::after {
  right: 0;
  bottom: 0;
  width: 34%;
  height: 10px;
  background: var(--red-bright);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  min-height: 760px;
  padding-top: 110px;
  padding-bottom: 90px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.2vw, 6rem);
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  color: #fff;
  background: var(--red-bright);
  box-shadow: 0 14px 34px rgba(224, 24, 45, 0.3);
}

.button-primary:hover {
  background: #f0273d;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.button-white {
  color: var(--red-dark);
  background: #fff;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof > div {
  padding: 22px 22px 0 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 3px;
  font-size: 1.55rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  box-shadow: 0 40px 100px rgba(14, 0, 4, 0.38);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(49, 3, 11, 0.42), transparent 58%);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: -24px;
  bottom: 42px;
  display: flex;
  max-width: 330px;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card strong,
.hero-card small {
  display: block;
}

.hero-card strong {
  font-size: 0.88rem;
}

.hero-card small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

.status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: #21a366;
  border: 3px solid #ccebdc;
  border-radius: 50%;
  box-sizing: content-box;
}

.hero-mark {
  position: absolute;
  top: 34px;
  left: -38px;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  background: var(--red-bright);
  border: 8px solid #2b1017;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.scroll-cue span::after {
  display: block;
  width: 3px;
  height: 5px;
  margin: 6px auto;
  content: "";
  background: #fff;
  border-radius: 3px;
  animation: scrollDot 1.8s infinite;
}

.scroll-cue small {
  font-size: 0.68rem;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

.about {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.image-collage {
  position: relative;
  min-height: 590px;
}

.image-collage figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.image-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-main {
  top: 0;
  left: 0;
  width: 78%;
  height: 430px;
}

.image-secondary {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 280px;
  border: 8px solid #fff;
}

.since-card {
  position: absolute;
  bottom: 45px;
  left: 0;
  display: flex;
  width: 190px;
  min-height: 130px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(143, 14, 29, 0.24);
}

.since-card strong {
  font-size: 1.1rem;
}

.since-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
}

.section-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.company-facts > div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.company-facts dd {
  margin: 0;
  font-weight: 800;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 100px;
}

.purpose-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  min-height: 270px;
  padding: 38px;
  background: var(--paper-warm);
  border-radius: var(--radius-md);
}

.purpose-card.accent {
  color: #fff;
  background: var(--plum);
}

.purpose-card .card-index {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
}

.purpose-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.4vw, 2.15rem);
}

.purpose-card p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.purpose-card.accent .eyebrow {
  color: #ff9ba6;
}

.purpose-card.accent p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.services {
  background: var(--paper-warm);
}

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

.service-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid rgba(166, 18, 31, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(166, 18, 31, 0.025);
  transition: transform 300ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(166, 18, 31, 0.18);
  box-shadow: 0 24px 50px rgba(40, 15, 20, 0.1);
  transform: translateY(-6px);
}

.service-card:hover::after {
  transform: scale(1.25);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.service-top span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
}

.service-top i {
  padding: 5px 8px;
  color: #8d8286;
  background: var(--paper-warm);
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3 {
  max-width: 290px;
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.65;
}

.process {
  color: #fff;
  background: var(--plum);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 9vw, 130px);
}

.process-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-intro h2 {
  font-size: clamp(2.3rem, 4.3vw, 4.25rem);
}

.process-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.64);
}

.process-intro img {
  width: 100%;
  height: 210px;
  margin-top: 34px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: saturate(0.75);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list > li > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #ff9ba6;
  border: 1px solid rgba(255, 155, 166, 0.5);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.process-list p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.person-card {
  overflow: hidden;
  background: var(--paper-warm);
  border-radius: var(--radius-sm);
}

.person-card.featured {
  grid-column: span 2;
}

.person-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #e7e2df;
}

.featured .person-image {
  height: 410px;
}

.person-image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  content: "";
  background: linear-gradient(to top, rgba(38, 17, 22, 0.17), transparent);
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 450ms ease;
}

.person-card:hover .person-image img {
  transform: scale(1.025);
}

.person-copy {
  min-height: 190px;
  padding: 24px;
}

.person-copy p {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.person-copy h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.person-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}

.experience {
  background: var(--paper-warm);
}

.client-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.client-group {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.client-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.client-group h3 {
  margin-bottom: 24px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.client-group ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-group li {
  padding: 12px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.locations {
  overflow: hidden;
}

.locations-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(60px, 9vw, 130px);
}

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

.location-list > div {
  display: flex;
  min-height: 165px;
  flex-direction: column;
  padding: 24px;
  background: var(--paper-warm);
  border-radius: var(--radius-sm);
}

.location-list > div:first-child {
  color: #fff;
  background: var(--red);
}

.location-list span {
  margin-bottom: auto;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 900;
}

.location-list > div:first-child span,
.location-list > div:first-child small {
  color: rgba(255, 255, 255, 0.67);
}

.location-list strong {
  font-size: 1.2rem;
}

.location-list small {
  color: var(--ink-soft);
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.12), transparent 32%),
    var(--red);
}

.contact::after {
  position: absolute;
  top: -320px;
  right: -260px;
  width: 660px;
  height: 660px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 600px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 155px;
  gap: 30px;
  padding: 36px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px rgba(74, 0, 10, 0.28);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details > div:first-child {
  padding-top: 0;
}

.contact-details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--red);
  background: #f9e9ea;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
}

.contact-details small {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.contact-details p {
  margin: 3px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact-details a {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-details p a {
  color: var(--ink);
  font-size: inherit;
}

.qr-card {
  align-self: start;
  padding: 10px;
  text-align: center;
  background: var(--paper-warm);
  border-radius: var(--radius-sm);
}

.qr-card img {
  width: 135px;
  height: 135px;
  object-fit: cover;
  background: #fff;
  border-radius: 8px;
}

.qr-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  line-height: 1.35;
}

.site-footer {
  color: #fff;
  background: #120a0d;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.footer-brand img {
  background: rgba(255, 255, 255, 0.96);
}

.footer-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  text-align: center;
}

.back-top {
  justify-self: end;
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 24px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1080px) {
  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 0.76rem;
  }

  .brand-copy {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
  }

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

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

  .person-card.featured {
    grid-column: span 1;
  }

  .featured .person-image {
    height: 300px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .qr-card {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .qr-card img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 840px) {
  :root {
    --container: min(100% - 36px, 720px);
  }

  .section {
    padding: 90px 0;
  }

  .site-header {
    padding: 10px 0;
  }

  .brand-copy {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 69px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 28px max(18px, calc((100vw - 720px) / 2));
    color: var(--ink);
    background: #fff;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .primary-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .language-switcher {
    order: 2;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-visual {
    max-width: 620px;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 430px;
  }

  .hero-mark {
    left: -14px;
  }

  .scroll-cue {
    display: none;
  }

  .about-grid,
  .process-grid,
  .locations-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-grid {
    gap: 70px;
  }

  .image-collage {
    max-width: 620px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }

  .process-intro {
    position: static;
  }

  .process-intro img {
    max-width: 620px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-groups {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    max-width: 680px;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 76px 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .language-switcher button {
    min-width: 30px;
    padding: 4px 5px;
    font-size: 0.62rem;
  }

  .hero-grid {
    gap: 55px;
    padding-top: 125px;
    padding-bottom: 90px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-actions {
    margin-bottom: 42px;
  }

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

  .hero-proof > div {
    padding-right: 8px;
  }

  .hero-proof strong {
    font-size: 1.25rem;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 360px;
  }

  .hero-card {
    right: 12px;
    bottom: 20px;
    left: 12px;
  }

  .hero-mark {
    top: -30px;
    left: 12px;
    width: 72px;
    height: 72px;
    border-width: 6px;
  }

  .image-collage {
    min-height: 490px;
  }

  .image-main {
    width: 88%;
    height: 340px;
  }

  .image-secondary {
    width: 62%;
    height: 225px;
  }

  .since-card {
    bottom: 25px;
    width: 155px;
    min-height: 110px;
    padding: 18px;
  }

  .company-facts,
  .services-grid,
  .team-grid,
  .location-list {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px;
  }

  .service-card {
    min-height: 260px;
  }

  .service-top {
    margin-bottom: 38px;
  }

  .process-list li {
    grid-template-columns: 54px 1fr;
    gap: 16px;
  }

  .process-list > li > span {
    width: 48px;
    height: 48px;
  }

  .person-image,
  .featured .person-image {
    height: 380px;
  }

  .client-group {
    padding: 26px;
  }

  .client-group ul {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 78px 0;
  }

  .contact-panel {
    padding: 24px;
  }

  .qr-card {
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .back-top {
    justify-self: center;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .brand-copy {
    display: none;
  }

  .header-inner {
    gap: 18px;
  }
}

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

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

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