:root {
  --forest: #10291f;
  --forest-deep: #071a13;
  --forest-soft: #1a3a2b;
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --gold: #e0a458;
  --gold-light: #f1c47f;
  --line: rgba(255, 255, 255, 0.18);
  --display: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--forest-deep);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.project-selector {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(57, 107, 75, 0.34), transparent 28rem),
    linear-gradient(145deg, #163427 0%, var(--forest) 45%, #091c15 100%);
}

.project-selector::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 74px 74px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.site-header,
.intro,
.project-grid,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  padding: 14px 0 4px;
}

.parent-brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms ease;
}

.parent-brand:hover {
  opacity: 0.78;
}

.parent-brand img {
  display: block;
  width: 138px;
  height: auto;
}

.header-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro {
  padding: clamp(44px, 7vh, 82px) 0 clamp(32px, 5vh, 52px);
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5.3vw, 5.1rem);
  font-weight: 700;
  line-height: 0.98;
}

h1 em {
  color: var(--gold);
  font-family: var(--display);
  font-weight: 600;
}

.intro-copy {
  max-width: 590px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 350px;
  padding-bottom: 24px;
}

.project-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --card-image: none;
  --card-image-position: center;
  position: relative;
  display: flex;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  isolation: isolate;
  outline: none;
  transition:
    transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 300ms ease,
    box-shadow 420ms ease;
}

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

.project-card::before {
  inset: 0;
  z-index: -3;
  background-image: var(--card-image);
  background-position: var(--card-image-position);
  background-size: cover;
  opacity: 0.58;
  transform: scale(1.015);
  transition:
    opacity 500ms ease,
    transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card::after {
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 29, 20, 0.96) 0%, rgba(9, 35, 25, 0.74) 48%, rgba(5, 24, 17, 0.3) 100%),
    linear-gradient(0deg, rgba(4, 19, 14, 0.72) 0%, transparent 60%);
}

.project-card--kaaviya {
  --card-image: url("assets/kaaviyaarch.webp");
  --card-image-position: center;
  background: #143f2c;
}

.project-card--supreme {
  --card-image: url("assets/supremearch.webp");
  --card-image-position: center;
  background: #1b302b;
}

.card-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle 260px at var(--pointer-x) var(--pointer-y),
    rgba(224, 164, 88, 0.19),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 300ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 2;
  border-color: rgba(241, 196, 127, 0.7);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(-8px);
}

.project-card:hover .card-glow,
.project-card:focus-visible .card-glow {
  opacity: 1;
}

.project-card:hover::before,
.project-card:focus-visible::before {
  opacity: 0.72;
  transform: scale(1.055);
}

.card-number,
.card-location {
  position: absolute;
  top: 25px;
  z-index: 2;
}

.card-number {
  left: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--display);
  font-size: 0.78rem;
  font-style: italic;
}

.card-location {
  right: 28px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 65px clamp(30px, 5vw, 72px) 82px;
}

.project-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
}

.project-logo--kaaviya {
  width: clamp(88px, 9vw, 126px);
}

.project-logo--supreme {
  width: clamp(230px, 28vw, 400px);
}

.project-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.project-card--kaaviya .project-name {
  position: static;
  width: auto;
  height: auto;
  margin-top: 14px;
  overflow: visible;
  clip: auto;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: normal;
}

.project-caption {
  max-width: 340px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  letter-spacing: 0.04em;
}

.project-card--kaaviya .project-caption {
  margin-top: 10px;
}

.card-action {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.arrow {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-deep);
  place-items: center;
  transition: transform 260ms ease, background-color 260ms ease;
}

