/* =========================================================
   Odvjetnički ured Dumenčić
   Palette & type derived from pitblado.com (deep navy, slate,
   Suisse-style neo-grotesk) + the office brand navy #283960.
   ========================================================= */

:root {
  /* colour */
  --ink:        #041C2C;   /* primary dark */
  --ink-soft:   #0A2739;
  --ink-800:    rgba(4, 28, 44, 0.80);
  --navy:       #283960;   /* brand navy (logo) */
  --slate:      #687780;   /* secondary text */
  --slate-soft: #93A0A7;
  --paper:      #FFFFFF;
  --paper-2:    #F4F5F6;
  --paper-3:    #EAECEE;
  --brass:      #B08A4E;   /* accent, drawn from the office signage */
  --brass-lite: #D3AE73;

  --line:       rgba(4, 28, 44, 0.14);
  --line-soft:  rgba(4, 28, 44, 0.08);
  --line-dark:  rgba(255, 255, 255, 0.16);

  /* type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  --serif: 'Source Serif 4', 'Charter', 'Georgia', 'Times New Roman', serif;

  /* metrics */
  --shell: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --header-h: 86px;
  --header-h-stuck: 66px;
  --logo-h: clamp(46px, 4.4vw, 58px);
  --logo-h-stuck: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

::selection { background: var(--navy); color: #fff; }

/* ---------- language switching ---------- */
html[data-lang="hr"] [lang="en"],
html[data-lang="en"] [lang="hr"] { display: none !important; }

/* ---------- layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow .num {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brass);
}
.eyebrow .num::after {
  content: '';
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: var(--line);
  vertical-align: 0.35em;
  margin-left: 0.75rem;
}

.section-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.9rem, 1.15rem + 2.85vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
  max-width: 19ch;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 9.5rem);
  position: relative;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.5rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn > span { position: relative; z-index: 2; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn-solid { background: var(--navy); color: #fff; }
.btn-solid::after { background: var(--ink); }
.btn-solid:hover::after, .btn-solid:focus-visible::after { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost::after { background: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--ink); border-color: #fff; }
.btn-ghost:hover::after, .btn-ghost:focus-visible::after { transform: translateY(0); }

.btn-full { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.5s var(--ease), height 0.5s var(--ease),
              box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 28, 44, 0.65), rgba(4, 28, 44, 0));
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  height: var(--header-h-stuck);
  background: rgba(4, 28, 44, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-stuck::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
  transition: height 0.5s var(--ease), opacity 0.4s var(--ease);
  /* single-colour navy logo → white on dark chrome */
  filter: brightness(0) invert(1);
}
.brand:hover img { opacity: 0.75; }
.site-header.is-stuck .brand img { height: var(--logo-h-stuck); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.25rem);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.35s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass-lite);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav-link:hover, .nav-link.is-current { color: #fff; }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }

.lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  border-left: 1px solid var(--line-dark);
}
.lang-btn {
  background: none;
  border: 0;
  padding: 0.25rem 0.15rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease);
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active { color: var(--brass-lite); }
.lang-sep { color: rgba(255, 255, 255, 0.28); font-size: 0.75rem; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 2.6rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* burger */
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: -2% 0 0 0;
  height: 104%;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 45%;
  transform: scale(1.06);
  animation: heroDrift 26s var(--ease-io) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(4, 28, 44, 0.94) 0%, rgba(4, 28, 44, 0.86) 28%, rgba(4, 28, 44, 0.42) 62%, rgba(4, 28, 44, 0.30) 100%),
    linear-gradient(to bottom, rgba(4, 28, 44, 0.62) 0%, rgba(4, 28, 44, 0.24) 38%, rgba(4, 28, 44, 0.72) 82%, rgba(4, 28, 44, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-bottom: clamp(2rem, 4.5vw, 3.75rem);
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--brass-lite);
  flex: 0 0 auto;
}

.hero-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  /* the vh term keeps the hero inside one screen on short viewports */
  font-size: clamp(2.15rem, min(1rem + 3.9vw, 9.6vh), 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.016em;
  margin-bottom: clamp(1.1rem, 2.2vw, 1.7rem);
  max-width: 20ch;
}
.hero-title em { font-style: italic; color: var(--brass-lite); }
.hero-title .line {
  display: block;
  overflow: hidden;
  /* padding extends the clip box so accents and descenders are not cut */
  padding: 0.16em 0 0.1em;
  margin: -0.16em 0 -0.1em;
}
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.28s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.41s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-lead {
  max-width: 52ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: clamp(1.5rem, 2.8vw, 2.25rem);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.85s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1s forwards;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}
.fact dt {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.4rem;
}
.fact dd {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  line-height: 1;
  color: #fff;
}

.scroll-cue {
  flex: 0 0 auto;
  width: 1px; height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}
