/* IONA Design — shared styles for the English (index.html) and German (de/index.html) pages */

/* ─────────────────────────────────────────
   FONTS — self-hosted (SIL Open Font License, see assets/fonts/OFL-*.txt)
   Latin subset: covers English, German and the site's punctuation.
───────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/inter-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* IONA Design brand colours */
  --red:        #C12727;   /* IONA Red */
  --cream:      #F7EBD5;   /* Cream */
  --charcoal:   #262424;   /* Charcoal */

  /* Lighter tint of IONA Red, only for small red text on Charcoal
     (plain IONA Red is too low-contrast there at small sizes) */
  --red-on-dark: #E66363;

  /* Supporting neutrals, warmed to sit with the new cream */
  --grey:       #DDD0BA;
  --mid:        #5E5754;   /* body grey on cream, ~6:1 */

  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;

  --max-w:      1120px;
  --pad-x:      clamp(1.5rem, 5vw, 5rem);
  --section-v:  clamp(6rem, 11vw, 10.5rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.divider {
  border: none;
  border-top: 1px solid var(--grey);
  margin: 0;
}

/* Fade-in on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

nav.scrolled {
  background-color: var(--red);
  border-bottom: 1px solid rgba(38, 36, 36, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

/* Light logo on both the dark hero and the red scrolled bar */
.nav-logo .logo-light { display: block; }

/* Default nav-cta: on dark hero → cream text */
.nav-cta {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 235, 213, 0.75);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(247, 235, 213, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  color: var(--red);
  border-color: var(--red);
}

/* Scrolled nav-cta: on red bar → cream text */
nav.scrolled .nav-cta {
  color: var(--cream);
  border-color: rgba(247, 235, 213, 0.6);
}

nav.scrolled .nav-cta:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

/* Language switcher */
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--cream);
  text-decoration: none;
  padding-bottom: 1px;   /* same underline position as Get in touch */
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

/* Active language: fine underline, matching the Get in touch link */
.lang-switch a[aria-current="page"] {
  border-bottom-color: rgba(247, 235, 213, 0.6);
}

.lang-switch a:not([aria-current]):hover {
  border-bottom-color: rgba(247, 235, 213, 0.3);
}

.lang-switch span {
  color: rgba(247, 235, 213, 0.4);
}

nav.scrolled .lang-switch span {
  color: rgba(247, 235, 213, 0.55);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  padding-top: 8rem;
  background-color: var(--charcoal);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 235, 213, 0.7);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background-color: var(--red);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 14ch;
}

/* The red I — used once, here only */
.hero-headline .hero-i {
  color: var(--red);
}

.hero-subline {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
  color: rgba(247, 235, 213, 0.8);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 300;
  color: rgba(247, 235, 213, 0.72);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 66ch;
  line-height: 1.85;
}

/* Hero-specific button: outline cream on dark background */
#hero .btn {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(247, 235, 213, 0.35);
}

#hero .btn:hover {
  background-color: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background-color: var(--charcoal);
  padding: 1.15em 2.75em;
  border: 1px solid var(--charcoal);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--charcoal);
}

.btn.btn-outline {
  color: var(--charcoal);
  background-color: transparent;
}

.btn.btn-outline:hover {
  background-color: var(--charcoal);
  color: var(--cream);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 235, 213, 0.38);
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--grey);
  animation: scrollline 2.5s ease-in-out infinite;
}

@keyframes scrollline {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.4); opacity: 0.4; }
}

/* ─────────────────────────────────────────
   SECTION SHARED STYLES
───────────────────────────────────────── */
section {
  padding: var(--section-v) var(--pad-x);
}

.section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: var(--red);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* Italic is the editorial accent; red is reserved for a few moments
   (process + final CTA), so it isn't the same punchline everywhere */
.section-heading em {
  font-style: italic;
  color: inherit;
}

.section-heading em.accent {
  color: var(--red);
}

/* ─────────────────────────────────────────
   WHO I WORK WITH
───────────────────────────────────────── */
#who {
  background-color: var(--cream);
}

.who-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.who-body {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
}

.who-body p + p {
  margin-top: 1.25em;
}

.who-detail {
  padding-top: 0.5rem;
}

