/* Self-hosted licensed WOFF2 fonts: remove the remote CSS dependency chain. */
/* DM Mono — latin-ext; same upstream font/version as the original site. */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-mono-v16-400-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;
}

/* DM Mono — latin; same upstream font/version as the original site. */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-mono-v16-400-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;
}

/* DM Mono — latin-ext; same upstream font/version as the original site. */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-mono-v16-500-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;
}

/* DM Mono — latin; same upstream font/version as the original site. */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-mono-v16-500-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;
}

/* Plus Jakarta Sans — latin-ext; same upstream font/version as the original site. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-v12-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;
}

/* Plus Jakarta Sans — latin; same upstream font/version as the original site. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-v12-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;
}

/* Small exact Turkish supplements; all other glyphs keep the original font faces.
 * The five outlines/advance widths were verified at 400/500/600/700/800.
 * U+0131 remains in Latin to retain existing intra-word shaping.
 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-v12-turkish.woff2) format('woff2');
  unicode-range: U+011E-011F, U+0130, U+015E-015F;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-mono-v16-400-turkish.woff2) format('woff2');
  unicode-range: U+011E-011F, U+0130, U+015E-015F;
}

/* Design tokens: one dark palette for both language versions. */
:root {
  color-scheme: dark;
  --bg: #0f172a;
  --panel: #151f32;
  --panel-deep: #121b2e;
  --input-bg: #10192b;
  --ink: #f5f7fb;
  --muted: #aeb7c7;
  --quiet: #788397;
  --line: rgba(255, 255, 255, 0.125);
  --blue: #2563eb;
  --blue2: #5790ff;
  --accent-soft: #7fa3ff;
  --accent-subtle: #8eafff;
  --nav-ink: #d7dfeb;
  --link-hover: #9bb7ff;
  --lede: #b7c2d4;
  --tag-ink: #c6d0e1;
  --active-surface: rgba(255, 255, 255, 0.09);
  --header-background: rgba(15, 23, 42, 0.91);
  --placeholder: #758198;
  --focus-ring: #82a5ff;
  --form-accent: #6d93ed;
  /* Keep these stacks in sync with the self-hosted font faces above. */
  --sans: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
}

/* Reset and document defaults */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.container {
  width: min(var(--wrap), calc(100% - 64px));
  margin: auto;
}

.section-space {
  padding-block: 112px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 30;
  background: var(--blue);
  padding: 10px;
}

.skip-link:focus {
  top: 12px;
}

/* Native desktop scrollbar: keep a usable 16px hit area and a 10px visible thumb.
 * Touch devices and forced-colors mode retain the browser's native appearance.
 */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  html {
    scrollbar-color: #527ed4 var(--bg);
    scrollbar-width: auto;
  }

  /* Chromium/WebKit support a rounded gradient; Firefox uses the solid pair above. */
  @supports selector(::-webkit-scrollbar) {
    html { scrollbar-color: auto; }

    html::-webkit-scrollbar { width: 16px; height: 16px; }
    html::-webkit-scrollbar-track,
    html::-webkit-scrollbar-corner { background: var(--bg); }
    html::-webkit-scrollbar-thumb {
      border: 3px solid var(--bg);
      border-radius: 10px;
      background: linear-gradient(180deg, #527ed4, #6466ce);
      background-clip: padding-box;
    }
    html::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, #719beb, #8282e7);
      background-clip: padding-box;
    }
  }
}

/* Header and navigation */
.site-header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-background);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  object-fit: contain;
}

.brand-name {
  font-size: 12px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-name > span {
  display: block;
  margin-top: 5px;
  color: var(--blue2);
  font-size: 9px;
  letter-spacing: 5px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--nav-ink);
}

/* Keep the expanded Turkish navigation clear of the logo near the existing
 * mobile breakpoint. Preserve fonts, logo, CTA and the 640px menu threshold. */
@media (min-width: 641px) and (max-width: 699px) {
  .primary-nav:lang(tr) {
    gap: clamp(17px, calc(17px + (100vw - 641px) * 7 / 59), 24px);
  }
}

.primary-nav > a:hover,
.text-link:hover {
  color: var(--link-hover);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 3px;
}

.nav-cta span {
  color: var(--accent-subtle);
}

.language-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font: 10px var(--mono);
}

.language-switch a {
  color: var(--quiet);
  padding: 5px 7px;
  border-radius: 99px;
}

.language-switch .active {
  background: var(--active-surface);
  color: var(--ink);
}

/* Mobile menu icon */
.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.menu-toggle span:last-child {
  width: 12px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-3px, -4px) rotate(-45deg) scaleX(1.5);
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span {
    transition: none;
  }
}

.eyebrow {
  font: 10px/1.45 var(--mono);
  letter-spacing: 0.9px;
  color: var(--muted);
  margin: 0 0 22px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #80a5ff;
  margin-right: 8px;
  box-shadow: 0 0 12px #3478ff88;
}

/* Hero section */
.hero {
  padding-top: 82px;
  padding-bottom: 28px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  gap: 35px;
  min-height: 450px;
}

.hero h1,
.section-heading h2,
.approach h2,
.contact h2 {
  font-size: clamp(46px, 5.8vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 700;
}

.hero h1 em,
.section-heading h2 em,
.approach h2 em,
.contact h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent-soft);
}

.hero-lede {
  max-width: 460px;
  color: var(--lede);
  font-size: 16px;
  margin: 23px 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  /* White 12px labels retain at least 4.5:1 contrast in the hover state. */
  background: #316be6;
  transform: translateY(-2px);
}

.text-link {
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  color: var(--accent-subtle);
}

.hero-proof {
  margin-top: 43px;
  color: var(--quiet);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.5px;
}

.hero-proof:before {
  content: '';
  display: inline-block;
  width: 35px;
  height: 1px;
  background: #6790f5;
  vertical-align: middle;
  margin-right: 9px;
}

