/* ==========================================================================
   SUSIN COMPANY LIMITED — Design System
   Dark navy · cream · champagne-gold · 1920s–30s
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted fonts (latin subset). No third-party requests — fully private.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-400.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfair-500.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-600.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/jost-300.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jost-400.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jost-500.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-600.woff2") format("woff2");
}

:root {
  /* Palette — drawn from the logo (navy + cream). Tune --bg to the exact
     navy of susin-logo-dark.png once the PNGs are dropped in. */
  --bg:         #0C1622;
  --bg-raised:  #131F2C;
  --cream:      #F3EFE6;
  --cream-soft: #E8E2D6;
  --muted:      #98A1AD;
  --gold:       #C7B27E;
  --gold-soft:  rgba(199, 178, 126, 0.55);
  --line:       rgba(243, 239, 230, 0.12);
  --line-faint: rgba(243, 239, 230, 0.07);

  --shadow-soft: 0 40px 90px -50px rgba(0, 0, 0, 0.75);
  --shadow-lift: 0 18px 40px -22px rgba(0, 0, 0, 0.6);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --gutter: 26px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream-soft);
}

/* Recreated "Susin" wordmark — the logo, rendered in Playfair so it stays crisp
   and recolours to cream. Shown whenever the brand PNG is not present. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
}

.brand .wordmark { font-size: 1.7rem; }

.wordmark--hero {
  font-size: clamp(2.1rem, 6.5vw, 4.4rem);
}

.wordmark--footer { font-size: 1.7rem; margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15em 2.8em 1.05em;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease);
}

.btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--bg);
  box-shadow: var(--shadow-lift);
}

.btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(21, 32, 46, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-faint);
  box-shadow: 0 20px 50px -40px rgba(0, 0, 0, 0.9);
}

.site-header.nav-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  z-index: 110;
}

.brand__logo {
  height: 30px;
  width: auto;
}

.brand__fallback {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 46px;
}

.site-nav a {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color .35s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.site-nav a:hover { color: var(--cream); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-nav__cta {
  color: var(--cream) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--cream);
  margin: 7px 0;
  transition: transform .4s var(--ease), opacity .3s;
}

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px var(--gutter) 120px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(199, 178, 126, 0.10), transparent 68%),
    radial-gradient(ellipse 90% 60% at 50% 120%, rgba(13, 20, 30, 0.9), transparent 70%),
    var(--bg);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow { margin-bottom: 38px; }

.hero__logo {
  width: min(320px, 58vw);
  height: auto;
}

.hero__fallback {
  margin: 0;
}

.hero__rule {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 44px 0 38px;
}

.hero__sub {
  max-width: 38ch;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(96px, 12vw, 168px) 0;
}

.section--contact {
  border-top: 1px solid var(--line-faint);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: clamp(48px, 6vw, 78px);
}

.section-head .eyebrow { flex-shrink: 0; }

.section-head__rule {
  flex: 1;
  height: 1px;
  background: var(--line-faint);
}

.section-head__count {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Venture card
   -------------------------------------------------------------------------- */

.venture-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-raised);
  box-shadow: var(--shadow-soft);
  padding: clamp(44px, 6vw, 84px);
  overflow: hidden;
}

.venture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(199, 178, 126, 0.07), transparent 60%);
  pointer-events: none;
}

.venture-card__no {
  position: absolute;
  top: clamp(32px, 5vw, 66px);
  right: clamp(32px, 5vw, 66px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: var(--gold-soft);
}

.venture-card__logo {
  height: clamp(42px, 6vw, 64px);
  width: auto;
  margin-bottom: 30px;
}

.venture-card__tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7em 1.5em 0.6em;
  margin-bottom: 34px;
}

.venture-card__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 54ch;
  margin-bottom: 42px;
}

.venture-card__meta {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

/* Pending venture slot */
.venture-pending {
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: clamp(38px, 5vw, 60px);
  text-align: center;
  margin-top: 26px;
}

.venture-pending p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Statement band
   -------------------------------------------------------------------------- */

.statement {
  text-align: center;
  padding: clamp(80px, 11vw, 150px) 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(199, 178, 126, 0.06), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}

.statement blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--cream);
}

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

.statement__rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 40px auto 0;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-raised);
  padding: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 56px);
}

.contact .eyebrow {
  display: block;
  margin-bottom: 22px;
}

.contact__line {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 30px;
}

.contact__email {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  color: var(--cream);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 4px;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-faint);
  background: #08101A;
  padding: clamp(64px, 8vw, 92px) 0 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr));
  gap: clamp(40px, 5vw, 78px);
  padding-bottom: clamp(54px, 7vw, 78px);
}

.footer__logo {
  height: 30px;
  width: auto;
  margin-bottom: 20px;
}

.site-footer__brand p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
  max-width: 32ch;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 13px; }

.site-footer ul a {
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color .35s var(--ease);
}

.site-footer ul a:hover { color: var(--cream); }

.site-footer__bottom {
  border-top: 1px solid var(--line-faint);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__bottom p {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger helpers (replace inline styles so the CSP needs no 'unsafe-inline') */
.rd-12 { --reveal-delay: 0.12s; }
.rd-24 { --reveal-delay: 0.24s; }
.rd-32 { --reveal-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    background: rgba(17, 26, 37, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }

  .site-nav.is-open { opacity: 1; visibility: visible; }

  .site-nav a { font-size: 0.875rem; letter-spacing: 0.3em; }

  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .venture-card__no { display: none; }
  .venture-card__meta .btn { width: 100%; text-align: center; }
  .site-footer__top { grid-template-columns: 1fr; }
}
