/* WOTOS Europe — site styles. One file for every page.
   When this file changes, raise the ?v= number in the <link> of every .html page. */

/* ── Fonts (self-hosted, variable) ── */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ── */
:root {
  --ink: #000;
  --night: #0E1820;
  --slate: #33434A;
  --steel: #68828B;
  --ice: #C1D7DF;
  --hairline: #E3EBEE;
  --mist: #F3F7F8;
  --tint: #F6FAFB;
  --body: #444;

  --font-display: "Plus Jakarta Sans", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;

  --col: clamp(24px, 8.33vw, 120px);          /* side gutter */
  --pad-l: clamp(88px, 10vw, 140px);          /* tall section */
  --pad-m: clamp(64px, 8.33vw, 120px);        /* regular section */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { font-size: inherit; font-weight: inherit; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ice); }

/* ── Layout ── */
.sec { padding: var(--pad-m) var(--col); }
.sec--l { padding: var(--pad-l) var(--col); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--col); }
.tint { background: var(--tint); }
[id] { scroll-margin-top: 80px; }

.photo-sec { position: relative; overflow: hidden; }
.photo-sec__bg { position: absolute; inset: 0; }
.photo-sec__bg img, img.photo-sec__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-sec__shade { position: absolute; inset: 0; }
.photo-sec__content { position: relative; }
.shade-75 { background: rgba(14, 24, 32, 0.75); }
.shade-78 { background: rgba(14, 24, 32, 0.78); }
.shade-82 { background: rgba(14, 24, 32, 0.82); }
.shade-net { background: rgba(14, 28, 36, 0.62); }

.grid-halves { display: grid; grid-template-columns: 1fr 1fr; }
.grid-thirds { display: grid; grid-template-columns: repeat(3, 1fr); }

