/* ============================================================
   ANANTHA INDUSTRIES — Premium Traditional · Moss + Gold + Cream
   ============================================================ */

:root {
  --green:        #072B23;
  --green-2:      #041F19;
  --green-3:      #10362D;
  --green-rgb:    7, 43, 35;
  --cream:        #F6F1E6;
  --cream-2:      #EFE6D2;
  --cream-3:      #FBF7EC;
  --gold:         #C9A24B;
  --gold-2:       #B58A2E;
  --gold-3:       #E0BC6B;
  --ink:          #15201B;     /* near-black with green undertone for text on cream */
  --ink-2:        #4B5750;
  --ink-3:        #8A938C;
  --on-green:     #F4EFE3;     /* warm white text on green */
  --on-green-2:   rgba(244,239,227,0.72);
  --on-green-3:   rgba(244,239,227,0.5);

  --font-display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --font-sans:    "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============= Type ============= */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.04;
}
.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; vertical-align: middle; margin-right: 12px; transform: translateY(-2px); }
.eyebrow.on-green { color: var(--gold-3); }
.eyebrow.on-cream { color: var(--gold-2); }

p { margin: 0; line-height: 1.65; font-size: 16px; font-weight: 400; }
.on-green p { color: var(--on-green-2); }

/* ============= Layout ============= */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* Sections */
section.green { background: var(--green); color: var(--on-green); position: relative; }
section.cream { background: var(--cream); color: var(--ink); position: relative; }

/* Subtle floral pattern overlay (matches card) */
.pattern-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23C9A24B' stroke-width='0.7' stroke-opacity='0.13'><circle cx='60' cy='60' r='2'/><path d='M60 28 L72 50 L60 60 L48 50 Z M60 92 L72 70 L60 60 L48 70 Z M28 60 L50 72 L60 60 L50 48 Z M92 60 L70 72 L60 60 L70 48 Z'/><path d='M37 37 L52 52 L60 60 L52 68 L37 83 M83 37 L68 52 L60 60 L68 68 L83 83'/></g></svg>");
  background-size: 140px 140px;
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Wave divider — gold lines flowing between sections */
.wave-divider { position: relative; height: 100px; line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ============= Brand mark (gold A in circle) ============= */
.brand-mark {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand span.txt { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand .sub { font-size: 9px; letter-spacing: 0.22em; font-weight: 500; opacity: 0.6; }

/* ============= Top nav ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--green-rgb), 0.96);
  color: var(--on-green);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,75,0.22);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(24px, 5vw, 72px); gap: 32px;
}
.nav .brand { color: var(--on-green); }
.nav-links {
  display: flex; gap: 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-green-2);
}
.nav-links a { transition: color .18s; position: relative; }
.nav-links a:hover { color: var(--gold-3); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-3);
  cursor: pointer;
  transition: all .2s ease;
  border-radius: 2px;
}
.btn:hover { background: var(--gold); color: var(--green-2); }
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-2);
}
.btn--primary:hover { background: var(--gold-3); border-color: var(--gold-3); }
.btn.on-cream { color: var(--gold-2); border-color: var(--gold-2); }
.btn.on-cream:hover { background: var(--gold-2); color: var(--cream); }
.btn.on-cream.btn--primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn.on-cream.btn--primary:hover { background: var(--green-2); border-color: var(--green-2); color: var(--gold-3); }

.btn .arrow {
  width: 18px; height: 1px; background: currentColor; position: relative;
  transition: width .2s ease;
}
.btn .arrow::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 26px; }

/* Gold underline with tail dot (like card) */
.gold-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 8px;
}
.gold-underline::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1.5px; width: 64px; background: var(--gold);
}
.gold-underline::after {
  content: ""; position: absolute; left: 70px; bottom: -3.5px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

/* ============= HERO ============= */
.hero {
  padding: 80px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  margin-top: 14px;
  line-height: 1.02;
}
.hero h1 .gold-word { color: var(--gold); font-style: italic; }
.hero-lede {
  max-width: 520px;
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-green-2);
}
.hero-actions { display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 44px; }
.hero-pills .pill {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(201,162,75,0.35);
  color: var(--on-green-2);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--green-2);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--gold);
  border-radius: 4px;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0.55;
  box-shadow: inset 0 0 0 6px rgba(var(--green-rgb), 0), inset 0 0 0 7px rgba(201,162,75,0.18);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.15) saturate(0.85) brightness(0.92);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(var(--green-rgb), 0.45) 100%);
  z-index: 2;
}
.hero-cap {
  position: absolute; bottom: 20px; left: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--cream);
  z-index: 3;
}
.hero-cap small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-top: 8px;
}