.hero-art {
  height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art:before {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  background: #2563eb30;
  filter: blur(55px);
  border-radius: 50%;
  z-index: -2;
}

.art-orbit {
  position: absolute;
  width: 450px;
  height: 230px;
  border: 1px solid #6a91ed40;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.metric-card {
  position: absolute;
  width: 245px;
  height: 295px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 70px #02061790;
}

.metric-back {
  background: #2967de;
  transform: translate(77px, -6px) rotate(8deg);
}

.metric-back > span,
.metric-back small {
  font: 8px var(--mono);
  letter-spacing: 0.8px;
}

.metric-back b {
  font-size: 70px;
  letter-spacing: -5px;
}

/* The longer Turkish heading fits the existing 209px card content area. */
.hero-art:lang(tr) .metric-back b {
  font-size: 48px;
  letter-spacing: -3px;
}

.bars {
  font-size: 24px;
  letter-spacing: 2px;
  color: #dce7ff;
}

.metric-front {
  background: #182338;
  border: 1px solid #ffffff25;
  transform: translate(-25px, 5px) rotate(-7deg);
}

.metric-head {
  font: 8px var(--mono);
  color: #b8c5da;
  display: flex;
  justify-content: space-between;
}

.metric-head:first-letter {
  color: #a9c1ff;
}

.metric-number {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 700;
}

.metric-number em {
  font-style: normal;
  color: #86a9ff;
}

.metric-foot {
  font: 7px var(--mono);
  letter-spacing: 0.4px;
  color: #aebbd0;
}

.metric-foot::first-letter {
  color: #86a9ff;
}

.art-coordinate {
  position: absolute;
  top: 16px;
  right: 0;
  color: var(--quiet);
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.8px;
}

.hero-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font: 10px/1.45 var(--mono);
  letter-spacing: 0.6px;
}

.hero-foot a {
  color: var(--muted);
}

/* Desktop only: 80px is the existing .site-header height at this breakpoint.
 * Let the hero grow with the viewport and with its content on short screens.
 */
@media (min-width: 1100px) {
  .hero {
    min-height: calc(100svh - 80px);
    display: flex;
    flex-direction: column;
  }

  .hero-grid {
    flex: 1 0 auto;
    margin-block: 0;
  }

  /* Clear the unchanged 160px sticky CTA, 24px viewport offset and 16px gap.
   * Apply at every desktop height so 820/821px cannot remove the safe area.
   */
  .hero-foot {
    margin-block: 0;
    padding-inline-end: clamp(0px, calc(200px - (100vw - var(--wrap)) / 2), 168px);
  }
}

/* Short desktop screens: recover vertical space without changing type or artwork.
 * Keep the approved 900px+ tall desktop composition untouched.
 */
@media (min-width: 1100px) and (max-height: 820px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 20px;
  }

  .hero-proof {
    margin-top: 26px;
  }

  /* Bridge the 28px/20px bottom-padding difference near the 820px switch.
   * Offset only this row between 800-820px; preserve flow and shorter views.
   */
  .hero-foot {
    position: relative;
    top: clamp(-8px, calc(320px - 40svh), 0px);
  }
}

/* Services */
.services {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading h2,
.approach h2 {
  font-size: clamp(40px, 4.8vw, 61px);
}

.section-intro {
  max-width: 350px;
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: 22px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card:nth-child(2n) {
  border-right: 0;
}

.service-card:nth-last-child(-n+2) {
  border-bottom: 0;
}

.service-index {
  font: 10px/1.4 var(--mono);
  color: var(--quiet);
  letter-spacing: 0.7px;
}

/* All four service icons share a fixed box and heading alignment. */
.service-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 9px;
}

.service-card .service-heading h3 {
  min-width: 0;
  margin: 0;
}

.service-brand-icon {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 48px 0 9px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.service-tags,
.project-services {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 17px;
}

.service-tags span,
.project-services span {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 8px;
  font: 9px/1.4 var(--mono);
  color: var(--tag-ink);
}

/* Supporting capabilities stay quieter than the four primary service cards. */
.service-supplement {
  margin-top: 32px;
}
.service-supplement-label {
  margin: 0 0 18px;
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.9px;
}
.service-supplement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.service-supplement-item {
  position: relative;
  min-width: 0;
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--line);
}
/* Capability markers sit inside their own item, with a clear text gutter. */
.service-supplement-icons {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  display: grid;
  gap: 8px;
  padding-block: 2px;
  background: var(--bg);
  pointer-events: none;
}
.service-supplement-icons img {
  display: block;
  width: 18px;
  height: 18px;
}
/* Original Google product artwork, approved local-development layout.
 * Commercial brand-use permission must be verified before publication.
 */
.service-product-icon { position:relative; display:block; width:18px; height:18px; }
.service-supplement-icons .service-product-icon img { position:absolute; max-width:none; }
.service-supplement-icons .service-product-icon--analytics img { width:19.636364px; height:19.636364px; inset-inline-start:-0.818182px; inset-block-start:-0.818182px; }
.service-supplement-icons .service-product-icon--tag-manager img { width:18.334218px; height:18.334218px; inset-inline-start:-0.167109px; inset-block-start:-0.167109px; }
.service-supplement-icons .service-product-icon--business-profile img { width:19.636364px; height:19.636364px; inset-inline-start:-0.818182px; inset-block-start:-0.818182px; }

.service-supplement-item h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.service-supplement-item p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
@media (min-width: 641px) {
  .service-supplement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

/* A compact, numbered journey; the ordered list preserves the reading sequence. */
.service-system {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-deep);
}

.service-system-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--muted);
  font: 10px/1.7 var(--mono);
  letter-spacing: 0.9px;
}

.service-system-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  color: var(--nav-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.service-flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-soft);
  font: 10px/1 var(--mono);
}

.service-flow-step {
  max-width: 18ch;
}

.service-flow li:last-child .service-flow-number {
  border-color: var(--accent-soft);
}

.service-flow li:last-child .service-flow-step {
  color: var(--accent-subtle);
}

.service-flow-connector {
  position: absolute;
  top: 13px;
  inset-inline-start: 40px;
  inset-inline-end: -10px;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.service-flow-connector::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-block-start: 1px solid var(--quiet);
  border-inline-end: 1px solid var(--quiet);
  transform: rotate(45deg);
}

