/* ==========================================================================
   Home Living — demo trang chủ
   Tokens: DESIGN.md §4 · Motion: §9 · Hướng: editorial / dark-dominant
   ========================================================================== */

:root {
  --teal: #145c5a;
  --teal-deep: #0d3f3e;
  --teal-dark: #0a3332;
  --teal-mid: #1c726f;
  --aqua: #00a79e;
  --gold: #d4a982;
  --gold-dark: #a47b5d;
  --gold-light: #f2ddba;
  --gold-pale: #f3caa1;
  --gold-grad: linear-gradient(135deg, #f3caa1 0%, #f2ddba 15%, #d4a982 39%, #a47b5d 63%, #d4a982 100%);
  --brand-grad: linear-gradient(160deg, #f9e2ad 0%, #accfa8 21%, #6fc1a4 40%, #3fb5a1 58%, #1cad9f 73%, #00a79e 100%);
  --cream: #F7F4EF;
  --surface: #EFECEA;
  --ink: #0d3f3e;
  --ink-deep: #145c5a;
  --muted: #4d6e6c;
  --border: #c5d4d3;

  --on-dark: rgba(247, 244, 239, .62);
  --line-dark: rgba(247, 244, 239, .16);

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --hdr: 88px;

  --font: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
body.is-loading .header,
body.is-loading .hero__body,
body.is-loading .hero__pager { visibility: hidden; }
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --------------------------------------------------------- Type primitives */
/* line-height thoáng hơn mức "display" thường gặp: chữ hoa VI có dấu trên + dưới */
.display {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display--hero { font-size: clamp(1.85rem, 4.6vw, 4.5rem); line-height: 1.25; font-weight: 500; }
.display--md { font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.28; }
.display em {
  font-style: normal;
  color: #e0b892;
}

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1.4;
}
.eyebrow--gold { color: var(--gold); }

.link-u {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--gold);
  transition: color .25s var(--ease);
}
.link-u:hover { color: var(--gold); }

.btn {
  position: relative; display: inline-flex; align-items: center;
  height: 56px; padding-inline: 2.25rem;
  border: 1px solid var(--gold);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  line-height: 1.55;
  overflow: hidden;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; transition: color .35s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold-grad);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover span { color: var(--teal-deep); }

/* ---------------------------------------------------------------- Loader */
.loader { position: fixed; inset: 0; z-index: 200; }
.loader__panel { position: absolute; left: 0; width: 100%; height: 50.2%; background: var(--teal); }
.loader__panel--t { top: 0; }
.loader__panel--b { bottom: 0; }
.loader__body {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.loader__logo { width: clamp(110px, 16vw, 168px); }
.loader__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(1.75rem, 5vw, 3rem);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.loader__meta {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1.4;
}
.loader__count {
  font-size: clamp(2rem, 6vw, 4rem); line-height: 1.15;
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.loader__bar { width: min(320px, 60vw); height: 1px; background: var(--line-dark); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); }
.loader.is-done { pointer-events: none; }

/* ------------------------------------------------------- Chrome / overlays */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold-grad); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px;
  background: var(--cream);
  border-radius: 50%;
}
.cursor__ring {
  position: absolute; width: 84px; height: 84px; margin: -42px;
  border: 1px solid rgba(247, 244, 239, .8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0);
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream);
}
.cursor__ring span { opacity: 0; }