/* Hero ticker (subtle) */
.ticker {
  margin-top: 100px;
  padding: 20px 0;
  border-top: 1px solid rgba(201,162,75,0.22);
  border-bottom: 1px solid rgba(201,162,75,0.22);
  display: flex; gap: 56px; overflow: hidden; white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-green-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex; gap: 56px;
  animation: ticker 50s linear infinite;
  flex-shrink: 0;
}
.ticker span { display: inline-flex; align-items: center; gap: 14px; }
.ticker span::before { content: "✦"; color: var(--gold); font-size: 12px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============= Section header pattern ============= */
.section { padding: 120px 0; position: relative; z-index: 2; }
.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: start;
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.section-num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 16px;
  position: relative;
  font-weight: 600;
}
.section-num::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 60px; height: 1.5px; background: var(--gold);
}
.section-num b { display: block; margin-top: 6px; font-weight: 600; }
.cream .section-num { color: var(--gold-2); }
.cream .section-num b { color: var(--ink); }
.green .section-num { color: var(--gold-3); }
.green .section-num b { color: var(--on-green); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--gold-2); }
.green .section-title em { color: var(--gold-3); }

/* ============= About ============= */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-copy p { font-size: 17.5px; max-width: 600px; line-height: 1.7; color: var(--ink-2); }
.about-copy p + p { margin-top: 22px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
}
.stat {
  padding-top: 22px;
  border-top: 1px solid rgba(21,32,27,0.18);
}
.green .stat { border-top-color: rgba(201,162,75,0.35); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 60px;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
}
.green .stat-num { color: var(--on-green); }
.stat-num em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.green .stat-num em { color: var(--gold-3); }
.stat-num .unit { font-size: 28px; vertical-align: super; line-height: 1; }
.stat-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 12px;
  color: var(--ink-3);
}
.green .stat-label { color: var(--on-green-3); }

/* ============= Capabilities ============= */
.cap-list { display: grid; grid-template-columns: 1fr; }
.cap-row {
  display: grid;
  grid-template-columns: 80px 1.1fr 2fr 80px;
  gap: 48px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid rgba(201,162,75,0.22);
  position: relative;
  transition: padding-left .3s ease;
}
.cap-row:last-child { border-bottom: 1px solid rgba(201,162,75,0.22); }
.cap-row:hover { padding-left: 12px; }
.cap-row:hover .cap-arrow { color: var(--gold-3); transform: translateX(4px); }
.cap-row:hover .cap-title { color: var(--gold-3); }
@media (max-width: 900px) {
  .cap-row { grid-template-columns: 60px 1fr; gap: 18px; }
  .cap-row .cap-desc { grid-column: 2; }
  .cap-row .cap-arrow { display: none; }
}
.cap-idx {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 6px;
}
.cap-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.005em;
  line-height: 1.1;
  transition: color .2s ease;
}
.cap-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--on-green-2);
  max-width: 560px;
  padding-top: 8px;
}
.cap-arrow {
  font-family: var(--font-sans);
  color: var(--on-green-3);
  font-size: 20px;
  justify-self: end;
  padding-top: 6px;
  transition: all .25s ease;
}

