/* Vwork Nilambur — one-page site
   Brand: red #C8202F, charcoal #2F3236, white. */

:root {
  --red: #c8202f;
  --red-dark: #a51a27;
  --red-soft: #f8e8ea;
  --charcoal: #2f3236;
  --ink: #1c1e21;
  --muted: #5e636a;
  --line: #e4e0da;
  --paper: #f5f2ed;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(28, 30, 33, 0.08);
  --header-h: 4.25rem;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-dark);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, 80rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid rgba(47, 50, 54, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 2.35rem;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--charcoal);
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-toggle .icon-close {
  display: none;
}

.site-header.is-open .nav-toggle .icon-open {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

.nav {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 0;
}

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

.btn.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn:hover {
  text-decoration: none;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--charcoal);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.btn-header {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

/* Mobile nav drawer */
@media (max-width: 879px) {
  .site-header.is-open .nav {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-list {
    width: min(100% - 0rem, var(--max));
    margin-inline: auto;
  }

  .site-header.is-open .nav a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .btn.header-cta-mobile {
    display: inline-flex;
  }
}

@media (min-width: 880px) {
  .nav-toggle,
  .btn.header-cta-mobile {
    display: none;
  }

  .nav {
    display: block;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .header-inner {
    gap: 2rem;
  }

  .nav {
    margin-left: auto;
    margin-right: 1.25rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media picture,
.hero-media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 16, 0.28) 0%,
      rgba(20, 16, 16, 0.22) 28%,
      rgba(20, 16, 16, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(20, 16, 16, 0.62) 0%,
      rgba(20, 16, 16, 0.28) 48%,
      rgba(20, 16, 16, 0.12) 100%
    );
}

.hero h1,
.hero-lead,
.hero-copy,
.hero-ml,
.hero-note,
.hero .eyebrow {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

@media (max-width: 700px) {
  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(20, 16, 16, 0.25) 0%,
        rgba(20, 16, 16, 0.4) 38%,
        rgba(20, 16, 16, 0.88) 100%
      );
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
  }

  .hero-media img,
  .hero-media picture img {
    object-position: 70% 70%;
  }
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 4.5rem 0 3.25rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 7.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  max-width: 32rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-ml {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-copy {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Sections ---------- */
.section {
  padding: 4.25rem 0;
}

@media (min-width: 800px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-paper {
  background: var(--paper);
}

.section-charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.85rem;
}

.kicker-light {
  color: #f0b8bd;
}

.section h2 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--ink);
  max-width: 22ch;
}

.section-charcoal h2 {
  color: var(--white);
}

.lede {
  max-width: 38rem;
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.section-charcoal .lede {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .features {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 5;
  }

  .gallery-item:nth-child(2) {
    grid-column: 5 / 7;
  }

  .gallery-item:nth-child(3) {
    grid-column: 1 / 3;
  }

  .gallery-item:nth-child(4) {
    grid-column: 3 / 5;
  }

  .gallery-item:nth-child(5) {
    grid-column: 5 / 7;
  }
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s var(--ease);
}

@media (min-width: 800px) {
  .gallery-item:nth-child(1) img {
    aspect-ratio: 16 / 10;
  }
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item figcaption,
.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(20, 16, 16, 0.72));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Audience ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .audience {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .audience {
    grid-template-columns: repeat(5, 1fr);
  }
}

.audience-card {
  background: var(--white);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 1.25rem 1.1rem 1.4rem;
  box-shadow: var(--shadow);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .location-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.address strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}

.meta-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  color: var(--muted);
}

.meta-list li {
  padding: 0.45rem 0;
  padding-left: 1.4rem;
  position: relative;
  border-top: 1px solid var(--line);
}

.meta-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 2px;
  background: var(--red);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
  min-height: 22rem;
  height: 100%;
  background: #e8e6e2;
  filter: grayscale(0.15) contrast(1.02);
}

/* ---------- Contact ---------- */
.contact-panel {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-panel {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }
}

.phone-display {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  margin: 0.35rem 0 1.25rem;
}

.phone-display:hover {
  color: #fff;
}

.socials {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
}

.socials a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.15rem;
}

.socials a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.socials svg {
  width: 1.05rem;
  height: 1.05rem;
}

.enquire-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--white);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #232528;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0 2.25rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand img {
  height: 2.1rem;
  width: auto;
}

.footer-meta {
  margin: 0;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-meta a:hover {
  color: #fff;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(16, 14, 14, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 1.25rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  color: #fff;
  padding: 0.7rem 1rem 1rem;
  font-family: var(--font-display);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 0.6rem;
  right: 0.6rem;
}

.lightbox-prev {
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 1.6rem;
  height: 1.6rem;
}

body.lb-open {
  overflow: hidden;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-phone-display] {
  white-space: nowrap;
}

.footer-meta {
  line-height: 1.55;
}
