:root {
  color-scheme: light;
  --forest: #1c302a;
  --forest-2: #24403a;
  --cream: #f3ede1;
  --paper: #fbf7ef;
  --sand: #e7ddc9;
  --sand-soft: #efe7d6;
  --gold: #b18a4e;
  --gold-light: #c79f5f;
  --ink-muted: #6f6353;
  --ink-body: #4f4838;
  --on-dark-muted: #cfc6b6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  /* Be Vietnam Pro fills in Vietnamese letters Jost lacks; only downloaded if needed */
  --sans: "Jost", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 5vw, 58px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Attribute selector rather than :lang(vi): some browsers did not re-apply
   :lang() when the CZ/EN/VI switch changed <html lang> after load. */
html[lang="vi"] {
  /* Jost has no Vietnamese glyphs */
  --sans: "Be Vietnam Pro", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--forest);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: var(--forest);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.4px;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.wrap {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.dark .eyebrow {
  color: var(--gold-light);
}

.lead {
  max-width: 52ch;
  margin-top: 26px;
  color: var(--on-dark-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  font-weight: 300;
  line-height: 1.7;
}

.muted {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Monogram: cream N, gold G, pulled together like the original AD mark */
.monogram {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.8;
  color: var(--cream);
}

.monogram span + span {
  margin-left: -0.16em;
  color: var(--gold-light);
}


.monogram-contact {
  margin: 0 0 18px -2px;
  font-size: 58px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(28, 48, 42, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 159, 95, 0.24);
}

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

.brand .monogram {
  flex: 0 0 auto;
  font-size: 40px;
  line-height: 0.74;
}

.brand-text {
  line-height: 1.1;
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--cream);
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--gold-light);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  color: #d8cfbf;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.nav-link:hover {
  color: var(--cream);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  padding: 3px;
  background: rgba(243, 237, 225, 0.1);
  border-radius: 999px;
}

.lang-switch button {
  padding: 6px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-muted);
  font: 500 0.78rem/1 var(--sans);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--forest);
}

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  background: var(--gold);
  color: var(--forest);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.15s, border-color 0.15s;
}

.pill:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.pill-small {
  height: 40px;
  padding: 0 19px;
  font-size: 0.82rem;
}

.pill-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 237, 225, 0.4);
  font-weight: 400;
}

.pill-ghost:hover {
  background: rgba(243, 237, 225, 0.08);
  border-color: var(--cream);
}

/* Hero */
.hero-inner {
  max-width: 1200px;
  padding-top: clamp(48px, 8vw, 104px);
  padding-bottom: clamp(88px, 12vw, 160px);
}

.hero h1 {
  font-size: clamp(3.2rem, 7.4vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

/* Status strip overlapping the hero */
.status-strip {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 36px), 1080px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -56px auto clamp(64px, 9vw, 112px);
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand);
  box-shadow: 0 24px 56px rgba(28, 48, 42, 0.18);
}

.status-strip div {
  min-width: 0;
  padding: 26px 28px;
  background: var(--paper);
}

.status-strip span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.2;
}

.status-strip strong span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.status-mail {
  border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}

.status-mail:hover {
  color: var(--gold);
}

/* Sections */
.band {
  padding-top: clamp(44px, 7vw, 76px);
  padding-bottom: clamp(44px, 7vw, 76px);
}

.band-tight {
  padding-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand);
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.band-tight .card-grid {
  margin-top: 0;
}

.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 30px;
  background: var(--paper);
}

.card > p {
  margin-top: -5px;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.66;
}

.numeral {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.lines {
  display: grid;
  gap: 16px;
}

.lines p {
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.58;
  text-wrap: pretty;
}

.lines span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lines em {
  font-style: normal;
}

.insurers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.insurers li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--sand);
  border-radius: 3px;
}

.insurers b {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
}

.insurers abbr {
  color: var(--forest);
  font-weight: 500;
  text-decoration: none;
  cursor: help;
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.about h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
}