/* ============= Why ============= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 36px 32px 36px 0;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  border-top: 1px solid rgba(21,32,27,0.15);
}
.why-card + .why-card { border-left: 1px solid rgba(21,32,27,0.15); padding-left: 32px; }
@media (max-width: 900px) {
  .why-card + .why-card { border-left: 0; padding-left: 0; }
  .why-card { padding: 32px 0; }
  .why-grid > :nth-child(odd) { padding-right: 32px; }
  .why-grid > :nth-child(even) { padding-left: 32px; border-left: 1px solid rgba(21,32,27,0.15); }
}
.why-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
}
.why-card h3 {
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.005em;
}
.why-card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ============= Industries ============= */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .industries-grid { grid-template-columns: 1fr; gap: 48px; } }
.ind-list { list-style: none; padding: 0; margin: 0; }
.ind-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(201,162,75,0.22);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.005em;
  transition: padding .25s ease, color .2s ease;
}
.ind-list li:last-child { border-bottom: 1px solid rgba(201,162,75,0.22); }
.ind-list li:hover { padding-left: 10px; color: var(--gold-3); }
.ind-list .ind-num {
  font-family: var(--font-sans);
  font-weight: 600; font-size: 11px; letter-spacing: 0.14em;
  color: var(--gold);
}
.ind-list .ind-cat {
  font-family: var(--font-sans);
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-green-3);
}

.ind-visual {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.ind-visual::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--gold);
  opacity: 0.45;
  pointer-events: none;
}
.ind-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.15) saturate(0.85) brightness(0.9);
}
.ind-cap {
  position: absolute; bottom: 18px; left: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--cream);
  z-index: 2;
  max-width: 70%;
}

/* ============= Quality ============= */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
@media (max-width: 900px) { .quality-grid { grid-template-columns: 1fr; gap: 56px; } }
.quality-grid h2 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 28px; }
.quality-grid p { font-size: 16.5px; max-width: 500px; line-height: 1.65; color: var(--ink-2); }
.quality-grid p + p { margin-top: 16px; }
.quality-checklist {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.quality-checklist li {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(21,32,27,0.12);
}
.quality-checklist li svg { width: 22px; height: 22px; color: var(--gold-2); margin-top: 2px; }

/* ============= Contact ============= */
.contact { padding: 140px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
.contact-title {
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.02;
  font-weight: 500;
  margin-bottom: 28px;
}
.contact-title em { font-style: italic; color: var(--gold-3); }
.contact-lede { font-size: 17px; max-width: 520px; color: var(--on-green-2); margin-bottom: 36px; }

.contact-card {
  display: grid; gap: 4px;
  padding: 40px;
  background: var(--green-3);
  border-radius: 4px;
  position: relative;
}
.contact-card::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(201,162,75,0.35);
  border-radius: 2px;
  pointer-events: none;
}
.contact-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(201,162,75,0.18);
  position: relative; z-index: 1;
}
.contact-row:last-child { border-bottom: 0; }
.contact-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  color: var(--green-2);
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-row .k {
  font-family: var(--font-sans);
  font-weight: 600; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 4px;
}
.contact-row .v {
  font-family: var(--font-display);
  font-weight: 500; font-size: 19px;
  color: var(--on-green);
  line-height: 1.35;
  word-break: break-word;
}
.contact-row .v a:hover { color: var(--gold-3); }
.contact-row .v small {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--on-green-2);
  margin-top: 6px; line-height: 1.55;
  font-weight: 400;
}

/* ============= Footer ============= */
footer { padding: 36px 0 44px; background: var(--green-2); color: var(--on-green); }
.foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-green-3);
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.foot-brand .brand-mark {
  width: 34px;
  height: 34px;
}
.foot b { color: var(--on-green); font-weight: 600; }

/* ============= Image placeholder fallback ============= */
.imgph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--green-2) 0 14px, var(--green-3) 14px 15px);
  display: grid; place-items: center;
  color: var(--gold-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 20px;
}