/* ── Type ── */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.45); }
.d-xl { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.015em; }
.d-l  { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.89vw, 56px); line-height: 1.05; letter-spacing: -0.015em; }
.d-m  { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }
.h3   { font-weight: 700; font-size: clamp(17px, 1.39vw, 20px); line-height: 1.25; letter-spacing: -0.005em; }
.lead { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.65; }
.body { font-size: 16px; line-height: 1.75; color: var(--body); }
.white { color: #fff; }

.link-u { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.underline-link { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: text-decoration-thickness 0.12s; }
.underline-link:hover { text-decoration-thickness: 2px; }
.steel { color: var(--steel); }
.ice { color: var(--ice); }

.btn-light {
  display: inline-flex; align-items: center;
  height: 50px; padding: 0 32px;
  background: #fff; color: #000;
  font-weight: 500; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap;
  transition: opacity 0.15s;
}

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; height: 80px; background: #fff; border-bottom: 1px solid var(--hairline); }
.site-header__inner { max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 var(--col); display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { width: 54px; height: 54px; object-fit: contain; }
.nav { display: flex; align-items: center; }
.nav a { font-size: 15px; padding: 6px 18px; color: #666; letter-spacing: 0.01em; border-bottom: 1px solid transparent; transition: color 0.12s, border-color 0.12s; }
.nav a[aria-current="page"] { color: #000; border-bottom-color: #000; }
.nav a.nav__contact { font-weight: 500; padding: 6px 20px; margin-left: 8px; color: #000; }
.menu-toggle { display: none; flex-direction: column; padding: 8px; }
.menu-toggle span { display: block; width: 20px; height: 1px; background: #000; }
.menu-toggle span + span { margin-top: 5px; }

.mobile-menu { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; padding: 24px 24px 48px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.mobile-menu__close { font-size: 24px; line-height: 1; color: #000; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 7vw, 36px); line-height: 1.2; letter-spacing: -0.01em; padding: 6px 0; }
.mobile-menu__mail { margin-top: auto; font-size: 15px; color: var(--steel); align-self: flex-start; }

@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ── Footer ── */
.site-footer { background: #111; }
.site-footer__inner { max-width: 1440px; margin: 0 auto; padding: 48px var(--col) 0; }
.site-footer__cols { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__logo { width: 40px; height: 40px; object-fit: contain; margin-bottom: 12px; }
.site-footer__tag { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); margin-bottom: 28px; }
.site-footer__list { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__list a { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.site-footer__list--contact { gap: 6px; }
.site-footer__list--pages { gap: 10px; }
.site-footer__list--pages a { transition: color 0.12s; }
.site-footer__list--contact a { align-self: stretch; }
.site-footer__label { font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35); margin-bottom: 20px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 20px 0; font-size: 13px; color: rgba(255, 255, 255, 0.35); }
.site-footer__legal { display: flex; gap: 24px; }

/* ── Home: hero ── */
.hero { position: relative; overflow: hidden; height: clamp(480px, 72vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 100%); }
.hero__content { position: relative; padding: clamp(48px, 5.56vw, 80px) var(--col); }
.hero__inner { max-width: 1440px; margin: 0 auto; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.89vw, 56px); line-height: 1.08; letter-spacing: -0.02em; color: #fff; max-width: 14em; margin-bottom: 20px; }
.hero__sub { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, 0.55); max-width: 44ch; margin-bottom: 40px; }
.hero__cta { display: flex; align-items: center; gap: 32px; }
.hero__cta > a:last-child { font-size: 15px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.01em; }

@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-line { animation: heroIn 1s var(--ease) both; }
.hero-line--2 { animation-delay: 200ms; }
.hero-line--3 { animation-delay: 320ms; }

/* ── Home: problem ── */
.problem__title { max-width: 20em; margin-bottom: 28px; }
.problem__note { font-style: italic; font-size: clamp(17px, 1.39vw, 21px); line-height: 1.55; color: var(--steel); max-width: 36em; margin-bottom: clamp(48px, 5.56vw, 72px); }
.problem__item { border-top: 1px solid var(--hairline); }
.problem__item + .problem__item { border-left: 1px solid var(--hairline); }
.problem__item > div { padding: 36px 40px 36px 0; }
.problem__item + .problem__item > div { padding-left: 40px; }
.problem__item .h3 { margin-bottom: 14px; }
.problem__item .body { font-size: 15px; }
.problem__answer { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--slate); max-width: 46ch; margin-top: clamp(48px, 5.56vw, 72px); padding-top: clamp(36px, 3.33vw, 48px); border-top: 1px solid var(--hairline); }

/* ── Home: services list ── */
.svc-head { border-top: 1px solid var(--hairline); padding-top: clamp(40px, 4.44vw, 64px); margin-bottom: clamp(48px, 5.56vw, 80px); }
.svc-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.svc-head__row a { font-size: 14px; color: var(--steel); white-space: nowrap; padding-bottom: 4px; }
.svc-item { border-top: 1px solid var(--hairline); }
.svc-list { border-bottom: 1px solid var(--hairline); }
.svc-row { display: grid; grid-template-columns: 52px 4fr 5fr 24px; gap: clamp(18px, 2.22vw, 32px); align-items: center; padding: clamp(20px, 2.22vw, 28px) 0; transition: background 0.2s; }
.svc-row:hover { background: var(--mist); }
.svc-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.67vw, 24px); line-height: 1; letter-spacing: -0.02em; color: var(--ice); transition: color 0.2s; }
.svc-row:hover .svc-num { color: var(--steel); }
.svc-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.2; letter-spacing: -0.005em; color: #000; }
.svc-row-desc { font-size: 14px; line-height: 1.6; color: #777; }
.svc-arrow { color: var(--ice); font-size: 18px; }

/* ── Home: claim, quotes, team ── */
.claim__grid { gap: clamp(48px, 5.56vw, 80px); align-items: center; }
.claim__title { color: #fff; line-height: 1.1; }
.claim__side { border-left: 1px solid rgba(193, 215, 223, 0.4); padding-left: 32px; }
.claim__side .body { color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }
.claim__side a { font-size: 15px; color: var(--ice); }

.quotes { background: var(--slate); }
.quotes__grid { gap: clamp(48px, 5.56vw, 80px); }
.quote__text { font-size: clamp(16px, 1.39vw, 20px); line-height: 1.7; color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }
.quote__bar { width: 24px; height: 1px; background: var(--steel); margin-bottom: 12px; }
.quote__attr { font-size: 13px; line-height: 1.5; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.4); }

.team__grid { gap: clamp(56px, 6.25vw, 88px); align-items: center; }
.portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.portrait--working { object-position: center 15%; }
.portrait--ana { object-position: center 18%; }
.portrait--vlada { object-position: center 10%; }
.team__title { margin-bottom: 20px; }
.team__p1 { margin-bottom: 14px; }
.team__p2 { margin-bottom: 36px; }
.team__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.team__links a:first-child { font-weight: 500; }

.closing-photo__content { padding: clamp(88px, 11.11vw, 160px) var(--col); }
.closing-photo__box { max-width: 560px; }
.closing-photo__box .d-l { color: #fff; margin-bottom: 20px; }
.closing-photo__box .body { color: rgba(255, 255, 255, 0.55); margin-bottom: 36px; }
.closing-photo__box a { font-size: 16px; color: var(--ice); }

/* ── Shared closing band (Services, People) ── */
.closing { background: var(--slate); padding: clamp(64px, 6.25vw, 96px) var(--col) clamp(48px, 4.44vw, 64px); }
.closing__box { max-width: 600px; }
.closing__box .d-l { color: #fff; margin-bottom: 24px; }
.closing__box .body { color: rgba(255, 255, 255, 0.6); margin-bottom: 36px; }
.closing__contact { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.closing__contact--bare { margin-top: 24px; }
.closing__contact a { font-weight: 500; font-size: 15px; letter-spacing: 0.02em; color: var(--ice); }
.closing__contact p { font-size: 14px; color: rgba(255, 255, 255, 0.4); }

/* ── Services page ── */
.services-top { padding: clamp(80px, 11.11vw, 160px) var(--col) 0; }
.services-header-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--hairline); }
.services-top__img { position: relative; overflow: hidden; height: clamp(240px, 26.67vw, 380px); }
.services-top__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.services-top__img div { position: absolute; inset: 0; background: rgba(14, 24, 32, 0.3); }
.svc-detail { padding: clamp(72px, 8.33vw, 120px) var(--col); }
.svc-detail-grid { display: grid; grid-template-columns: 48px 1fr 1fr; gap: clamp(32px, 3.33vw, 56px); align-items: start; }
.svc-detail__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.33vw, 48px); line-height: 0.95; letter-spacing: -0.03em; color: var(--ice); }
.svc-detail__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.39vw, 20px); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 14px; }
.svc-detail__lead { font-size: clamp(15px, 1.11vw, 16px); line-height: 1.65; color: #555; }
.svc-detail-body .body { font-size: 15px; color: #555; }
.svc-detail-body .reveal + .reveal .body { margin-top: 14px; }
.svc-detail__ask { margin-top: 28px; }
.svc-detail__ask a { font-weight: 500; font-size: 15px; color: var(--steel); }

/* ── People page ── */
.people-hero { position: relative; overflow: hidden; }
.people-hero__img { width: 100%; height: clamp(480px, 56vw, 760px); object-fit: cover; object-position: center 25%; }
.people-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.3) 38%, transparent 58%); }
.people-hero__text { position: absolute; bottom: 0; left: 0; right: 0; padding: clamp(32px, 3.33vw, 48px) var(--col); }
.people-hero__text h1 { color: #fff; max-width: 16em; }

.bio { gap: clamp(40px, 5.56vw, 72px); align-items: center; }
.bio--img-first { grid-template-columns: 5fr 7fr; }
.bio--img-second { grid-template-columns: 7fr 5fr; }
.bio__head { margin-bottom: 32px; }
.bio__head .h3 { font-size: clamp(18px, 1.53vw, 22px); margin-bottom: 4px; }
.bio__role { font-size: 14px; letter-spacing: 0.01em; color: var(--steel); }
.bio .body { color: #555; margin-bottom: 14px; }
.bio .body--first { color: #222; }

.network { min-height: 320px; }
.network .photo-sec__bg img { object-position: center; }
.network__content { padding: var(--pad-m) var(--col); display: flex; align-items: center; min-height: 320px; }
.network__content .wrap { width: 100%; }
.network__box { max-width: 42ch; }
.network__box > .reveal:last-child p { font-size: clamp(17px, 1.53vw, 22px); line-height: 1.6; color: rgba(255, 255, 255, 0.85); }

.careers { background: #F0F6F8; padding: clamp(48px, 5.56vw, 80px) var(--col); }
.careers-band-inner { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.careers__eyebrow { font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.careers__meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.careers__meta p { font-size: 14px; color: var(--steel); }
.careers__meta a { font-weight: 500; font-size: 15px; color: #000; }

.hiring__grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
.hiring .body { color: rgba(255, 255, 255, 0.65); margin-bottom: 14px; }

/* ── 404 ── */
.notfound { padding: clamp(80px, 11.11vw, 160px) var(--col); }
.notfound .d-xl { margin-bottom: 24px; }
.notfound .lead { color: #555; margin-bottom: 36px; max-width: 52ch; }

/* ── Scroll reveal (only when site.js has run: it adds .js to <html>) ── */
.js .reveal { opacity: 0; transform: translateY(18px); will-change: transform, opacity; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }
.js .reveal-img { opacity: 0; transform: scale(1.03); will-change: transform, opacity; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js .reveal-img.visible { opacity: 1; transform: scale(1); will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .hero-line { animation: none; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; transition: none; }
}

/* ── Phones ── */
@media (max-width: 767px) {
  .grid-halves, .grid-thirds, .site-footer__cols { grid-template-columns: 1fr; gap: clamp(32px, 8vw, 48px); }
  .problem__item + .problem__item, .claim__side { border-left: none; }
  .problem__item > div, .problem__item + .problem__item > div, .claim__side { padding-left: 0; }

  .svc-row { grid-template-columns: 32px 1fr 20px; gap: 10px; padding: 18px 0; }
  .svc-row-desc { display: none; }

  .svc-detail-grid { grid-template-columns: 36px 1fr; gap: 16px 12px; }
  .svc-detail-body { grid-column: 1 / -1; }

  .bio--img-second > :last-child { order: -1; }

  .site-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .careers-band-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .careers__meta { align-items: flex-start; }

  .services-header-inner { grid-template-columns: 1fr; gap: 24px; }
}
