:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffdf8;
  --surface-dark: #1f1b17;
  --line: rgba(165, 132, 72, 0.18);
  --line-strong: rgba(165, 132, 72, 0.32);
  --text: #221d17;
  --muted: #62564a;
  --gold: #b68a47;
  --gold-strong: #8e6730;
  --shadow-soft: 0 20px 70px rgba(93, 70, 39, 0.08);
  --shadow-card: 0 16px 40px rgba(93, 70, 39, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --content-width: min(1220px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 241, 214, 0.95), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 225, 175, 0.45), transparent 18%),
    linear-gradient(180deg, #fbf8f2 0%, #f4eddf 100%);
  min-height: 100vh;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-shell { position: relative; overflow: clip; }

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 112, 72, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 112, 72, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 90%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: var(--content-width);
  margin: 18px auto 0;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand-mark {
  width: 56px;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.footer-logo { width: 100%; height: auto; object-fit: contain; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.site-nav a, .text-link, .footer-links a, .contact-details a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover, .text-link:hover, .inline-link:hover, .footer-links a:hover, .contact-details a:hover {
  color: var(--gold-strong);
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.site-nav a {
  padding: 8px 10px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(182, 138, 71, 0.08);
}

.menu-toggle {
  display: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
}

.section, .hero, .site-footer {
  width: var(--content-width);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: grid;
  align-items: end;
  padding: 100px 42px 42px;
  border-radius: 42px;
  overflow: hidden;
  margin-top: 18px;
  box-shadow: var(--shadow-soft);
}

.hero-video, .hero-overlay, .tech-video, .tech-overlay { position: absolute; inset: 0; }
.hero-video, .tech-video { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(254, 247, 233, 0.16) 0%, rgba(39, 28, 16, 0.74) 100%),
    linear-gradient(90deg, rgba(39, 28, 16, 0.56) 0%, rgba(39, 28, 16, 0.08) 58%);
}

.hero-copy { position: relative; z-index: 1; width: min(830px, 100%); }

.eyebrow {
  margin: 0 0 16px;
  color: #f7d89e;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 800;
}

.section .eyebrow, .about-section .eyebrow, .intro-card .eyebrow, .experience-band .eyebrow { color: var(--gold); }

.hero h1, .section-heading h2, .intro-card h2, .showcase-copy h2, .tech-content h2, .contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3.7rem, 8vw, 7.1rem);
  max-width: 11ch;
  color: #fff8ef;
}

.hero-text, .intro-grid p, .solution-card p, .showcase-copy p, .project-card p, .tech-content p, .contact-copy p, .site-footer p, .experience-card p, .team-card p, .industry-card p, .section-copy {
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.02rem;
}

.hero-text, .hero-metrics span { color: rgba(255, 245, 230, 0.88); }
.hero-text { max-width: 60ch; margin: 22px 0 0; }

.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  width: 100%;
  max-width: 520px;
}

