:root,
[data-theme="light"] {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --card: #ffffff;
  --forest: #07382d;
  --forest-deep: #061f1a;
  --green: #147458;
  --glow: #c9f47a;
  --header-bg: rgba(255, 255, 255, 0.84);
  --header-line: rgba(0, 0, 0, 0.06);
  --shell: 1080px;
  --radius-large: 30px;
  --radius-medium: 22px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --press: cubic-bezier(.23, 1, .32, 1);
  --focus: #0b57d0;
  --font: "SF Pro SC", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, "PingFang SC", "HarmonyOS Sans SC", "MiSans",
    "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f5f7;
  --muted: #a8b3ae;
  --line: #24443a;
  --paper: #071612;
  --soft: #0c221c;
  --card: #102820;
  --header-bg: rgba(7, 22, 18, 0.86);
  --header-line: rgba(255, 255, 255, 0.08);
  --focus: #8ec8ff;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

.nb { white-space: nowrap; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; background: none; }
img, canvas, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl { margin-block: 0; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 56px;
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), 980px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 21px;
  background: currentColor;
  -webkit-mask: url("../images/renlu-mark.png") center / contain no-repeat;
  mask: url("../images/renlu-mark.png") center / contain no-repeat;
}

.brand-mark--light {
  width: 22px;
  height: 26px;
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  line-height: 1;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
}

.site-nav a,
.site-footer a {
  transition: opacity .18s var(--press), color .18s var(--press);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover,
  .site-footer a:hover { opacity: .58; }
}

.nav-end {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
}

.theme-toggle__sun {
  background: transparent;
  box-shadow: 0 0 0 1.5px var(--ink);
}

.theme-toggle__sun::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--ink);
}

[data-theme="dark"] .theme-toggle__sun { opacity: 0; }

.theme-toggle__moon {
  opacity: 0;
  background: var(--ink);
  clip-path: path("M10 2a8 8 0 1 0 8 10A6.2 6.2 0 0 1 10 2z");
}

[data-theme="dark"] .theme-toggle__moon { opacity: 1; }

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  transition: transform .16s var(--press), background-color .18s var(--press);
}

.header-contact:hover { background: #10513f; }
.header-contact:active { transform: scale(.97); }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 132px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 65%, rgba(36, 126, 92, .34), transparent 38%),
    linear-gradient(145deg, #06271f 0%, var(--forest) 56%, #0a3027 100%);
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 56px 0 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 28, 22, .35), transparent 28%, rgba(3, 22, 17, .2));
  pointer-events: none;
}

.signal-canvas {
  position: absolute;
  inset: 56px 0 0;
  z-index: -2;
  width: 100%;
  height: calc(100% - 56px);
  opacity: .74;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(54px, 6.2vw, 84px);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.04;
}

.hero-lede {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .76);
  text-wrap: pretty;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.42;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 11px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform .16s var(--press),
    color .18s var(--press),
    background-color .18s var(--press),
    border-color .18s var(--press);
}

.button:active { transform: scale(.97); }

.button--light {
  background: #fff;
  color: var(--forest-deep);
}

.button--light:hover { background: #edf5f1; }

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

.button--outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--forest-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
}

.text-link--light { color: rgba(255, 255, 255, .9); }

@media (hover: hover) and (pointer: fine) {
  .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
}

.hero-note {
  margin-top: 68px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.hero-scroll { display: none; }

.section { padding: 138px 0; }
.section--soft { background: var(--soft); }

.section-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-label {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}

.section-label--light { color: rgba(255, 255, 255, .62); }

.section-heading h2,
.contact h2,
.stance h2 {
  font-size: clamp(44px, 5.1vw, 64px);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  text-wrap: pretty;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 76px;
}

.case-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--soft);
}

[data-theme="dark"] .case-card { background: var(--card); }

.case-visual {
  position: relative;
  height: 318px;
  overflow: hidden;
}

.case-visual small {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
}

.case-visual--deep {
  background:
    radial-gradient(circle at 50% 48%, rgba(42, 139, 104, .3), transparent 38%),
    linear-gradient(145deg, #0a221c, #0d4034);
}

.flow-svg {
  position: absolute;
  inset: 36px 20px 40px;
  width: calc(100% - 40px);
  height: calc(100% - 76px);
}

.flow-path {
  fill: none;
  stroke: rgba(255, 255, 255, .22);
  stroke-width: 1.2;
}

.flow-box {
  fill: rgba(7, 30, 24, .55);
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1;
}

.flow-box--core {
  fill: rgba(12, 62, 48, .72);
  stroke: rgba(201, 244, 122, .42);
}

.flow-dot { fill: rgba(255, 255, 255, .72); }
.flow-dot--glow { fill: var(--glow); }

.flow-svg text {
  fill: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 600;
}

.case-visual--team {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .55), rgba(205, 223, 215, .4) 35%, transparent 58%),
    #9bb5aa;
}

