:root {
  --ivory: #f7f0e4;
  --maroon: #8f4638;
  --terracotta: #d47a73;
  --terracotta-deep: #a95d50;
  --gold: #b88a5b;
  --blush: #ead0c5;
  --beige: #e7d7c2;
  --khadi: #fbf7ee;
  --wood: #c79a6d;
  --ink: #4c332b;
  --muted: #80685d;
  --white: #fffaf0;
  --shadow: 0 22px 56px rgba(95, 58, 48, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(184, 138, 91, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(184, 138, 91, 0.035) 1px, transparent 1px),
    var(--ivory);
  background-size: 28px 28px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

.section-scroll {
  scroll-margin-top: 84px;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 0;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--terracotta-deep);
  color: var(--ivory);
  padding: 10px 16px;
  transition: transform 0.25s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
}

.nav-shell {
  background: rgba(143, 70, 56, 0.08);
  border-bottom: 1px solid rgba(251, 247, 238, 0.28);
  box-shadow: none;
  color: var(--khadi);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(251, 247, 238, 0.96);
  border-color: rgba(212, 122, 115, 0.22);
  box-shadow: 0 10px 28px rgba(95, 58, 48, 0.09);
  color: var(--maroon);
  backdrop-filter: blur(14px);
}

.nav-wrapper {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  width: min(92%, 1220px);
  max-width: 1220px;
}

.brand-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  letter-spacing: 0;
  color: currentColor;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 122, 115, 0.48);
  border-radius: 50%;
  background: rgba(251, 247, 238, 0.88);
  box-shadow: 0 8px 22px rgba(95, 58, 48, 0.08);
  line-height: 1;
}

.brand-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.02);
}

.brand-name {
  position: relative;
  display: block;
  width: clamp(126px, 15vw, 178px);
  height: 42px;
  overflow: hidden;
}

.brand-name img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: saturate(1.04) contrast(1.02);
  transition: opacity 0.24s ease;
}

.brand-name-scrolled {
  opacity: 0;
}

.site-header.is-scrolled .brand-name-default,
.about-page .brand-name-default {
  opacity: 0;
}

.site-header.is-scrolled .brand-name-scrolled,
.about-page .brand-name-scrolled {
  opacity: 1;
}

.nav-links a,
.sidenav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
  margin: 0 0 0 28px;
  list-style: none;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  color: currentColor;
  position: relative;
  height: 72px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  content: "";
  right: 16px;
  bottom: 15px;
  left: 16px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--terracotta);
  transition: transform 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-trigger {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  line-height: 1;
  padding: 0;
}

.sidenav {
  background: var(--khadi);
  color: var(--maroon);
  padding-top: 32px;
  max-width: min(82vw, 340px);
}

.sidenav li > a {
  color: var(--maroon);
  min-height: 52px;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--khadi);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1769063382706-8156b3b33eac?auto=format&fit=crop&w=1800&q=88");
  background-position: 72% center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(76, 51, 43, 0.84), rgba(212, 122, 115, 0.48) 46%, rgba(251, 247, 238, 0.16)),
    linear-gradient(0deg, rgba(76, 51, 43, 0.34), rgba(76, 51, 43, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 118px;
  padding-bottom: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c1ae;
}

.hero h1,
.section-heading h2,
.story-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(4rem, 11vw, 9.6rem);
  line-height: 0.86;
  text-wrap: balance;
}

.hero-tagline {
  max-width: 520px;
  margin: 26px 0 34px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.whatsapp-button {
  min-height: 58px;
  border-radius: 0;
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  border: 1px solid rgba(251, 247, 238, 0.56);
  background: var(--terracotta);
  color: var(--khadi);
  padding: 0 28px;
}

.whatsapp-button:hover,
.whatsapp-button:focus {
  background: var(--terracotta-deep);
  border-color: rgba(251, 247, 238, 0.7);
}

.story-more-button,
.about-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  border: 1px solid rgba(143, 70, 56, 0.32);
  background: var(--maroon);
  color: var(--khadi);
  padding: 0 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.story-more-button:hover,
.story-more-button:focus,
.about-cta:hover,
.about-cta:focus {
  background: var(--terracotta-deep);
  border-color: rgba(143, 70, 56, 0.48);
  color: var(--khadi);
  transform: translateY(-2px);
}

.section-pad {
  padding: 86px 0;
}

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

.section-heading h2,
.story-copy h2 {
  color: var(--maroon);
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 0.98;
  text-wrap: balance;
}

.countdown-section {
  background: linear-gradient(180deg, var(--ivory), #f1dfd3);
}

.countdown-grid {
  margin-bottom: 0;
}

.count-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 122, 115, 0.22);
  background: rgba(255, 250, 240, 0.84);
  box-shadow: var(--shadow);
  padding: 28px 12px;
  text-align: center;
}

