/* ============================================
   CIHAN PÖHRENK — BRUTALIST DESIGN SYSTEM
   Shared tokens & base styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Geist:wght@400;500;600;700;800&display=swap');

:root {
  --anthracite: #17181a;
  --concrete: #212226;
  --concrete-light: #2b2c30;
  --ink: #eae7e1;
  --ink-dim: rgba(234,231,225,0.6);
  --orange: #E85D04;
  --line: rgba(234,231,225,0.14);
  --line-strong: rgba(234,231,225,0.28);
  --coord-dim: rgba(234,231,225,0.35);

  /* Golden ratio type scale */
  --fs-xs: 16px;
  --fs-sm: 26px;
  --fs-md: 42px;
  --fs-lg: 68px;
  --fs-xl: 110px;

  /* Fibonacci spacing */
  --sp-0: 5px;
  --sp-1: 8px;
  --sp-2: 13px;
  --sp-3: 21px;
  --sp-5: 34px;
  --sp-8: 55px;
  --sp-13: 89px;
  --sp-21: 144px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--anthracite);
  color: var(--ink);
  font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- Concrete noise texture (SVG filter, reusable) ---------- */
.noise-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
}

/* ---------- Technical grid overlay with coordinate labels ---------- */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.5;
}
.coord {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--coord-dim);
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.coord-tl { top: 26px; left: 8vw; }
.coord-tr { top: 26px; right: 8vw; }
.coord-bl { bottom: 26px; left: 8vw; }
.coord-br { bottom: 26px; right: 8vw; }

/* ---------- Light section variant (for alternating dark/light rhythm) ---------- */
/* NOTE: only apply to elements that span full width themselves. If the element
   has its own max-width, wrap its content in an inner div and put max-width
   there instead — otherwise the background won't bleed edge-to-edge. */
.section-light {
  background: #EAE7E1;
  --ink: #17181A;
  --ink-dim: rgba(23,24,26,0.6);
  --line: rgba(23,24,26,0.14);
  --line-strong: rgba(23,24,26,0.28);
  --coord-dim: rgba(23,24,26,0.35);
  color: var(--ink);
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 8vw;
  background: rgba(23,24,26,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .logo {
  font-family: 'Michroma', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.logo .mirror-n {
  display: inline-block;
  transform: scaleX(-1);
}
.site-nav .logo .logo-accent { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--orange); }
.nav-book {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 21px;
  background: var(--orange);
  border: 1px solid var(--orange);
  color: var(--anthracite);
  font-weight: 700;
  transition: opacity 0.2s;
}
.nav-book:hover { opacity: 0.85; }

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

/* ---------- Section eyebrow / heading pattern ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  text-transform: uppercase;
}
.section-title {
  font-size: var(--fs-md);
  line-height: 1.05;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-13) 8vw var(--sp-8);
  font-size: 13px;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.site-footer .foot-brand { color: var(--ink); font-weight: 700; letter-spacing: 0.04em; }
.foot-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  transition: color 0.2s;
}
.foot-social:hover { color: var(--orange); }
.foot-social svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 720px) {
  :root {
    --fs-md: 32px;
    --fs-lg: 46px;
    --fs-xl: 68px;
  }
  .site-nav { padding: 16px 6vw; }
  .site-nav .logo { white-space: nowrap; font-size: 18px; }
}

/* ---------- Sticky mobile booking CTA ---------- */
.sticky-book {
  display: none;
}
@media (max-width: 820px) {
  .sticky-book {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 13px 6vw calc(13px + env(safe-area-inset-bottom));
    background: rgba(23,24,26,0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-strong);
  }
  .sticky-book a {
    display: block;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 16px;
    background: var(--orange);
    color: var(--anthracite);
  }
  /* keep page content clear of the fixed bar */
  body { padding-bottom: 70px; }
}