.about-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #e0d4bd;
  border-radius: 4px;
  background: var(--sand);
  box-shadow: 0 28px 64px rgba(28, 48, 42, 0.2);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role {
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-style: italic;
  font-weight: 500;
}

.about-text {
  display: grid;
  gap: 17px;
  margin-top: 26px;
}

.about-text p {
  color: var(--ink-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}

.quote {
  margin-top: 26px;
  padding: 17px 22px;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.55;
}

.cred {
  margin-top: 22px;
  color: var(--ink-body);
  font-weight: 300;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 2px;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.text-link:hover {
  color: var(--gold);
}

/* Education & courses (vzdelani.html) */
.page-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.04;
}

.training-intro .text-link {
  margin-top: 30px;
}
.training {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.training-intro {
  position: sticky;
  top: 100px;
}

.facts {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.facts div {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}

.facts dt {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--ink-body);
  font-weight: 300;
  line-height: 1.55;
}

.courses {
  padding: 8px 30px;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(28, 48, 42, 0.08);
}

.year-group {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sand-soft);
}

.year-group:last-child {
  border-bottom: 0;
}

.year-group h3 {
  color: var(--gold);
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1.1;
}

.year-group ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.year-group li span {
  display: block;
  color: var(--forest);
  line-height: 1.45;
}

.year-group li small {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 300;
}

/* Hours */
.hours {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.78fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.hours-list {
  margin: 0;
  padding: 10px 28px;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(28, 48, 42, 0.08);
}

.hours-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--sand-soft);
}

.hours-list div:last-child {
  border-bottom: 0;
}

.hours-list dt,
.hours-list dd {
  margin: 0;
}

.hours-list dt {
  color: var(--ink-muted);
  font-weight: 300;
}

.hours-list dd {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
}

/* Contact */
.contact {
  margin-top: clamp(20px, 4vw, 44px);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
  padding-top: clamp(52px, 8vw, 100px);
  padding-bottom: clamp(52px, 8vw, 100px);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(86px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  margin: 0;
  padding: 32px;
  background: var(--forest-2);
  border: 1px solid rgba(199, 159, 95, 0.28);
  border-radius: 4px;
  font-style: normal;
}

.contact-card span {
  color: var(--gold-light);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card span.top {
  align-self: start;
  padding-top: 4px;
}

.contact-card strong {
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.4;
}

.contact-card strong.serif {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.contact-card a {
  justify-self: start;
  min-width: 0;
  border-bottom: 1px solid rgba(199, 159, 95, 0.6);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  border-bottom-color: var(--gold-light);
  color: #ffffff;
}

/* Footer */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(199, 159, 95, 0.2);
  color: var(--on-dark-muted);
  font-size: 0.84rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.footer-inner a {
  color: var(--gold-light);
  font-weight: 400;
}

.footer-inner .legal {
  flex-basis: 100%;
  color: rgba(207, 198, 182, 0.7);
  font-size: 0.74rem;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 960px) {
  .nav-link {
    display: none;
  }

  .status-strip,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .about,
  .training,
  .hours,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .training-intro {
    position: static;
  }

  .about-photo {
    width: min(100%, 420px);
  }
}

/* Phone */
@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .site-header {
    gap: 12px;
    padding-block: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand .monogram {
    font-size: 32px;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .brand-text small {
    letter-spacing: 0.16em;
  }

  .nav {
    gap: 8px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .lang-switch button {
    padding: 6px 9px;
  }

  .pill-small {
    display: none;
  }


  .hero-actions {
    flex-direction: column;
  }

  .pill {
    width: 100%;
  }

  .status-strip {
    width: calc(100% - 32px);
  }

  .status-strip div,
  .card {
    padding: 24px 22px;
  }

  .hours-list {
    padding: 6px 20px;
  }

  .courses {
    padding: 4px 20px;
  }

  .year-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 22px;
  }

  .contact-card strong,
  .contact-card a {
    margin-bottom: 12px;
  }

  .contact-card span.top {
    padding-top: 0;
  }
}