.form-actions {
  max-width: none;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-gold { background: linear-gradient(135deg, #cfa25b 0%, #f6ddb0 100%); color: #251a11; }
.button-ghost { border-color: rgba(255, 245, 230, 0.32); background: rgba(255, 255, 255, 0.08); color: #fff8ef; }
.button-dark, .button-ghost-dark:hover { background: var(--surface-dark); color: #fff7ee; border-color: transparent; }
.button-ghost-dark { border-color: rgba(31, 27, 23, 0.12); color: var(--text); background: transparent; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.hero-metrics li, .intro-card, .solution-card, .contact-panel, .experience-card, .team-card, .industry-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-metrics li {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  background: rgba(255, 250, 241, 0.12);
  border-color: rgba(255, 238, 213, 0.22);
}

.hero-metrics strong { display: block; font-size: 1.18rem; color: #fff3dd; }
.section { padding: 104px 0 0; }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.intro-card { border-radius: var(--radius-xl); padding: 40px; }
.intro-card h2, .showcase-copy h2, .section-heading h2, .tech-content h2, .contact-copy h2 { font-size: clamp(2.8rem, 4vw, 4.6rem); }
.intro-grid, .team-grid { display: grid; gap: 18px; }

.intro-grid article, .project-card, .team-card, .experience-card, .industry-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.intro-grid article, .project-card {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(182, 138, 71, 0.1);
  box-shadow: var(--shadow-card);
}

.intro-grid h3, .solution-card h3, .project-card h3, .experience-card h3, .industry-card h3, .team-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.section-heading { max-width: 800px; margin-bottom: 32px; }
.section-copy { margin-top: 16px; max-width: 62ch; }

.solution-grid, .project-grid, .experience-grid, .industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.solution-card, .project-card { padding: 32px; border-radius: var(--radius-lg); }

.card-index, .team-role {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.inline-link { display: inline-flex; margin-top: 18px; color: var(--gold-strong); font-weight: 700; }

.showcase, .about-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.leadership-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px 30px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.leadership-photo {
  width: min(100%, 300px);
  aspect-ratio: 15 / 16;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 236, 220, 0.92));
  border: 1px solid rgba(182, 138, 71, 0.14);
}

.leadership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leadership-photo-gagan img {
  object-position: center 18%;
}

.leadership-photo-harsh img {
  object-position: center 10%;
}

.leadership-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.leadership-copy h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  color: #2b6f9d;
}

.leadership-title {
  margin: 8px 0 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #264f7c;
}

.leadership-copy p:last-of-type {
  margin: 0;
  text-align: left;
  color: #5e564c;
  font-size: 1rem;
  line-height: 1.75;
  flex: 1;
}

.leadership-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.leadership-actions .contact-pill {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.showcase-copy {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.showcase-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 56ch;
}

.stack-pills, .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 0;
  width: 100%;
  max-width: 52ch;
}

.showcase-copy > .button,
.tech-content > .button {
  margin-top: 26px;
  align-self: flex-start;
  flex-shrink: 0;
}

.stack-pills span, .tech-list span {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.showcase-media, .about-visual { position: relative; }

.showcase-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.media-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(255, 222, 163, 0.35), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 238, 225, 0.92));
  border: 1px solid rgba(182, 138, 71, 0.16);
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.media-frame-tall { min-height: 760px; padding: 34px; }
.media-frame-soft { min-height: 700px; padding: 32px; }

/* Flagship: smaller, proportional product frame (does not stretch full column height) */
.showcase .media-frame-tall {
  width: min(100%, 380px);
  min-height: 0;
  max-height: min(52vh, 460px);
  aspect-ratio: 4 / 5;
  padding: 20px;
  margin-inline: 0 0;
}

.showcase .media-frame-tall img {
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tech-band {
  position: relative;
  min-height: 76vh;
  border-radius: 40px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 46px;
  box-shadow: var(--shadow-soft);
}

.tech-overlay {
  background:
    linear-gradient(90deg, rgba(30, 22, 14, 0.84) 0%, rgba(30, 22, 14, 0.2) 58%, rgba(30, 22, 14, 0.72) 100%);
}

.tech-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tech-content > p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 56ch;
}

.tech-content, .tech-content p { color: #fff6e8; }
.contact-section { padding-bottom: 76px; }

.contact-panel {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  padding: 30px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(255, 218, 149, 0.34), transparent 28%),
    var(--surface-strong);
  color: var(--text);
}

.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }

.contact-details .contact-pill {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-wa-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-wa-row .contact-pill {
  flex: 1 1 200px;
  justify-content: center;
  text-align: center;
}
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-weight: 700; color: var(--text); }

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(31, 27, 23, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(182, 138, 71, 0.22);
  border-color: rgba(182, 138, 71, 0.42);
}

.form-status { min-height: 24px; margin: 0; color: var(--muted); }

.site-footer {
  padding: 0 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.footer-logo { width: 118px; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 22px; }

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

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

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav, .header-actions { display: none; }

  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(182, 138, 71, 0.14);
    background: rgba(255, 251, 245, 0.97);
    box-shadow: var(--shadow-card);
  }

  .intro, .showcase, .about-layout, .contact-panel, .solution-grid, .project-grid, .experience-grid, .industries-grid {
    grid-template-columns: 1fr;
  }

  .site-footer { flex-direction: column; align-items: flex-start; }
  .media-frame-tall, .media-frame-soft { min-height: 520px; }
}

@media (max-width: 860px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .leadership-photo {
    width: min(100%, 300px);
  }
}

@media (max-width: 720px) {
  :root { --content-width: min(100vw - 24px, 1220px); }
  .site-header { margin-top: 12px; padding: 10px 12px; }
  .brand-mark { width: 54px; height: 32px; }
  .hero { min-height: 88vh; padding: 82px 18px 24px; border-radius: 28px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .section { padding-top: 76px; }

  .intro-card, .solution-card, .project-card, .experience-card, .industry-card, .team-card, .contact-panel, .tech-band, .media-frame-tall, .media-frame-soft {
    padding: 22px;
    border-radius: 24px;
  }

  .media-frame-tall, .media-frame-soft { min-height: 420px; }
  .contact-panel { gap: 20px; }
  .tech-band { min-height: 66vh; }
  .hero-actions, .form-actions { flex-direction: column; }
  .button { width: 100%; }
}
