/* tatarko.sk — dark, editorial, one accent */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-normal.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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-ext-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-italic.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-ext-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0e0e0d;
  --ink: #f2efea;
  --ink-2: #cfcac2;
  --muted: #a39d94;
  --line: rgba(242, 239, 234, 0.14);
  --line-soft: rgba(242, 239, 234, 0.1);
  --accent: #d6b891;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

a { color: var(--ink); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 10px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { top: 12px; color: #000; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 32px;
  padding-block: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  margin-right: auto;
  padding-block: 8px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 0.8;
  letter-spacing: 0.01em;
}
.wordmark__mark { flex: none; width: 40px; height: 32px; color: var(--accent); }
.wordmark__mark polyline { stroke-width: 5; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; list-style: none; }
.nav a { display: inline-block; padding-block: 12px; }
.nav a[aria-current="page"] { color: var(--accent); }

.lang { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--muted); }
.lang a { padding-block: 12px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); }

@media (max-width: 720px) {
  .lang { order: 1; }
  .nav { order: 2; width: 100%; }
  .nav ul { gap: 0 22px; }
}

/* Type */

.eyebrow,
.label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.label { color: var(--accent); margin-bottom: 12px; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8.4vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display em, .title em { color: var(--accent); }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.title--xl { font-size: clamp(56px, 6.5vw, 96px); line-height: 0.95; }

.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }

.rule { width: 96px; height: 2px; background: var(--accent); border: 0; margin: 40px 0 28px; }

.prose { display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Buttons */

.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(242, 239, 234, 0.3);
  background: none;
  color: var(--ink);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 600; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #000; }

.link-arrow { color: var(--accent); font-weight: 500; font-size: 15px; }
.link-arrow:hover { color: var(--ink); }

/* Sections */

.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-bottom: 56px;
}
.section-head > p { max-width: 420px; color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.split > * { flex: 1 1 360px; min-width: 0; }
.split > .split__main { flex: 1.4 1 480px; }

/* Home hero */

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 24px; }
.hero__text { flex: 1 1 520px; min-width: 0; padding-block: clamp(16px, 4vw, 48px); }
.hero__text .eyebrow { margin-bottom: 32px; }
.hero__media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero__media img {
  width: 100%;
  max-width: 560px;
  height: min(820px, 92vh);
  object-fit: cover;
  object-position: 40% 30%;
}

/* The black studio backdrop is not perfectly black around the subject: feather it into the page */
.hero__media img,
.blend img {
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 60%, transparent 100%);
}

/* Family members */

