/* ===== Sinkin Sans — local @font-face ===== */
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-300Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-400Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-400Italic.otf') format('opentype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-500Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-600SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-700Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Sinkin Sans'; src: url('fonts/SinkinSans-700BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; }

:root {
  --white: #ffffff;
  --bg: #f7f7f7;
  --bg-alt: #f0f0f0;
  --light: #e8e8e8;
  --mid: #d0d0d0;
  --border: #c0c0c0;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --text-muted: #9a9a9a;
  --dark: #3a3a3a;
  --darker: #222222;
  --black: #111111;
  --placeholder: #e0e0e0;
  --radius: 8px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 50px;
  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Sinkin Sans', sans-serif;
  background: var(--white); color: var(--text); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ===== ANNOTATION ===== */
.anno {
  position: absolute; top: 12px; right: 16px;
  font-size: 9px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); font-weight: 700;
  border: 1px dashed var(--mid); padding: 4px 12px;
  border-radius: var(--radius); z-index: 2;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-ph {
  background: var(--placeholder); border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; position: relative; overflow: hidden;
}
.img-ph::before, .img-ph::after {
  content: ''; position: absolute;
  width: 150%; height: 1px; background: var(--mid); opacity: .5;
  top: 50%; left: 50%;
}
.img-ph::before { transform: translate(-50%, -50%) rotate(45deg); }
.img-ph::after { transform: translate(-50%, -50%) rotate(-45deg); }
.img-ph span { position: relative; z-index: 1; background: var(--placeholder); padding: 2px 12px; border-radius: var(--radius-xs); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border: 2px solid var(--dark);
  border-radius: var(--radius);
  background: var(--white); color: var(--dark); font-family: inherit;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px;
  text-decoration: none; cursor: pointer; transition: all .15s;
}
.btn:hover { background: var(--bg); }
.btn--filled { background: var(--dark); color: var(--white); }
.btn--filled:hover { background: var(--black); }
.btn--ghost { background: transparent; border-color: var(--mid); color: var(--text-light); }
.btn--sm { padding: 9px 20px; font-size: 11px; }
.btn--lg { padding: 16px 40px; font-size: 14px; }

/* ===== NAVIGATION ===== */
#site-header { padding-top: 12px; }
.nav {
  position: sticky; top: 12px; z-index: 100;
  max-width: calc(var(--max-w) + 48px); margin: 0 auto;
  padding: 12px 20px; display: flex; align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
}
.nav-logo a { display: block; }
.nav-logo img { height: 44px; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--black); font-size: 13px;
  font-weight: 500; letter-spacing: .3px;
}
.nav-links a:hover { color: var(--text-light); }
.nav-links .active { font-weight: 700; border-bottom: 2px solid var(--dark); padding-bottom: 2px; }

/* Megamenu */
.nav-dropdown { position: static; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-arrow { font-size: 10px; transition: transform .2s; }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border: 1px solid var(--light);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 28px 32px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all .2s;
}
.nav-dropdown:hover .mega-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-bottom: 16px;
}
.mega-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 16px 8px; border: 1px solid var(--light);
  border-radius: var(--radius); text-decoration: none;
  transition: all .2s;
}
.mega-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.mega-card .mega-img {
  width: 56px; height: 72px; background: var(--placeholder);
  border-radius: var(--radius-xs); margin-bottom: 10px;
  position: relative; overflow: hidden;
}
.mega-card .mega-img::before, .mega-card .mega-img::after {
  content: ''; position: absolute; width: 150%; height: 1px;
  background: var(--mid); opacity: .4; top: 50%; left: 50%;
}
.mega-card .mega-img::before { transform: translate(-50%,-50%) rotate(45deg); }
.mega-card .mega-img::after { transform: translate(-50%,-50%) rotate(-45deg); }
.mega-card span {
  font-size: 12px; font-weight: 600; color: var(--dark) !important;
  letter-spacing: .2px;
}
.mega-all {
  display: block; text-align: center; font-size: 12px;
  color: var(--text-muted) !important; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  padding-top: 12px; border-top: 1px solid var(--light);
  text-decoration: none;
}
.mega-all:hover { color: var(--dark) !important; }