.who-detail-item {
  padding: 1.65rem 0;
  border-top: 1px solid rgba(221, 208, 186, 0.6);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.who-detail-item:last-child {
  border-bottom: 1px solid rgba(221, 208, 186, 0.6);
}

.who-detail-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--red);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   WHAT I DO
───────────────────────────────────────── */
#what {
  background-color: var(--charcoal);
  color: var(--cream);
}

#what .section-label,
#cta .section-label {
  color: var(--red-on-dark);
}

#what .section-label::before,
#cta .section-label::before {
  background-color: var(--red-on-dark);
}

#what .section-heading {
  color: var(--cream);
}

.what-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.what-header {
  max-width: 60ch;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(221, 208, 186, 0.2);
}

.what-item {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) clamp(1.5rem, 2.75vw, 2.75rem);
  border-right: 1px solid rgba(221, 208, 186, 0.2);
  transition: background-color 0.3s ease;
}

/* First column aligns with the section heading */
.what-item:first-child {
  padding-left: 0;
}

.what-item:last-child {
  border-right: none;
}

.what-item:hover {
  background-color: rgba(247, 235, 213, 0.04);
}

.what-number {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(247, 235, 213, 0.55);
  margin-bottom: 1.5rem;
  display: block;
}

.what-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.6vw, 2.6rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.9rem;
  line-height: 1.1;
}

.what-subtitle {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-on-dark);
  font-weight: 400;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(221, 208, 186, 0.2);
}

.what-desc {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(247, 235, 213, 0.74);
}

.what-closing {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid rgba(221, 208, 186, 0.2);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(247, 235, 213, 0.68);
  max-width: 80ch;
}

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
#how {
  background-color: var(--cream);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.how-step {
  position: relative;
}

.how-step-num {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: #D2C3AA;
  margin-bottom: 1.5rem;
  display: block;
}

.how-step-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.how-step-body {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
}

.how-step::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background-color: var(--red);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────
   PHILOSOPHY
───────────────────────────────────────── */
#philosophy {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: clamp(6rem, 12vw, 12rem) var(--pad-x);
}

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

/* Top of the mark aligns with the top of the heading */
.philosophy-mark {
  margin-top: 0.5rem;
}

.philosophy-o {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}

.philosophy-tagline {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(247, 235, 213, 0.3);
  margin-top: 1.25rem;
}

.philosophy-body {
  max-width: 56ch;
}

.philosophy-body p,
.philosophy-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.85rem);
  font-weight: 300;
  line-height: 1.68;
  color: var(--cream);
  margin-bottom: 1.75em;
}

.philosophy-body .lead {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.1em;
}

.philosophy-body p.light {
  color: rgba(247, 235, 213, 0.7);
}

