/* Cowork SG — Brand Identity Design System v2 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&display=swap');

:root {
  /* Brand Colors */
  --navy:        #1B2B4B;
  --navy-dark:   #111D33;
  --navy-light:  #243660;
  --coral:       #E8614A;
  --coral-dark:  #C94D39;
  --coral-light: #F5806C;
  --orange:      #F5A820;
  --orange-dark: #D98E10;
  --ink:         #1A1A1A;
  --ink-2:       #444444;
  --ink-3:       #777777;

  /* Surfaces */
  --bg:          #FFFFFF;
  --surface:     #F6F7FA;
  --surface-2:   #EEF0F5;
  --border:      #DDE1EC;
  --border-light:#EAEDF5;

  /* Fonts */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;

  --transition: 200ms ease;
  --radius:     6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 820px;  margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo img { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--coral) !important;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ── TYPE ── */
.display {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label-coral  { color: var(--coral); }
.label-orange { color: var(--orange-dark); }
.label-navy   { color: var(--navy-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  padding: 0.85rem 1.85rem;
}
.btn-coral   { background: var(--coral);  color: white; }
.btn-coral:hover   { background: var(--coral-dark); transform: translateY(-2px); }
.btn-navy    { background: var(--navy);   color: white; }
.btn-navy:hover    { background: var(--navy-dark);  transform: translateY(-2px); }
.btn-orange  { background: var(--orange); color: var(--ink); }
.btn-orange:hover  { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: white; color: var(--navy); }

/* ── RULE ── */
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 2rem 2.5rem;
  margin-top: 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-logo img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p  { font-size: 0.83rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }

.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-powered {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-powered a { color: var(--orange); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--transition); }
.footer-powered a:hover { text-decoration-color: var(--orange); }
.footer-disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 900px; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-mobile-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .container, .container-narrow { padding: 0 1.25rem; }
}
