/* ================================================================
   SYNTERRA ASSETS — STYLESHEET
   Colours: Ink #0A0A0A | Gold #C8A951 | Ivory #F2EDE4 | Ash #9A9589
   Display: Cormorant Garamond | Body: Poppins
   ================================================================ */

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

:root {
  --ink:        #0A0A0A;
  --slate:      #141418;
  --panel:      #1C1C22;
  --gold:       #C8A951;
  --gold-dim:   rgba(200, 169, 81, 0.22);
  --gold-line:  rgba(200, 169, 81, 0.35);
  --gold-glow:  rgba(200, 169, 81, 0.07);
  --ivory:      #F2EDE4;
  --ash:        #9A9589;
  --mist:       #5C574F;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h:    80px;
  --max-w:    1160px;
  --gutter:   2rem;
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

.label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

p { font-size: 0.9375rem; }
strong { color: var(--ivory); font-weight: 500; }

.gold-rule {
  width: 2.75rem;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Sections ---- */
.section        { padding: 7rem 0; }
.section--alt   { background: var(--slate); }
.section--panel { background: var(--panel); }
.section--tight { padding: 4rem 0; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo img { height: 40px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.active { color: var(--ivory); }

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta {
  color: var(--ink) !important;
  background: var(--gold);
  padding: 0.55rem 1.2rem !important;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--ivory) !important; color: var(--ink) !important; }
.nav__cta::after { display: none !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero (home) ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--ink);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 45%, var(--gold-glow) 0%, transparent 65%),
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 50px,
      rgba(200,169,81,0.012) 50px,
      rgba(200,169,81,0.012) 51px
    );
  pointer-events: none;
}

.hero__content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--gutter) 6rem;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 2.5rem;
}

.hero__lead {
  font-size: 0.975rem;
  line-height: 1.85;
  color: var(--ash);
  max-width: 52ch;
  margin-bottom: 3rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__scroll::after {
  content: '';
  width: 2rem; height: 1px;
  background: var(--mist);
  display: block;
}

/* ---- Page hero (inner pages) ---- */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 50px,
    rgba(200,169,81,0.01) 50px,
    rgba(200,169,81,0.01) 51px
  );
  pointer-events: none;
}
.page-hero__content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 4.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--ivory);
  max-width: 22ch;
  margin-bottom: 0.75rem;
}
.page-hero__lead {
  font-size: 0.95rem;
  color: var(--ash);
  max-width: 60ch;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: 0.25s var(--ease);
  border: none;
}
.btn--gold   { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); }
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
}
.btn--outline:hover {
  background: var(--gold-dim);
  color: var(--ivory);
  border-color: var(--gold);
}

/* ---- Services grid (home) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
  margin-top: 3.5rem;
}

.svc-card {
  background: var(--ink);
  padding: 2.75rem;
  transition: background 0.25s;
}
.svc-card:hover { background: var(--slate); }

.svc-card__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--gold-line);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  font-weight: 400;
}
.svc-card__title {
  font-size: 1.35rem;
  color: var(--ivory);
  margin-bottom: 0.9rem;
}
.svc-card__text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ash);
  max-width: none;
}
.svc-card__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
}
.svc-card__link:hover { color: var(--ivory); }

/* ---- Intro two-col ---- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.intro-split__quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--ivory);
  font-weight: 300;
  line-height: 1.3;
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  max-width: 24ch;
}
.intro-split__text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--ash);
  max-width: none;
  margin-bottom: 1.5rem;
}
.intro-split__text p:last-child { margin-bottom: 0; }

/* ---- Approach tagline band ---- */
.approach-band {
  padding: 5rem 0;
  background: var(--slate);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
}
.approach-band__chain {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  color: var(--ash);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.approach-band__chain strong { color: var(--gold); }

/* ---- Video section ---- */
.video-grid {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}

.video-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.video-item--flip {
  direction: rtl;
}
.video-item--flip > * { direction: ltr; }

.video-item__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--gold-line);
}
.video-item__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-item__content h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--ivory);
  margin-bottom: 1.25rem;
}
.video-item__content p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ash);
  margin-bottom: 1rem;
  max-width: none;
}

/* ---- CTA section ---- */
.cta-section {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 22ch;
  margin: 0 auto 1.25rem;
}
.cta-section p {
  margin: 0 auto 2.5rem;
  max-width: 52ch;
  text-align: center;
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 3.5rem;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  margin-bottom: 1.1rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}
.team-card__initials {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--gold-dim);
  font-weight: 400;
  position: absolute;
  letter-spacing: 0.05em;
}
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}
.team-card__role {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.team-card__bio {
  font-size: 0.825rem;
  line-height: 1.75;
  color: var(--ash);
  max-width: none;
}

/* ---- Service detail (services page) ---- */
.svc-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(200,169,81,0.1);
}
.svc-detail:last-child { border-bottom: none; }