.case-visual--team small { color: rgba(6, 31, 26, .72); }

.team-center,
.team-role {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.team-center {
  top: 50%;
  left: 50%;
  width: 106px;
  height: 48px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translate(-50%, -50%);
}

.team-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 236px;
  height: 162px;
  border: 1px solid rgba(7, 56, 45, .21);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.team-role {
  width: 66px;
  height: 34px;
  border: 1px solid rgba(7, 56, 45, .16);
  background: rgba(255, 255, 255, .8);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
}

.team-role--one { top: 26%; left: 19%; }
.team-role--two { top: 23%; right: 17%; }
.team-role--three { right: 21%; bottom: 22%; }

.case-body { padding: 42px 40px 38px; }

.card-index,
.service-card > span,
.method-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.case-body h3 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.15;
}

.case-summary {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

.case-points {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.case-points li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.case-points span {
  font-size: 14px;
  font-weight: 600;
}

.case-points p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.boundary {
  padding: 15px 17px;
  margin-top: 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--forest) 8%, var(--soft));
  color: color-mix(in srgb, var(--forest) 72%, var(--ink));
  font-size: 13px;
  line-height: 1.5;
}

[data-theme="light"] .boundary {
  background: #e7efeb;
  color: #35574c;
}

.boundary strong { margin-right: 8px; color: var(--forest); }
[data-theme="dark"] .boundary strong { color: var(--glow); }

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

.service-card {
  display: flex;
  min-height: 310px;
  padding: 34px 32px 30px;
  border-radius: var(--radius-medium);
  background: var(--card);
  flex-direction: column;
}

.service-card h3 {
  margin-top: 52px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.18;
}

.service-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.service-card small {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.service-fit,
.service-note {
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  text-wrap: pretty;
}

.service-note { margin-top: 12px; }

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 78px 0 0;
  list-style: none;
}

.method-list li {
  min-height: 230px;
  padding: 28px 25px 10px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.method-list li:last-child { border-right: 0; }

.method-list h3 {
  margin-top: 45px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.012em;
}

.method-list p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.stance-inner {
  max-width: 760px;
  text-align: center;
}

.stance-inner p:not(.section-label) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}

.contact {
  display: grid;
  place-items: center;
  min-height: 720px;
  padding: 120px 0;
  background:
    radial-gradient(circle at 50% 115%, rgba(38, 131, 96, .38), transparent 42%),
    var(--forest-deep);
  color: #fff;
}

.contact-inner {
  display: flex;
  align-items: center;
  max-width: 850px;
  flex-direction: column;
  text-align: center;
}

.contact h2 { font-size: clamp(48px, 6.4vw, 76px); }

.contact-inner > p:not(.section-label):not(.contact-direct):not(.contact-hours):not(.copy-status) {
  margin-top: 26px;
  color: rgba(255, 255, 255, .7);
  font-size: 20px;
}

.contact-direct {
  margin-top: 30px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.contact-hours {
  margin-top: 10px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.contact-direct b {
  margin-left: 4px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .04em;
  -webkit-user-select: all;
  user-select: all;
}

.contact-inner > small {
  margin-top: 44px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.copy-status--light {
  min-height: 19px;
  margin-top: 10px;
  color: var(--glow);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), 980px);
  min-height: 118px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 12px;
}

.site-footer > p { text-align: center; }

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer .brand { color: var(--ink); }

.contact-dialog {
  position: relative;
  width: min(calc(100% - 32px), 560px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.contact-dialog:not([open]) { display: none; }

.contact-dialog[open] {
  animation: dialog-in .28s var(--ease);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, .46);
  backdrop-filter: blur(8px);
}

.dialog-body { padding: 42px; }

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transition: transform .16s var(--press);
}

.dialog-close:active { transform: scale(.95); }

.dialog-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.contact-dialog h2 {
  max-width: 420px;
  margin-top: 12px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.12;
}

.dialog-intro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.contact-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 19px;
  margin-top: 24px;
  border-radius: 16px;
  background: var(--soft);
}

.contact-option + .contact-option { margin-top: 10px; }

.contact-option div { display: flex; flex-direction: column; }

.contact-option span {
  color: var(--muted);
  font-size: 12px;
}

.contact-option strong {
  margin-top: 2px;
  font-size: 18px;
}

.contact-option button {
  min-height: 36px;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: transform .16s var(--press);
}

.contact-option button:active { transform: scale(.97); }

.contact-option--link {
  transition: background-color .18s var(--press);
}

