/* ==========================================================================
   ads.hr — stylesheet
   ========================================================================== */

/* ---------- Fonts (self-hosted: no third-party requests, GDPR-friendly) --- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-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: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-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: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens -------------------------------------------------------- */
:root {
  --ink: #0e1b2c;
  --ink-2: #1b2b40;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --accent: #e5533d;
  --accent-ink: #c43f2b;
  --muted: #586374;
  --muted-light: #a9b3c1;
  --line: #d9d3c7;
  --line-dark: #2a3a50;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;
  --header-h: 72px;
}

/* ---------- Reset / base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

/* ---------- Typography ---------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.1vw, 4.6rem);
  font-weight: 350;
  line-height: 1.03;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.display em, .h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 350; line-height: 1.08; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 380; line-height: 1.1; letter-spacing: -.015em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1.25rem;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 34em; }
.lead-sm { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-size: .95rem; font-weight: 600; text-decoration: none; letter-spacing: .01em;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-small { padding: .6rem 1.15rem; font-size: .88rem; }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header-inner .wordmark { margin-right: auto; }
.site-nav { order: 1; }
.lang-switch { order: 2; }
.nav-toggle { order: 3; }

/* Language switcher */
.lang-switch {
  display: flex; align-items: center;
  padding-left: 1.5rem; border-left: 1px solid var(--line);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
}
.lang-switch a {
  padding: .35rem .45rem; text-decoration: none; color: var(--muted);
  border-radius: var(--radius); transition: color .2s;
}
.lang-switch a + a::before { content: "/"; margin-right: .9rem; margin-left: -.45rem; color: var(--line); font-weight: 400; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { color: var(--ink); }
.lang-switch abbr { text-decoration: none; }

.wordmark {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 500;
  letter-spacing: -.03em; text-decoration: none; line-height: 1;
  font-variation-settings: "opsz" 144;
}
.wordmark span { color: var(--accent); }
.wordmark-light { color: var(--white); }

.site-nav ul { display: flex; align-items: center; gap: 2.25rem; }
.site-nav a:not(.btn) {
  font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-block: .25rem;
  transition: background-size .25s;
}
.site-nav a:not(.btn):hover { background-size: 100% 1px; }
.site-nav .btn { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-inner { gap: 1rem; }
  .lang-switch { padding-left: 0; border-left: 0; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border: 0; padding-top: 1.25rem; }
  .site-nav a:not(.btn) { display: block; padding-block: 1rem; font-size: 1.1rem; background: none; }
  .site-nav .btn { width: 100%; padding-block: .95rem; font-size: .95rem; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy .display { margin-bottom: 1.75rem; }
.hero-copy .lead { margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center;
  border-radius: var(--radius);
}
.hero-card {
  position: absolute; left: clamp(-3rem, -4vw, -1rem); bottom: 2rem;
  background: var(--ink); color: var(--white);
  padding: 1.4rem 1.6rem; border-radius: var(--radius);
  min-width: 230px;
  box-shadow: 0 24px 48px -24px rgba(14, 27, 44, .55);
}
.hero-card-label {
  display: block; margin-bottom: .75rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.hero-card li { font-size: .95rem; padding-block: .3rem; border-top: 1px solid var(--line-dark); }
.hero-card li:first-child { border-top: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-card { left: 1rem; bottom: 1rem; min-width: 0; padding: 1rem 1.25rem; }
}
@media (max-width: 520px) {
  .hero-card { position: static; margin-top: 1px; border-radius: 0 0 var(--radius) var(--radius); }
  .hero-media img { border-radius: var(--radius) var(--radius) 0 0; }
}

/* ---------- Intro --------------------------------------------------------- */
.intro { background: var(--white); border-block: 1px solid var(--line); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: end;
}
.intro-statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.22; font-weight: 340; letter-spacing: -.012em;
  font-variation-settings: "opsz" 96;
}
.intro-body { color: var(--muted); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Services ------------------------------------------------------ */
.services-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}
.services-aside .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.services-aside .muted { max-width: 30em; }
.services-media { margin-top: 2.5rem; }
.services-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem;
  padding-block: 2.25rem; border-bottom: 1px solid var(--line);
}
.service-num {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-ink);
  padding-top: .35rem; font-variant-numeric: tabular-nums;
}
.service h3 {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.2; font-weight: 420; margin-bottom: .75rem; letter-spacing: -.01em;
}
.service p { color: var(--muted); font-size: 1rem; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-aside .sticky { position: static; }
  .services-media { display: none; }
}
@media (max-width: 520px) { .service { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Feature band -------------------------------------------------- */
.feature { background: var(--ink); color: var(--white); padding-block: var(--section-y); }
.feature-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature-copy p { color: var(--muted-light); }
.checklist { margin-top: 2rem; border-top: 1px solid var(--line-dark); }
.checklist li {
  position: relative; padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid var(--line-dark);
  font-size: .98rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 14px; height: 1.5px; background: var(--accent);
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Industries ---------------------------------------------------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.industry-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.industry {
  background: var(--paper);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  transition: background-color .3s;
}
.industry:hover { background: var(--white); }
.industry-icon {
  width: 44px; height: 44px; margin-bottom: 1.75rem;
  fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.industry h3 {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.2; font-weight: 420; margin-bottom: 1rem; letter-spacing: -.01em; max-width: 22em;
}
.industry p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- Approach ------------------------------------------------------ */
.approach { background: var(--paper-2); }
.approach-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.approach-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.step { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.step-num {
  display: block; margin-bottom: 1.25rem;
  font-family: var(--font-display); font-size: .95rem; color: var(--accent-ink);
}
.step h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 420; margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) {
  .approach-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About --------------------------------------------------------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.about-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: var(--radius); }
.about-copy { max-width: 36rem; }
.about-copy p:not(.eyebrow):not(.lead-sm) { color: var(--muted); }
.about-copy .lead-sm { margin-bottom: 1.5rem; }
.objective {
  margin: 2.5rem 0 0; padding: 1.75rem 0 0 0; border-top: 2px solid var(--accent);
}
.objective p {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.3; font-weight: 360; font-style: italic; color: var(--ink) !important;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; }
  .about-media img { aspect-ratio: 16 / 10; object-position: center 28%; }
}

/* ---------- Contact ------------------------------------------------------- */
.contact {
  background: var(--ink); color: var(--white);
  padding-block: clamp(5rem, 11vw, 9rem);
  position: relative; overflow: hidden;
}
.contact::after {
  content: ""; position: absolute; right: -12vw; top: -20vw;
  width: 44vw; height: 44vw; border-radius: 50%;
  border: 1px solid var(--line-dark);
  box-shadow: 0 0 0 6vw rgba(255,255,255,.015), 0 0 0 12vw rgba(255,255,255,.01);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact .display-sm { max-width: 16em; margin-bottom: 1.5rem; }
.contact-lead { color: var(--muted-light); max-width: 34em; font-size: 1.1rem; margin-bottom: 2.5rem; }
.contact-email {
  display: inline-block;
  font-family: var(--font-display); font-size: clamp(1.6rem, 4.2vw, 3rem);
  font-weight: 350; letter-spacing: -.01em; color: var(--white); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: .2rem;
  transition: color .2s;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--accent); }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: #091320; color: var(--muted-light); font-size: .92rem; padding-top: 4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark);
}
.footer-blurb { margin-top: 1rem; max-width: 26em; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a, .footer-legal a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { color: var(--white); }
.footer-legal p { margin-bottom: .3rem; }
.footer-legal strong { color: var(--white); font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.5rem 2rem; font-size: .82rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll --------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