.count-value {
  color: var(--terracotta-deep);
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 5.4rem);
  font-weight: 700;
  line-height: 0.9;
}

.count-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proof-item h3 {
  margin: 0 0 10px;
  color: var(--maroon);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.05;
}

.proof-item p,
.story-copy p {
  margin: 0;
  color: var(--muted);
}

.story {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 247, 238, 0.34), rgba(251, 247, 238, 0.16) 42%, rgba(251, 247, 238, 0.58)),
    radial-gradient(circle at 18% 12%, rgba(212, 122, 115, 0.2), transparent 30%),
    linear-gradient(135deg, var(--beige), #f3e5d3 58%, #f8efe1);
}

.story::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(212, 122, 115, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(184, 138, 91, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.story-layout {
  position: relative;
  z-index: 1;
  min-height: min(720px, 82vh);
  margin-bottom: 0;
  align-items: stretch;
}

.story-image {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--khadi);
  box-shadow: 0 30px 70px rgba(95, 58, 48, 0.12);
  isolation: isolate;
}

.story-image picture {
  display: block;
  height: 100%;
}

.story-image::before {
  position: absolute;
  content: "";
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 86%, rgba(251, 247, 238, 0.26) 100%),
    linear-gradient(180deg, rgba(143, 70, 56, 0.02), rgba(212, 122, 115, 0.04));
  pointer-events: none;
}

.story-image::after {
  position: absolute;
  content: "";
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 90%, rgba(251, 247, 238, 0.36) 100%),
    linear-gradient(180deg, rgba(251, 247, 238, 0.18), transparent 10%, transparent 90%, rgba(251, 247, 238, 0.2));
  opacity: 0.2;
  pointer-events: none;
}

.story-image img {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: min(720px, 82vh);
  aspect-ratio: 992 / 1072;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.story-copy {
  max-width: 560px;
  height: 100%;
  margin: auto 0 auto -38px;
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(251, 247, 238, 0.9), rgba(247, 240, 228, 0.72)),
    linear-gradient(90deg, rgba(255, 250, 240, 0.82), rgba(255, 250, 240, 0.46));
  box-shadow: 0 24px 64px rgba(95, 58, 48, 0.12);
  backdrop-filter: blur(10px);
}

.story-copy p + p {
  margin-top: 18px;
}

.gallery-section {
  background: var(--ivory);
}

.gallery-masonry {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  background: var(--beige);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.proof {
  background: linear-gradient(180deg, #ead0c5, var(--ivory));
}

.proof-grid {
  margin-bottom: 0;
}

.proof-item {
  height: 100%;
  border-top: 1px solid rgba(212, 122, 115, 0.28);
  padding: 34px 14px 8px;
  text-align: center;
}

.proof-item i {
  display: inline-grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 122, 115, 0.66);
  border-radius: 50%;
  color: var(--terracotta);
  font-size: 1.4rem;
}

.site-footer {
  background: #8f4638;
  color: var(--khadi);
  padding: 56px 0 48px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.footer-brand {
  color: #f3c6b3;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(243, 198, 179, 0.58);
  border-radius: 50%;
  color: #f3c6b3;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: #f3c6b3;
  color: #8f4638;
  transform: translateY(-3px);
}

.site-footer p {
  margin: 0;
  color: rgba(251, 247, 238, 0.76);
}

.about-page .nav-shell {
  background: rgba(251, 247, 238, 0.96);
  border-color: rgba(212, 122, 115, 0.22);
  box-shadow: 0 10px 28px rgba(95, 58, 48, 0.09);
  color: var(--maroon);
  backdrop-filter: blur(14px);
}

.about-main {
  padding-top: 72px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 247, 238, 0.9), rgba(251, 247, 238, 0.58)),
    url("assets/brand-story-mobile.png") center / cover no-repeat;
}

