:root {
  --ink: #14243a;
  --ink-2: #1d314b;
  --blue: #52769e;
  --blue-2: #31577f;
  --paper: #f0ede7;
  --white: #fbfcfd;
  --line: #cbd1d6;
  --muted: #5e6873;
  --sand: #d7cbbb;
  --silver: #b8c1c9;
  --red: #52769e;
  --shadow: 0 22px 58px rgba(20, 36, 58, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8f8f6;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: .35rem;
}
.skip-link:focus { top: 1rem; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 124px 0; }
.section-soft { background: var(--paper); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.4rem;
  color: var(--blue-2);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 1.8rem; font-size: clamp(2.8rem, 5.1vw, 4.85rem); line-height: 1.03; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.15rem, 3.7vw, 3.75rem); line-height: 1.06; }
h3 { margin-bottom: .8rem; font-size: 1.18rem; line-height: 1.35; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; }
.intro { max-width: 750px; color: var(--muted); font-size: 1.08rem; }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 253, .97);
  border-bottom: 1px solid rgba(20, 36, 58, .12);
  backdrop-filter: blur(16px);
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a { font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav a:not(.header-cta):hover, .nav a:not(.header-cta):focus-visible { color: var(--blue); }
.language-switch { display: flex; align-items: center; gap: .2rem; padding-left: .3rem; border-left: 1px solid var(--line); }
.language-switch a { padding: .3rem .38rem; color: #73797e; font-size: .75rem; letter-spacing: .08em; }
.language-switch a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .3rem; }
.header-cta { padding: .75rem 1.15rem; color: var(--white); background: var(--ink); border-radius: 0; letter-spacing: .02em; }
.header-cta:hover, .header-cta:focus-visible { background: var(--blue-2); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: clamp(78px, 9vh, 118px) 0 clamp(72px, 8vh, 104px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 23, 40, .94) 0%, rgba(9, 23, 40, .86) 39%, rgba(9, 23, 40, .54) 70%, rgba(9, 23, 40, .72) 100%),
    url('/assets/warsaw-berlin-hero.webp') center center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 34, .34));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: end; }
