/* Systémové fonty upravené na metriky Fraunces/Inter, aby text při načtení
   Google Fonts neposkočil. size-adjust je změřený v Chrome na textech webu
   (Fraunces mění šířku s velikostí písma, proto zvlášť pro každý řez). */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 700;
  size-adjust: 79.76%;
  ascent-override: 122.62%;
  descent-override: 31.97%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 600;
  size-adjust: 93.5%;
  ascent-override: 104.6%;
  descent-override: 27.27%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Georgia-Regular");
  font-weight: 500;
  size-adjust: 105%;
  ascent-override: 93.14%;
  descent-override: 24.29%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia Italic"), local("Georgia-Italic");
  font-weight: 500;
  font-style: italic;
  size-adjust: 98.4%;
  ascent-override: 99.39%;
  descent-override: 25.91%;
  line-gap-override: 0%;
}
/* Jméno na mobilu – menší písmo, Fraunces je v něm relativně širší */
@font-face {
  font-family: "Fraunces Fallback Mobile";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 700;
  size-adjust: 91%;
  ascent-override: 107.47%;
  descent-override: 28.02%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  size-adjust: 106.37%;
  ascent-override: 91.07%;
  descent-override: 22.68%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 100.8%;
  ascent-override: 96.11%;
  descent-override: 23.93%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg: #1B1714;
  --bg-soft: #241E1A;
  --blob: #3A2D24;
  --chip: #E8894A;
  --ink: #F3EBE0;
  --text: #C9BDAF;
  --accent: #E8894A;
  --accent-hover: #F2A472;
  --on-accent: #1B1714;
  --card: #F3EBE0;
  --serif: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 88px 24px 96px;
  display: flex;
  align-items: center;
}
.hero__glow {
  position: absolute;
  top: -160px;
  right: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: var(--bg-soft);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

/* Text column */
.hero__text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero__head { display: flex; flex-direction: column; gap: 14px; }
.hero__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(50px, 7.4vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__tagline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.25;
}
.hero__tagline em { color: var(--accent); white-space: nowrap; }
.hero__wave { margin-top: 10px; color: var(--accent); }

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.hero__body p { margin: 0; }
.hero__body strong { font-weight: 600; color: var(--ink); }

.hero__signature {
  width: 240px;
  height: auto;
  margin: 24px 0 8px;
  opacity: 0.9;
}

.contact { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.contact__label {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.contact__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 28px rgba(232, 137, 74, 0.25);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn--outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 0 24px;
}
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn svg { flex: none; }

/* Photo column */
.hero__media { display: flex; justify-content: center; min-width: 0; }
.photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
}
.photo__blob {
  position: absolute;
  inset: 6% -6% -5% 8%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--blob);
}
.photo__dots { position: absolute; top: -18px; right: -14px; color: var(--accent); opacity: .6; }
.photo__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.coffee {
  position: absolute;
  left: -40px;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  background: var(--card);
  border-radius: 22px 6px 22px 22px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  color: var(--on-accent);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.coffee:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.coffee__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--on-accent);
}
.coffee__text {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
}

/* Tablet & mobile */
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 48px 24px 64px; }
  .hero__glow { top: -120px; right: -160px; width: 380px; height: 380px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__name { font-family: "Fraunces", "Fraunces Fallback Mobile", Georgia, serif; }
  .hero__media { order: -1; }
  .photo { max-width: 300px; }
  .photo__dots { width: 60px; height: 60px; top: -14px; right: -18px; }
  .hero__body { font-size: 16px; line-height: 1.65; gap: 16px; }
  .hero__signature { width: 200px; margin: 12px 0 4px; }
  .coffee { left: -28px; bottom: 10%; padding: 8px 16px 8px 8px; gap: 10px; border-radius: 20px 6px 20px 20px; }
  .coffee__icon { width: 34px; height: 34px; }
  .coffee__text { font-size: 18px; }
}
@media (max-width: 520px) {
  .photo { max-width: 264px; }
  .contact__label { font-size: 21px; }
  .contact__buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .coffee { transition: none; }
  .btn--primary:hover, .coffee:hover { transform: none; }
}
