:root {
  --terracotta:      #c0836a;
  --terracotta-deep:  #a8674f;
  --rust:             #6b2a16;
  --cream:            #faece0;
  --cream-soft:       #f3e3d3;
  --forest:           #1c2620;
  --forest-soft:      #263229;
  --sage:             #838966;
  --sage-soft:        #9ea180;

  --forest-rgb:     28, 38, 32;
  --cream-rgb:      250, 236, 224;
  --cream-soft-rgb: 243, 227, 211;
  --terracotta-rgb: 192, 131, 106;

  --font-display: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--forest);
  background: var(--forest);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- persistent background wave (spans the whole scroll, colors drift with it) ---------- */
#wave {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(28,38,32,0.28);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(250,236,224,0.08);
  transition: background 0.5s var(--ease), border-color .5s var(--ease);
}
.nav.on-light {
  background: rgba(250,236,224,0.55);
  border-bottom-color: rgba(28,38,32,0.08);
}
.nav.on-light .nav-links a { color: var(--forest); }
.nav.on-light .nav-wordmark { filter: none; }

.nav-mark {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
}
.nav-wordmark {
  height: 20px;
  width: auto;
  transition: filter .5s var(--ease);
}
.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}
.nav-links a {
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.03em;
  opacity: 0.9;
  transition: opacity .2s, color .4s var(--ease);
}
.nav-links a:hover { opacity: 1; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- flowing sections ---------- */
main { position: relative; z-index: 1; }

.layer {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px clamp(24px, 6vw, 64px) 120px;
}
.section-inner.narrow { max-width: 760px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
  opacity: 0.8;
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--terracotta-deep); opacity: 1; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  color: var(--forest);
  margin-bottom: 28px;
}
.section-title.light { color: var(--cream); }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--forest);
  max-width: 640px;
  font-weight: 300;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- HERO ---------- */
.hero {
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero .eyebrow { text-align: center; color: var(--terracotta); opacity: 1; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--cream-soft);
  opacity: 0.85;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px 34px;
  border-radius: 40px;
  transition: transform .3s var(--ease), background .3s;
}
.btn:hover { background: var(--cream); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: var(--terracotta); }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px; height: 36px;
  border: 1.5px solid rgba(250,236,224,0.5);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  background: var(--terracotta);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 7px; }
}

/* ---------- ABOUT ---------- */
.about .eyebrow,
.about .section-title,
.about .lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 44px;
}
.about-grid p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--forest);
  opacity: 0.85;
  font-weight: 300;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- OFFERINGS ---------- */
.offerings .section-title { text-align: center; }
.offerings .eyebrow { text-align: center; }
.offerings-list {
  margin: 50px auto 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
}
.offering-row {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 38px clamp(0px, 3vw, 28px);
  margin: 0 clamp(0px, -3vw, -28px);
  border-top: 1px solid rgba(250,236,224,0.14);
  border-radius: 14px;
  transition: background .35s var(--ease), padding .35s var(--ease), margin .35s var(--ease);
}
.offering-row:last-child { border-bottom: 1px solid rgba(250,236,224,0.14); }
.offering-row:hover {
  background: rgba(250,236,224,0.045);
}
.offering-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--cream);
  transition: color .3s var(--ease);
}
.offering-row:hover h3 { color: var(--terracotta); }
.offering-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--cream-soft);
  opacity: 0.75;
  font-weight: 300;
  max-width: 600px;
}
.offering-text p + p { margin-top: 14px; }

/* staggered reveal — each row fades in as it scrolls into view */
.offering-row.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease), background .35s var(--ease), color .3s var(--ease); }
.offering-row.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 720px) {
  .offering-row { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; margin: 0; }
}

/* ---------- GALLERY ---------- */
.gallery .section-title,
.gallery .eyebrow { text-align: center; }
/* "justified" rows — every photo here is close to the same 3:2 aspect ratio,
   so each item is sized by aspect-ratio (not forced into a grid cell), which
   means no cropping, no letterbox/pillarbox, ever. Rows alternate how they're
   aligned (left / right) so the whole thing reads as loosely staggered rather
   than a rigid grid, per the "posunuté doprava/doľava" request. */
.gallery-grid {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}
.gallery-row-right { justify-content: flex-end; }
.gallery-row-center { justify-content: center; }
.gallery-item {
  position: relative;
  flex: 0 0 auto;
  height: 260px;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  overflow: hidden;
  background: var(--forest-soft);
}
.gallery-item.gallery-tall {
  aspect-ratio: 3 / 4;
}
.gallery-item.gallery-tall img { object-position: 66% 35%; }
.gallery-item.gallery-feature { height: 340px; }
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-photo:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(10,14,12,0.72) 0%, rgba(10,14,12,0) 55%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.gallery-photo:hover .gallery-caption { opacity: 1; }
.gallery-caption span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: 0.03em;
  transform: translateY(10px);
  transition: transform .45s var(--ease);
}
.gallery-photo:hover .gallery-caption span { transform: translateY(0); }

.gallery-thanks {
  max-width: 780px;
  margin: 46px auto 0;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--cream-soft);
  opacity: 0.65;
}
.gallery-note {
  text-align: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--cream-soft);
  opacity: 0.55;
  letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .gallery-item { height: 210px; }
}
@media (max-width: 560px) {
  .gallery-row, .gallery-row-right { justify-content: center; }
  .gallery-item { height: auto; width: 100%; aspect-ratio: 3 / 2; }
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
  align-items: center;
}
.contact .section-inner { text-align: center; }
.contact-inner { max-width: 1000px; }
.contact-mark {
  height: 34px;
  width: auto;
  margin: 0 auto 32px;
}
.contact .section-title { color: var(--cream); }
.contact .lede { color: var(--forest); opacity: 0.8; margin: 0 auto 34px; }

/* contact form — bordered fields on the terracotta background */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  text-align: left;
  /* keep the form inside the site's standard content column so it lines up
     with the heading above instead of running wider than it */
  max-width: 760px;
  margin: 44px auto 0;
}
.form-col { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-grow { flex: 1; }
.field-label {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.9;
}
.field-label em { font-style: normal; opacity: 0.6; }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(250,236,224,0.5);
  border-radius: 4px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-form textarea {
  resize: vertical;
  min-height: 190px;
  height: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--cream);
  opacity: 0.5;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(250,236,224,0.1);
}
/* browser autofill forces a solid white/yellow background — override it so a
   filled-in field keeps the same soft translucent look as an empty one */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px rgba(250,236,224,0.1) inset;
  caret-color: var(--cream);
  transition: background-color 9999s ease-in-out 0s;
}
.form-submit {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(250,236,224,0.5);
  border-radius: 4px;
  padding: 17px 20px;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.form-submit:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}
@media (max-width: 720px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form textarea { min-height: 150px; }
}

.socials {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 40px;
}
.socials a {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity .2s;
}
.socials a:hover { opacity: 1; }
.footer-note {
  margin-top: 70px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--forest);
  opacity: 0.55;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .section-inner { padding: 100px 22px 80px; }
}
