/* Simona Simone — static site
   Visual language inspired by LIP Method landing (Playfair + Montserrat)
   Brand accent from existing site: dusty rose #a36061
*/
:root {
  --rose: #a36061;
  --rose-deep: #8a4d4e;
  --rose-soft: #f3e6e6;
  --cta: #c04042;      /* Call To Action colour */
  --cta-deep: #a23335; /* hover */
  --ink: #1f1a19;
  --ink-soft: #4a4240;
  --muted: #6e6563;
  --paper: #faf7f5;
  --paper-2: #f0ebe7;
  --white: #ffffff;
  --line: rgba(92, 67, 64, 0.14);
  --shadow: 0 18px 50px rgba(31, 26, 25, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(163, 96, 97, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(92, 67, 64, 0.08), transparent 50%),
    var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rose); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.35rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
blockquote {
  margin: 1.5em 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--rose);
  background: var(--rose-soft);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 245, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo img { width: min(220px, 52vw); height: auto; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.nav-primary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}
.nav-primary a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] { color: var(--rose); }
.nav-primary .has-children { position: relative; }
.nav-primary .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.6rem;
  flex-direction: column;
  gap: 0.2rem;
}
.nav-primary .has-children:hover .submenu,
.nav-primary .has-children:focus-within .submenu { display: flex; }
.nav-primary .submenu a {
  text-transform: none;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
}
.nav-primary .submenu a:hover { background: var(--rose-soft); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-primary {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1rem 1.25rem;
  }
  .nav-primary.is-open { display: block; }
  .nav-primary ul { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .nav-primary .submenu {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.35rem 0 0 0.8rem;
  }
}

/* Hero */
.hero {
  position: relative;
  /* Never taller than 47vh: the first text section must stay above the fold */
  height: 47vh;
  max-height: 47vh;
  min-height: 0;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #5c4340 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,26,25,0.25) 0%, rgba(31,26,25,0.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto clamp(0.9rem, 3vh, 2rem);
  animation: rise 0.9s ease both;
}
.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}
.hero h1 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(1.7rem, 5.5vh, 3rem);
  line-height: 1.1;
  margin-bottom: 0.3em;
  text-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.hero .lede {
  max-width: 38rem;
  font-size: clamp(0.95rem, 2.3vh, 1.1rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  margin-bottom: clamp(0.6rem, 2vh, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.hero-kicker { margin-bottom: 0.4rem; }
/* Short or narrow viewports: 47vh is small, keep only title + actions */
@media (max-height: 760px), (max-width: 640px) { .hero-kicker { display: none; } }
@media (max-height: 640px), (max-width: 640px) { .hero .lede { display: none; } }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--cta);
  border-color: var(--cta);
}
.btn-outline:hover { background: var(--cta); color: #fff; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: rgba(255,255,255,0.55); }
.section-rose {
  background: linear-gradient(135deg, var(--rose-deep), #5c4340);
  color: #fff;
}
.section-rose h2, .section-rose h3 { color: #fff; }
.section-rose a { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head-wide { max-width: none; }
.lede { font-size: 1.12rem; color: var(--ink-soft); }

/* Portrait */
.portrait-wrap {
  position: relative;
  width: min(340px, 100%);
  margin-inline: auto;
}
.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow:
    0 0 0 10px rgba(163, 96, 97, 0.18),
    0 25px 60px rgba(31, 26, 25, 0.22);
  animation: soft-glow 4.5s ease-in-out infinite alternate;
}
@keyframes soft-glow {
  from { box-shadow: 0 0 0 10px rgba(163,96,97,0.15), 0 25px 60px rgba(31,26,25,0.18); }
  to { box-shadow: 0 0 0 14px rgba(163,96,97,0.28), 0 30px 70px rgba(31,26,25,0.25); }
}
.portrait-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; } /* text stays first: it must be above the fold */
}

.band {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: #fff;
  background: #3b2f2e center/cover no-repeat;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,26,25,0.82), rgba(163,96,97,0.55));
}
.band-inner { position: relative; z-index: 1; max-width: 48rem; }
.band h2 { color: #fff; }

.grid-2, .grid-3 {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.feature {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rose);
  margin-bottom: 0.4rem;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--rose);
}

.prose { max-width: none; } /* text uses the full container width (--max) */
.prose img { border-radius: 14px; margin: 1.2rem 0; }
.page-hero {
  padding: clamp(1.25rem, 4vh, 3rem) 0 clamp(0.75rem, 2vh, 1.5rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.page-hero .eyebrow { margin-bottom: 0.5rem; }
.page-hero h1 { font-size: clamp(1.3rem, min(4.6vh, 5.6vw), 2.6rem); line-height: 1.15; margin-bottom: 0; }
/* Intro text moved out of the hero so the hero stays under 47vh */
.hero-intro { padding-top: clamp(1.25rem, 3vh, 2.25rem); padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.hero-intro .lede { max-width: 52rem; }

.workshop {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.workshop img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.workshop-body { padding: 1.25rem 1.35rem 1.5rem; }
.meta-line { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.8rem; }

/* Forms */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(163, 96, 97, 0.35);
  border-color: var(--rose);
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }

.blog-list { display: grid; gap: 1rem; }
.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.blog-card time { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.blog-card-body { display: grid; gap: 0.4rem; align-content: center; min-width: 0; }
.blog-card.has-img {
  grid-template-columns: 240px 1fr;
  gap: 1.35rem;
  padding: 0;
  overflow: hidden;
}
.blog-card.has-img .blog-card-body { padding: 1.25rem 1.35rem 1.25rem 0; }
.blog-card-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .blog-card.has-img { grid-template-columns: 1fr; gap: 0; }
  .blog-card.has-img .blog-card-body { padding: 1.1rem 1.25rem 1.3rem; }
  .blog-card-img { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
}
.post-cover {
  width: 100%;
  max-width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 2rem;
  display: block;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #704544, #2a2221);
  color: rgba(255,255,255,0.86);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f3c7c7; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  text-align: center;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: min(180px, 50vw); margin: 0 auto 1rem; }
.socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  text-align: center;
}
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
.agency {
  margin-top: 1.5rem;
  padding: 1rem;
  text-align: center;
  background: rgba(0,0,0,0.22);
  font-size: 0.9rem;
}
/* Metodyca brand orange (their --brand) */
.site-footer .agency a { color: #c55f0d; font-weight: 600; }
.site-footer .agency a:hover { color: #ffb37a; }

/* Motion helpers */
.reveal {
  animation: rise 0.8s ease both;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Page hero with background photo (old Divi section backgrounds) */
.page-hero.has-bg {
  position: relative;
  display: grid;
  align-items: end;
  height: 47vh;
  max-height: 47vh; /* same above-the-fold rule as .hero */
  margin-bottom: 0;
  border-bottom: 0;
  overflow: hidden;
  background: #5c4340 center/cover no-repeat;
}
.page-hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,26,25,0.3) 0%, rgba(31,26,25,0.72) 100%);
}
.page-hero.has-bg .container { position: relative; z-index: 1; }
.page-hero.has-bg h1,
.page-hero.has-bg .eyebrow { color: #fff; text-shadow: 0 6px 24px rgba(0,0,0,0.4); }

/* Figures floated to the right of the text */
.prose::after { content: ""; display: block; clear: both; }
.float-right {
  float: right;
  width: min(320px, 42%);
  margin: 0.3rem 0 1.5rem 2.25rem;
}
.float-right.portrait-wrap { margin-inline: 2.25rem 0; }
.float-right img { margin: 0; }
.book-figure { display: grid; gap: 1rem; justify-items: center; }
.book-cover { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.content-img { width: auto; max-width: 100%; }
@media (max-width: 640px) {
  .float-right, .float-right.portrait-wrap {
    float: none;
    width: min(280px, 100%);
    margin: 0 auto 1.75rem;
  }
}
.prose .portrait { border-radius: 50%; }
.page-hero.has-bg { background-position: center 50%; }

/* Privacy consent checkbox */
label.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
  cursor: pointer;
}
label.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--cta);
  cursor: pointer;
}

/* Blog post hero: title in white over the featured image */
.page-hero.post-hero::before {
  background: linear-gradient(180deg, rgba(31,26,25,0.35) 0%, rgba(31,26,25,0.55) 45%, rgba(31,26,25,0.85) 100%);
}
.page-hero.post-hero h1 { max-width: 24em; text-wrap: balance; }
.page-hero.post-hero .eyebrow { letter-spacing: 0.12em; }
.page-hero.post-hero.hero-dim::before {
  background: linear-gradient(180deg, rgba(31,26,25,0.72) 0%, rgba(31,26,25,0.86) 50%, rgba(31,26,25,0.94) 100%);
  backdrop-filter: blur(3px);
}
.float-right.float-35 { width: 35%; }
@media (max-width: 640px) { .float-right.float-35 { width: min(280px, 100%); } }

/* ---------- Gallery + lightbox (blog) ---------- */
.prose .gallery { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.prose .gallery li { margin: 0; }
.prose .gallery a { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: #eee; }
.prose .gallery img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .35s ease; }
.prose .gallery a:hover img, .prose .gallery a:focus-visible img { transform: scale(1.05); }
.prose .gallery a:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20,14,14,.94); color: #fff; }
.lightbox::backdrop { background: rgba(20,14,14,.94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4rem 1.5rem; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { margin-top: .8rem; font-size: .9rem; text-align: center; max-width: 60em; opacity: .9; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--cta); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .prose .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .lightbox figure { padding: 4rem .75rem 1rem; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1rem; transform: none; }
}