/* ---------------------------------------------------------------- Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--hdr);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding-inline: var(--pad);
  transition: height .35s var(--ease), background-color .35s var(--ease);
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(13, 63, 62, .92);
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.header.is-stuck { height: 68px; }
.header.is-stuck::after { opacity: 1; }

.brand { margin-right: auto; }
.brand img { height: 56px; width: auto; transition: height .35s var(--ease); }
.header.is-stuck .brand img { height: 44px; }

.nav { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.nav__a {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247, 244, 239, .7);
  line-height: 1.45;
  padding-block: .15em;
  transition: color .3s var(--ease);
}
.nav__a.is-active, .nav__a:hover { color: var(--gold); }

.header__end { display: flex; align-items: center; gap: 1.25rem; }
.lang { display: flex; align-items: center; gap: .35rem; font-size: .6875rem; letter-spacing: .2em; }
.lang button { opacity: .45; }
.lang button.is-active { opacity: 1; color: var(--gold); }
.lang s { opacity: .25; text-decoration: none; }

.cta-line {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 42px; padding-inline: 1.25rem;
  border: 1px solid var(--line-dark);
  font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase;
  will-change: transform;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.cta-line i {
  width: 18px; height: 1px; background: currentColor;
  transition: width .3s var(--ease);
}
.cta-line:hover { border-color: var(--gold); color: var(--gold); }
.cta-line:hover i { width: 28px; }

.burger { display: none; width: 30px; height: 14px; position: relative; }
.burger i { position: absolute; left: 0; width: 100%; height: 1px; background: var(--cream); transition: transform .3s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { bottom: 0; }
.burger.is-on i:first-child { transform: translateY(6px) rotate(45deg); }
.burger.is-on i:last-child { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--teal-deep);
  display: flex; align-items: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu__list { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.menu__list a {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: clamp(1.75rem, 9vw, 3rem);
  line-height: 1.35;
  font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em;
  padding-block: .5rem;
}

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--hdr) + clamp(1.25rem, 3.5vw, 2.75rem)) var(--pad) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; clip-path: inset(100% 0 0 0); }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
}
.hero__slide.is-on { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.08) saturate(1.04);
}
.hero__veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 20, 20, .72) 0%, rgba(6, 20, 20, .22) 44%, rgba(6, 18, 18, .82) 100%);
}
.hero__veil::after {
  content: ""; position: absolute; inset: 0;
  background: #0a3332;
  opacity: .38;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__wave {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(56vw, 680px);
  pointer-events: none;
  z-index: 3;
}
.hero__wave img {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(-1);
  transform-origin: center center;
  opacity: .55;
}

.hero__body {
  position: relative; z-index: 2;
  max-width: var(--max); width: 100%; margin-inline: auto;
  flex: 1;
  display: flex; flex-direction: column;
}
#heroTitle {
  margin-block: auto;
  text-align: center;
}

/*
  Dấu VI nằm ngoài em-box. Padding nằm trên .ln (mask) để dấu
  ở trong hộp — không overflow:hidden (cắt dấu) và không inset âm
  (hai dòng sơn đè nhau).
*/
.ln {
  display: block;
  overflow: visible;
  clip-path: inset(0);
  padding-top: .4em;
  padding-bottom: .08em;
}
.ln > i {
  display: block;
  font-style: normal;
  line-height: 1.08;
}

.hero__foot {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 1.5rem;
  max-width: 46ch;
}
.hero__copy { max-width: none; }
.hero__kicker {
  margin: 0 0 .75rem;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}
.hero__desc { margin: 0; color: var(--on-dark); font-size: .9375rem; line-height: 1.7; }

.hero__pager {
  position: relative; z-index: 2;
  display: flex; gap: .5rem;
  max-width: var(--max); width: 100%; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
}
.hero__pager button {
  width: 36px; height: 2px;
  background: rgba(247, 244, 239, .28);
  padding: 0;
  transition: background-color .4s var(--ease), width .4s var(--ease);
}
.hero__pager button.is-on { width: 64px; background: var(--gold); }

/* -------------------------------------------------------------- Manifesto */
.manifesto { position: relative; background: var(--ink-deep); overflow: hidden; }
.brand-pattern {
  position: absolute; inset: 0;
  background: url("../assets/brand/pattern.svg") right 8% center / min(78vw, 820px) auto no-repeat;
  opacity: .14;
  pointer-events: none;
}
.brand-pattern--ink { opacity: .1; }
.manifesto__pin {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.manifesto__text {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1.5rem, 3.6vw, 3.05rem);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 30ch;
}
.manifesto__text .w { color: rgba(247, 244, 239, .16); transition: none; }

.facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 0 clamp(4rem, 10vw, 7rem);
  gap: 1.5rem;
}
.fact { display: flex; flex-direction: column; gap: .5rem; }
.fact__n {
  font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.25;
  font-weight: 600; letter-spacing: -0.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.fact em {
  font-style: normal; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark);
  max-width: 18ch;
}