.philosophy-body p.closing {
  color: var(--cream);
  font-weight: 400;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(221, 208, 186, 0.2);
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
#about {
  background-color: var(--cream);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.about-left {
  position: sticky;
  top: 6rem;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-right {
  padding-top: 0.5rem;
}

.about-body {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.about-body p + p {
  margin-top: 1.25em;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.about-credential {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(221, 208, 186, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.about-credential:last-child {
  border-bottom: 1px solid rgba(221, 208, 186, 0.6);
}

.credential-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.credential-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
  text-align: right;
}

/* ─────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────── */
#cta {
  background-color: var(--charcoal);
  padding: clamp(6rem, 12vw, 12rem) var(--pad-x);
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

#cta .section-label {
  margin-bottom: 2rem;
}

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
}

.cta-headline em {
  font-style: italic;
  color: var(--red);
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.cta-email {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 300;
  color: rgba(247, 235, 213, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 235, 213, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-email:hover {
  color: var(--cream);
  border-color: var(--red);
}

.cta-intro {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(247, 235, 213, 0.72);
  max-width: 50ch;
}

.cta-note {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(247, 235, 213, 0.64);
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background-color: var(--charcoal);
  border-top: 1px solid rgba(221, 208, 186, 0.15);
  padding: 2rem var(--pad-x);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(247, 235, 213, 0.72);
  text-decoration: none;
}

.footer-copy {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(247, 235, 213, 0.62);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.footer-legal {
  /* reset the site-wide nav bar styles: this is a plain inline link group */
  position: static;
  z-index: auto;
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
}

.footer-legal a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(247, 235, 213, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a[aria-current="page"] {
  color: var(--cream);
}

/* ─────────────────────────────────────────
   LEGAL PAGES (Imprint / Privacy)
───────────────────────────────────────── */
/* Short pages: keep the footer at the bottom of the window */
body.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.legal-page main {
  flex: 1;
  background-color: var(--cream);
}

.legal {
  background-color: var(--cream);
  padding-top: calc(var(--section-v) + 4rem);
}

.legal-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.legal-body {
  max-width: 68ch;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
}

.legal-body p + p {
  margin-top: 1.25em;
}

.legal-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  margin: 2.5rem 0 0.75rem;
}

.legal-body a {
  color: var(--charcoal);
}

.legal-body strong {
  font-weight: 400;
  color: var(--charcoal);
}

.legal-body .legal-date {
  margin-top: 3rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────── */
@media (max-width: 860px) {
  .who-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .what-grid {
    grid-template-columns: 1fr;
  }

  .what-item,
  .what-item:first-child {
    border-right: none;
    border-top: 1px solid rgba(221, 208, 186, 0.2);
    padding: 2.5rem 0;
  }

  .what-item:first-child {
    border-top: none;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .how-step {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--grey);
  }

  .how-step::before {
    display: none;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .philosophy-mark {
    margin-top: 0;
  }

  .philosophy-o {
    width: 96px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-left {
    position: static;
    max-width: 100%;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE
───────────────────────────────────────── */
@media (max-width: 540px) {
  :root {
    --section-v: clamp(3.5rem, 8vw, 5rem);
    --pad-x: 1.5rem;
  }

  /* Hero */
  .hero-headline {
    font-size: 3.4rem;
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* Section labels / headings */
  .section-heading {
    margin-bottom: 2rem;
  }

  .section-label {
    margin-bottom: 1.5rem;
  }

  /* What I Do */
  .what-closing {
    max-width: 100%;
  }

  /* About — portrait full width, portrait orientation */
  .about-left {
    max-width: 100%;
  }

  .about-portrait {
    aspect-ratio: 3 / 4;
  }

  /* About credentials */
  .about-credential {
    flex-direction: column;
    gap: 0.25rem;
  }

  .credential-value {
    text-align: left;
  }

  /* CTA */
  .cta-headline {
    font-size: 2.4rem;
  }

  .cta-intro {
    max-width: 100%;
  }

  /* Footer */
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────
   SELECTION
───────────────────────────────────────── */
::selection {
  background-color: var(--red);
  color: var(--cream);
}

/* ─────────────────────────────────────────
   GERMAN — longer strings
   Balance multi-line headings so they don't leave a single word
   on the last line. Scoped to the German page only.
───────────────────────────────────────── */
:lang(de) .section-heading,
:lang(de) .cta-headline,
:lang(de) .hero-subline {
  text-wrap: balance;
}

/* ─────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: var(--pad-x);
  top: -100px;
  z-index: 200;
  padding: 0.75em 1.25em;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Keyboard focus only — invisible for mouse/touch users */
a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll::after {
    animation: none;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ─────────────────────────────────────────
   OPTIONAL ENHANCEMENT — crescent O entrance
   One-time entrance for the O in the "Identity is more than a logo"
   section. Classes are only added by JavaScript (and never when the
   visitor prefers reduced motion), so without JS the O is simply static.
   To remove: delete this block and the matching "Crescent O entrance"
   script block in index.html and de/index.html.
───────────────────────────────────────── */
.philosophy-o.o-enter {
  opacity: 0;
  transform: rotate(-55deg) translateY(10px);
  transform-origin: 50% 50%;
  /* Fades in quickly so the turn itself is what the eye follows;
     ease-out with no overshoot, settling in the original orientation */
  transition:
    opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1200ms cubic-bezier(0.33, 1, 0.68, 1);
}

.philosophy-o.o-enter.o-entered {
  opacity: 1;
  transform: none;
}

/* Tablet & mobile: a smaller turn with a gentle upward settle */
@media (max-width: 860px) {
  .philosophy-o.o-enter {
    transform: rotate(-35deg) translateY(12px);
    transition:
      opacity 550ms cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 1000ms cubic-bezier(0.33, 1, 0.68, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .philosophy-o.o-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