.svc-detail__meta h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); margin-bottom: 0.4rem; }
.svc-detail__body p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ash);
  margin-bottom: 1.4rem;
  max-width: none;
}
.svc-detail__body p:last-child { margin-bottom: 0; }

/* ---- Projects ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
  margin-top: 3.5rem;
}
.proj-card {
  background: var(--ink);
  padding: 3rem;
  transition: background 0.25s;
}
.proj-card:hover { background: var(--slate); }
.proj-card h3 { font-size: 1.65rem; margin-bottom: 0.9rem; }
.proj-card p  { font-size: 0.9rem; max-width: none; line-height: 1.85; }

/* ---- Process chain (approach page) ---- */
.process-wrap {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin: 3rem 0;
}
.process-chain {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
}
.process-step {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--gold-line);
  background: var(--panel);
  white-space: nowrap;
  transition: 0.2s;
}
.process-step:hover { border-color: var(--gold); color: var(--gold); }
.process-arrow {
  width: 2.5rem;
  height: 1px;
  background: var(--gold-line);
  flex-shrink: 0;
  position: relative;
}
.process-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--gold-line);
  border-top: 1px solid var(--gold-line);
  rotate: 45deg;
}

/* ---- Two-col body text ---- */
.body-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.body-split p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ash);
  max-width: none;
  margin-bottom: 1.4rem;
}
.body-split p:last-child { margin-bottom: 0; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7rem;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--panel);
  border: 1px solid rgba(200,169,81,0.2);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mist); }
.form-group select option { background: var(--panel); }

.form-note {
  font-size: 0.78rem;
  color: var(--mist);
  margin-top: 0.5rem;
  max-width: none;
}

.contact-aside { border-top: 1px solid var(--gold-line); padding-top: 2rem; }
.contact-aside h3 { font-size: 1.75rem; margin-bottom: 2rem; }
.contact-block { margin-bottom: 2rem; }
.contact-block h5 {
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-block p, .contact-block a {
  font-size: 0.9rem;
  color: var(--ash);
  line-height: 1.75;
}
.contact-block a { color: var(--gold); transition: color 0.2s; }
.contact-block a:hover { color: var(--ivory); }

/* ---- Footer ---- */
.footer {
  background: var(--slate);
  border-top: 1px solid var(--gold-line);
  padding: 5rem 0 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(200,169,81,0.1);
  margin-bottom: 2rem;
}
.footer__logo img { height: 36px; width: auto; margin-bottom: 1.25rem; }
.footer__tagline { font-size: 0.8rem; color: var(--mist); line-height: 1.75; max-width: none; margin-bottom: 1.5rem; }

.footer__col h6 {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul a { font-size: 0.825rem; color: var(--mist); transition: color 0.2s; }
.footer__col ul a:hover { color: var(--ash); }

.footer__address { font-style: normal; font-size: 0.82rem; color: var(--mist); line-height: 1.85; max-width: none; }
.footer__address a { color: var(--gold); transition: color 0.2s; }
.footer__address a:hover { color: var(--ash); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--mist);
}

/* ---- Partners ---- */
.partners-body p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ash);
  max-width: 74ch;
  margin-bottom: 1.5rem;
}
.partners-body p:last-child { margin-bottom: 0; }

.engage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
  margin-top: 3.5rem;
}
.engage-card {
  background: var(--ink);
  padding: 2.5rem;
  transition: background 0.25s;
}
.engage-card:hover { background: var(--slate); }
.engage-card h4 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.engage-card p { font-size: 0.875rem; max-width: none; line-height: 1.8; }

/* ---- Criteria list ---- */
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-line);
}
.criteria-item {
  background: var(--ink);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: background 0.2s;
}
.criteria-item:hover { background: var(--slate); }
.criteria-item__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-line);
  line-height: 1;
}
.criteria-item__text { font-size: 0.9rem; max-width: none; }
.criteria-item__text strong { display: block; color: var(--ivory); margin-bottom: 0.25rem; font-size: 0.95rem; font-family: var(--font-display); font-weight: 400; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--slate);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 0.85rem; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .intro-split { grid-template-columns: 1fr; gap: 3rem; }
  .body-split { grid-template-columns: 1fr; gap: 2rem; }
  .svc-detail { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
  :root { --gutter: 1.25rem; }
  .section { padding: 4.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .video-item, .video-item--flip { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
