/* ==========================================================================
   Ieva Melāne - site styles
   Colours and fonts live in :root. Change them here, not in the HTML.
   ========================================================================== */

/* Font: Cormorant Garamond (SIL Open Font License), served from this site - no Google requests. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-latin.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: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-italic-latin.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 {
  --ink: #16332e;          /* dark green - main text / dark sections */
  --ink-2: #1c4a42;        /* body text on light */
  --ink-deep: #0f2b26;
  --ink-hover: #1c4038;    /* hover on dark cards */
  --sage: #3c6e62;         /* small labels on light */
  --bg: #eef4ef;           /* page background */
  --mist: #dfe9e1;         /* light green sections */
  --gold: #dcb98a;         /* accents on dark */
  --sand: #e9d9bd;
  --sand-hover: #f2e6cf;
  --clay: #cf8b6d;         /* main buttons */
  --clay-hover: #dd9c7e;
  --on-dark: #eef4ef;
  --line-dark: rgba(238, 244, 239, 0.14);
  --line-light: rgba(22, 51, 46, 0.16);
  --serif: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); font-family: var(--serif); color: var(--ink); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
input, textarea, button, select { font: inherit; color: inherit; }
a { color: var(--ink-2); text-decoration: none; }
a:hover { color: var(--ink-deep); }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
p, ul { margin: 0; }
em { font-weight: 400; }
[id] { scroll-margin-top: 20px; }

/* Accessibility helpers: text for screen readers only, and a skip link that
   appears only when focused with the keyboard. Neither is visible otherwise. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -200px; z-index: 100; background: var(--sand); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--ink); }

/* ---------- layout ---------- */
.pad  { padding-left: 56px; padding-right: 56px; }
.wrap { max-width: 1240px; margin-left: auto; margin-right: auto; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.cols { display: grid; gap: 90px; align-items: start; }
.cols-1-1   { grid-template-columns: 1fr 1fr; }
.cols-08-12 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cols-1-12  { grid-template-columns: 1fr 1.2fr; }
.cols-12-1  { grid-template-columns: 1.2fr 1fr; }

.dark  { background: var(--ink); color: var(--on-dark); }
.mist  { background: var(--mist); }

/* ---------- type ---------- */
.eyebrow { text-transform: uppercase; font-size: 16px; letter-spacing: .24em; color: var(--sage); }
.dark .eyebrow { color: var(--gold); }
.t-xl { font-size: clamp(44px, 4.6vw, 70px); line-height: 1.05; }
.t-l  { font-size: clamp(40px, 4.1vw, 62px); line-height: 1.06; }
.t-m  { font-size: clamp(36px, 3.7vw, 55px); line-height: 1.1; }
.t-s  { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.15; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 22px; }
.dark h2 em, .dark h1 em { color: var(--gold); }
.lead { font-size: 22px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.lead + .lead { margin-top: 22px; }
.hl { color: var(--gold); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: '→'; content: '→' / ''; }
.dark .link-arrow { color: var(--sand); }

/* ---------- buttons ---------- */
.btn { display: inline-block; flex: none; white-space: nowrap; border: none; border-radius: 999px; font-weight: 600; cursor: pointer; text-align: center; }
.btn-clay { background: var(--clay); color: var(--ink); padding: 17px 30px; font-size: 19px; }
.btn-clay:hover { background: var(--clay-hover); color: var(--ink); }
.btn-hero { background: rgba(207, 139, 109, .8); color: var(--ink); padding: 18px 34px; font-size: 20px; }
.btn-hero:hover { background: var(--clay-hover); color: var(--ink); }

/* ---------- navigation ---------- */
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; color: var(--on-dark); }
.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 42px; height: 42px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 40%, transparent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-style: italic; flex: none; }
.brand-name { text-transform: uppercase; font-size: 16px; letter-spacing: .22em; line-height: 1.5; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 19px; font-weight: 500; }
.nav-links a { white-space: nowrap; }
.nav-links > a:not(.btn) { color: inherit; }
.nav-links > a[aria-current="page"] { border-bottom: 2px solid var(--clay); padding-bottom: 3px; }
.lang { display: flex; gap: 2px; font-size: 15px; letter-spacing: .1em; border: 1px solid rgba(238, 244, 239, .3); border-radius: 999px; padding: 3px; }
.lang > * { padding: 5px 11px; border-radius: 999px; }
.lang a { color: rgba(238, 244, 239, .6); }
.lang a:hover { color: var(--on-dark); }
.lang > span { background: var(--on-dark); color: var(--ink); }
.nav-cta { background: var(--sand); color: var(--ink); padding: 13px 26px; }
.nav-cta:hover { background: var(--sand-hover); color: var(--ink); }
.nav--no-cta .nav-cta { display: none; }
/* nav on a light page */
.nav--light { color: var(--ink); }
.nav--light .lang { border-color: rgba(22, 51, 46, .3); }
.nav--light .lang a { color: rgba(22, 51, 46, .6); }
.nav--light .lang a:hover { color: var(--ink); }
.nav--light .lang > span { background: var(--ink); color: var(--on-dark); }
.nav--light .nav-cta { background: var(--ink); color: var(--on-dark); }
.nav--light .nav-cta:hover { background: var(--ink-2); color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(ellipse 90% 55% at 70% 8%, rgba(220, 185, 138, .22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 15% 95%, rgba(60, 110, 98, .35), transparent 65%),
    linear-gradient(180deg, #1a3a34 0%, #16332e 55%, #122a26 100%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; opacity: 0; transition: opacity 1.5s linear; }
.hero-video.is-on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 42, 38, .55) 0%, rgba(18, 42, 38, .35) 45%, rgba(18, 42, 38, .6) 100%); }
.hero-body { position: relative; padding-top: 110px; padding-bottom: 140px; }
.hero h1 { font-size: clamp(56px, 7.5vw, 104px); line-height: 1.02; letter-spacing: -.01em; margin-top: 28px; }
.hero h1 em { color: var(--gold); }
.hero .btn-hero { margin-top: 48px; }
.rule-label { text-transform: uppercase; display: flex; align-items: center; gap: 14px; font-size: 16px; letter-spacing: .24em; color: rgba(238, 244, 239, .75); }
.rule-label::before { content: ''; width: 40px; height: 1px; background: rgba(238, 244, 239, .5); flex: none; }
.rule-label--small { font-size: 14px; letter-spacing: .3em; color: rgba(238, 244, 239, .7); margin-top: 72px; }

