:root {
  --forest: #14352c;
  --ivory: #f7f2e8;
  --sand: #e6d3b8;
  --gold: #d4b483;
  --gold-ink: #7a5c34;
  --muted: #3e4a42;
  --line: rgba(20, 53, 44, 0.14);
  --line-light: rgba(247, 242, 232, 0.22);
  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --display: "Gotu", "Noto Sans Devanagari", sans-serif;
  --sans: "Hind Guntur", "Noto Sans Devanagari", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: #efe0c4;
  color: var(--forest);
}

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

.skip {
  position: absolute;
  z-index: 30;
  left: var(--pad);
  top: 0.8rem;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--gold);
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

main:focus {
  outline: none;
}

#yatra,
#contact {
  scroll-margin-top: 4.75rem;
}

.top,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-inline: var(--pad);
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: calc(0.9rem + env(safe-area-inset-top));
  padding-bottom: 0.9rem;
  background: rgba(20, 53, 44, 0.94);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(12px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.mark {
  width: 1.7rem;
  height: 1.25rem;
  color: var(--gold);
  flex: none;
}

.nav {
  display: flex;
  gap: 1.35rem;
}

.nav a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ivory);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: calc(100svh - 4rem);
  background: var(--ivory);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(2rem, 5vw, 4.2rem) var(--pad);
}

.kicker {
  margin: 0;
  color: var(--gold-ink);
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  max-width: 12ch;
  color: var(--forest);
  font-size: clamp(2.45rem, 4.2vw, 3.9rem);
}

.line {
  display: block;
  animation: rise 0.75s ease both;
}

.line + .line {
  animation-delay: 0.1s;
}

.lede,
.dream p,
.contact p {
  margin: 0;
}

.lede {
  max-width: 36rem;
  color: var(--muted);
}

.cta {
  margin-top: 0.3rem;
  padding: 0.8rem 1.25rem;
  background: var(--forest);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: #1d4a3c;
  transform: translateY(-1px);
}

.frame {
  position: relative;
  margin: clamp(1rem, 2.4vw, 1.8rem);
  margin-left: 0;
  background: var(--sand);
  overflow: hidden;
  min-height: 16rem;
}

.frame::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--gold);
  z-index: 1;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: settle 1.15s ease both;
}

.dream {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3.4rem, 8vw, 6.2rem) var(--pad);
  background: var(--sand);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--forest);
  font-weight: 600;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(20, 53, 44, 0.16);
}

.notes li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.15rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(20, 53, 44, 0.16);
}

.notes span {
  grid-row: span 2;
  padding-top: 0.2rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.2rem;
}

.notes h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.3;
}

.notes p {
  margin: 0;
  color: var(--forest);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(3.4rem, 8vw, 6rem) var(--pad) clamp(3.8rem, 8vw, 6.5rem);
  background: var(--forest);
  color: var(--ivory);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact h2,
.contact p {
  color: var(--ivory);
}

.contact p {
  max-width: 32rem;
  color: var(--sand);
}

.contact .cta {
  background: var(--sand);
  color: var(--forest);
}

.contact .cta:hover {
  background: #f3e6d2;
}

.contact .cta:focus-visible,
.contact .mail:focus-visible {
  outline-color: var(--gold);
}

.mail {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mail:hover {
  text-decoration: underline;
}

.foot {
  padding-top: 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  background: var(--ivory);
  color: var(--forest);
  border-top: 1px solid var(--line);
}

.foot .wordmark {
  color: var(--forest);
}

.foot .mark {
  color: var(--gold-ink);
}

.foot p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes settle {
  from {
    transform: scale(1.04);
  }
  to {
    transform: none;
  }
}

@media (max-width: 860px) {
  .hero,
  .dream {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    max-width: 14ch;
  }

  .frame {
    height: 12rem;
    min-height: 0;
    margin: 0 0 0.25rem;
    order: -1;
  }

  .frame::before {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 4px;
  }

  .hero-copy {
    gap: 0.65rem;
    padding-top: 1.4rem;
    padding-bottom: 1.7rem;
  }
}

@media (max-width: 420px) {
  .wordmark {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .mark {
    width: 1.35rem;
  }

  .nav {
    gap: 0.8rem;
  }

  h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.6rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
