/* Hoyva redesign — all colour/type/radius values live in :root */
:root {
  --bg: #f8f4ea;
  --ink: #1c1f22;
  --ink-2: #ffffff;
  --ink-3: #f1eee7;
  --line: rgba(28, 31, 34, 0.12);
  --gold: #c8913a;
  --gold-soft: #7a4a14;
  --gold-light: #f2cc7a;
  --bronze: #7a4a14;
  --text: #1c1f22;
  --body: #464b50;
  --muted: #6b6f73;
  --error: #b3261e;
  --glass: rgba(255, 252, 245, 0.88);
  --glass-line: rgba(200, 145, 58, 0.3);
  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 18px;
  --r-sm: 12px;
  --nav-h: 80px;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --grad-gold: linear-gradient(135deg, #f2cc7a 0%, #c8913a 55%, #7a4a14 100%);
  --shadow: 0 18px 50px -24px rgba(28, 31, 34, 0.28);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 16px/1.6 var(--f-ui);
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}
.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle, rgba(200, 145, 58, 0.14), transparent 65%);
  will-change: transform;
}
body.has-mouse .cursor-glow {
  opacity: 1;
}
/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg); /* warm ivory; the logo's white background multiplies into it, so no box shows */
  opacity: 1;
}
/* solid so the logo image blends cleanly */
.nav.solid::before {
  background: var(--bg);
}
/* stays opaque (no blur) so the logo file blends with no visible box */
.nav.solid {
  border-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(28, 31, 34, 0.35);
}
/* Logo: crops of the original approved asset (assets/images/hoyva-logo.jpeg), same pixels, original proportions */
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  display: block;
  flex: none;
  max-width: none;
  width: 72px;
  height: 72px;
  margin-left: -8px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
