/* ===============================================================
   Originals Paper Denim — stylesheet
   Light "Paper Denim" theme  (cream paper + indigo denim + slate)
   =============================================================== */

:root {
  --bg:        #f6f4ef;   /* warm paper */
  --bg-alt:    #efece4;   /* deeper paper */
  --surface:   #ffffff;
  --border:    #e4ded2;
  --text:      #17202e;   /* deep slate / ink */
  --muted:     #5d6675;
  --accent:    #2f4b8f;   /* denim indigo */
  --accent-2:  #24386b;   /* darker denim */
  --accent-soft:#eaeff7;  /* pale denim wash */
  --shadow:    0 10px 30px -12px rgba(23,32,46,0.18);
  --shadow-sm: 0 4px 14px -8px rgba(23,32,46,0.16);
  --max:       1160px;
  --radius:    14px;
  --font:      'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
h2.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 44px; font-size: 1.02rem; }

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

/* Logo images are white-on-black artwork; invert + multiply renders them
   as clean dark logos with no visible background box on light surfaces. */
.brand img,
.hero-logo,
.footer-brand img,
.split .media img { filter: invert(1); mix-blend-mode: multiply; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,244,239,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name { font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em; color: var(--text); }
.brand-text .sub  { font-size: 0.64rem; letter-spacing: 0.34em; color: var(--accent); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
/* Button in nav keeps its own colors (override the link color rules above) */
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-ghost:hover { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 30px; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-2); box-shadow: 0 14px 30px -10px var(--accent); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 90px;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(47,75,143,0.12), transparent 60%),
    radial-gradient(760px 420px at 0% 115%, rgba(47,75,143,0.09), transparent 60%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero .eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid #d6e0f2; border-radius: 999px; padding: 7px 16px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 20px; }
.hero p { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); max-width: 620px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-logo { height: 92px; width: auto; margin: 0 auto 30px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; color: var(--accent); }
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); border-color: #cdd8ee; box-shadow: var(--shadow); }
.card .ico { font-size: 1.7rem; margin-bottom: 14px; }
.card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Split (about preview) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .media {
  background: linear-gradient(145deg, var(--accent-soft), #ffffff);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; padding: 54px; min-height: 300px;
  box-shadow: var(--shadow-sm);
}
.split .media img { height: 150px; width: auto; }
.split ul { list-style: none; margin-top: 18px; }
.split li { color: var(--muted); padding: 7px 0 7px 28px; position: relative; }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: 66px 0 40px; text-align: center;
  background: radial-gradient(800px 300px at 50% -30%, rgba(47,75,143,0.10), transparent 60%), var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.page-head p { color: var(--muted); margin-top: 10px; }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 34px 0 12px; color: var(--text); }
.prose h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 12px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose .updated { font-size: 0.86rem; color: var(--muted); font-style: italic; margin-bottom: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-list .ico { font-size: 1.3rem; width: 30px; text-align: center; }
.info-list .k { font-weight: 600; margin-bottom: 2px; color: var(--text); }
.info-list .v { color: var(--muted); font-size: 0.95rem; }
.info-list .v a:hover { color: var(--accent); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.86rem; margin-bottom: 6px; color: var(--muted); }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: 0.95rem;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa2af; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.map-embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 40px; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #eae6dd; border-top: 1px solid var(--border); padding: 56px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.94rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted); transition: .2s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.86rem;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px 0; transform: translateY(-140%); transition: transform .3s; height: auto;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 22px; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
