/* wesolowska.net – one stylesheet for all pages. Mobile first. */

@font-face {
  font-family: "Alegreya";
  src: url(/fonts/alegreya-latin-ext-wght-normal.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Alegreya";
  src: url(/fonts/alegreya-latin-wght-normal.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Alegreya";
  src: url(/fonts/alegreya-latin-ext-wght-italic.woff2) format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
  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: "Alegreya";
  src: url(/fonts/alegreya-latin-wght-italic.woff2) format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
  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 {
  --green: #65bc7b;       /* brand: icons, accents, large shapes */
  --green-ink: #357d4a;   /* text and buttons: 5.0:1 on white, 4.6:1 on --tint */
  --green-deep: #1f4a2e;  /* dark sections */
  --tint: #eff7f1;
  --ink: #212934;
  --text: #4a4e57;
  --line: #dfe8e1;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(31 74 46 / .06), 0 8px 28px rgb(31 74 46 / .09);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font: 400 clamp(1.125rem, 1.07rem + .25vw, 1.25rem)/1.6 "Alegreya", Georgia, serif;
  color: var(--text);
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--green-ink); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; padding: 10px 14px; background: #fff; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink);
}
.stack > * + * { margin-top: 1.1em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .6em 1.5em; border-radius: 999px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  background: var(--green-ink); color: #fff; border: 2px solid var(--green-ink);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--green-ink); border-color: currentColor; }
.btn.ghost:hover { background: var(--tint); }
.btn svg, .icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { width: clamp(180px, 46vw, 250px); }
.menu { display: none; gap: 26px; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--green-ink); }
.header .btn { min-height: 42px; padding: .45em 1.1em; }
.header .full { display: none; }
@media (min-width: 1100px) {
  .menu { display: flex; }
  .header .full { display: inline; }
  .header .short { display: none; }
}

/* Hero */
.hero { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--tint), #fff); padding-block: clamp(40px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 1.7rem + 4.4vw, 4.8rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.05; }
.hero h1 span { display: block; margin-top: .15em; font-size: .55em; font-weight: 400; color: var(--green-ink); }
.hero .lead { margin-top: 22px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; max-width: 500px; width: 100%; justify-self: center; }
.hero-media img { width: 100%; aspect-ratio: 20 / 23; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-media::before {
  content: ""; position: absolute; inset: auto -18% -14% auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; background: var(--green); opacity: .16; z-index: -1;
}
.quote-card {
  position: relative; margin: -64px 16px 0; padding: 22px 24px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.quote-card blockquote { margin: 0; font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.quote-card blockquote p + p { margin-top: .3em; }
.quote-card figcaption { margin-top: 12px; font-size: .95rem; color: var(--green-ink); font-weight: 600; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .quote-card { position: absolute; left: -72px; bottom: 36px; margin: 0; width: 330px; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 14px; font-size: 1.2rem; }

/* Cards */
.cards { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 40px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.card-icon { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--tint); fill: var(--green-ink); }

/* About */
.about { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about h2 + .stack { margin-top: 20px; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; } }
.portrait { width: 100%; max-width: 420px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.facts { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; max-width: 420px; }
.facts li { display: flex; gap: 14px; align-items: baseline; padding: 12px 18px; background: #fff; border-radius: 10px; border-left: 3px solid var(--green); line-height: 1.35; }
.facts strong { color: var(--ink); min-width: 4.5ch; white-space: nowrap; font-size: 1.2rem; }
.trainings { margin-top: 1.6em; padding: 4px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.trainings summary { padding: 14px 0; cursor: pointer; font-weight: 700; color: var(--ink); }
.trainings summary::marker { color: var(--green-ink); }
.trainings ul { margin: 0 0 18px; padding-left: 1.2em; font-size: 1.05rem; }
.trainings li + li { margin-top: .45em; }
.trainings li::marker { color: var(--green); }

/* Offer */
.checks { display: grid; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { position: relative; padding: 14px 18px 14px 52px; background: var(--tint); border-radius: 10px; line-height: 1.4; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url(/img/check.svg) center / 16px no-repeat;
}

/* Prices */
.price { margin-top: auto; font-size: 1.1rem; }
.price strong { font-size: 2.6rem; font-weight: 600; color: var(--green-ink); line-height: 1; }
.card dl { margin: 0; }
.card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.card dt { color: var(--ink); font-weight: 600; }
.card dd { margin: 0; text-align: right; }

/* Articles */
.post {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; text-decoration: none; transition: box-shadow .25s, transform .25s;
}
.post:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post div { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: clamp(22px, 3.5vw, 32px); }
.post h3 { font-size: 1.5rem; font-weight: 500; }
.post .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--green-ink); }
.post:hover .more { text-decoration: underline; }

/* Office */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 20px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

/* Contact */
.contact { background: var(--green-deep); color: #d6ecdc; }
.contact h2, .contact h3 { color: #fff; }
.contact .eyebrow { color: #9fd6ae; }
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; max-width: 820px; } }
.contact-item { padding: 24px; border-radius: var(--radius); background: rgb(255 255 255 / .07); }
.contact-item h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.15rem; }
.contact-item .icon { fill: var(--green); }
.contact a { color: #fff; }
.contact .phone-big { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); text-decoration: none; }
.contact .phone-big:hover { text-decoration: underline; }
.contact address { font-style: normal; }
.contact address + p { margin-top: 8px; }

/* Footer */
.footer { padding-block: 28px; background: #16331f; color: #a9c4b0; font-size: 1rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer a { color: #fff; }

@media (max-width: 480px) {
  .facts li { gap: 10px; padding: 12px; }
  .card dl div { flex-direction: column; gap: 0; }
  .card dd { text-align: left; }
}

/* Article and simple pages */
.narrow { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; }
.page-head { padding-top: clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--tint), #fff 70%); }
.page-head a.eyebrow { text-decoration: none; }
.page-head a.eyebrow:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.75rem); font-weight: 500; letter-spacing: -.015em; }
.page-head .lead { margin-top: 18px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.4rem); color: var(--ink); }
.page-head .meta { margin-top: 20px; font-size: 1rem; }
.page-image {
  width: min(100% - 2 * var(--gutter), 960px); margin: clamp(32px, 5vw, 56px) auto 0;
  aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow);
}
.credit { width: min(100% - 2 * var(--gutter), 960px); margin: 10px auto 0; font-size: .9rem; font-style: italic; text-align: right; }

.prose { padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 112px); font-size: clamp(1.15rem, 1.08rem + .3vw, 1.3rem); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: .6em; }
.prose li::marker { color: var(--green-ink); font-weight: 700; }

.cta {
  margin-top: 3em !important; padding: clamp(24px, 4vw, 40px);
  background: var(--green-deep); color: #d6ecdc; border-radius: var(--radius);
}
.cta h2 { margin: 0 0 12px; color: #fff; font-size: 1.7rem; }
.cta .btn { margin-top: 24px; background: #fff; color: var(--green-deep); border-color: #fff; }
.cta .btn:hover { background: var(--tint); }
.page-list { padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 112px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