/* --------------------------------------------------------------- Services */
.services {
  position: relative;
  background: var(--cream); color: var(--ink);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.services__grid {
  display: grid; grid-template-columns: 4fr 7fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.services__aside { position: sticky; top: calc(var(--hdr) + 2rem); align-self: start; }
.services__aside .eyebrow { color: var(--muted); }
.services__aside .eyebrow span { border-color: var(--border); }
.services__aside .display { margin-top: 1.5rem; color: var(--ink); }
.services__idx {
  display: flex; align-items: baseline; gap: .3rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  font-size: .875rem; letter-spacing: .16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.services__idx span { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--teal); letter-spacing: -0.02em; }
.services__idx s { text-decoration: none; opacity: .4; }

.svc {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--border);
  transition: opacity .4s var(--ease);
}
.svc:last-child { border-bottom: 1px solid var(--border); }
.svc__head { display: contents; }
.svc__n {
  font-size: .75rem; letter-spacing: .2em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  padding-top: .4rem;
}
.svc h3 {
  grid-column: 2;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.3; font-weight: 600; letter-spacing: -0.01em;
  max-width: 26ch;
}
.svc ul { grid-column: 2; margin-top: 1.25rem; display: flex; flex-direction: column; gap: .55rem; }
.svc li {
  position: relative; padding-left: 1.5rem;
  font-size: .9375rem; color: var(--muted);
}
.svc li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 10px; height: 1px; background: var(--teal);
}

.follow {
  position: fixed; top: 0; left: 0; z-index: 30;
  width: clamp(200px, 22vw, 320px); aspect-ratio: 4 / 5;
  margin: calc(-1 * clamp(200px, 22vw, 320px) * .625) calc(-1 * clamp(200px, 22vw, 320px) / 2);
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}
.follow img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }

/* ------------------------------------------------------ Projects (rail) */
.rail { background: var(--teal-deep); }
.rail__pin {
  height: 100dvh;
  max-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--hdr) + .5rem);
  padding-bottom: 1rem;
  overflow: hidden;
  box-sizing: border-box;
}
.rail__head {
  flex-shrink: 0;
  padding-bottom: clamp(.75rem, 2vh, 1.5rem);
}
.rail__head .display {
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  color: var(--cream);
}

.rail__track {
  display: flex; align-items: stretch;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-inline: var(--pad);
  width: max-content;
  flex: 0 1 auto;
  min-height: 0;
  will-change: transform;
}
.prj {
  width: clamp(240px, 28vw, 360px); flex-shrink: 0;
  display: flex; flex-direction: column;
}
.prj__media {
  position: relative; overflow: hidden;
  flex: none;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: min(46vh, 500px);
  background: var(--teal-deep);
}
.prj__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  filter: grayscale(.4);
  transition: filter .5s var(--ease);
}
.prj:hover .prj__media img { filter: grayscale(0); }
.prj__meta { flex-shrink: 0; padding-top: .6rem; margin-top: 0; }
.prj__st { font-size: .625rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); line-height: 1.4; }
.prj__meta h3 {
  margin-top: .35rem;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.3;
}
.prj__meta p { margin-top: .3rem; font-size: .8125rem; color: var(--on-dark); line-height: 1.45; }

