/* Jenko Digital — mobile-first contact experience. */
:root {
  color-scheme: light;
  --page: #F7F5F0;
  --ink: #211439;
  --muted: #645875;
  --subtle: #776B84;
  --lilac: #AE8CF0;
  --lilac-soft: #EFE8FC;
  --mint: #D8F5BC;
  --line: #E5DFF0;
  --panel: #FFFEFB;
  --field: #F8F6FB;
  --field-line: #CEC1E1;
  --focus: #7D50D3;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #211439;
  --ink: #F7F5F0;
  --muted: #D6CBE3;
  --subtle: #BEAFD0;
  --lilac-soft: #39264F;
  --line: #604977;
  --panel: #302044;
  --field: #3D2B53;
  --field-line: #785E92;
  --focus: #D8F5BC;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
h1,h2,.logo { font-family: 'Space Grotesk',sans-serif; letter-spacing: -.055em; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
svg { overflow: visible; }
.container { width: min(100%, 1280px); margin: 0 auto; padding-inline: 24px; }
.ui-icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 16px; border-radius: 10px; background: var(--mint); color: #211439; font-weight: 700; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { color: var(--ink); font-size: 27px; font-weight: 700; letter-spacing: -.085em; line-height: 1; white-space: nowrap; }
.logo span { color: #956AF0; }
.navlinks, .nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 7px; }
.navlinks { align-items: center; gap: clamp(18px, 2.7vw, 38px); font-size: 14px; font-weight: 600; }
.navlinks a { padding-block: 14px; }
.navlinks a:hover, .mobile-links a:hover { color: #9D72E4; }
.theme-toggle {
  display: none; align-items: center; justify-content: center; gap: 7px;
  min-width: 44px; min-height: 44px; padding: 8px 10px;
  border: 1px solid var(--field-line); border-radius: 100px;
  background: transparent; color: var(--ink); font-size: 12px; font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease;
}
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { background: var(--lilac-soft); }
.theme-label { white-space: nowrap; }
.theme-icon { width: 19px; height: 19px; }
.menu { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; background: transparent; border: 0; border-radius: 12px; color: var(--ink); }
.menu:hover { background: var(--lilac-soft); }
.menu .ui-icon { width: 23px; height: 23px; }
.mobile-links[hidden] { display: none !important; }
.mobile-links.open { display: flex; flex-direction: column; padding: 9px 0 22px; border-top: 1px solid var(--line); }
.mobile-links a { display: block; padding: 13px 4px; min-height: 44px; font-weight: 600; }
.mobile-links a[aria-current='page'] { color: #9272D3; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 52px; border: 1px solid transparent; border-radius: 100px;
  padding: 13px 23px; background: #211439; color: #fff;
  font-size: 14px; font-weight: 700; text-align: center;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #50327C; }
:root[data-theme='dark'] .btn { background: #D8F5BC; color: #211439; }
:root[data-theme='dark'] .btn:hover { background: #E6FFC9; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 36px; padding-block: 28px 76px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.back-link .ui-icon { transform: rotate(-135deg); width: 16px; height: 16px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 40px 0 17px; font-size: 12px; font-weight: 700; color: #7750BD; letter-spacing: .13em; text-transform: uppercase; }
:root[data-theme='dark'] .eyebrow { color: #D8F5BC; }
.dot { width: 9px; height: 9px; background: #AE8CF0; border-radius: 50%; }
h1 { font-size: clamp(2.65rem, 11vw, 4.2rem); line-height: 1.06; font-weight: 600; margin: 0 0 23px; max-width: 720px; overflow-wrap: break-word; }
h1 em { color: #9368DB; font-style: normal; }
:root[data-theme='dark'] h1 em { color: #C4A7FF; }
.intro-copy { max-width: 510px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.contact-aside { margin-top: 28px; display: flex; gap: 13px; align-items: center; min-width: 0; }
.aside-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 15px; background: var(--lilac-soft); color: #8256C9; }
:root[data-theme='dark'] .aside-mark { color: #D8F5BC; }
.aside-mark .ui-icon { width: 22px; height: 22px; }
.contact-aside > div:last-child { display: grid; gap: 5px; min-width: 0; }
.aside-caption { color: var(--subtle); font-size: 12px; }
.contact-aside a { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.contact-graphic { display: none; }
.contact-photo {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--lilac-soft);
}
.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.form-panel { min-width: 0; padding: 28px 22px 26px; border: 1px solid var(--line); border-radius: 25px; background: var(--panel); box-shadow: 0 22px 60px rgba(49,28,71,.07); scroll-margin-top: 22px; }
.form-heading { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.form-kicker { margin: 0 0 13px; font-size: 11px; font-weight: 700; letter-spacing: .15em; color: #825CC6; }
:root[data-theme='dark'] .form-kicker { color: #C4A7FF; }
.form-heading h2 { margin: 0; font-size: clamp(1.85rem, 7vw, 2.75rem); font-weight: 600; line-height: 1.12; }
.form-star { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #D8F5BC; color: #211439; transform: rotate(7deg); }
.form-star svg { width: 23px; height: 23px; }
.form-description { max-width: 560px; margin: 16px 0 27px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.form-description span, .field label > span:not(.optional) { color: #8450D0; font-weight: 700; }
:root[data-theme='dark'] .form-description span,
:root[data-theme='dark'] .field label > span:not(.optional) { color: #D8F5BC; }
.field-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
.field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 19px; }
.field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.optional { font-weight: 400; color: var(--subtle); font-size: 12px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-width: 0; min-height: 51px;
  padding: 13px 15px; border: 1px solid var(--field-line); border-radius: 13px;
  background: var(--field); color: var(--ink); font-size: 15px; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); opacity: 1; }
.field textarea { min-height: 142px; resize: vertical; }
.field select { cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AA8ACD; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.field-hint { margin: 8px 0 0; color: var(--subtle); font-size: 12px; }
.privacy-note { margin: 2px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-note a:hover { color: var(--ink); }
.submit-button { width: 100%; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status { margin: 12px 0; padding: 12px 14px; border-radius: 11px; background: var(--lilac-soft); color: var(--ink); font-size: 13px; line-height: 1.6; }
.form-status.is-error { border: 1px solid #C7A28B; background: #FFF1E7; color: #54301F; }
.form-fallback { padding: 15px; margin: 14px 0 19px; border: 1px solid var(--field-line); border-radius: 14px; background: var(--field); }
.form-fallback p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.form-fallback strong { color: var(--ink); }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.fallback-email, .fallback-copy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 0; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fallback-email:hover, .fallback-copy:hover { color: #9870D8; }
.fallback-copy { color: var(--ink); background: none; border: none; cursor: pointer; }
.fallback-copy-status { display: block; margin-top: 7px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.form-fallback[hidden], .form-status[hidden] { display: none !important; }
:root[data-theme='dark'] .form-status.is-error { color: #FFE8CE; background: #50372D; border-color: #95705D; }
.below-submit { text-align: center; margin: 14px 0 0; font-size: 12px; color: var(--subtle); }
.honeypot { position: absolute; width: 1px; height: 1px; left: -9999px; overflow: hidden; }
.footer { display: flex; flex-direction: column; gap: 18px; padding-block: 25px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer .logo { font-size: 25px; }
.footer > a:last-child { display: inline-flex; gap: 7px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.footer > a:last-child .ui-icon { width: 15px; height: 15px; }

/* Submission confirmation. */
.thank-you-page { min-height: 100vh; display: flex; flex-direction: column; }
.thanks-main { display: grid; place-items: center; flex: 1; padding-block: 45px 80px; }
.thanks-card { width: min(100%, 750px); border: 1px solid var(--line); background: var(--panel); border-radius: 26px; padding: clamp(28px, 7vw, 68px); text-align: center; box-shadow: 0 20px 60px rgba(49,28,71,.07); }
.thanks-icon { margin: 0 auto 12px; display: grid; place-items: center; width: 70px; height: 70px; background: #D8F5BC; color: #211439; border-radius: 24px; }
.thanks-icon .ui-icon { width: 35px; height: 35px; }
.thanks-card .eyebrow { justify-content: center; margin: 25px 0 17px; }
.thanks-card h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); margin-inline: auto; }
.thanks-card > p:not(.eyebrow) { max-width: 510px; margin: 0 auto 28px; line-height: 1.75; font-size: 16px; color: var(--muted); }
.thanks-actions { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; }
.secondary-link { padding: 10px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 359px) {
  .theme-toggle .theme-label { display: none; }
  .theme-toggle { width: 44px; padding: 8px; }
  .container { padding-inline: 20px; }
  .form-panel { padding-inline: 18px; }
}
@media (min-width: 600px) {
  .container { padding-inline: 30px; }
  .contact-layout { padding-top: 46px; }
  .field-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .form-panel { padding: 36px; }
  .footer { flex-direction: row; justify-content: space-between; align-items: center; gap: 22px; }
  .thanks-actions { flex-direction: row; gap: 26px; }
}
@media (min-width: 980px) {
  .container { padding-inline: 42px; }
  .contact-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; gap: 32px clamp(48px,5vw,80px); padding-top: 58px; padding-bottom: 125px; }
  .contact-intro { position: relative; }
  .contact-intro h1 { font-size: clamp(3.35rem, 5vw, 5rem); }
  .contact-intro { grid-column: 2; grid-row: 1; }
  .form-panel { grid-column: 1; grid-row: 1 / span 2; }
  .contact-photo { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 3; border-radius: 26px; }
  .eyebrow { margin-top: 60px; }
  .form-panel { padding: clamp(34px, 3.5vw, 51px); border-radius: 28px; }
  .contact-graphic { display: block; position: relative; margin-top: 54px; height: 240px; width: 100%; max-width: 470px; overflow: hidden; border-radius: 22px; background: #AE8CF0; isolation: isolate; }
  .graphic-orbit { position: absolute; width: 350px; height: 350px; border: 1px solid #F7F5F088; border-radius: 50%; top: -125px; right: -36px; }
  .graphic-orbit::before,.graphic-orbit::after { content: ''; position: absolute; border: 1px solid #F7F5F088; border-radius: 50%; inset: 44px; }
  .graphic-orbit::after { inset: 98px; }
  .graphic-chip { position: absolute; top: 29px; left: 30px; display: flex; align-items: center; gap: 13px; border-radius: 100px; padding: 11px 15px; color: #211439; background: #D8F5BC; font-size: 13px; font-weight: 700; transform: rotate(-6deg); }
  .graphic-chip .ui-icon { width: 14px; height: 14px; }
  .graphic-card { position: absolute; bottom: -11px; right: 39px; background: #F7F5F0; color: #211439; border-radius: 19px; width: 215px; height: 153px; padding: 30px 22px; transform: rotate(7deg); font-family: 'Space Grotesk',sans-serif; font-size: 23px; font-weight: 700; line-height: 1.13; box-shadow: 12px 15px 0 #21143935; }
  .graphic-line { display: block; width: 80%; height: 7px; border-radius: 10px; margin-top: 15px; background: #D8F5BC; }
  .graphic-line.short { margin-top: 7px; width: 53%; background: #C6F0F2; }
  .footer { padding-block: 30px; }
}
@media (min-width: 1100px) {
  .nav { height: 94px; }
  .logo { font-size: 30px; }
  .navlinks { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu { display: none; }
  .nav-actions { gap: 12px; }
  .theme-toggle { padding: 10px 15px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