.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.member {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.member img, .member__monogram { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(160px, 18vw, 260px);
  line-height: 1;
  color: var(--accent);
  user-select: none;
}
.member__body { display: flex; flex-direction: column; gap: 12px; flex-grow: 1; padding: 28px; }
.member__name { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.member__role { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.member__text { flex-grow: 1; font-size: 16px; color: var(--ink-2); }
.member .link-arrow { margin-top: 12px; }

/* Full-bleed photo band */

.band { position: relative; }
.band img { width: 100%; height: clamp(360px, 50vw, 720px); object-fit: cover; object-position: 50% 20%; }
.band figcaption {
  position: absolute;
  inset: auto 0 clamp(24px, 4vw, 48px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
}

/* Where we live */

.place-meta { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 16px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; color: var(--ink); }
.facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Gallery */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; padding: 0; list-style: none; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.gallery__wide { grid-column: 1 / -1; }
.gallery__wide img { aspect-ratio: 3 / 1; }
@media (max-width: 640px) { .gallery__wide img { aspect-ratio: 3 / 2; } }

/* Footer / contact */

.site-footer { border-top: 1px solid var(--line); }
.contact { display: flex; flex-wrap: wrap; gap: 48px 64px; padding-block: clamp(64px, 8vw, 96px) 48px; }
.contact > :first-child { flex: 1 1 380px; min-width: 0; }
.contact__cols { flex: 1.3 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.contact__col { display: flex; flex-direction: column; gap: 6px; }
.contact__col h3 { margin: 0 0 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__col h3:not(:first-child) { margin-top: 24px; }
.contact__col a { padding-block: 4px; }
.contact__col .big { font-size: 20px; }

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 40px;
  font-size: 13px;
  color: var(--muted);
}

/* Profile pages (Tomáš, Ivka) */

.profile { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 64px; padding-block: 48px var(--section); }
.profile__text { flex: 1.5 1 520px; min-width: 0; }
.profile__text .eyebrow { margin-bottom: 28px; }
.profile__media { flex: 1 1 300px; min-width: 0; max-width: 460px; }
.profile__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

.quote {
  padding-block: clamp(56px, 8vw, 96px);
  border-block: 1px solid var(--line);
}
.quote p {
  max-width: 22em;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  text-wrap: balance;
}
.quote p::before { content: "„"; color: var(--accent); }
.quote p::after { content: "“"; color: var(--accent); }
:lang(en) .quote p::before { content: "“"; }
:lang(en) .quote p::after { content: "”"; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; padding: 0; list-style: none; background: var(--line-soft); border: 1px solid var(--line-soft); counter-reset: svc; }
.services li { padding: 32px 28px; background: var(--bg); counter-increment: svc; }
.services li::before { content: counter(svc, decimal-leading-zero); display: block; margin-bottom: 20px; font-size: 13px; letter-spacing: 0.24em; color: var(--accent); }
.services h3 { margin-bottom: 12px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.services p { font-size: 16px; color: var(--ink-2); }

.timeline { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px 48px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.timeline__when { font-family: var(--serif); font-size: 32px; line-height: 1.1; color: var(--accent); }
.timeline h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.timeline__role { margin: 6px 0 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.timeline p:last-child { max-width: 46em; color: var(--ink-2); }
@media (max-width: 720px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.tags li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink-2); }
.tag-group h3 { margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.cta { padding: clamp(40px, 6vw, 72px); background: var(--surface); border: 1px solid var(--line-soft); }
.cta .title { max-width: 14em; }
.cta .lead { margin-top: 20px; }

.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.topic { padding: 36px 32px; background: var(--surface); border: 1px solid var(--line-soft); }
.topic h3 { margin-bottom: 16px; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.topic p + p { margin-top: 16px; }
.topic p { color: var(--ink-2); }

.photo-split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.photo-split > picture { flex: 1 1 320px; max-width: 480px; }
.photo-split > div { flex: 1.3 1 420px; min-width: 0; }

/* 404 */

.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 64px; }

/* Print: the résumé becomes a clean CV */

@media print {
  @page { size: A4; margin: 14mm 14mm; }
  :root { --bg: #fff; --surface: #fff; --ink: #000; --ink-2: #222; --muted: #555; --line: #ccc; --line-soft: #ddd; --accent: #000; }
  body { font-size: 10pt; line-height: 1.4; background: #fff; color: #000; }
  .no-print, .site-header, .site-footer, .skip-link, .profile__media, .actions, .cta { display: none !important; }
  .section, .quote { padding-block: 8pt 0; }
  .quote { padding-bottom: 8pt; }
  .profile { padding-block: 0 4pt; }
  .profile__text .eyebrow { margin-bottom: 6pt; }
  .display { font-size: 30pt; line-height: 1; }
  .display br { display: none; }
  .rule { width: 48pt; margin: 8pt 0; }
  .lead, .prose, .services p, .timeline p { font-size: 10pt; }
  .prose { gap: 6pt; }
  .label { margin-bottom: 2pt; font-size: 8pt; }
  .title { font-size: 18pt; }
  .split { gap: 6pt 24pt; }
  .section-head { margin-bottom: 8pt; padding-top: 8pt; }
  .section-head > p { display: none; }
  .quote p { font-size: 14pt; max-width: none; }
  .services { grid-template-columns: 1fr 1fr; gap: 0 18pt; border: 0; background: none; }
  .services li { padding: 3pt 0; break-inside: avoid; }
  .split:has(.tag-group) { flex-wrap: nowrap; }
  .tag-group h3 { margin-bottom: 4pt; }
  .tags { gap: 4pt; }
  .services li::before { display: none; }
  .services h3, .timeline h3 { font-size: 13pt; margin-bottom: 2pt; }
  .timeline li { grid-template-columns: 90pt 1fr; padding-block: 5pt; gap: 2pt 16pt; break-inside: avoid; }
  .timeline__role { margin: 1pt 0 3pt; }
  .timeline__when { font-size: 12pt; }
  .tags li { padding: 2pt 8pt; font-size: 9pt; }
  .print-only { display: block !important; }
  a { color: #000; }
}
.print-only { display: none; }
