/* ============================================================
   style.css – beige background, burgundy text (Nina Miron style)
   Adjust colours in ":root" only.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --text:   #5a4b45;  /* warm taupe-brown body text */
  --accent: #642f38;  /* dark burgundy: name, headings, links */
  --label: #6a3b35; /* cool dusty burgundy: mid-tier sub-headings */
  --muted:  #6e5c4e;  /* darker sub-heading brown */
  --bg:    #f5efe6;  /* slightly cooler, less yellow-toned beige */
  --line:   #e5dfd4;  /* soft beige divider lines */
  --fill:   #ece7dc;  /* darker beige placeholder for photos */
--serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans:  "Liberation Serif", "Iowan Old Style", Georgia, Palatino, "Times New Roman", serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header: name left, navigation right, centred block ---------- */

.site-header {
  max-width: 69rem;          /* keeps name and links closer together */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding: 2.6rem 1.5rem 0;  /* changed: bottom padding removed to eliminate line */
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}

.brand:hover { opacity: 0.6; }

.site-nav { display: flex; gap: 1.6rem; }

.site-nav a {
  font-family: var(--serif);
  font-size: 1rem;
  text-decoration: none;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus { opacity: 0.6; }

.site-nav a.active { border-bottom-color: var(--accent); }

/* ---------- Photo banner ---------- */

.slides {
  position: relative;
  width: min(100%, 69rem);   /* maximal ~1104 px breit, wie Ihr Header */
  margin: 0 auto;            /* zentriert, mit Beige-Rand links/rechts */
  aspect-ratio: 3 / 2;
  overflow: visible;         /* damit die Pfeile herausragen dürfen */
  background: var(--fill);
}

.slide-nav.prev { left: -3.5rem; }   /* links neben dem Bild */
.slide-nav.next { right: -3.5rem; }  /* rechts neben dem Bild */

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
}

.slides img.active { opacity: 1; }

/* ---------- Slider arrows ---------- */

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(249, 247, 242, 0.78);
  color: var(--accent);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 260ms ease, background 260ms ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.slide-nav:hover,
.slide-nav:focus-visible {
  opacity: 1;
  background: rgba(249, 247, 242, 0.95);
}

.slide-nav svg { display: block; }

/* ---------- Text area ---------- */

.content {
  max-width: 62rem;   /* was 100rem — comfortable ~75 characters per line */
  margin: 0 auto;
  padding: 3.6rem 1.5rem 1.5rem;
}

.content {
  max-width: 62rem;
  margin: 0 auto;
  padding: 3.6rem 1.5rem 1.5rem;
}

.content-wide { max-width: 74rem; }   /* about page: wider for photo + text side by side */

h1 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--accent);
  margin: 0 0 1.6rem;
}

h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.6rem 0 0.9rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin: 2.2rem 0 0.8rem;
}

p { margin: 0 0 1.25rem; }

/* ---------- About page: photo left, text right ---------- */

.about-split {
  display: flex;
  gap: 3rem;
  max-width: 200rem;   /* was 60rem — text column grows, photo stays 340px */
  margin: 0 auto;
  align-items: flex-start;
}

.portrait {
  flex: 0 0 340px;    /* unchanged — this is what keeps the photo fixed */
}
.portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1 1 0;           /* grow to fill ALL remaining space */
  max-width: none;       /* remove any cap for now */
}
.about-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Acknowledgement of Country ---------- */

.acknowledgement {
  max-width: 62rem;               /* aligns with the main text column */
  margin: 2.5rem auto 0;
  padding: 1.8rem 1.5rem 2.2rem;
  border-top: 1px solid var(--line);
}

.acknowledgement p {
  margin: 0;
  font-size: inherit;             /* same size as body text (17px) */
  line-height: inherit;           /* same 1.75 as body text */
  font-style: normal;
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 3.8rem;
  border-top: 1px solid var(--line);
  text-align: right;
}

.copyright {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
}
/* ---------- Accessibility & responsive ---------- */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .slides img { transition: none; }
}

@media (max-width: 820px) {
  .about-split {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }
  .portrait {
    flex: 0 0 auto;
    max-width: 340px;
  }
}

@media (max-width: 560px) {
  .slides { aspect-ratio: 4 / 3; }
  .slide-nav { width: 38px; height: 38px; }
  .slide-nav.prev { left: 0.6rem; }
  .slide-nav.next { right: 0.6rem; }
  .content { padding-top: 2.6rem; }
}

@media (max-width: 900px) {
  .slides { overflow: visible; margin-bottom: 4.5rem; }
  .slide-nav { top: calc(100% + 1rem); transform: none; }
  .slide-nav.prev { left: 0; }
  .slide-nav.next { right: 0; }
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.6rem 0 0.9rem;
}

/* ---------- Mobile menu (hamburger) ---------- */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
}

@media (max-width: 700px) {
  /* brand stacks: name above "Art therapy", no dot */
  .brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 0.1rem;
  }

  .brand-sep { display: none; }

  h3 {
    font-size: 0.98rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }

  /* keep name and toggle above the open menu overlay */
  .brand,
  .nav-toggle {
    position: relative;
    z-index: 40;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-toggle .icon-close { display: none; }
  body.nav-open .nav-toggle .icon-open  { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--bg);
    align-items: center;
    padding: 1.2rem 1.5rem 1rem;
  }

  body {
    padding-top: 6.4rem;   /* room for the fixed header */
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem 4rem;
  }

  body.nav-open .site-nav { display: flex; }
  body.nav-open { overflow: hidden; }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    letter-spacing: 0.04em;
    text-transform: none;
    padding: 0.55rem 0;
    border-bottom: none;
    color: var(--accent);
  }
}