/* ===== HERO ===== */
.hero { padding: 0; margin: 0 2rem; margin-top: -80px; }
.hero-inner {
  background: var(--bg-alt);
  border-radius: 0 0 var(--radius) var(--radius);
  min-height: 40vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 48px 56px; text-align: center; position: relative;
}
.hero-bg-note {
  position: absolute; top: 12px; left: 16px;
  font-size: 9px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); font-weight: 700;
  border: 1px dashed var(--mid); padding: 4px 12px;
  border-radius: var(--radius); z-index: 2;
}
.hero h1 {
  font-size: 40px; font-weight: 700; color: var(--black);
  margin-bottom: 16px; letter-spacing: -.5px; line-height: 1.15;
}
.hero p {
  font-size: 17px; color: var(--text-light); max-width: 560px;
  margin: 0 auto 36px; line-height: 1.6; font-weight: 300;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .breadcrumb {
  font-size: 12px; color: var(--text-muted); margin-bottom: 20px;
  font-weight: 400; letter-spacing: .3px;
}
.hero .breadcrumb a { color: var(--text-muted); text-decoration: none; }
.hero .breadcrumb a:hover { color: var(--text); }

/* ===== CONTAINER & SECTION ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; position: relative; }
.section--alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 28px; font-weight: 700; color: var(--black);
  margin-bottom: 8px; letter-spacing: -.3px;
}
.section-head p { color: var(--text-muted); font-size: 15px; font-weight: 300; }
.center { text-align: center; }

/* ===== LOGO ITEMS (shared) ===== */
.logo-item {
  display: flex; align-items: center; justify-content: center;
  height: 56px; padding: 8px 12px;
}
.logo-item img {
  max-height: 40px; max-width: 100%; object-fit: contain;
  mix-blend-mode: multiply; opacity: .45;
  filter: grayscale(100%); transition: all .25s;
}
.logo-item img:hover {
  filter: grayscale(0%); opacity: 1;
}

/* ===== FOOTER ===== */
.footer { background: var(--darker); color: #888; padding: 56px 32px 24px; position: relative; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ccc; font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 16px; font-weight: 600;
}
.footer-col p, .footer-col a {
  font-size: 12px; color: #777; line-height: 2; text-decoration: none; display: block; font-weight: 300;
}
.footer-col a:hover { color: #ccc; }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #555; flex-wrap: wrap; gap: 12px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.legal-links a { color: #666; text-decoration: none; font-size: 11px; font-weight: 300; }
.legal-links a:hover { color: #ccc; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 24px; opacity: .5; filter: brightness(10); }

/* ===== HAMBURGER BUTTON ===== */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
  flex-shrink: 0; z-index: 201;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); position: absolute; left: 9px;
  transition: all .25s ease;
}
.nav-hamburger span:nth-child(1) { top: 12px; }
.nav-hamburger span:nth-child(2) { top: 19px; }
.nav-hamburger span:nth-child(3) { top: 26px; }
/* Hamburger → X animation */
.nav-hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ===== MOBILE OVERLAY ===== */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(0,0,0,.4); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s;
}
.nav-overlay.is-visible { display: block; opacity: 1; }

/* ===== BASE RESPONSIVE ===== */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Show hamburger */
  .nav-hamburger { display: block; }

  /* Mobile nav panel */
  .nav-links {
    display: none; /* hidden by default */
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 85vw; z-index: 200;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 32px 24px;
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
    overflow-y: auto;
  }
  .nav-links.is-open {
    display: flex;
  }

  /* Close area at top */
  .nav-links::before {
    content: 'Menu';
    display: block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--text-muted); padding-bottom: 20px;
    margin-bottom: 8px; border-bottom: 1px solid var(--light);
  }

  /* Nav link items */
  .nav-links > a,
  .nav-links > .nav-dropdown {
    display: block; width: 100%;
  }
  .nav-links > a {
    font-size: 15px; font-weight: 500; padding: 14px 0;
    border-bottom: 1px solid var(--light);
    color: var(--black); text-decoration: none;
  }

  /* Dropdown trigger in mobile */
  .nav-dropdown {
    width: 100%; border-bottom: 1px solid var(--light);
  }
  .nav-dropdown-trigger {
    display: block !important; width: 100%;
    font-size: 15px; font-weight: 500; padding: 14px 0;
    color: var(--black); text-decoration: none;
  }

  /* Mega-menu: hidden by default, no hover */
  .mega-menu {
    position: static !important; opacity: 1 !important; visibility: visible !important;
    transform: none !important; box-shadow: none !important;
    border: none !important; border-radius: var(--radius) !important;
    padding: 12px !important; background: var(--bg) !important;
    margin: 0 0 8px !important;
    display: none !important;
  }
  .nav-dropdown:hover .mega-menu { display: none !important; }
  .nav-dropdown.is-open .mega-menu { display: block !important; }
  .mega-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .mega-card { padding: 10px 6px !important; }
  .mega-img { width: 40px !important; height: 52px !important; }

  /* CTA button */
  .nav-links .btn.btn--sm {
    margin-top: 20px; text-align: center;
    padding: 14px 24px; font-size: 13px;
    border-bottom: none; width: 100%;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { width: 100% !important; max-width: 100% !important; }
}
