/* =================================================================
   SP International Pvt Ltd — brochure styles
   Navy + gold only. Custom, not a utility framework.
   ================================================================= */

:root {
  --navy: #042654;
  --navy-deep: #021530;
  --navy-mid: #0b3468;
  --navy-soft: #1a4a86;
  --gold: #c5a35a;
  --gold-bright: #e4c878;
  --gold-deep: #9a7c32;
  --cream: #f3ede0;
  --ivory: #faf6ee;
  --paper: #e8e0ce;
  --ink: #042654;
  --muted: #4e5d6e;
  --line: rgba(197, 163, 90, 0.42);
  --line-strong: rgba(197, 163, 90, 0.72);
  --shadow: 0 22px 50px rgba(4, 38, 84, 0.09);
  --header-h: 5.6rem;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.25rem);
}

*,
*::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;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  min-height: 100vh;
  word-spacing: 0.02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--gold-bright);
  padding: 0.6rem 1rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.skip:focus { top: 0.75rem; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

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

.brand-lockup {
  display: block;
  height: 3.6rem;
  width: auto;
  max-width: min(72vw, 16rem);
}

.brand-mark {
  display: none;
}

@media (min-width: 880px) {
  .brand-lockup {
    height: 6.1rem;
    max-width: none;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.42rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.2px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.2px) rotate(-45deg);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.15rem 1.65rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

.site-nav a[aria-current="page"] {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

.site-nav .btn { margin-left: 0.4rem; letter-spacing: 0.12em; }

.site-header {
  overflow: visible;
}

@media (max-width: 879px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    min-height: calc(100dvh - var(--header-h));
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s;
    overflow: auto;
  }
  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }
  .site-nav a {
    font-family: var(--serif);
    font-size: 2rem;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 500;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn {
    margin: 1.5rem 0 0;
    text-align: center;
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

@media (min-width: 880px) {
  :root { --header-h: 7.2rem; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

body.nav-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--gold);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(197, 163, 90, 0.12);
  color: var(--gold-bright);
}

.btn-navy {
  background: var(--navy);
  color: var(--gold-bright);
  border-color: var(--navy);
}

.btn-navy:hover,
.btn-navy:focus-visible {
  background: var(--navy-mid);
}

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-line:hover,
.btn-line:focus-visible {
  background: var(--navy);
  color: var(--gold-bright);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

/* ---------- Kickers, type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

.kicker::before,
.kicker::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.kicker.light { color: var(--gold-bright); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
}

.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}

.lede {
  font-size: 1.12rem;
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.section-head p { margin: 0; color: var(--muted); }

hr.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0;
}

/* ---------- Heroes ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  color: var(--ivory);
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 6.5rem) 0;
}

.page-hero .orbit {
  position: absolute;
  inset: -10% -5%;
  width: 110%;
  height: 120%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.page-hero .display { color: var(--ivory); }
.page-hero .display em { color: var(--gold-bright); }
.page-hero .lede { color: rgba(250, 246, 238, 0.78); }

.home-hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}

.hero-card {
  position: relative;
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border: 1px solid var(--gold);
  max-width: 42rem;
  box-shadow: 0 0 0 8px rgba(197, 163, 90, 0.08);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--gold);
}
.hero-card::before { top: 0.45rem; left: 0.45rem; border-right: 0; border-bottom: 0; }
.hero-card::after { bottom: 0.45rem; right: 0.45rem; border-left: 0; border-top: 0; }

.hero-card .lockup {
  width: min(28rem, 100%);
  margin: 0 auto 1.4rem;
}

.hero-card .kicker { justify-content: center; width: 100%; }
.hero-card .display {
  text-align: center;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.hero-card .lede {
  text-align: center;
  margin-inline: auto;
  color: var(--muted);
}
.hero-card .btn-row { justify-content: center; }

.motto-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.motto-line::before,
.motto-line::after {
  content: "";
  flex: 1;
  max-width: 4.5rem;
  height: 1px;
  background: var(--gold);
}
.motto-line .diamond {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-navy {
  background: var(--navy);
  color: var(--ivory);
}
.section-navy .section-head h2 { color: var(--ivory); }
.section-navy .section-head p { color: rgba(250, 246, 238, 0.72); }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }

.two-col {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 840px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: start; }
  .two-col.uneven { grid-template-columns: 1.15fr 0.85fr; }
}

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 1.6rem 0 0.55rem;
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.stat-list li {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.stat-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.stat-list span { color: var(--muted); font-size: 0.98rem; }

/* ---------- Product cards ---------- */
.card-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--line);
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.product-card:hover,
a.product-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card .visual {
  position: relative;
  height: 11.5rem;
  background: var(--navy);
  overflow: hidden;
}

.product-card .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .index {
  position: absolute;
  top: 0.7rem;
  left: 0.8rem;
  z-index: 1;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.product-card .body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0;
}

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

.product-card .more {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Tags ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-list li {
  border: 1px solid var(--line-strong);
  color: var(--navy);
  background: var(--ivory);
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.step {
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(250, 246, 238, 0.04);
}

.section:not(.section-navy) .step { background: var(--ivory); }

.step .num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.step p { margin: 0; color: var(--muted); }
.section-navy .step p { color: rgba(250, 246, 238, 0.7); }
.section-navy .step { border-color: rgba(197, 163, 90, 0.35); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.4rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}

.contact-card {
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem;
  background: var(--ivory);
  margin-bottom: 0.85rem;
}

.contact-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  font-family: var(--sans);
}

.contact-card a,
.contact-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--navy);
}

.contact-card a:hover { color: var(--gold-deep); }

.quote-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.quote-form h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
}

.quote-form .form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.fields {
  display: grid;
  gap: 0.95rem;
}
@media (min-width: 640px) {
  .fields.pair { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}

label .opt {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.15rem 0.55rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 0;
  appearance: none;
}

select {
  background: linear-gradient(45deg, transparent 50%, var(--navy) 50%) right 0.4rem center / 0.35rem 0.35rem no-repeat,
              linear-gradient(135deg, var(--navy) 50%, transparent 50%) right 0.15rem center / 0.35rem 0.35rem no-repeat;
  padding-right: 1.4rem;
}

textarea { min-height: 8rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-deep);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  min-height: 1.3em;
}
.form-status.error { color: #7a2a2a; }
.form-status.ok { color: var(--navy); }

.req-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.3rem 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 246, 238, 0.78);
  padding: 2.8rem 0 1.4rem;
  border-top: 1px solid var(--gold);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
}

.footer-logo {
  width: min(18rem, 100%);
  background: var(--ivory);
  padding: 0.85rem 1rem;
  margin-bottom: 0.9rem;
}

.footer-mark {
  width: 4.4rem;
  margin-bottom: 0.7rem;
}

.footer-motto {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--sans);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin: 0 0 0.4rem; }

.site-footer a {
  color: rgba(250, 246, 238, 0.86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(197, 163, 90, 0.28);
  font-size: 0.82rem;
  color: rgba(250, 246, 238, 0.55);
}

/* ---------- Page extras ---------- */
.narrow { max-width: 44rem; }

.cta-band .display { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.cta-band .lede { color: rgba(250, 246, 238, 0.75); }

.legal-note {
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1rem;
}

.page-hero.slim { padding-block: clamp(2.4rem, 6vw, 4rem); }

@media (max-width: 639px) {
  .product-card .visual { height: 10rem; }
}

.home-hero .wrap {
  display: flex;
  justify-content: center;
}

.page-hero.slim .display { max-width: 18ch; }

@media (min-width: 1020px) {
  .product-card .visual { height: 12.5rem; }
}

.section-navy,
.page-hero {
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(197, 163, 90, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(197, 163, 90, 0.06), transparent 50%);
}

.tag-list li:hover {
  border-color: var(--gold-deep);
  background: #fffdf8;
}

@media (max-width: 479px) {
  .hero-card { padding: 1.25rem 1.1rem 1.5rem; }
  .display { word-wrap: break-word; }
}