.scroll-cue-line {
  display: block;
  width: 1px; height: 100%;
  background: var(--brass-lite);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* =========================================================
   VRIJEDNOSTI — traka koja klizi (nastavak hero pojasa)
   ========================================================= */
.values {
  --vgap: clamp(1.5rem, 3.2vw, 3rem);
  background: var(--ink);
  color: #fff;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
.values-track {
  display: flex;
  width: max-content;
  align-items: center;
  min-height: clamp(56px, 6vw, 70px);
  animation: valuesScroll 46s linear infinite;
}
.values-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--vgap);
  padding-right: var(--vgap);
}
.values-group > span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
}
.values-group i {
  font-style: normal;
  font-size: 0.5rem;
  line-height: 1;
  color: var(--brass-lite);
}
@keyframes valuesScroll { to { transform: translateX(-50%); } }

/* =========================================================
   O NAMA
   ========================================================= */
.section-about { background: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about-figure {
  position: relative;
  margin: 0;
  align-self: stretch;
}
.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--paper-3);
}
.about-figure figcaption {
  margin-top: clamp(1.5rem, 2.2vw, 2.25rem);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.about-body > * + * { margin-top: 1.5rem; }
.about-body p { color: var(--slate); max-width: 58ch; }
.about-body .lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink);
}

.principles-label {
  margin-top: clamp(2.25rem, 4vw, 3.25rem) !important;
  font-size: 0.6875rem !important;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink) !important;
}

.principles { margin-top: 1rem !important; }
.principles li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line-soft);
}
.principles li:last-child { border-bottom: 1px solid var(--line-soft); }
.p-num {
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: 0.05em;
}
.p-text {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.45;
  color: var(--ink);
  transition: transform 0.5s var(--ease);
}
.principles li:hover .p-text { transform: translateX(6px); }

/* =========================================================
   PRAVNA PODRUČJA  (dark band)
   ========================================================= */
.section-areas {
  background: var(--ink);
  color: #fff;
}
.section-areas .eyebrow { color: rgba(255, 255, 255, 0.6); }
.section-areas .eyebrow .num { color: var(--brass-lite); }
.section-areas .eyebrow .num::after { background: var(--line-dark); }
.section-areas .section-title { color: #fff; max-width: 24ch; }

.areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--line-dark);
}
.area {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.15rem, 2.2vw, 1.7rem) 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: default;
}
.area-num {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.45s var(--ease);
}
.area-name {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 0.98rem + 0.95vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.008em;
  transition: transform 0.55s var(--ease), color 0.45s var(--ease);
}
.area-mark {
  position: relative;
  width: 22px; height: 1px;
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.5s var(--ease), background-color 0.45s var(--ease);
}
.area-mark::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  transform: rotate(45deg);
  transition: border-color 0.45s var(--ease);
}
.area:hover .area-name { transform: translateX(10px); color: var(--brass-lite); }
.area:hover .area-num { color: var(--brass-lite); }
.area:hover .area-mark { width: 40px; background: var(--brass-lite); }
.area:hover .area-mark::after { border-top-color: var(--brass-lite); border-right-color: var(--brass-lite); }

.areas-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 52ch;
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
}
.areas-note a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.areas-note a:hover { color: var(--brass-lite); border-color: var(--brass-lite); }

/* =========================================================
   LJUDI
   ========================================================= */
.section-people { background: var(--paper-2); }

.people {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.person-lead {
  background: var(--paper);
  border: 1px solid var(--line-soft);
}
.person-photo { overflow: hidden; background: var(--paper-3); }
.person-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 1.2s var(--ease);
}
.person-lead:hover .person-photo img { transform: scale(1.04); }
.person-body { padding: clamp(1.5rem, 3vw, 2.5rem); }

.person-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: -0.008em;
}
.person-role {
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.person-note {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--slate);
  max-width: 44ch;
}
.person-mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.person-mail:hover { color: var(--brass); border-color: var(--brass); }

.person-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.person-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(1.25rem, 3vw, 2rem);
  row-gap: 0.45rem;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.person-tile:hover { border-color: var(--line); transform: translateY(-3px); }
.monogram {
  display: grid;
  place-items: center;
  width: clamp(60px, 8vw, 84px);
  aspect-ratio: 1;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1rem, 0.88rem + 0.5vw, 1.25rem);
  letter-spacing: 0.08em;
  transition: background-color 0.5s var(--ease);
}
.person-tile:hover .monogram { background: var(--ink); }
.monogram { grid-column: 1; grid-row: 1 / span 2; }
.person-tile .person-name {
  grid-column: 2; grid-row: 1;
  align-self: end;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
}
.person-tile .person-role {
  grid-column: 2; grid-row: 2;
  align-self: start;
  margin-top: 0;
}

/* =========================================================
   MEDIJI
   ========================================================= */
.section-media { background: var(--paper); }