.about-hero::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(212, 122, 115, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(184, 138, 91, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: clamp(78px, 10vw, 124px) 0 clamp(64px, 8vw, 104px);
}

.about-hero h1 {
  margin: 0;
  color: var(--maroon);
  font-family: var(--serif);
  font-size: clamp(3.8rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  text-wrap: balance;
}

.about-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.18;
}

.about-pillars {
  background: var(--ivory);
}

.pillar-card {
  height: 100%;
  border-top: 1px solid rgba(212, 122, 115, 0.3);
  background: rgba(255, 250, 240, 0.66);
  padding: 30px 24px;
}

.pillar-card i {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 122, 115, 0.58);
  border-radius: 50%;
  color: var(--terracotta);
  font-size: 1.25rem;
}

.pillar-card h2,
.architecture-section h2,
.about-story h2 {
  margin: 0;
  color: var(--maroon);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.pillar-card p,
.about-story p {
  margin: 18px 0 0;
  color: var(--muted);
}

.architecture-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(212, 122, 115, 0.18), transparent 28%),
    linear-gradient(135deg, var(--beige), #f8efe1);
}

.architecture-flow {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.flow-node {
  border: 1px solid rgba(143, 70, 56, 0.18);
  background: rgba(251, 247, 238, 0.78);
  box-shadow: 0 16px 40px rgba(95, 58, 48, 0.08);
  padding: 18px;
  text-align: center;
}

.flow-node strong {
  display: block;
  color: var(--maroon);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flow-node span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.flow-arrow {
  color: var(--terracotta-deep);
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
}

.flow-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-story {
  background: var(--khadi);
}

.about-story-copy {
  max-width: 920px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.04rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (min-width: 601px) {
  .gallery-masonry {
    grid-auto-rows: 210px;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 993px) and (max-width: 1120px) {
  .brand-name {
    width: 144px;
  }

  .nav-links {
    gap: 0;
    margin-left: 18px;
  }

  .nav-links a {
    padding: 0 9px;
    font-size: 0.74rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .menu-trigger {
    display: inline-grid !important;
    place-items: center;
  }

  .story-layout {
    display: block;
    min-height: 0;
  }

  .story-copy {
    max-width: none;
    margin: -54px 24px 0;
    padding: clamp(30px, 6vw, 44px);
  }

  .story-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1080 / 590;
    object-fit: cover;
    object-position: center;
  }

  .about-main {
    padding-top: 66px;
  }

  .about-hero-inner {
    padding-top: 72px;
  }

  .flow-branches {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-scroll {
    scroll-margin-top: 76px;
  }

  .nav-wrapper {
    height: 66px;
    width: min(90%, 1220px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    width: clamp(110px, 34vw, 138px);
    height: 34px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(76, 51, 43, 0.16), rgba(76, 51, 43, 0.74)),
      linear-gradient(90deg, rgba(143, 70, 56, 0.64), rgba(212, 122, 115, 0.18));
  }

  .hero-content {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 104px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 22vw, 6.2rem);
    max-width: 7ch;
  }

  .hero-tagline {
    margin: 20px 0 26px;
  }

  .whatsapp-button {
    width: 100%;
    justify-content: center;
  }

  .story-more-button,
  .about-cta {
    width: 100%;
    justify-content: center;
    padding: 0 18px;
    text-align: center;
  }

  .section-pad {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading h2,
  .story-copy h2 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .count-card {
    min-height: 132px;
    margin-bottom: 16px;
  }

  .story-image::before {
    background:
      linear-gradient(180deg, transparent 0 84%, rgba(251, 247, 238, 0.24) 100%),
      linear-gradient(90deg, rgba(143, 70, 56, 0.04), transparent 58%);
  }

  .story-image::after {
    background:
      linear-gradient(180deg, transparent 0 88%, rgba(251, 247, 238, 0.34) 100%),
      linear-gradient(90deg, rgba(251, 247, 238, 0.2), transparent 10%, transparent 90%, rgba(251, 247, 238, 0.2));
    opacity: 0.18;
  }

  .story-image img {
    height: auto;
  }

  .story-copy {
    margin: -34px 12px 0;
    padding: 28px 20px 30px;
    box-shadow: 0 18px 44px rgba(95, 58, 48, 0.12);
  }

  .about-hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.3rem);
  }

  .about-hero p {
    font-size: 1.25rem;
  }

  .pillar-card {
    margin-bottom: 16px;
    padding: 26px 20px;
  }

  .architecture-flow {
    gap: 14px;
  }

  .flow-node {
    padding: 16px 14px;
  }

  .about-story p {
    font-size: 1rem;
  }

  .gallery-masonry {
    grid-auto-rows: 150px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
