/* ==========================================================================
   Serica Global Management — v2
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Faculty Glyphic';
  src: url('fonts/faculty-glyphic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nata Sans';
  src: url('fonts/nata-sans-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nata Sans';
  src: url('fonts/nata-sans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nata Sans';
  src: url('fonts/nata-sans-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Custom Properties ---------- */
:root {
  --velvet: #770047;
  --silk: #F7A802;
  --denim: #393738;
  --darkest: #070204;
  --linen: #545051;
  --hemp: #6D696B;
  --cashmere: #A09C9E;
  --cotton: #D2D0D1;
  --canvas: #E2E2E2;

  --font-headline: 'Faculty Glyphic', Georgia, 'Times New Roman', serif;
  --font-body: 'Nata Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--cotton);
  background-color: var(--darkest);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

/* ==========================================================================
   SILK SHAPES — Continuous flowing forms across the page
   Inspired by the bold, defined curves in the brand mockups.
   Uses organic border-radius + rotation for fabric-like contours.
   ========================================================================== */
.silk-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.silk-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  pointer-events: none;
}

.silk-shape--1 {
  width: 55vw;
  height: 55vw;
  top: -18vw;
  right: -8vw;
  background: linear-gradient(160deg, #1e1a1c 0%, #121010 40%, transparent 75%);
  transform: rotate(-15deg);
  opacity: 0.85;
}

.silk-shape--2 {
  width: 45vw;
  height: 50vw;
  top: 5vw;
  right: -5vw;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(200deg, #171415 0%, #0d0b0c 50%, transparent 80%);
  transform: rotate(10deg);
  opacity: 0.7;
}

.silk-shape--3 {
  width: 40vw;
  height: 60vw;
  bottom: 30vh;
  left: -15vw;
  border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
  background: linear-gradient(340deg, #1a1618 0%, #0e0c0d 45%, transparent 78%);
  transform: rotate(20deg);
  opacity: 0.6;
}

.silk-shape--4 {
  width: 50vw;
  height: 45vw;
  bottom: -10vw;
  right: -5vw;
  border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  background: linear-gradient(120deg, #161314 0%, #0c0a0b 40%, transparent 75%);
  transform: rotate(-8deg);
  opacity: 0.65;
}

/* ==========================================================================
   PAGE CONTENT — sits above the silk shapes
   ========================================================================== */
.page {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER — Compact, confident, not a full-viewport hero
   ========================================================================== */
.header {
  padding: 10vh 2rem 8vh;
  text-align: center;
  position: relative;
}

.header__inner {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1s ease 0.2s forwards;
}

.header__logo {
  width: min(65vw, 360px);
  height: auto;
  margin: 0 auto 2.5rem;
}

.header__tagline {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2.8vw, 1.75rem);
  font-weight: 400;
  color: var(--canvas);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.header__subline {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: var(--cashmere);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Gold thin rule below header */
.header__rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--silk);
  margin: 4vh auto 0;
  opacity: 0.6;
}

@keyframes fadeIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .header__inner { animation: none; opacity: 1; }
}

/* ==========================================================================
   SERVICES — Cards with subtle glass treatment
   ========================================================================== */
.services {
  padding: 4vh 2rem 8vh;
}

.services__grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.service-item {
  text-align: center;
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-item__title {
  font-family: var(--font-headline);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 400;
  color: var(--canvas);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  align-self: end;
}

.service-item__desc {
  font-size: clamp(0.875rem, 1.3vw, 0.9375rem);
  color: var(--cashmere);
  font-weight: 300;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================================================
   STATEMENT — The "Why Serica" section, editorial pullquote
   ========================================================================== */
.statement {
  padding: 8vh 2rem 10vh;
  text-align: center;
}

.statement__inner {
  max-width: 680px;
  margin: 0 auto;
}

.statement__heading {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 400;
  color: var(--canvas);
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
}

.statement__heading .accent {
  color: var(--silk);
}

.statement__body {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--cotton);
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: 0.01em;
}


/* ==========================================================================
   EXPERTISE — Minimal, understated
   ========================================================================== */
.expertise {
  padding: 5vh 2rem;
  text-align: center;
}


.expertise__tags {
  font-family: var(--font-headline);
  font-size: clamp(0.8125rem, 1.5vw, 1rem);
  color: var(--hemp);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2.2;
}

.expertise__sep {
  color: var(--silk);
  margin: 0 0.8em;
  font-size: 0.4em;
  vertical-align: middle;
  opacity: 0.6;
}

/* ==========================================================================
   CONTACT — Clean and final
   ========================================================================== */
.contact {
  padding: 8vh 2rem 6vh;
  text-align: center;
  position: relative;
}

.contact__inner {
  position: relative;
  z-index: 1;
}

.contact__heading {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 400;
  color: var(--canvas);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.contact__rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--velvet);
  margin: 0 auto 1.5rem;
  opacity: 0.7;
}

.contact__email {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  color: var(--cotton);
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.contact__email:hover {
  color: var(--velvet);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  text-align: center;
  padding: 2rem;
}

.footer p {
  font-size: 0.75rem;
  color: var(--linen);
  letter-spacing: 0.04em;
  font-weight: 300;
}

.footer__location {
  margin-top: 0.25rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
  }

  .service-item {
    text-align: left;
  }

  .service-item__desc {
    margin: 0;
  }
}

@media (min-width: 768px) {
  .header {
    padding: 12vh 2rem 10vh;
  }

  .services {
    padding: 6vh 3rem 10vh;
  }

  .statement {
    padding: 10vh 3rem 12vh;
  }
}

@media (min-width: 1024px) {
  .header {
    padding: 14vh 2rem 10vh;
  }

  .header__logo {
    width: min(50vw, 380px);
  }
}