/* A continuous, compact vertical timeline on small screens only. */
@media (max-width: 640px) {
  .service-system {
    gap: 20px;
    margin-top: 22px;
    padding: 20px;
  }

  .service-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    isolation: isolate;
  }

  .service-flow li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    row-gap: 0;
    padding-bottom: 18px;
  }

  .service-flow li:last-child {
    padding-bottom: 0;
  }

  .service-flow-number {
    position: relative;
    z-index: 1;
  }

  .service-flow-step {
    max-width: none;
    padding-top: 3px;
  }

  .service-flow-connector {
    top: 13px;
    bottom: -13px;
    inset-inline-start: 12.5px;
    inset-inline-end: auto;
    width: 1px;
    height: auto;
    z-index: 0;
  }

  .service-flow-connector::after {
    content: none;
    display: none;
  }

  .service-flow li:last-child .service-flow-number {
    border-color: var(--blue2);
    background: var(--blue);
    color: var(--ink);
  }
}

/* Selected work */
.work {
  background: var(--panel-deep);
}

.project-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 320px;
}

.project-visual {
  min-height: 320px;
  background: radial-gradient(ellipse at 42% 70%, #4779dc99, transparent 55%), linear-gradient(135deg, #344057, #202b3d);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-meta {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-meta .eyebrow {
  font-size: 10px;
}

.project-meta h3 {
  font-size: 23px;
  margin: 0 0 8px;
}

.project-meta > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.project-services {
  margin-top: 18px;
}

.project-link {
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 20px;
}

.project-link:hover {
  color: var(--link-hover);
}

/* About and process */
.approach {
  border-bottom: 1px solid var(--line);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach .section-intro {
  font-size: 15px;
  line-height: 1.65;
  margin: 21px 0;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.process-list article > span {
  font: 10px/1.4 var(--mono);
  color: var(--accent-soft);
}

.process-list h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.process-list p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Contact section and form */
.contact {
  background: var(--panel);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 70px;
  align-items: center;
}

.contact h2 {
  font-size: clamp(45px, 5.5vw, 69px);
}

.contact .section-intro {
  margin: 20px 0;
  line-height: 1.65;
}

.contact-email {
  display: inline-block;
  font-size: 14px;
  border-bottom: 1px solid var(--form-accent);
  padding-bottom: 7px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 12px;
  margin: 0 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 2px;
  padding: 10px 11px;
  margin-bottom: 13px;
  outline: none;
  resize: vertical;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--form-accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--placeholder);
}

.contact-form .button {
  align-self: flex-start;
}

/* One live region handles idle, sending, error and confirmed success. */
.form-status {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 0;
}

.form-status-icon[hidden],
.form-status-title[hidden] {
  display: none;
}

/* Restrained navy/blue confirmation, only after the endpoint acknowledges sending. */
.form-status[data-state="success"] {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(127, 163, 255, 0.3);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.13), rgba(87, 144, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(127, 163, 255, 0.06);
  /* Bring the confirmation above the fixed WhatsApp control when needed. */
  scroll-margin-block: 90px 92px;
  animation: form-confirmation-in 240ms ease-out both;
}

.form-status-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(127, 163, 255, 0.35);
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-soft);
}

.form-status-copy {
  min-width: 0;
}

.form-status-title {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status[data-state="success"] [data-form-status-message] {
  display: block;
  color: var(--lede);
  font-size: 13px;
  line-height: 1.6;
}

@keyframes form-confirmation-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .form-status[data-state="success"] { animation: none; }
}

@media (forced-colors: active) {
  .form-status[data-state="success"],
  .form-status-icon {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }
}