.prj--all { width: clamp(220px, 24vw, 320px); }
.prj__all {
  display: flex; flex-direction: column; justify-content: space-between;
  flex: 1;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-dark);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 600; text-transform: uppercase; line-height: 1.3;
  will-change: transform;
  transition: border-color .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.prj__all i { width: 44px; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
.prj__all:hover { background: var(--gold-grad); color: var(--teal-deep); border-color: var(--gold); }
.prj__all:hover i { width: 90px; background: var(--teal-deep); }

.rail__bar {
  flex-shrink: 0;
  height: 1px; background: var(--line-dark);
  margin: clamp(.75rem, 2vh, 1.5rem) var(--pad) 0;
}
.rail__bar i { display: block; height: 1px; width: 0; background: var(--gold-grad); }

/* --------------------------------------------------------------- Partners */
.partners {
  position: relative;
  background: var(--surface); color: var(--ink);
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.partners__head, .mq, .tabs { position: relative; z-index: 1; }
.partners__head .eyebrow { color: var(--muted); }
.partners__head .display { margin-top: 1.5rem; color: var(--ink); }
.tabs { display: flex; gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(2rem, 5vw, 3rem); }
.tabs button {
  padding: 0 0 .9rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent; margin-bottom: -1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.tabs button.is-active { color: var(--ink); border-color: var(--teal); }

.mq { margin-top: clamp(2rem, 5vw, 3rem); overflow: hidden; }
.mq__in { display: flex; width: max-content; gap: 0; will-change: transform; }
.mq__in span {
  display: flex; align-items: center; justify-content: center;
  min-width: clamp(180px, 18vw, 240px); height: clamp(72px, 8vw, 104px);
}
.mq__in img {
  height: 36px; width: auto;
  opacity: .55;
  filter: grayscale(1);
}

/* ---------------------------------------------------------------- News */
.news {
  background: var(--cream); color: var(--ink);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.news__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.news__head .eyebrow { color: var(--muted); }
.news__head .display { margin-top: 1.25rem; color: var(--ink); }
.news__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.ncard { display: block; }
.ncard__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.ncard__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25);
  transition: filter .45s var(--ease);
}
.ncard:hover .ncard__media img { filter: grayscale(0); }
.ncard h3 {
  margin-top: 1.1rem;
  font-size: 1rem; font-weight: 600; line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.btn--ink {
  border-color: var(--teal);
  color: var(--teal);
}
.btn--ink:hover span { color: var(--cream); }
.btn--ink::before { background: var(--teal); }

/* ---------------------------------------------------------------- Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.contact__wave {
  position: absolute;
  left: -8%;
  top: 0;
  width: min(42vw, 420px);
  opacity: .22;
  pointer-events: none;
  mix-blend-mode: screen;
}
.contact__in {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.contact__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500; max-width: 28ch;
  line-height: 1.45;
  color: var(--cream);
}

/* ----------------------------------------------------------------- Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.footer__wave {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(48vw, 460px);
  opacity: .28;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: scaleX(-1);
}
.footer__in {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.footer__brand img { height: 40px; width: auto; }
.footer__nav {
  display: flex; flex-wrap: wrap; gap: .25rem 1.35rem;
  padding-top: .2rem;
}
.footer__nav a {
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247, 244, 239, .7);
  line-height: 1.45;
}
.footer__nav a:hover { color: var(--gold); }
.footer__cols {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.footer__cols h4 {
  margin: 0 0 .45rem;
  font-size: .625rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}
.footer__cols p, .footer__cols a {
  display: block;
  margin: 0;
  font-size: .8125rem;
  color: rgba(247, 244, 239, .78);
  line-height: 1.55;
}
.footer__cols a:hover { color: var(--gold); }
.footer__copy {
  position: relative; z-index: 1;
  padding: .75rem var(--pad);
  text-align: center;
}
.footer__copy p {
  margin: 0;
  font-size: .625rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247, 244, 239, .4);
}

/* ------------------------------------------------------------- Reveal init */
.rv { opacity: 0; }
.no-motion .rv,
.no-motion .ln > i { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__aside { position: static; }
  .follow { display: none; }
}

@media (max-width: 900px) {
  .nav, .cta-line { display: none; }
  .burger { display: block; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .contact__in { flex-direction: column; align-items: flex-start; }
  .rail__pin {
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .rail__track { flex: none; min-height: 0; }
  .prj { width: min(78vw, 320px); height: auto; }
  .prj__media {
    flex: none;
    aspect-ratio: 4 / 5;
    max-height: min(48vh, 380px);
  }
}

@media (max-height: 900px) and (min-width: 901px) {
  .prj__media { max-height: min(40vh, 380px); }
}

@media (max-height: 619px) {
  .rail__pin {
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 1.25rem;
  }
  .rail__track { flex: none; }
  .prj { width: min(70vw, 340px); height: auto; }
  .prj__media {
    flex: none;
    aspect-ratio: 4 / 5;
    max-height: min(52vh, 300px);
  }
}

@media (max-width: 640px) {
  :root { --hdr: 68px; }
  .hero__desc { color: rgba(247, 244, 239, .8); }
  .svc { grid-template-columns: 1fr; }
  .svc h3, .svc ul { grid-column: 1; }
  .facts { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rv, .ln > i { opacity: 1 !important; transform: none !important; }
}

@media (hover: none) {
  .cursor { display: none; }
}