.arrow svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.project-card:hover .arrow,
.project-card:focus-visible .arrow {
  background: var(--gold-light);
  transform: translateX(4px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 17px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-company {
  justify-self: start;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 430px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.45;
  text-decoration: none;
  text-transform: none;
  transition: color 220ms ease;
}

.footer-address svg {
  flex: 0 0 auto;
  width: 15px;
  margin-top: 1px;
  fill: none;
  stroke: var(--gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-address:hover,
.footer-address:focus-visible {
  color: var(--paper);
  outline: none;
}

.footer-credit,
.faq-btn-call {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  text-decoration: none;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.footer-credit {
  justify-self: center;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
}

.footer-credit span {
  margin-left: 0.35em;
  color: var(--gold-light);
  font-weight: 800;
}

.faq-btn-call {
  justify-self: end;
  gap: 7px;
  padding: 0 13px;
  border-color: rgba(224, 164, 88, 0.35);
  background: rgba(224, 164, 88, 0.09);
  color: rgba(255, 255, 255, 0.74);
}

.faq-btn-call svg {
  width: 14px;
  fill: none;
  stroke: var(--gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.faq-btn-call strong {
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0.09em;
}

.footer-credit:hover,
.footer-credit:focus-visible,
.faq-btn-call:hover,
.faq-btn-call:focus-visible {
  border-color: rgba(241, 196, 127, 0.72);
  background: rgba(224, 164, 88, 0.14);
  color: var(--paper);
  outline: none;
  transform: translateY(-1px);
}

body:not(.is-ready) .site-header,
body:not(.is-ready) .intro,
body:not(.is-ready) .project-card,
body:not(.is-ready) .site-footer {
  opacity: 0;
  transform: translateY(14px);
}

.is-ready .site-header,
.is-ready .intro,
.is-ready .project-card,
.is-ready .site-footer {
  opacity: 1;
  transition: opacity 700ms ease, transform 700ms ease;
}

.is-ready .intro {
  transition-delay: 80ms;
}

.is-ready .project-card:first-child {
  transition-delay: 160ms;
}

.is-ready .project-card:last-child {
  transition-delay: 240ms;
}

.is-ready .site-footer {
  transition-delay: 320ms;
}

@media (min-width: 761px) and (max-height: 850px) {
  .project-selector {
    min-height: 100svh;
  }

  .site-header {
    min-height: 94px;
  }

  .parent-brand img {
    width: 116px;
  }

  .header-note {
    font-size: 0.6rem;
  }

  .intro {
    padding: 22px 0 18px;
  }

  .eyebrow {
    gap: 13px;
    margin-bottom: 10px;
    font-size: 0.64rem;
  }

  .eyebrow span {
    width: 23px;
  }

  h1 {
    font-size: clamp(2.7rem, 4.35vw, 3.9rem);
    line-height: 0.94;
  }

  .intro-copy {
    margin-top: 12px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .project-grid {
    gap: 14px;
    min-height: 300px;
    padding-bottom: 12px;
  }

  .project-card {
    min-height: 300px;
  }

  .card-number,
  .card-location {
    top: 17px;
  }

  .card-number {
    left: 22px;
  }

  .card-location {
    right: 22px;
    padding: 6px 10px;
    font-size: 0.56rem;
  }

  .card-body {
    padding: 49px clamp(28px, 4vw, 56px) 65px;
  }

  .project-logo--kaaviya {
    width: clamp(78px, 7vw, 98px);
  }

  .project-logo--supreme {
    width: clamp(210px, 24vw, 340px);
  }

  .project-card--kaaviya .project-name {
    margin-top: 9px;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  }

  .project-caption,
  .project-card--kaaviya .project-caption {
    margin-top: 8px;
    font-size: 0.7rem;
  }

  .card-action {
    right: 22px;
    bottom: 15px;
    left: 22px;
    padding-top: 11px;
    font-size: 0.62rem;
  }

  .arrow {
    width: 29px;
    height: 29px;
  }

  .arrow svg {
    width: 14px;
  }

  .site-footer {
    padding: 8px 0 11px;
    font-size: 0.62rem;
  }

  .footer-credit,
  .faq-btn-call {
    min-height: 27px;
    padding-inline: 10px;
  }

  .faq-btn-call svg {
    width: 12px;
  }
}

@media (min-width: 1100px) {
  .site-header,
  .intro,
  .site-footer {
    width: 80vw;
  }

  .site-header {
    min-height: clamp(94px, 7vw, 135px);
  }

  .parent-brand img {
    width: clamp(116px, 8vw, 154px);
  }

  .header-note {
    font-size: clamp(0.6rem, 0.7vw, 0.82rem);
  }

  .intro {
    padding: 1.2vw 0 0.9vw;
  }

  .eyebrow {
    gap: 0.9vw;
    margin-bottom: 0.7vw;
    font-size: clamp(0.62rem, 0.68vw, 0.8rem);
  }

  .eyebrow span {
    width: 1.6vw;
  }

  h1 {
    font-size: clamp(3.4rem, 4vw, 5rem);
  }

  .intro-copy {
    margin-top: 0.85vw;
    font-size: clamp(0.82rem, 0.9vw, 1.05rem);
    line-height: 1.5;
  }

  .project-grid {
    align-items: center;
    width: max(720px, 54vw);
    gap: 1vw;
    min-height: 0;
    padding-bottom: 0.8vw;
  }

  .project-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.25 / 1;
  }

  .card-number,
  .card-location {
    top: 1.15vw;
  }

  .card-number {
    left: 1.45vw;
  }

  .card-location {
    right: 1.45vw;
    padding: 0.4vw 0.65vw;
    font-size: clamp(0.55rem, 0.54vw, 0.66rem);
  }

  .card-body {
    padding: clamp(42px, 3.2vw, 66px) clamp(30px, 3.6vw, 70px)
      clamp(58px, 4.3vw, 86px);
  }

  .project-logo--kaaviya {
    width: clamp(90px, 7vw, 140px);
  }

  .project-logo--supreme {
    width: clamp(250px, 20vw, 390px);
  }

  .project-card--kaaviya .project-name {
    margin-top: 0.65vw;
    font-size: clamp(1.35rem, 1.6vw, 2rem);
  }

  .project-caption,
  .project-card--kaaviya .project-caption {
    margin-top: 0.55vw;
    font-size: clamp(0.7rem, 0.72vw, 0.88rem);
  }

  .card-action {
    right: 1.45vw;
    bottom: 1vw;
    left: 1.45vw;
    padding-top: 0.75vw;
    font-size: clamp(0.62rem, 0.64vw, 0.76rem);
  }

  .arrow {
    width: clamp(29px, 2vw, 39px);
    height: clamp(29px, 2vw, 39px);
  }

  .arrow svg {
    width: clamp(14px, 1vw, 19px);
  }

  .site-footer {
    padding: clamp(8px, 0.6vw, 14px) 0 clamp(11px, 0.8vw, 18px);
    font-size: clamp(0.66rem, 0.72vw, 0.86rem);
  }

  .footer-address {
    max-width: 25vw;
    margin-top: 0.4vw;
    font-size: clamp(0.64rem, 0.68vw, 0.8rem);
  }

  .footer-address svg {
    width: clamp(15px, 1vw, 19px);
  }

  .footer-credit,
  .faq-btn-call {
    min-height: clamp(32px, 2.2vw, 42px);
    padding-inline: 0.9vw;
  }

  .faq-btn-call svg {
    width: clamp(14px, 0.95vw, 18px);
  }
}

@media (max-width: 760px) {
  .site-header,
  .intro,
  .project-grid,
  .site-footer {
    width: min(100% - 34px, 620px);
  }

  .site-header {
    min-height: 92px;
  }

  .parent-brand img {
    width: 82px;
  }

  .header-note {
    max-width: 170px;
    text-align: right;
  }

  .intro {
    padding: 38px 0 30px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .intro-copy {
    max-width: 440px;
    margin-top: 17px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

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

  .project-card:hover,
  .project-card:focus-visible {
    transform: translateY(-3px);
  }

  .card-body {
    padding: 58px 28px 72px;
  }

  .project-logo--kaaviya {
    width: 92px;
  }

  .project-logo--supreme {
    width: min(360px, 82%);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding-top: 20px;
  }

  .footer-address {
    max-width: min(420px, 62vw);
  }

  .footer-credit {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .faq-btn-call {
    justify-self: end;
  }
}

@media (max-width: 430px) {
  .header-note {
    display: none;
  }

  .eyebrow {
    gap: 10px;
  }

  .eyebrow span {
    width: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .site-footer p,
  .footer-company,
  .footer-credit,
  .faq-btn-call {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .footer-address {
    max-width: 340px;
    justify-content: center;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