/* original approved logo file, unmodified; -8px offsets the image's own margin so the mark lines up with the content edge */
.foot .brand-logo {
  width: 60px;
  height: 60px;
  margin-left: -6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-left: auto;
}
/* Desktop: logo left, links centred on the page, button right (equal side columns keep the links truly centred) */
@media (min-width: 1061px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-links {
    margin-left: 0;
    justify-content: center;
  }
  .nav-cta {
    justify-self: end;
  }
}
.nav-links a:not(.btn) {
  position: relative;
  font: 500 14px var(--f-ui);
  color: var(--text);
  padding: 8px 2px;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:not(.btn):hover {
  color: var(--bronze);
}
.nav-links a.on {
  color: var(--bronze); /* active section: bronze passes contrast on ivory, light gold would not */
}
.nav-links a:not(.btn):hover::after,
.nav-links a.on::after {
  transform: scaleX(1);
}
.nav-links .nav-cta-m {
  display: none;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.burger i {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.6px;
  background: var(--text);
  transition:
    transform 0.3s,
    top 0.3s;
}
.burger i:first-child {
  top: 18px;
}
.burger i:last-child {
  top: 25px;
}
.burger[aria-expanded='true'] i:first-child {
  top: 21.5px;
  transform: rotate(45deg);
}
.burger[aria-expanded='true'] i:last-child {
  top: 21.5px;
  transform: rotate(-45deg);
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  font: 600 14px var(--f-ui);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s;
  will-change: transform;
}
.btn-gold {
  background: var(--grad-gold);
  color: var(--ink);
  box-shadow: 0 8px 26px -10px rgba(200, 145, 58, 0.7);
}
.btn-gold:hover {
  box-shadow: 0 12px 40px -8px rgba(232, 176, 75, 0.8);
}
.btn-ghost {
  border-color: rgba(28, 31, 34, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(242, 204, 122, 0.25);
}
.btn-lg {
  padding: 15px 28px;
  font-size: 15px;
}
/* Scroll progress bar */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  z-index: 60;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
}
/* Sections */
main {
  position: relative;
  z-index: 3;
}
.lead,
.body,
.sec-sub,
.step p,
.principles p,
.facts dd,
.points li {
  text-shadow: 0 0 12px rgba(250, 250, 248, 0.95);
}
.sec {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 176, 75, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(232, 176, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 176, 75, 0);
  }
}
.h-hero,
.h-sec {
  font-family: var(--f-display);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.h-hero {
  font-size: clamp(40px, 7.2vw, 96px);
  margin-bottom: 26px;
}
.h-hero em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.ln > span {
  display: block;
}
.h-sec {
  font-size: clamp(28px, 4vw, 52px);
  max-width: 20ch;
}
.h-sec.big {
  font-size: clamp(36px, 5.4vw, 72px);
  max-width: 14ch;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--body);
  max-width: 56ch;
  line-height: 1.65;
}
.body {
  max-width: 56ch;
  color: var(--muted);
}
.sec-head {
  max-width: 760px;
}
.sec-sub {
  margin-top: 14px;
  color: var(--muted);
  max-width: 60ch;
}
/* Hero */
.hero {
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(248, 244, 234, 0.92) 0%,
    rgba(248, 244, 234, 0.6) 45%,
    transparent 72%
  );
  pointer-events: none;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-copy {
  max-width: 680px;
}
.hero-copy .lead {
  margin-bottom: 32px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* Cards */
.glass,
.card {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r);
  /* no backdrop blur: the cards are nearly opaque, and blurring what is behind every card makes scrolling heavy */
}
.card {
  position: relative;
  box-shadow: 0 1px 0 rgba(28, 31, 34, 0.03);
  padding: 26px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(232, 176, 75, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(200, 145, 58, 0.6);
  box-shadow: var(--shadow);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  font: 600 20px/1.25 var(--f-display);
  color: var(--text);
  letter-spacing: -0.01em;
}
.card > p {
  color: var(--body);
  font-size: 15px;
}
.card .num {
  position: absolute;
  right: 22px;
  top: 20px;
  font: 500 12px var(--f-mono);
  color: var(--muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}
.tags li {
  font: 500 11.5px var(--f-ui);
  color: var(--bronze);
  border: 1px solid var(--glass-line);
  padding: 4px 10px;
  border-radius: 999px;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}
.svc-cards .card {
  padding: 28px 24px;
  gap: 10px;
}
.svc-cards .card h3 {
  min-height: 2.5em;
  display: flex;
  align-items: flex-end;
}
.svc-cards .card > p {
  flex: 0 0 auto;
  min-height: 4.8em;
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.cards3 .you {
  color: var(--gold-soft);
  font-weight: 500;
}
/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.about-copy .h-sec {
  margin-bottom: 20px;
  max-width: 16ch;
}
.about-copy .lead {
  margin-bottom: 14px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.facts div {
  padding-top: 14px;
  border-top: 1px solid var(--glass-line);
}
.facts dt {
  font: 600 17px var(--f-display);
  color: var(--gold-soft);
}
.facts dd {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 12px var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.mini-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 145, 58, 0.45), transparent);
}
.why3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why3 article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.why3 article:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 36px -26px rgba(122, 74, 20, 0.5);
}
.why-ic {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-gold);
  color: #1c1f22;
  box-shadow: 0 8px 16px -10px rgba(122, 74, 20, 0.6);
}
.why-ic .ic {
  width: 20px;
  height: 20px;
}
.why3 b {
  font: 600 17px var(--f-display);
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
.why3 p {
  font-size: 14.5px;
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.langs i {
  font-style: normal;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  color: var(--gold-soft);
}
/* How */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.step {
  position: relative;
  padding-top: 34px;
}
.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(232, 176, 75, 0.12);
}
.sn {
  font: 500 12px var(--f-mono);
  color: var(--muted);
}
.step h3 {
  font: 600 clamp(22px, 2.2vw, 28px) var(--f-display);
  color: var(--text);
  margin: 6px 0;
}
.step p {
  color: var(--body);
  max-width: 24ch;
}
.track {
  position: absolute;
  left: 7px;
  right: 0;
  top: 6px;
  height: 2px;
  background: var(--line);
}
.track i {
  display: block;
  height: 100%;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
}
/* Our Work: tabbed device showcase */
/* phones */
.addr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin: 4px 2px 10px;
  color: #464b50;
}
.addr .ic {
  color: var(--gold);
}
/* dashboard */
/* AI interface */
.tb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1c1f22;
  color: #fff;
  font-size: 12px;
}
.tb i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5b6168;
}
.tb span {
  margin-left: 10px;
}
.tb em {
  margin-left: auto;
  color: var(--gold-light);
  font-size: 11px;
}
.inp {
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  color: #8a8f94;
  font-size: 12.5px;
}
.ok {
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 99px;
  background: #e3f5ec;
  color: #1e8e5a;
  font-size: 11.5px;
  font-weight: 600;
  justify-self: start;
}
/* Contact */
.contact {
  padding-bottom: 0;
  justify-content: space-between;
  gap: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.contact-info .h-sec {
  margin-bottom: 20px;
}
.contact-direct {
  margin-top: 26px;
  display: grid;
  gap: 4px;
}
.contact-direct li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-direct .ic {
  width: 20px;
  height: 20px;
  color: var(--text);
}
.contact-direct a {
  color: var(--gold-soft);
  font-weight: 400;
  padding: 9px 0;
  overflow-wrap: anywhere;
}
.contact-direct a:hover {
  text-decoration: underline;
}
.form {
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 16px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.f {
  display: grid;
  gap: 6px;
  position: relative;
}
.f > span,
.need legend {
  font: 500 12.5px var(--f-ui);
  color: var(--body);
}
.f b {
  color: var(--gold);
}
.f small,
.need small {
  color: var(--muted);
  font-weight: 400;
}
input[type='text'],
input:not([type]),
input[type='email'],
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  transition:
    border-color 0.2s,
    background 0.2s;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #6b6f73;
  opacity: 1;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 145, 58, 0.2);
}
.f.bad input,
.f.bad textarea {
  border-color: var(--error);
}
.err {
  display: none;
  font-style: normal;
  font-size: 12.5px;
  color: var(--error);
}
.f.bad .err {
  display: block;
}
.need {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.need legend {
  padding: 0;
  margin-bottom: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  cursor: pointer;
}
.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chips span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.2s;
}
.chips label:hover span {
  border-color: var(--gold-soft);
}
.chips input:checked + span {
  background: var(--grad-gold);
  color: var(--ink);
  border-color: transparent;
  font-weight: 600;
}
.chips input:focus-visible + span {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}
.status {
  font-size: 13.5px;
  color: var(--gold-soft);
  min-height: 1.2em;
}
.status.warn {
  color: var(--error);
}
.status.ok {
  color: var(--ink);
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile:empty {
  display: none;
}
#send-btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  justify-content: space-between;
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  background: #fefefe;
}
.foot p {
  font-size: 13.5px;
  color: var(--muted);
}
#about {
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 80px;
  gap: 80px;
}
#about .mini-head {
  margin-bottom: 20px;
}
#about .facts {
  margin-top: 32px;
}
/* Responsive */
@media (max-width: 1180px) {
  .svc-cards .card h3,
  .svc-cards .card > p {
    min-height: 0;
  }
}
@media (max-width: 1060px) {
  .burger {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s,
      visibility 0.3s;
    z-index: 1;
  }
  .brand,
  .burger {
    position: relative;
    z-index: 2;
  }
  /* .brand is its own layer here, so the blend that hides the logo's white background must be set on it */
  .brand {
    mix-blend-mode: multiply;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-links a:not(.btn) {
    font: 600 26px var(--f-display);
    padding: 10px;
    color: var(--text);
  }
  .nav-links .nav-cta-m {
    display: inline-flex;
    margin-top: 16px;
  }
  .burger {
    z-index: 2;
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  .sec {
    min-height: 0;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
  }
  .hero {
    min-height: 100svh;
  }
  #about {
    padding-top: calc(var(--nav-h) + 56px);
  }
  .svc-cards {
    grid-template-columns: 1fr;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-side {
    display: none;
  }
  .cards3,
  .why3,
  .principles {
    grid-template-columns: 1fr;
  }
  .why3 article {
    padding: 18px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .track {
    display: none;
  }
  .facts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .svc-cards,
  .two {
    grid-template-columns: 1fr;
  }
  .svc-cards .card h3,
  .svc-cards .card > p {
    min-height: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .btn-row .btn {
    flex: 1 1 100%;
  }
  .h-sec {
    max-width: none;
  }
}
@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
/* Desktop spacing refinements (mobile layout untouched) */
@media (min-width: 901px) {
  #about {
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 64px;
    gap: 56px;
  }
  #about .about-copy .h-sec {
    margin-bottom: 16px;
  }
  #about .about-copy .lead {
    margin-bottom: 10px;
    line-height: 1.55;
  }
  #about .about-copy .body {
    line-height: 1.55;
  }
  #about .facts {
    margin-top: 22px;
    gap: 18px;
  }
  #about .mini-head {
    margin-bottom: 14px;
  }
  #about .why3 {
    gap: 16px;
  }
  #about .why3 article {
    padding: 18px 22px;
  }
}
@media (min-width: 901px) and (max-height: 800px) {
  .sec {
    padding-top: var(--nav-h);
  }
  #about {
    padding-top: calc(var(--nav-h) + 12px);
    padding-bottom: 40px;
    gap: 36px;
  }
  #about .about-copy .h-sec {
    font-size: clamp(28px, 3.4vw, 44px);
  }
}
/* Short laptop screens: keep What We Build within about one screen */
@media (min-width: 901px) and (max-height: 800px) {
  #build .svc-cards {
    margin-top: 22px;
  }
  #build .svc-cards .card {
    padding: 20px 20px 18px;
    gap: 8px;
  }
  #build .svc-cards .card > p {
    min-height: 0;
  }
  #build .h-sec {
    font-size: clamp(26px, 3vw, 40px);
  }
}
/* Footer: brand + Services / Explore / Connect columns */
.foot {
  display: block;
  padding: 40px 0 0;
}
.foot-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px 40px;
}
.foot-brand .brand-logo {
  width: 72px;
  height: 72px;
  margin-left: -8px;
}
.foot-tag {
  margin: 6px 0 8px;
  font: 600 15px var(--f-display);
  color: var(--text);
}
.foot-desc {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.6;
}
.foot-col h3 {
  margin: 6px 0 12px;
  font: 500 12px var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.foot-col ul {
  display: grid;
  gap: 2px;
}
.foot-col a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--body);
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 16px var(--pad);
}
.foot-bottom p {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}
.foot-bottom {
  padding: 16px 0;
}
.foot-bottom p {
  padding: 0 var(--pad);
}
/* Short laptop screens with the wider layout: keep the What We Can Create stage within one screen */
/* 3D cubes (WebGL): one fixed canvas behind the page, created only on desktop; content sits above */
#hero3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
/* What We Build cards are revealed where the cubes land (desktop, only while the 3D canvas runs). Cards are never removed: opacity follows scroll via --cc, and the class is dropped if WebGL fails. */
body.cubes-cards .cc-el {
  opacity: var(--cc, 0) !important;
  transition-property: transform, border-color, box-shadow !important;
}
/* a card's content appears after its surface so text never sits on top of the cubes */
body.cubes-cards .cc-el > *:not(.cc-pt) {
  opacity: calc(var(--cc, 0) * 2.4 - 1.4) !important;
}
/* Footer: clean ivory body (matches the logo plate) with a gold hairline on top and a charcoal base bar */
.foot {
  position: relative;
  background: #fefefe;
  border-top: 0;
  padding-top: 52px;
}
.foot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #f2cc7a, #c8913a 45%, #7a4a14);
}
.foot-tag {
  color: #1c1f22;
}
.foot-col h3 {
  color: #7a4a14;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #eadfc6;
}
.foot-col a {
  color: #464b50;
}
.foot-col a:hover {
  color: #7a4a14;
  text-decoration-color: #c8913a;
}
.foot-bottom {
  background: #1c1f22;
  border-top: 0;
  padding: 18px 0;
}
.foot-bottom p {
  color: #aeb3ba;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
/* Warmth: the page is no longer flat white. Soft gold glows and sand bands sit behind the sections (kept light). */
.svc-cards .card .num {
  display: none;
}
#build {
  background: radial-gradient(60% 45% at 92% 8%, rgba(242, 204, 122, 0.28), transparent 70%),
    radial-gradient(50% 40% at 4% 96%, rgba(200, 145, 58, 0.12), transparent 70%);
}
#about {
  background: linear-gradient(
    180deg,
    rgba(236, 224, 196, 0),
    rgba(236, 224, 196, 0.55) 30%,
    rgba(236, 224, 196, 0.55) 72%,
    rgba(236, 224, 196, 0)
  );
}
#who {
  background: radial-gradient(55% 45% at 6% 12%, rgba(242, 204, 122, 0.26), transparent 70%),
    radial-gradient(50% 40% at 96% 90%, rgba(122, 74, 20, 0.08), transparent 70%);
}
#how {
  background: linear-gradient(
    180deg,
    rgba(236, 224, 196, 0),
    rgba(236, 224, 196, 0.5) 30%,
    rgba(236, 224, 196, 0.5) 75%,
    rgba(236, 224, 196, 0)
  );
}
#contact {
  background: radial-gradient(60% 50% at 88% 40%, rgba(242, 204, 122, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(236, 224, 196, 0) 50%, rgba(236, 224, 196, 0.7));
}
/* Why Teams Pick Hoyva: a full-width charcoal band of its own (white text, gold accents) */
#why {
  position: relative;
  margin-top: 24px; /* clear breathing room between the About content and the band */
  padding: 60px var(--pad) 64px;
  background: #1c1f22;
  box-shadow: 0 0 0 100vmax #1c1f22; /* paints the band edge to edge of the screen */
  clip-path: inset(0 -100vmax);
  scroll-margin-top: 52px;
}
#about {
  padding-bottom: 28px; /* less room under the band; the next section brings its own top space */
  overflow-x: clip; /* the band's full-width glow must never create sideways scrolling */
}
#why .mini-head {
  color: var(--gold-light);
}
#why .mini-head::after {
  background: linear-gradient(90deg, rgba(242, 204, 122, 0.55), transparent);
}
#why .why3 article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 204, 122, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#why .why3 article:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-light);
  box-shadow: 0 22px 38px -26px rgba(0, 0, 0, 0.7);
}
#why .why3 b {
  color: #fff;
}
#why .why3 p {
  color: rgba(255, 255, 255, 0.78);
}
/* Cursor and 3D moments in the band (mouse only): a gold light follows the pointer across the band, gold dots drift
   behind the cards, and each card tilts in 3D with its icon and text lifted off the surface. */
#why::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vmax;
  right: -100vmax;
  pointer-events: none;
  opacity: var(--bg, 0);
  transition: opacity 0.4s;
  background: radial-gradient(
    380px circle at var(--bx, 50%) var(--by, 50%),
    rgba(242, 204, 122, 0.17),
    transparent 65%
  );
}
#why .pv-dots {
  z-index: 0;
}
#why .mini-head,
#why .why3 {
  position: relative;
  z-index: 1;
}
#why .why3 article {
  position: relative;
  transform-style: preserve-3d;
}
#why .why3 article::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(242, 204, 122, 0.2),
    transparent 70%
  );
}
#why .why3 article:hover::before {
  opacity: 1;
}
#why .why-ic {
  transform: translateZ(34px);
}
#why .why3 article > div {
  transform: translateZ(18px);
}
@media (max-width: 900px) {
  #why {
    padding: 44px var(--pad) 48px;
  }
}
/* Who We Build For starts right under the band (below the navigation bar) instead of floating in the middle of the screen */
@media (min-width: 901px) {
  #who {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 24px);
  }
}