.media-list { border-top: 1px solid var(--line-soft); }
.media-list li { border-bottom: 1px solid var(--line-soft); }
.media-list a {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.35rem, 2.6vw, 2rem) 0;
  transition: padding 0.5s var(--ease);
}
.media-outlet {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.4s var(--ease);
}
.media-title {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.95rem + 0.55vw, 1.4375rem);
  line-height: 1.32;
  letter-spacing: -0.008em;
  text-wrap: pretty;
  transition: transform 0.55s var(--ease);
}
.media-arrow {
  font-size: 1.1rem;
  color: var(--slate-soft);
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
}
.media-list a:hover .media-title { transform: translateX(8px); }
.media-list a:hover .media-outlet { color: var(--brass); }
.media-list a:hover .media-arrow { color: var(--brass); transform: translate(4px, -4px); }

/* =========================================================
   KONTAKT
   ========================================================= */
.section-contact {
  background: var(--ink);
  color: #fff;
}
.section-contact .eyebrow { color: rgba(255, 255, 255, 0.6); }
.section-contact .eyebrow .num { color: var(--brass-lite); }
.section-contact .eyebrow .num::after { background: var(--line-dark); }
.section-contact .section-title { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-details { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.cblock { padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.clabel {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}
.contact-details address {
  font-style: normal;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}
.cplain {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}
.clink {
  display: inline-block;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 3px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.clink.big {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.02rem + 0.7vw, 1.5625rem);
  letter-spacing: -0.005em;
}
.clink:hover { color: var(--brass-lite); border-color: var(--brass-lite); }

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-lite);
  transition: gap 0.4s var(--ease);
}
.maps-link:hover { gap: 0.9rem; }

/* form */
.contact-form {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.form-intro {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 1.75rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.65rem 0;
  font-size: 1rem;
  font-weight: 300;
  color: #fff;
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink); color: #fff; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass-lite);
}
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: #C9635B; }

.contact-form .btn { margin-top: 0.75rem; }
.form-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.map {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--line-dark);
  background: var(--ink-soft);
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: clamp(240px, 34vw, 400px);
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.86) hue-rotate(180deg);
  transition: filter 0.6s var(--ease);
}
.map:hover iframe { filter: grayscale(0.2) invert(0.9) contrast(0.9) hue-rotate(180deg); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(2.75rem, 5vw, 4rem);
  font-size: 0.8125rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img {
  width: clamp(150px, 16vw, 200px);
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.footer-nav a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.35s var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal { max-width: 52ch; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   MOBILE MENU + RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  :root { --header-h: 72px; }

  .burger { display: block; }

  /* keep the logo and the close button above the open overlay */
  .brand, .burger { position: relative; z-index: 3; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--ink);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease);
    overflow-y: auto;
  }
  body.menu-open .nav { clip-path: inset(0 0 0 0); }
  body.menu-open { overflow: hidden; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  body.menu-open .nav-list li { opacity: 1; transform: none; }
  body.menu-open .nav-list li:nth-child(1) { transition-delay: 0.14s; }
  body.menu-open .nav-list li:nth-child(2) { transition-delay: 0.20s; }
  body.menu-open .nav-list li:nth-child(3) { transition-delay: 0.26s; }
  body.menu-open .nav-list li:nth-child(4) { transition-delay: 0.32s; }
  body.menu-open .nav-list li:nth-child(5) { transition-delay: 0.38s; }

  .nav-link {
    display: block;
    padding-block: 1rem;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 4.6vw, 2.1rem);
    font-weight: 400;
    letter-spacing: -0.008em;
    text-transform: none;
    color: #fff;
  }
  .nav-link::after { display: none; }

  .lang { padding-left: 0; border-left: 0; }
  .nav-cta { height: 3rem; padding: 0 1.75rem; }

  .about-grid,
  .people,
  .contact-grid { grid-template-columns: 1fr; }

  .about-figure { max-width: 460px; }
  .areas { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .hero-media img { object-position: center 45%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .facts { gap: 1.5rem 2.25rem; }

  .hero-actions .btn { flex: 1 1 100%; }

  .principles li { grid-template-columns: 2.25rem 1fr; gap: 0.75rem; }

  .media-list a {
    grid-template-columns: 1fr auto;
    row-gap: 0.5rem;
    align-items: start;
  }
  .media-outlet { grid-column: 1 / -1; }
  .media-arrow { align-self: center; }

  .person-tile { grid-template-columns: auto minmax(0, 1fr); column-gap: 1.1rem; }

  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .monogram { width: 56px; }
}

/* =========================================================
   MOTION / PRINT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span,
  .hero-lead, .hero-actions, .hero-foot { opacity: 1; transform: none; }
  .hero-media img { transform: scale(1); }
  .values-track { animation: none !important; transform: none; }
}

@media print {
  .site-header, .hero-media, .hero-veil, .map, .scroll-cue, .contact-form, .values { display: none; }
  body { color: #000; background: #fff; }
  .section-areas, .section-contact, .hero, .site-footer { background: #fff !important; color: #000 !important; }
  .section-areas .section-title, .section-contact .section-title, .hero-title { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