/* Footer */
.site-footer {
  padding: 30px 0 14px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.footer-main > p {
  font-size: 12px;
  color: var(--muted);
}

.footer-main > a:last-child,
.footer-bottom {
  font: 9px/1.5 var(--mono);
  color: var(--quiet);
  letter-spacing: 0.6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
}

.footer-bottom a {
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

/* Tablet and compact laptop layouts */
@media (max-width: 900px) {
  .section-space {
    padding-block: 88px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    gap: 10px;
    min-height: 400px;
  }

  .hero-art {
    transform: scale(0.84);
  }

  .hero h1 {
    font-size: clamp(50px, 8vw, 68px);
  }

  .approach-grid {
    gap: 40px;
  }

  .contact-grid {
    gap: 38px;
  }
}

/* Mobile layouts */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }
  .section-space {
    padding-block: 68px;
  }

  .site-header {
    height: 68px;
  }
  .brand img {
    width: 39px;
    height: 39px;
  }
  .brand-name {
    font-size: 11px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6.5px;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    flex: 0 0 auto;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 67px;
    background: var(--panel-deep);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    display: none;
    align-items: stretch;
    gap: 0;
    flex-direction: column;
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav > a {
    padding: 11px 3px;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav .language-switch {
    align-self: flex-start;
    margin-top: 10px;
  }
  .primary-nav .nav-cta {
    margin-top: 9px;
    padding: 11px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 67px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-proof {
    margin-top: 27px;
  }

  .hero-art {
    height: 305px;
    transform: scale(0.76);
    margin: -5px -25px -20px;
  }
  .art-coordinate {
    right: 5px;
  }

  .hero-foot {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  .hero-foot span:nth-child(2) {
    display: none;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2,
  .approach h2 {
    font-size: 43px;
  }
  .section-intro {
    margin-top: 16px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 205px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 19px;
  }
  .service-card:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .service-card:last-child {
    border-bottom: 0;
  }
  .service-card h3 {
    margin-top: 34px;
  }
  .service-heading {
    margin-top: 34px;
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-visual {
    min-height: 260px;
  }
  .project-meta {
    min-height: 250px;
    padding: 23px 19px;
  }

  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .approach h2 {
    font-size: 43px;
  }

  .contact h2 {
    font-size: 53px;
  }
  .process-list article {
    padding: 15px 0;
  }
  .footer-main {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .footer-main > p {
    font-size: 12px;
  }
  .footer-main > a:last-child {
    margin-left: auto;
    padding-top: 8px;
  }
  .footer-bottom {
    gap: 9px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .footer-bottom span:nth-child(2) {
    display: none;
  }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

/* Website project previews: one frame/shadow/caption system for both cases. */
.project-showcase-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 420px;
  padding: 32px 30px 26px;
  isolation: isolate;
}

.project-visual-caption {
  align-self: flex-end;
  max-width: 100%;
  color: var(--nav-ink);
  font: 9px/1.5 var(--mono);
  letter-spacing: 0.55px;
  text-align: right;
}

.studyfly-visual,
.powerhouse-visual {
  background: radial-gradient(ellipse at 48% 85%, #36568d66, transparent 64%), linear-gradient(135deg, #24334d, #111c30);
}

/* The screen images are real website captures, with no recreated page content. */
.website-showcase {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 0 24px 24px 0;
}

/* Physical laptop shell is shared; the original site captures remain live images.
 * One responsive scene supplies the keyboard, hinge and dimensional chassis. */
.browser-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 900;
  isolation: isolate;
}

.laptop-hardware {
  display: block;
  width: 100%;
  height: auto;
}

.laptop-screen {
  position: absolute;
  left: 14.77%;
  top: 5.75%;
  width: 69.85%;
  height: 58.2%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1px;
  background: #080d13;
  transform: rotate(-0.19deg);
  transform-origin: 0 0;
}

.laptop-screen > .preview-toolbar {
  flex: 0 0 8px;
  min-height: 0;
  gap: 5px;
  padding: 1px 5px;
  font-size: 4.5px;
  line-height: 6px;
  background: #111a2a;
}

.laptop-screen .preview-controls {
  gap: 2px;
}

.laptop-screen .preview-controls i {
  width: 2px;
  height: 2px;
}

.laptop-screen > .website-capture {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 0;
  object-fit: cover;
  object-position: center top;
}

.website-showcase::before {
  content: "";
  position: absolute;
  left: 4%;
  bottom: 4%;
  width: 84%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #030916aa, transparent 70%);
  pointer-events: none;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 25px;
  padding: 6px 10px;
  color: var(--muted);
  font: 7px/1.4 var(--mono);
}

.preview-controls {
  display: flex;
  gap: 4px;
}

.preview-controls i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--quiet);
}

.website-capture {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(94px, 23%, 132px);
  padding: 4px;
  border: 1px solid rgba(174, 183, 199, 0.4);
  border-radius: 15px;
  background: #0c1424;
  box-shadow: inset 1px 0 0 rgba(222, 232, 248, 0.18), 0 0 0 1px #091220, 0 18px 35px #020617aa;
}

.device-speaker {
  display: block;
  width: 19px;
  height: 3px;
  margin: 3px auto 7px;
  border-radius: 3px;
  background: var(--quiet);
}

.mobile-preview .website-capture {
  border-radius: 3px 3px 10px 10px;
}

/* Current campaign delivery is visually separate from prior admissions history. */
.project-result {
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(127, 163, 255, 0.23);
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.06);
}

.project-result-label {
  margin: 0 0 9px;
  color: var(--muted);
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.7px;
}

.project-result-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.project-result-metric strong {
  flex: 0 0 auto;
  color: var(--link-hover);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.project-result-metric span {
  max-width: 270px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) and (min-width: 641px) {
  .project-showcase-visual {
    padding-inline: 22px;
  }

  .website-showcase {
    padding-right: 16px;
  }

  .mobile-preview {
    width: 26%;
    min-width: 76px;
  }
}

@media (max-width: 640px) {
  .project-showcase-visual {
    min-height: 280px;
    padding: 26px 20px 22px;
    gap: 20px;
  }

  .website-showcase {
    padding: 0 16px 18px 0;
  }

  .preview-toolbar {
    gap: 7px;
    padding-inline: 7px;
    font-size: 6px;
  }

  .mobile-preview {
    width: 28%;
    min-width: 75px;
    border-radius: 11px;
  }

  .device-speaker {
    margin-bottom: 5px;
  }

  .project-result {
    padding: 13px;
  }

  .project-result-metric {
    gap: 12px;
  }

  .project-result-metric strong {
    font-size: 29px;
  }
}

/* Desktop portfolio: reduce previews by 12.5% and tighten row spacing.
 * Tablet/mobile frames and screenshot proportions stay intact.
 */
@media (min-width: 1100px) {
  .work .project-showcase-visual {
    min-height: 360px;
    padding-block: 24px 20px;
    gap: 18px;
  }

  .work .website-showcase {
    max-width: 490px;
  }

  .work .project-meta {
    padding-block: 22px;
  }

  .work .project-meta .eyebrow {
    margin-bottom: 18px;
  }

  .work .project-services {
    margin-top: 14px;
    padding-top: 0;
  }
}

.project-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.project-stats span {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.project-stats strong {
  display: block;
  color: var(--link-hover);
  font-size: 17px;
  line-height: 1.2;
}

.project-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 14px;
}

.project-languages a {
  font: 10px var(--mono);
  color: var(--nav-ink);
}

.project-languages a:hover {
  color: var(--link-hover);
}

/* Contact and social shortcuts follow the existing dark/blue palette. */
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--nav-ink);
  font-size: 13px;
}

.contact-whatsapp svg {
  flex: 0 0 auto;
  color: var(--blue2);
}

.contact-whatsapp:hover {
  color: var(--link-hover);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--nav-ink);
  font-size: 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-links a:hover {
  background: var(--active-surface);
  border-color: var(--blue2);
  color: var(--link-hover);
}

.social-links--footer a {
  width: 44px;
  padding: 10px;
}

.footer-main {
  gap: 20px;
}

/* Keep the floating shortcut clear of the final footer links. */
.site-footer {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.whatsapp-sticky {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(127, 163, 255, 0.4);
  border-radius: 12px;
  background: rgba(21, 31, 50, 0.96);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(12px);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.whatsapp-sticky > svg {
  color: var(--accent-soft);
  flex: 0 0 auto;
}

.sticky-copy {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.sticky-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.4px;
}

.sticky-arrow {
  margin-left: auto;
  color: var(--accent-soft);
}

.whatsapp-sticky:hover {
  transform: translateY(-2px);
  background: var(--panel);
  border-color: var(--accent-soft);
}

@media (max-width: 640px) {
  .whatsapp-sticky {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 12px;
    border-radius: 15px;
  }

  .whatsapp-sticky .sticky-copy,
  .whatsapp-sticky .sticky-arrow {
    display: none;
  }

  .footer-main {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-sticky:hover {
    transform: none;
  }
}

/* Mobile navigation targets remain comfortable for touch input. */
@media (max-width: 640px) {
  .menu-toggle { width: 44px; height: 44px; }
  .primary-nav .language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .whatsapp-sticky { min-height: 56px; }
}


/* Footer section links complement the existing legal and social navigation. */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 24px;
  padding-block-start: 12px;
  color: var(--nav-ink);
  font-size: 13px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-inline-size: 44px;
  min-block-size: 44px;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--link-hover);
  text-decoration-line: underline;
}
@media (max-width: 640px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 12px;
  }
}

/* Privacy pages and nonmodal, first-party cookie choices. */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.footer-legal a, .footer-legal button { min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal button, .legal-settings-link {
  border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover, .legal-settings-link:hover { color: var(--link-hover); }
.form-privacy { margin: 12px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-privacy a, .legal-document a, .consent-policy-links a, .legal-settings-link {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.cookie-status { margin: 0; color: var(--muted); font-size: 12px; }
.cookie-status:empty { display: none; }
.legal-main { padding-block: 68px 96px; }
.legal-document { max-width: 880px; }
.legal-document h1 { margin: 14px 0 20px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.18; letter-spacing: -1.4px; }
.legal-document h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.4; letter-spacing: -0.4px; }
.legal-document p, .legal-document li { color: var(--muted); font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-document section { margin-top: 36px; }
.legal-document ul { padding-inline-start: 22px; }
.legal-date { font: 11px/1.7 var(--mono); color: var(--quiet); }
.legal-review { padding: 20px 22px; margin: 28px 0; border: 1px solid var(--line); border-inline-start: 2px solid var(--accent-soft); background: var(--panel); }
.legal-review h2 { font-size: 16px; }
.legal-review p { margin: 0; font-size: 13px; }
.legal-table-wrap { overflow-x: auto; margin-block: 22px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; color: var(--muted); }
.legal-table th, .legal-table td { padding: 14px 12px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.legal-table th { color: var(--ink); font-weight: 600; background: var(--panel); }
.legal-table code { font-family: var(--mono); font-size: 11px; }
.legal-table caption { text-align: left; margin-bottom: 12px; color: var(--ink); font-size: 14px; }
.legal-settings-link { color: var(--link-hover); min-height: 44px; }
.cookie-consent[hidden], .cookie-consent [hidden], .footer-legal [hidden] { display: none !important; }
.cookie-consent {
  position: fixed; inset-inline: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50; width: min(1160px, calc(100% - 32px)); margin-inline: auto;
  max-height: calc(85dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 22px; border: 1px solid rgba(127, 163, 255, 0.3); border-radius: 9px;
  background: var(--panel); color: var(--ink); box-shadow: 0 -4px 28px rgba(2, 6, 23, 0.3);
}
.consent-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.consent-copy { min-width: 0; }
.consent-copy h2 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; letter-spacing: -0.1px; }
.consent-copy p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.consent-policy-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 6px; }
.consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cookie-consent button {
  min-width: 104px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 5px; background: var(--input-bg); color: var(--ink); font: 500 12px/1.4 var(--sans); cursor: pointer;
}
.cookie-consent button:hover { border-color: var(--accent-soft); background: var(--active-surface); }
.cookie-consent button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.consent-details { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.consent-category { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin: 0 0 16px; }
.consent-category h3, .consent-category strong { margin: 0; font-size: 13px; font-weight: 600; }
.consent-category p, .consent-category-copy { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; margin: 4px 0 0; }
.consent-category > span[data-necessary-state] { white-space: nowrap; color: var(--muted); font-size: 11px; }
label.consent-category { cursor: pointer; min-height: 44px; }
.consent-category input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--blue2); cursor: pointer; }
.consent-refresh, .consent-storage { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.consent-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-consent-open] { scroll-padding-bottom: calc(var(--ecd-consent-height, 0px) + 20px + env(safe-area-inset-bottom, 0px)); }
html[data-consent-open] body { padding-bottom: calc(var(--ecd-consent-height, 0px) + env(safe-area-inset-bottom, 0px)); }
html[data-consent-open] .whatsapp-sticky { bottom: calc(var(--ecd-consent-height, 0px) + 16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 900px) {
  .consent-overview { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cookie-consent { padding: 16px 18px; }
}
@media (max-width: 640px) {
  .cookie-consent { inset-inline: 10px; width: calc(100% - 20px); padding: 14px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .cookie-consent button { min-width: 0; padding-inline: 8px; font-size: 12px; }
  .consent-actions { width: 100%; }
  .legal-main { padding-block: 48px 68px; }
  .legal-document h2 { font-size: 21px; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 10px 8px; }
}
@media (forced-colors: active) {
  .cookie-consent, .cookie-consent button { background: Canvas; border-color: CanvasText; color: CanvasText; box-shadow: none; }
}

/* Readable information labels on desktop only.
 * Keep the approved tablet/mobile type and all decorative device text intact.
 */
@media (min-width: 1100px) {
  .home-page {
    --content-label-size: clamp(11px, calc(11px + (100vw - 1440px) / 480), 12px);
  }
  .home-page :is(.service-tags, .project-services) {
    gap: 8px;
  }
  .home-page :is(.service-tags, .project-services) span {
    padding: 5px 10px;
    font-size: var(--content-label-size);
  }
  .home-page .service-index,
  .home-page .service-system-label,
  .home-page .service-supplement-label,
  .home-page .project-visual-caption,
  .home-page .project-result-label,
  .home-page main > :is(.services, .work, .approach, .contact) .eyebrow {
    font-size: var(--content-label-size);
  }
  .home-page > .site-footer :is(.footer-main > a:last-child, .footer-bottom) {
    font-size: var(--content-label-size);
  }
}

/* Desktop/laptop entry spacing: preserve hero height and native wheel scrolling.
 * Short windows use 48px; 820–900px heights blend toward the approved 64px.
 */
@media (min-width: 1100px) {
  .home-page .hero + .services {
    padding-block-start: clamp(48px, calc(20svh - 116px), 64px);
  }
  /* Six services read as two balanced rows without changing the tag design. */
  .studyfly-card .project-services {
    display: grid;
    grid-template-columns: repeat(3, max-content);
  }
}

/* Approved 10 November 2026: C homepage system.
 * One stylesheet; the approved 1440px-and-below design remains unchanged.
 * C replaces the superseded B height-limited enlargement.
 */
@media (min-width: 1441px) {
  .home-page {
    --hero-unit: clamp(1px, calc(1px + (100vw - 1440px) * 0.4055636896 / 480), 1.4055636896px);
  }
  .home-page .site-header .nav-wrap,
  .home-page .hero .hero-grid,
  .home-page .hero .hero-foot,
  .home-page main > :is(.services, .work, .approach, .contact) > .container,
  .home-page > .site-footer > .container {
    width: calc(1160 * var(--hero-unit));
    margin-inline: auto;
  }
  .home-page .hero {
    --hero-art-unit: var(--hero-unit);
    padding-top: calc(82px - (var(--hero-unit) - 1px) * 15.0397111913);
    padding-bottom: 28px;
  }
  .home-page .hero .hero-grid {
    gap: calc(35 * var(--hero-unit));
    min-height: calc(450 * var(--hero-unit));
  }
  .home-page .hero h1 { font-size: calc(76 * var(--hero-unit)); }
  .home-page .hero:lang(en) h1 { width: calc(100% + 16 * var(--hero-unit)); }
  .home-page .hero:lang(en) h1 em { display: inline; }
  .home-page .hero .eyebrow {
    font-size: calc(10 * var(--hero-unit));
    letter-spacing: calc(0.9 * var(--hero-unit));
    margin-bottom: calc(22 * var(--hero-unit));
  }
  .home-page .hero .status-dot {
    width: calc(7 * var(--hero-unit));
    height: calc(7 * var(--hero-unit));
    margin-right: calc(8 * var(--hero-unit));
  }
  .home-page .hero .hero-lede {
    max-width: calc(460 * var(--hero-unit));
    font-size: calc(16 * var(--hero-unit));
    margin-block: calc(23 * var(--hero-unit));
  }
  .home-page .hero:lang(tr) .hero-lede {
    max-width: 100%;
    /* Two balanced text rows retain the approved three-row block height. */
    min-block-size: 3lh;
  }
  .home-page .hero .hero-actions { gap: calc(22 * var(--hero-unit)); }
  .home-page .hero .button {
    min-height: calc(46 * var(--hero-unit));
    padding-inline: calc(16 * var(--hero-unit));
    gap: calc(18 * var(--hero-unit));
    border-radius: calc(3 * var(--hero-unit));
    font-size: calc(12 * var(--hero-unit));
  }
  .home-page .hero .text-link { font-size: calc(12 * var(--hero-unit)); }
  .home-page .hero .hero-proof {
    margin-top: calc(43px - (var(--hero-unit) - 1px) * 15.9169675090);
    font-size: calc(10 * var(--hero-unit));
    letter-spacing: calc(0.5 * var(--hero-unit));
  }
  .home-page .hero .hero-proof::before {
    width: calc(35 * var(--hero-unit));
    height: calc(1 * var(--hero-unit));
    margin-right: calc(9 * var(--hero-unit));
  }
  .home-page .hero .hero-foot {
    top: 0;
    font-size: calc(10 * var(--hero-unit));
    letter-spacing: calc(0.6 * var(--hero-unit));
    padding-top: calc(16 * var(--hero-unit));
  }
  /* Clear the unchanged fixed WhatsApp control at both trailing links. */
  .home-page .hero .hero-foot,
  .home-page > .site-footer > .footer-bottom {
    padding-inline-end: clamp(0px, calc(200px - (100vw - 1160 * var(--hero-unit)) / 2), 168px);
  }
  .home-page .hero-art { height: calc(420 * var(--hero-art-unit)); }
  .home-page .hero-art::before {
    width: calc(290 * var(--hero-art-unit));
    height: calc(290 * var(--hero-art-unit));
  }
  .home-page .hero .art-orbit {
    width: calc(450 * var(--hero-art-unit));
    height: calc(230 * var(--hero-art-unit));
  }
  .home-page .hero .metric-card {
    width: calc(245 * var(--hero-art-unit));
    height: calc(295 * var(--hero-art-unit));
    padding: calc(18 * var(--hero-art-unit));
  }
  .home-page .hero .metric-back {
    transform: translate(calc(77 * var(--hero-art-unit)), calc(-6 * var(--hero-art-unit))) rotate(8deg);
  }
  .home-page .hero .metric-front {
    transform: translate(calc(-25 * var(--hero-art-unit)), calc(5 * var(--hero-art-unit))) rotate(-7deg);
  }
  .home-page .hero .metric-back > span,
  .home-page .hero .metric-back small {
    font-size: calc(8 * var(--hero-art-unit));
    letter-spacing: calc(0.8 * var(--hero-art-unit));
  }
  .home-page .hero:lang(en) .metric-back b,
  .home-page .hero:lang(tr) .metric-back b {
    align-self: flex-end;
    text-align: right;
    letter-spacing: calc(-0.7 * var(--hero-unit));
  }
  .home-page .hero:lang(en) .metric-back b {
    font-size: calc(30 * var(--hero-unit));
    line-height: 1.08;
  }
  .home-page .hero:lang(tr) .metric-back b {
    font-size: calc(22 * var(--hero-unit));
    line-height: 1.12;
  }
  .home-page .hero .bars {
    font-size: calc(24 * var(--hero-art-unit));
    letter-spacing: calc(2 * var(--hero-art-unit));
  }
  .home-page .hero:lang(en) .bars {
    font-size: calc(18 * var(--hero-unit));
    letter-spacing: var(--hero-unit);
    white-space: nowrap;
  }
  .home-page .hero .metric-head { font-size: calc(8 * var(--hero-art-unit)); }
  .home-page .hero .metric-number {
    font-size: calc(32 * var(--hero-art-unit));
    letter-spacing: calc(-1.8 * var(--hero-art-unit));
  }
  .home-page .hero:lang(en) .metric-number em {
    display: block;
    max-inline-size: calc(140 * var(--hero-unit));
  }
  .home-page .hero .metric-foot {
    font-size: calc(7 * var(--hero-art-unit));
    letter-spacing: calc(0.4 * var(--hero-art-unit));
  }
  .home-page .hero .art-coordinate {
    top: calc(16 * var(--hero-art-unit));
    font-size: calc(9 * var(--hero-art-unit));
    letter-spacing: calc(0.8 * var(--hero-art-unit));
  }
  .home-page .primary-nav > a:not(.nav-cta) {
    font-size: clamp(13px, calc(13px + (100vw - 1440px) * 2.5 / 480), 15.5px);
  }
  .home-page .site-header .brand {
    --logo-unit: clamp(1px, calc(1px + (100vw - 1440px) * 0.04 / 480), 1.04px);
    gap: calc(10 * var(--logo-unit));
  }
  .home-page .site-header .brand-mark {
    width: calc(40 * var(--logo-unit));
    height: calc(40 * var(--logo-unit));
  }
  .home-page .site-header .brand-name {
    font-size: calc(12 * var(--logo-unit));
    letter-spacing: var(--logo-unit);
  }
  .home-page .site-header .brand-name > span {
    font-size: calc(9 * var(--logo-unit));
    margin-top: calc(5 * var(--logo-unit));
    letter-spacing: calc(5 * var(--logo-unit));
  }
}
/* Preserve the approved 20px allowance for wide, short English windows. */
@media (min-width: 1441px) and (max-height: 920px) {
  .home-page .hero:lang(en) {
    --hero-short-inset: clamp(0px, min(calc(920px - 100svh), calc((100vw - 1800px) / 6)), 20px);
    padding-top: calc(82px - (var(--hero-unit) - 1px) * 15.0397111913 - var(--hero-short-inset));
  }
}
/* Match the About column starts; keep the form's existing width and vertical flow. */
@media (min-width: 1441px) {
  .home-page .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
  }
  .home-page .contact-form {
    inline-size: min(100%, calc((1160 * var(--hero-unit) - 70px) * 0.82 / 1.82));
    justify-self: start;
  }
}

/* Component-specific caps; do not uniformly enlarge paragraphs or devices. */
@media (min-width: 1600px) {
  .home-page {
    --section-detail-unit: clamp(0px, calc((100vw - 1600px) / 320), 1px);
  }
  .home-page main > :is(.services, .work) .section-heading { gap: 64px; }
  .home-page main > :is(.services, .work, .approach) h2 {
    max-width: 720px;
    font-size: calc(61px + var(--section-detail-unit) * 7);
  }
  .home-page main > :is(.services, .work) .section-intro {
    max-width: 42ch;
    flex: 0 1 390px;
    font-size: 16px;
  }
  .home-page .service-card {
    min-height: calc(260px + var(--section-detail-unit) * 20);
    padding: calc(22px + var(--section-detail-unit) * 10);
  }
  .home-page .service-card .service-heading h3 {
    font-size: calc(18px + var(--section-detail-unit) * 2);
  }
  .home-page .service-card > p {
    max-width: min(54ch, 520px);
    font-size: 16px;
  }
  .home-page .work .website-showcase {
    max-width: calc(490px + var(--section-detail-unit) * 70);
  }
  .home-page .work .project-meta {
    padding-inline: calc(30px + var(--section-detail-unit) * 18);
    justify-content: center;
  }
  .home-page .project-meta > p:not(.eyebrow) { max-width: min(54ch, 520px); }
  .home-page .project-meta > :is(.project-result, .project-stats, .project-services) {
    max-width: 620px;
  }
  .home-page .approach-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, calc(540px + var(--section-detail-unit) * 120));
    gap: calc(80px + var(--section-detail-unit) * 40);
  }
  .home-page .process-list p { max-width: min(54ch, 520px); }
  .home-page .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, calc(540px + var(--section-detail-unit) * 120));
    gap: calc(80px + var(--section-detail-unit) * 40);
  }
  .home-page .contact-form {
    inline-size: calc(490px + var(--section-detail-unit) * 110);
  }
  .home-page .contact h2 { max-width: 680px; }
}

/* Large desktop contact typography only; horizontal grid restored from approved C. */
@media (min-width: 1441px) {
  .home-page .contact-grid {
    --contact-balance: clamp(0px, calc((100vw - 1440px) / 480), 1px);
  }
  .home-page .contact-form label {
    font-size: calc(12px + var(--contact-balance) * 2);
    margin-bottom: calc(6px + var(--contact-balance) * 2);
  }
  /* Inputs already use 16px. Keep the approved family, weight and focus rules. */
  .home-page .contact-form input,
  .home-page .contact-form textarea {
    padding-block: calc(10px + var(--contact-balance) * 2);
  }
  .home-page .contact-form .form-privacy {
    font-size: calc(12px + var(--contact-balance) * 1);
  }
  .home-page .contact-form .button {
    font-size: calc(12px + var(--contact-balance) * 2);
  }
  .home-page .contact-form .form-status {
    font-size: calc(11px + var(--contact-balance) * 2);
  }
  .home-page .contact .social-links a {
    font-size: calc(12px + var(--contact-balance) * 2);
  }
}

/* Match type by editorial role on large desktop; keep hero and form untouched. */
@media (min-width: 1441px) {
  .home-page {
    --content-type-step: clamp(0px, calc((100vw - 1440px) / 480), 1px);
  }
  /* Keep the step labels in place while increasing the number target optically. */
  .home-page .service-flow-number {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .home-page .service-flow li {
    gap: 7px;
  }
  .home-page .service-flow-connector {
    top: 15px;
    inset-inline-start: 44px;
  }
  .home-page .approach .section-intro,
  .home-page .contact .section-intro {
    max-width: 390px;
    font-size: calc(15px + var(--content-type-step));
  }
  .home-page .project-meta > p:not(.eyebrow),
  .home-page .process-list p {
    font-size: calc(14px + var(--content-type-step));
  }
  .home-page .process-list h3 {
    font-size: calc(15px + var(--content-type-step) * 2);
  }
  .home-page .project-link,
  .home-page .approach .text-link {
    font-size: calc(12px + var(--content-type-step) * 2);
  }
  .home-page .contact-email {
    font-size: calc(14px + var(--content-type-step));
  }
  .home-page .contact-whatsapp {
    font-size: calc(13px + var(--content-type-step) * 2);
  }
}


/* Approved B footer: shared EN/TR component; other sections remain unchanged. */
.site-footer.footer-design {
  padding-block:60px calc(96px + env(safe-area-inset-bottom,0px));
  border-block-start:1px solid var(--line);
  background:var(--bg);
  }
.footer-design .footer-layout {
  display:grid;
  align-items:start;
  padding-block-end:32px;
  }
.footer-design .footer-brand {
  min-width:0;
  }
.footer-design .footer-brand .brand {
  width:fit-content;
  }
.footer-design .footer-description {
  max-width:32ch;
  margin:20px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  }
.footer-design .footer-heading {
  margin:0 0 18px;
  color:var(--accent-subtle);
  font:400 11px/1.6 var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
  }
.footer-design .footer-explore-nav {
  display:grid;
  align-items:start;
  }
.footer-design .footer-explore-nav a {
  display:flex;
  align-items:center;
  width:fit-content;
  min-height:32px;
  color:var(--nav-ink);
  font-size:15px;
  font-weight:500;
  line-height:1.6;
  text-underline-offset:5px;
  text-decoration-thickness:1px;
  transition:color .2s ease;
  }
.footer-design .footer-explore-nav a:hover,.footer-design .footer-explore-nav a:focus-visible {
  color:var(--link-hover);
  text-decoration-line:underline;
  }
.footer-design .footer-channel {
  min-width:0;
  }
.footer-design .footer-channel-label {
  display:block;
  margin-block-end:4px;
  color:var(--quiet);
  font:400 10px/1.5 var(--mono);
  letter-spacing:.04em;
  }
.footer-design .footer-channel-link {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  color:var(--nav-ink);
  font-size:14px;
  line-height:1.6;
  overflow-wrap:anywhere;
  text-underline-offset:5px;
  text-decoration-thickness:1px;
  transition:color .2s ease;
  }
.footer-design .footer-channel-link:hover,.footer-design .footer-channel-link:focus-visible {
  color:var(--link-hover);
  text-decoration-line:underline;
  }
.footer-design .footer-social {
  display:flex;
  flex-wrap:wrap;
  gap:8px 24px;
  margin-block-start:20px;
  }
.footer-design .footer-social a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
  text-underline-offset:4px;
  }
.footer-design .footer-social svg {
  width:16px;
  height:16px;
  flex:none;
  }
.footer-design .footer-social a:hover,.footer-design .footer-social a:focus-visible {
  color:var(--link-hover);
  text-decoration-line:underline;
  }
.footer-design .footer-bar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 32px;
  padding-block-start:20px;
  border-block-start:1px solid var(--line);
  }
.footer-design .footer-copyright {
  color:var(--muted);
  font:400 10px/1.7 var(--mono);
  letter-spacing:.02em;
  }
.footer-design .footer-policy-nav {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 24px;
  }
.footer-design .footer-policy-nav a,.footer-design .footer-policy-nav button,.footer-design .footer-language {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
  text-underline-offset:4px;
  text-decoration-thickness:1px;
  }
.footer-design .footer-policy-nav button {
  padding:0;
  border:0;
  background:none;
  font-family:inherit;
  cursor:pointer;
  }
.footer-design .footer-policy-nav a:hover,.footer-design .footer-policy-nav button:hover,.footer-design .footer-policy-nav a:focus-visible,.footer-design .footer-policy-nav button:focus-visible,.footer-design .footer-language:hover {
  color:var(--link-hover);
  text-decoration-line:underline;
  }
.footer-design .footer-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 28px;
  padding-block-start:12px;
  color:var(--quiet);
  font:400 9px/1.7 var(--mono);
  letter-spacing:.06em;
  }
.footer-design .footer-meta a {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  color:var(--muted);
  text-underline-offset:4px;
  }
.footer-design .footer-meta a:hover {
  color:var(--link-hover);
  text-decoration-line:underline;
  }
.footer-design [hidden] {
  display:none!important;
  }
.footer-design--B .footer-layout {
  grid-template-columns:minmax(0,1.25fr) minmax(0,.65fr) minmax(0,1fr);
  gap:clamp(48px,5vw,96px);
  }
.footer-design--B .footer-explore-nav {
  grid-template-columns:1fr;
  gap:4px;
  }
.footer-design--B .footer-contact-list {
  display:grid;
  gap:14px;
  }
.footer-design--B .footer-contact .footer-social {
  margin-block-start:16px;
  }
@media(max-width:900px) and (min-width:641px) {
 .footer-design--B .footer-layout {
  grid-template-columns:1.2fr 1fr;
  gap:32px 40px;
  }
 .footer-design--B .footer-brand {
  grid-row:span 2;
  }
 .footer-design--B .footer-contact {
  grid-column:2;
  }
 .footer-design .footer-bar {
  gap:6px 20px;
  }
}
@media(max-width:640px) {
 .site-footer.footer-design {
  padding-block-start:40px;
  }
 .footer-design .footer-description {
  margin-block-start:16px;
  font-size:12px;
  line-height:1.8;
  max-width:31ch;
  }
 .footer-design .footer-social {
  margin-block-start:12px;
  }
 .footer-design .footer-social a {
  min-height:44px;
  font-size:12px;
  }
 .footer-design .footer-explore-nav a {
  min-height:44px;
  font-size:12px;
  line-height:1.6;
  }
 .footer-design .footer-channel-label {
  font-size:9px;
  margin-block-end:0;
  }
 .footer-design .footer-channel-link {
  min-height:40px;
  font-size:12px;
  }
 .footer-design .footer-heading {
  font-size:10px;
  margin-block-end:10px;
  }
 .footer-design .footer-layout {
  padding-block-end:24px;
  }
 .footer-design--B .footer-layout {
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:26px 24px;
  }
 .footer-design--B .footer-brand {
  grid-column:1/-1;
  }
 .footer-design--B .footer-contact-list {
  gap:8px;
  }
 .footer-design--B .footer-contact .footer-social {
  gap:0 16px;
  margin-block-start:8px;
  }
 .footer-design .footer-bar {
  display:grid;
  grid-template-columns:1fr auto;
  gap:2px 18px;
  padding-block-start:14px;
  }
 .footer-design .footer-copyright {
  grid-column:1/-1;
  font-size:9px;
  }
 .footer-design .footer-policy-nav {
  grid-column:1/-1;
  gap:0 20px;
  }
 .footer-design .footer-language {
  grid-column:1/-1;
  justify-self:start;
  font-size:12px;
  }
 .footer-design .footer-meta {
  font-size:9px;
  padding-block-start:4px;
  gap:4px 20px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .footer-design a,.footer-design button {
  transition:none;
  } }