.hero .eyebrow { color: #ddd2c3; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 860px; margin-bottom: 1.75rem; color: var(--white); font-size: clamp(3.35rem, 6.3vw, 6.7rem); line-height: .94; letter-spacing: -.048em; }
.hero .lead { max-width: 720px; color: rgba(246, 248, 250, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: #f3efe8; }
.button-primary:hover { background: var(--white); }
.button-secondary { color: var(--white); border-color: rgba(255, 255, 255, .55); background: rgba(8, 20, 34, .18); }
.button-secondary:hover { border-color: var(--white); background: rgba(8, 20, 34, .42); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--blue-2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .65rem 1.6rem; margin-top: 2.8rem; padding-top: 1.45rem; border-top: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .76); font-size: .84rem; letter-spacing: .025em; }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust span::before { content: ""; width: 14px; height: 1px; background: #d7cbbb; }
.portrait-wrap { position: relative; justify-self: end; width: min(100%, 248px); padding: 10px; background: rgba(240, 237, 231, .95); box-shadow: var(--shadow); }
.portrait-frame { position: relative; overflow: hidden; border: 1px solid rgba(20, 36, 58, .16); box-shadow: none; background: #dce2e6; }
.portrait-frame img { width: 100%; height: auto; object-fit: contain; }
.portrait-frame img { filter: saturate(.72) contrast(.99); }
.portrait-frame::after { content: none; }
.portrait-card { position: static; width: 100%; padding: 1rem .35rem .25rem; color: var(--ink); background: transparent; box-shadow: none; }
.portrait-card strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.portrait-card span { color: var(--muted); font-size: .75rem; line-height: 1.45; }

.section-heading { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; margin-bottom: 4rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-bottom: .25rem; color: var(--muted); font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 272px; padding: 2.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(251, 252, 253, .74); transition: background .2s ease, transform .2s ease; }
.service-card:hover { background: var(--white); }
.service-number { margin-bottom: 3.8rem; color: var(--blue); font-family: var(--serif); font-size: 1rem; }
.service-card h3 { max-width: 430px; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 500; }
.service-card p { margin: 0; color: var(--muted); }
main p:not(.eyebrow),
.legal-article li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.bridge { position: relative; color: var(--white); background: linear-gradient(rgba(12, 29, 48, .82), rgba(12, 29, 48, .91)), url('/assets/warsaw-berlin-hero.webp') center 58% / cover no-repeat; }
.bridge::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,36,58,.32), transparent 50%, rgba(20,36,58,.32)); pointer-events: none; }
.bridge .container { position: relative; z-index: 1; }
.bridge .eyebrow { color: #ddd2c3; }
.bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; background: transparent; border: 0; }
.bridge-card { padding: clamp(2.5rem, 4vw, 4.4rem); background: rgba(15, 32, 52, .86); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(5px); }
.bridge-card .flag { display: block; margin-bottom: 3.2rem; color: #d7cbbb; font-size: .75rem; font-weight: 700; letter-spacing: .2em; }
.bridge-card h3 { max-width: 470px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; }
.bridge-card p { color: #c8ced1; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--white); font-weight: 700; text-decoration-color: #8799a2; text-underline-offset: .35rem; }
.text-link:hover { color: #dfe5e7; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.5rem; border-block: 1px solid var(--line); }
.metric { padding: 2rem 1.25rem; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: .45rem; color: var(--ink); font-family: var(--serif); font-size: clamp(2.1rem, 3.7vw, 3.45rem); font-weight: 500; line-height: 1; }
.metric span { color: var(--muted); font-size: .86rem; }

.about-grid { display: grid; grid-template-columns: minmax(200px, .38fr) minmax(0, 1.62fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: start; }
.about-photo { position: sticky; top: 108px; width: min(100%, 232px); padding: .65rem; background: var(--paper); border: 1px solid var(--line); }
.about-photo img { width: 100%; height: auto; object-fit: contain; filter: saturate(.72) contrast(.97); }
.about-photo figcaption { padding: .85rem .2rem .15rem; color: var(--muted); font-size: .78rem; }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 2rem 0; padding: 0; list-style: none; }
.credentials li { padding: 1rem 0; border-top: 1px solid var(--line); background: transparent; font-size: .9rem; }
.about-copy p { color: var(--muted); }
.quote { margin: 2.6rem 0 0; padding: 1.6rem 0 1.6rem 1.8rem; border-left: 1px solid var(--blue); color: var(--ink); background: transparent; font-family: var(--serif); font-size: 1.35rem; line-height: 1.55; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.process-step { padding: 2.2rem 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.process-step span { display: block; width: auto; height: auto; margin-bottom: 2.6rem; color: #7d898f; background: transparent; font-family: var(--serif); font-size: 1.05rem; }
.process-step p { margin-bottom: 0; color: var(--muted); }

.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.brand-card { padding: 1.8rem 0; border: 0; border-block: 1px solid var(--line); text-decoration: none; transition: color .2s ease; }
.brand-card:hover { color: var(--blue-2); }
.brand-card small { display: block; margin-bottom: .65rem; color: #7d898f; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.brand-card strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.faq-list { max-width: 880px; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; color: var(--ink); font-weight: 800; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: 1.15rem; color: var(--blue); font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 2.5rem 1.5rem 0; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.contact { color: var(--white); background: #112238; }
.contact .eyebrow { color: #d7cbbb; }
.contact .lead { color: #c8ced1; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 6rem; }
.contact-details { display: grid; gap: 1.2rem; margin-top: 2.3rem; }
.contact-item { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.17); }
.contact-item small { display: block; margin-bottom: .3rem; color: #aebdca; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-item a { text-decoration-color: #8799a2; text-underline-offset: .3rem; }
.contact-email-panel { align-self: start; padding: clamp(2rem, 4vw, 3.2rem); color: var(--ink); background: #f1eee8; border-top: 4px solid var(--sand); }
.contact-email-panel .contact-kicker { margin-bottom: 1rem; color: var(--blue-2); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-align: left; text-transform: uppercase; }
.contact-email-panel h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.08; }
.contact-email-panel > p:not(.contact-kicker):not(.contact-privacy) { color: var(--muted); }
.email-links { display: grid; gap: 1px; margin: 2rem 0; background: var(--line); border: 1px solid var(--line); }
.email-link { display: grid; gap: .2rem; padding: 1.35rem 1.25rem; color: var(--ink); background: var(--white); text-decoration: none; transition: background .2s ease, color .2s ease; }
.email-link:hover, .email-link:focus-visible { color: var(--white); background: var(--blue-2); }
.email-link span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.email-link strong { overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(1.08rem, 1.7vw, 1.35rem); font-weight: 500; }
.email-link small { color: var(--muted); font-size: .78rem; }
.email-link:hover small, .email-link:focus-visible small { color: rgba(255,255,255,.76); }
.contact-email-panel .contact-privacy { margin: 0; color: var(--muted); font-size: .76rem; }
.contact-email-panel .contact-privacy a { color: var(--blue-2); text-underline-offset: .25rem; }

.footer { padding: 2.25rem 0; color: #aeb8c2; background: #0c1a2a; font-size: .78rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.footer a { color: var(--white); text-underline-offset: .25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

.legal-main { background: var(--paper); }
.legal-hero { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 900px; margin-bottom: 1rem; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.legal-article { width: min(860px, calc(100% - 40px)); margin-inline: auto; padding: 72px 0 110px; }
.legal-article section { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.legal-article h2 { margin-bottom: 1rem; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
.legal-article p,
.legal-article li { color: var(--muted); text-align: justify; text-justify: inter-word; hyphens: auto; }
.legal-article ul { padding-left: 1.25rem; }
.legal-article a { color: var(--blue-2); text-underline-offset: .25rem; }
.legal-back { display: inline-block; margin-top: 2rem; font-weight: 700; }

@media (max-width: 1000px) {
  .nav { position: fixed; inset: 88px 0 auto 0; display: none; align-items: stretch; padding: 1.5rem 24px 2rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 45px rgba(20,36,58,.12); }
  .nav.open { display: grid; }
  .nav a { padding: .65rem 0; font-size: 1rem; }
  .language-switch { border-left: 0; border-top: 1px solid var(--line); padding: .65rem 0 0; }
  .header-cta { text-align: center; }
  .menu-button { display: block; }
  .hero-grid { grid-template-columns: 1fr .42fr; gap: 3rem; }
  .portrait-card { position: static; }
  .section-heading { grid-template-columns: 1fr; gap: .5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid { gap: 3rem; }
  .legal-header .nav { position: static; display: flex; align-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .legal-header .nav > a { display: none; }
  .legal-header .language-switch { display: flex; padding: 0 0 0 .3rem; border-top: 0; border-left: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .container { width: min(1240px, calc(100% - 28px)); }
  .section { padding: 72px 0; }
  .header-inner { height: 74px; }
  .brand img { width: 165px; }
  .nav { top: 74px; }
  .hero { min-height: auto; padding: 72px 0 64px; background-position: 56% center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .portrait-wrap { width: min(58vw, 236px); justify-self: start; margin-top: .5rem; }
  .portrait-card { right: auto; bottom: auto; }
  .services-grid, .bridge-grid, .metrics, .process-grid, .brands-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .service-number { margin-bottom: 2rem; }
  .metrics { border-bottom: 0; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-photo { position: static; width: min(60vw, 250px); }
  .credentials { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
