:root {
  --ink: #17201c;
  --muted: #65716c;
  --line: #dce3df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --forest: #23493a;
  --forest-dark: #142b22;
  --gold: #b88a39;
  --teal: #1a7269;
  --rose: #b45b59;
  --shadow: 0 24px 70px rgba(18, 32, 27, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 38px rgba(18, 32, 27, 0.11);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  opacity: 0.72;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.site-header.is-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 72px) 86px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-personal {
  object-position: 68% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 20, 16, 0.86), rgba(10, 20, 16, 0.54) 43%, rgba(10, 20, 16, 0.12)),
    linear-gradient(0deg, rgba(10, 20, 16, 0.72), rgba(10, 20, 16, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--forest-dark);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--white);
  background: var(--forest-dark);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  display: grid;
  width: min(680px, calc(100% - 36px));
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.hero-panel strong {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.2;
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.profile-grid {
  align-items: center;
}

.profile-photo {
  margin: 30px 0 0;
}

.profile-photo img,
.review-copy img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.profile-photo img {
  max-height: 560px;
  object-position: center 18%;
}

.profile-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f6f1;
}

.profile-card strong {
  color: var(--ink);
  font-size: 24px;
}

.profile-card span {
  margin-bottom: 6px;
}

.profile-card a {
  color: var(--forest);
  font-weight: 900;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.services {
  background: #eef3ef;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.quote-grid figure,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  min-height: 270px;
  padding: 26px;
}

.service-card p,
.timeline p,
.quote-grid figcaption,
.split-content p,
.career-band p,
.site-footer p,
.contact-copy p {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: #e5eee8;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(30px, 6vw, 86px);
  align-items: stretch;
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--forest-dark);
}

.split-content {
  max-width: 760px;
}

.split-content p,
.career-band p {
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.numbers {
  display: grid;
  gap: 12px;
}

.numbers div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.numbers strong {
  display: block;
  color: var(--gold);
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1;
}

.numbers span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  padding: 26px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--rose);
  font-weight: 900;
}

.career-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 48px clamp(18px, 5vw, 72px);
  background: #dfe7e2;
}

.career-band h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 44px);
}

.testimonials {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote-grid figure {
  margin: 0;
  padding: 28px;
}

.quote-grid blockquote {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.45;
}

.quote-grid figcaption {
  font-weight: 800;
}

.review-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: #eef3ef;
}

.review-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.review-copy img {
  max-height: 520px;
  margin-top: 30px;
  object-position: center 28%;
}

.review-form {
  background: var(--white);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.contact-copy {
  align-self: start;
  position: sticky;
  top: 110px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  font-size: 20px;
  font-weight: 800;
}

.contact-lines a:hover {
  color: var(--teal);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f6f1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5cf;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 600;
}

.consent input {
  min-height: auto;
  margin-top: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.84);
  background: #111916;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner .button {
  min-height: 44px;
  white-space: nowrap;
}

.cookie-banner .cookie-reject {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(20, 43, 34, 0.92), rgba(20, 43, 34, 0.72)),
    url("assets/jeronym-skaloud-hero.jpeg") center / cover;
}

.thanks-screen {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 32px;
  padding: clamp(24px, 6vw, 72px);
  color: var(--white);
}

.thanks-brand {
  justify-self: start;
}

.thanks-card {
  width: min(720px, 100%);
}

.thanks-card h1 {
  font-size: clamp(44px, 7vw, 84px);
}

.thanks-card p:not(.section-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

@media (max-width: 980px) {
  .service-grid,
  .timeline,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .split-band,
  .review-section,
  .contact-section,
  .career-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .career-band .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 850px;
    align-items: center;
    padding: 110px 18px 190px;
  }

  .hero-personal {
    object-position: 64% center;
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .timeline,
  .quote-grid,
  .review-section,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand small {
    display: none;
  }
}
