/* Smart Skin — static site styles */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/poppins-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/poppins-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #FDFBF7;
  --surface: #FFFFFF;
  --surface-alt: #F7F4EE;
  --ink: #2E2A39;
  --ink-soft: #5A5566;
  --plum: #5E3653;
  --magenta: #9B046F;
  --line: #E9E4DA;
  --radius: 16px;
  --shadow: 0 2px 24px rgba(46, 42, 57, .07);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 108px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 92px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 9px 14px; border-radius: 999px; transition: background .15s;
}
.nav a:hover { background: var(--surface-alt); text-decoration: none; }
.nav a.cta { background: var(--magenta); color: #fff; font-weight: 600; }
.nav a.cta:hover { background: var(--plum); }
.nav-group { position: relative; }
.nav-group > button {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink);
  background: none; border: 0; padding: 9px 14px; border-radius: 999px; cursor: pointer;
}
.nav-group > button:hover { background: var(--surface-alt); }
.nav-group .menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; z-index: 60;
}
.nav-group:hover .menu, .nav-group:focus-within .menu { display: block; }
.nav-group .menu a { display: block; border-radius: 8px; padding: 9px 12px; }

/* mobile nav */
#nav-toggle { display: none; }
.hamburger { display: none; margin-left: auto; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav {
    display: none; position: absolute; top: 108px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px;
  }
  #nav-toggle:checked ~ .nav { display: flex; }
  .nav-group .menu { display: block; position: static; border: 0; box-shadow: none; background: none; padding: 0 0 0 16px; }
  .nav-group > button { display: none; }
  .nav-group::before { content: attr(data-label); display: block; padding: 9px 14px; font-weight: 600; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero img.bg { width: 100%; height: 480px; object-fit: cover; }
.hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(46,42,57,.62) 0%, rgba(46,42,57,.18) 70%);
  display: flex; align-items: center;
}
.hero .overlay .wrap { width: 100%; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.15; max-width: 640px; }
.hero p.sub { color: #F3EDE6; font-size: clamp(17px, 2.2vw, 22px); margin: 14px 0 26px; max-width: 560px; }
@media (max-width: 640px) { .hero img.bg { height: 420px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--magenta); color: #fff;
  font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 999px;
  border: 0; cursor: pointer; transition: background .15s, transform .1s;
}
.btn:hover { background: var(--plum); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--surface-alt); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface-alt); }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; margin-bottom: 18px; }
.section .lead { font-size: 18px; color: var(--ink-soft); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt { margin-top: 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 36px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.card .emoji { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.card p { font-size: 15px; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.principles { list-style: none; margin-top: 20px; }
.principles li { padding: 10px 0; font-size: 17px; border-bottom: 1px dashed var(--line); }
.principles li:last-child { border-bottom: 0; }
.principles b { color: var(--plum); }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 36px; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(46,42,57,.12); }
.post-card a { color: inherit; }
.post-card a:hover { text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 17px; line-height: 1.45; }
.post-card p { font-size: 14.5px; color: var(--ink-soft); }
.post-card .more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--magenta); }

/* ---------- Article & generic prose ---------- */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; max-width: 840px; }
.page-head .meta { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.article-cover { max-width: var(--maxw); margin: 28px auto 0; padding: 0 24px; }
.article-cover img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 520px; object-fit: cover; }

.prose { max-width: 780px; margin: 0 auto; padding: 40px 24px 88px; }
.prose h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; margin: 34px 0 18px; }
.prose h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 24px; }
.prose li { margin: 6px 0; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 28px auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose blockquote { border-left: 3px solid var(--magenta); padding: 4px 0 4px 20px; color: var(--ink-soft); margin: 20px 0; }
.prose a { font-weight: 500; }
.prose table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-alt); }

/* ---------- Team page ---------- */
.team-list { padding: 8px 24px 88px; display: flex; flex-direction: column; gap: 40px; }
.team-member {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; max-width: 940px; margin: 0 auto; width: 100%;
}
.team-member.reverse { grid-template-columns: 1fr 300px; }
.team-member.reverse .team-photo { order: 2; }
.team-member.reverse .team-info { order: 1; }
.team-photo { width: 100%; }
.team-photo img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top center;
  border-radius: 12px; box-shadow: var(--shadow);
}
.team-role {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--magenta);
  background: var(--surface-alt); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.team-info h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin-bottom: 14px; }
.team-info p { color: var(--ink-soft); margin: 10px 0; font-size: 15.5px; }

@media (max-width: 760px) {
  .team-member, .team-member.reverse { grid-template-columns: 1fr; gap: 22px; padding: 22px; text-align: center; }
  .team-member.reverse .team-photo { order: 1; }
  .team-member.reverse .team-info { order: 2; }
  .team-photo { max-width: 280px; margin: 0 auto; }
  .team-role { margin-left: auto; margin-right: auto; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px; max-width: 640px; margin: 36px auto 0;
}
.form-card label { display: block; font-weight: 500; font-size: 14px; margin: 16px 0 6px; }
.form-card input, .form-card textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg);
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--magenta); border-color: transparent; }
.form-card .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFCAD8; margin-top: 40px; }
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 64px 0 40px;
}
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer a { color: #CFCAD8; display: block; padding: 4px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .news p { font-size: 14.5px; max-width: 380px; margin-bottom: 16px; }
.newsletter { display: flex; gap: 10px; max-width: 400px; }
.newsletter input {
  flex: 1; font: inherit; font-size: 14px; padding: 11px 14px;
  border-radius: 999px; border: 1px solid #4A4558; background: #3A3548; color: #fff;
}
.newsletter input::placeholder { color: #9B95A8; }
.newsletter button { white-space: nowrap; }
.legal-bar {
  border-top: 1px solid #4A4558; padding: 20px 0; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
}
.legal-bar a { display: inline; padding: 0; font-size: 13px; }
.legal-bar .copy { margin-left: auto; color: #9B95A8; }

/* CTA band */
.cta-band { background: var(--plum); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #EBDDE6; }