/* ---------- sections ---------- */
.sec { padding-top: 120px; padding-bottom: 120px; }
.sec-intro, .sec-about { padding-top: 130px; padding-bottom: 130px; }
.sec-intro { gap: 80px; }
.sec-intro .lead { font-size: 23px; }
.intro-col { padding-top: 56px; }

/* assessment */
.sec-assess { padding-bottom: 40px; }
.sec-assess .cols { padding-bottom: 110px; border-bottom: 1px solid var(--line-dark); }
.assess-big { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.35; text-wrap: pretty; }
.assess-more { font-size: 20px; line-height: 1.7; color: rgba(238, 244, 239, .82); text-wrap: pretty; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.assess-big + .assess-more { margin-top: 40px; }

/* counselling areas */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 64px; }
.area { background: var(--ink); padding: 40px 34px; transition: background .2s; }
.area:hover { background: var(--ink-hover); }
.area h3 { font-size: 27px; line-height: 1.15; color: var(--gold); margin-bottom: 12px; }
.area p { font-size: 19px; line-height: 1.5; color: rgba(238, 244, 239, .85); text-wrap: pretty; }
.area .note { font-style: italic; color: var(--on-dark); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.areas-after { max-width: 760px; font-size: 21px; line-height: 1.5; color: rgba(238, 244, 239, .88); margin-top: 48px; text-wrap: pretty; }
.sec-areas h2 { max-width: 760px; text-wrap: balance; }
.sec-areas .link-arrow { margin-top: 40px; }

/* about */
.sec-about { gap: clamp(40px, 6vw, 90px); }
.portrait { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.portrait img { width: 100%; height: auto; max-width: 440px; aspect-ratio: 773 / 1179; object-fit: cover; border-radius: 4px; }
.sec-about .lead { max-width: 600px; }
.sec-about h2 + .lead { margin-top: 32px; }

/* my path */
.sec-path { padding-top: 110px; padding-bottom: 110px; }
.path { list-style: none; padding: 0; margin-top: 28px; border-bottom: 1px solid var(--line-light); }
.path li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-top: 1px solid var(--line-light); font-size: 20px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.path li::before { content: '·'; content: '·' / ''; color: var(--sage); }

/* how I work */
.sec-values { padding-top: 110px; padding-bottom: 110px; }
.value { padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.value h3 { font-size: 24px; margin-bottom: 8px; }
.value p { font-size: 19px; line-height: 1.6; color: rgba(238, 244, 239, .72); }

/* contact block + footer */
.sec-contact { padding-top: 130px; padding-bottom: 60px; }
.sec-contact h2 em { color: var(--sage); }
.sec-contact .lead { margin-top: 30px; max-width: 480px; }
.contact-list { margin-bottom: 0; display: flex; flex-direction: column; gap: 16px; margin-top: 44px; font-size: 20px; }
.contact-list > div { display: flex; gap: 16px; align-items: baseline; }
.contact-list dt { text-transform: uppercase; font-size: 14px; letter-spacing: .2em; color: var(--sage); width: 90px; flex: none; }
.contact-list dd { margin: 0; white-space: nowrap; }
.contact-list a { color: var(--ink); border-bottom: 1px solid rgba(22, 51, 46, .35); }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 110px; padding-top: 32px; border-top: 1px solid rgba(22, 51, 46, .18); font-size: 16px; color: var(--sage); }
.footer-name { text-transform: uppercase; letter-spacing: .2em; }

/* ---------- form ---------- */
.card { background: var(--bg); border: 1px solid rgba(22, 51, 46, .14); border-radius: 4px; padding: 44px 40px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form label, .form legend { text-transform: uppercase; display: block; font-size: 14px; letter-spacing: .2em; color: var(--sage); margin-bottom: 9px; padding: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(22, 51, 46, .3); font-size: 19px; padding: 8px 0; outline: none; }
.form input:focus, .form textarea:focus { border-bottom-color: currentColor; }
.form textarea { resize: vertical; }
.form .btn-clay { align-self: flex-start; }
.form-ok { background: rgba(220, 185, 138, .25); border: 1px solid rgba(160, 120, 70, .4); padding: 16px 20px; border-radius: 4px; font-size: 18px; line-height: 1.5; }
.form-ok[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-small { font-size: 16px; line-height: 1.6; color: rgba(238, 244, 239, .5); }

/* chips (contact page topic picker) */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.form .chips label { text-transform: none; margin: 0; border: 1px solid rgba(238, 244, 239, .35); border-radius: 999px; padding: 9px 18px; font-size: 17px; letter-spacing: 0; color: var(--on-dark); cursor: pointer; white-space: nowrap; }
.form .chips input:checked + label { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

/* form on a dark page */
.dark .card { background: rgba(238, 244, 239, .06); border-color: var(--line-dark); border-radius: 6px; padding: 46px 42px; }
.dark .form { gap: 24px; }
.dark .form label, .dark .form legend { color: rgba(238, 244, 239, .6); }
.dark .form legend { margin-bottom: 12px; }
.dark .form input[type=text], .dark .form textarea { border-bottom-color: rgba(238, 244, 239, .35); }
.dark .form-ok { background: rgba(220, 185, 138, .15); border-color: rgba(220, 185, 138, .4); color: var(--sand); }

/* ---------- contact page ---------- */
.page-dark { background: var(--ink); color: var(--on-dark); min-height: 100vh; display: flex; flex-direction: column; }
.contact-page { flex: 1; width: 100%; padding-top: 70px; padding-bottom: 110px; }
.contact-page h1 { font-size: clamp(48px, 5vw, 80px); line-height: 1.04; }
.contact-page .lead { color: rgba(238, 244, 239, .8); margin-top: 30px; max-width: 460px; }
.contact-page .contact-list { gap: 18px; margin-top: 52px; }
.contact-page .contact-list dt { color: rgba(238, 244, 239, .55); }
.contact-page .contact-list a { color: var(--on-dark); border-bottom-color: rgba(238, 244, 239, .35); }
.page-dark .footer { margin-top: 0; padding-top: 28px; padding-bottom: 40px; border-top-color: var(--line-dark); color: rgba(238, 244, 239, .55); }

/* ---------- prices page ---------- */
.page-head { padding-top: 80px; padding-bottom: 90px; text-align: center; }
h1.eyebrow { font-weight: 400; }
.not-found { min-height: 50vh; }
.not-found .lead { margin: 30px auto 0; max-width: 520px; }
.plans-wrap { padding-bottom: 120px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 860px; margin: 0 auto; }
.plan { background: #fff; color: var(--ink); border: 1px solid var(--line-light); border-radius: 6px; padding: 36px 30px; display: flex; flex-direction: column; }
.plan--dark { background: var(--ink); color: var(--on-dark); }
.plan-tag { text-transform: uppercase; font-size: 14px; letter-spacing: .22em; opacity: .7; }
.plan h2 { font-size: 28px; line-height: 1.12; margin-top: 16px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; row-gap: 4px; margin-top: 22px; }
.plan-price strong { font-weight: 400; font-size: 46px; line-height: 1.1; white-space: nowrap; }
.plan-price span { font-size: 17px; opacity: .7; white-space: nowrap; }
.plan p { font-size: 18px; line-height: 1.6; opacity: .85; margin: 20px 0 26px; flex: 1; }
.plan .plan-btn { display: block; text-align: center; border: 1px solid rgba(22, 51, 46, .4); color: inherit; padding: 13px 0; border-radius: 999px; font-weight: 600; font-size: 18px; }
.plan--dark .plan-btn { border-color: rgba(238, 244, 239, .4); }
.plan .plan-btn:hover { background: rgba(127, 127, 127, .08); color: inherit; }
.plan-terms { text-transform: uppercase; display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; margin-top: 44px; font-size: 15px; letter-spacing: .16em; color: var(--sage); text-align: center; }

.faq h2 { margin-bottom: 44px; }
.faq details { border-top: 1px solid rgba(238, 244, 239, .16); padding: 26px 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 24px; }
.faq summary::after { content: '+'; content: '+' / ''; font-size: 22px; color: var(--gold); }
.faq details[open] summary::after { content: '-'; content: '-' / ''; }
.faq details p { font-size: 20px; line-height: 1.7; color: rgba(238, 244, 239, .8); margin-top: 16px; max-width: 640px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { flex-wrap: wrap; row-gap: 16px; }
  .nav-links { gap: 24px; }
}
@media (max-width: 760px) {
  .pad { padding-left: 20px; padding-right: 20px; }
  .sec, .sec-intro, .sec-about, .sec-path, .sec-values, .sec-contact, .hero-body, .contact-page, .page-head { padding-top: 72px; padding-bottom: 72px; }
  .cols, .areas, .plans { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .areas { gap: 1px; }
  .nav { row-gap: 14px; padding-top: 18px; padding-bottom: 6px; }
  .brand-name { white-space: normal; font-size: 14px; }
  .nav-links { width: 100%; gap: 18px; font-size: 14.5px; flex-wrap: wrap; }
  .nav-cta { display: none; }
  .card, .dark .card { padding: 28px 22px; }
  .intro-col { padding-top: 0; }
  .portrait img { max-width: 300px; }
  .hero h1, .contact-page h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .footer { margin-top: 72px; }
}