.contact-option--link:hover { background: color-mix(in srgb, var(--forest) 8%, var(--soft)); }
.contact-option--link > b { color: var(--green); font-size: 20px; }

.dialog-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.copy-status {
  min-height: 19px;
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
}

.legal {
  padding: 128px 0 80px;
}

.legal-inner { max-width: 680px; }

.legal h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.08;
}

.legal-lede,
.legal p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.legal h2 {
  margin-top: 42px;
  font-size: 24px;
  font-weight: 600;
}

.legal a { text-decoration: underline; text-underline-offset: 3px; }

.legal-back { margin-top: 48px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.hero :focus-visible,
.contact :focus-visible,
.header-contact:focus-visible,
.button--light:focus-visible,
.button--outline:focus-visible {
  outline-color: #fff;
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in .8s var(--ease) forwards;
}

.motion-ready .reveal-item:nth-child(2) { animation-delay: .08s; }
.motion-ready .reveal-item:nth-child(3) { animation-delay: .16s; }
.motion-ready .reveal-item:nth-child(4) { animation-delay: .24s; }
.motion-ready .reveal-item:nth-child(5) { animation-delay: .32s; }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scroll-cue {
  0%, 100% { opacity: .3; transform: translate(-50%, -5px); }
  50% { opacity: 1; transform: translate(-50%, 3px); }
}

@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-card h3 { margin-top: 38px; }
  .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-list li:nth-child(2) { border-right: 0; }
}

@media (max-width: 740px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }

  .site-header { height: 56px; }

  .nav-shell {
    width: calc(100% - 24px);
    grid-template-columns: auto 1fr auto;
    gap: 6px;
  }

  .brand { font-size: 14px; gap: 6px; }
  .brand-mark { width: 16px; height: 19px; }
  .header-contact { padding: 0 12px; font-size: 13px; }

  .site-nav {
    justify-self: center;
    gap: 2px;
    font-size: 13px;
  }

  .site-nav a { padding: 0 6px; }

  .hero {
    min-height: 100dvh;
    padding: 106px 0 62px;
  }

  .hero-scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    display: block;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .5));
    transform: translateX(-50%);
    animation: scroll-cue 2.6s var(--ease) infinite;
  }

  .signal-canvas { top: 56px; height: calc(100% - 56px); }
  .hero-kicker { margin-bottom: 20px; }
  .hero h1 { max-width: 520px; font-size: clamp(48px, 13vw, 62px); line-height: 1.02; }
  .hero-lede { max-width: 520px; margin-top: 24px; font-size: 19px; line-height: 1.45; }
  .hero-actions { margin-top: 30px; }
  .hero-note { margin-top: 46px; }

  .section { padding: 96px 0; }
  .section-heading h2,
  .stance h2 { font-size: 42px; }
  .section-heading > p:last-child { margin-top: 20px; font-size: 17px; }
  .case-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 54px; }
  .case-visual { height: 260px; }
  .case-body { padding: 32px 26px 28px; }
  .case-body h3 { font-size: 30px; }
  .case-summary { font-size: 17px; }

  .service-grid { margin-top: 52px; }
  .service-card { min-height: 250px; padding: 29px 27px 26px; }
  .method-list { grid-template-columns: 1fr; margin-top: 54px; }
  .method-list li,
  .method-list li:nth-child(n+3) {
    min-height: 190px;
    padding: 25px 10px 28px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .method-list h3 { margin-top: 28px; }

  .contact { min-height: 630px; padding: 94px 0; }
  .contact h2 { font-size: 46px; }
  .contact-inner > p:not(.section-label):not(.contact-direct):not(.contact-hours):not(.copy-status) { font-size: 18px; }
  .contact-inner > small { margin-top: 48px; }

  .site-footer {
    display: flex;
    width: calc(100% - 36px);
    min-height: 160px;
    padding: 28px 0;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    text-align: center;
  }
  .site-footer > div { justify-content: center; flex-wrap: wrap; gap: 10px 14px; }

  .dialog-body { padding: 36px 22px 26px; }
  .contact-dialog { border-radius: 23px; }
  .contact-dialog h2 { padding-right: 28px; font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-actions,
  .contact-actions {
    width: 100%;
    flex-direction: column;
    gap: 17px;
  }

  .hero-actions .button,
  .contact-actions .button { min-width: 146px; }

  .case-points li { grid-template-columns: 78px 1fr; gap: 10px; }
  .team-ring { width: 210px; }
  .team-role--one { left: 11%; }
  .team-role--two { right: 10%; }
  .team-role--three { right: 14%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal-on-scroll,
  .motion-ready .reveal-item { opacity: 1; transform: none; }
  .hero-scroll { opacity: .55; transform: translateX(-50%); }
}
