:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --surface-2: #ebebeb;
  --text: #171717;
  --muted: #5e5e5e;
  --border: #d9d9d9;
  --accent: #242424;
  --accent-soft: #3a3a3a;
  --max: 1240px;
  --radius: 0px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.05);
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.h1,
h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
}

.section {
  padding: 96px 0;
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.86);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn-portal {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-strong {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent);
}

.brand-soft {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6a6a6a;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 0.98rem;
  color: #414141;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  font-size: 0.92rem;
  color: #4f4f4f;
  padding: 8px 0;
}

.burger {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.mobile-menu {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.mobile-menu-inner {
  padding: 22px 0 28px;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: #333;
}

.mobile-nav-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #dcdcdc;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18,18,18,0.76) 0%, rgba(18,18,18,0.34) 45%, rgba(18,18,18,0.14) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 0 56px;
}

.hero-copy {
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.34);
}

.hero-actions .btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.about-panel {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a6a6a;
}

.home-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.preview-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.preview-card:hover {
  transform: translateY(-2px);
  border-color: #bdbdbd;
  box-shadow: var(--shadow-soft);
}

.preview-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.preview-card-arrow {
  color: #7a7a7a;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.work-intro {
  max-width: 860px;
  margin-bottom: 28px;
}

.work-note {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.work-trigger {
  position: relative;
  min-height: 130px;
  padding: 18px 16px 16px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.work-trigger:hover {
  transform: translateY(-2px);
  border-color: #b5b5b5;
}

.work-trigger.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.work-trigger-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.work-trigger-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.work-trigger-icon {
  align-self: flex-end;
  font-size: 1.45rem;
  line-height: 1;
}

.work-panels {
  margin-top: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.work-panel {
  display: none;
  padding: 28px;
}

.work-panel.is-active {
  display: block;
  animation: fadeSlide 260ms ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.project-card {
  min-height: 260px;
  padding: 22px;
  background: linear-gradient(180deg, #efefef 0%, #dddddd 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}

.project-card-meta {
  width: 100%;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.project-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  line-height: 1.08;
  margin-bottom: 8px;
}

.project-card-text {
  color: #5c5c5c;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fafafa;
  margin-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 28px;
}

.footer-title {
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.footer-text {
  color: #666;
  max-width: 420px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: #4b4b4b;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
  color: #6b6b6b;
  font-size: 0.92rem;
}

.footer-bottom a {
  color: var(--accent);
}

.page-hero-compact {
  min-height: 420px;
}

.page-hero-compact .hero-inner {
  padding-top: 120px;
}

@media (max-width: 1180px) {
  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-preview-grid,
  .projects-placeholder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero {
    min-height: 78svh;
  }

  .about-grid,
  .cta-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-panels {
    border: 0;
    background: transparent;
    margin-top: 12px;
  }

  .work-panel {
    display: none;
    padding: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
  }

  .work-panel.is-active {
    display: block;
  }

  .work-trigger {
    min-height: unset;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-strong {
    font-size: 1.32rem;
  }

  .brand-soft {
    font-size: 1.12rem;
  }

  .section {
    padding: 74px 0;
  }

  .hero-inner {
    padding: 44px 0 38px;
  }

  .hero-actions,
  .mobile-menu-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .home-preview-grid,
  .projects-placeholder {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== CONTENT PASS PATCH ===== */

.projects-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card-link:hover {
  transform: translateY(-2px);
  border-color: #bdbdbd;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* mobile accordion behavior for Proces */
@media (max-width: 920px) {
  .projects-links {
    grid-template-columns: 1fr;
  }

  .work-panels {
    display: none;
  }

  .work-trigger {
    overflow: hidden;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
  }

  .work-trigger-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease, margin-top 220ms ease, opacity 220ms ease;
    opacity: 0;
    margin-top: 0;
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .work-trigger.is-active .work-trigger-content {
    max-height: 220px;
    opacity: 1;
    margin-top: 16px;
  }
}


/* ===== PROCESS FIX PATCH ===== */
.process-head {
  margin-bottom: 28px;
}

.work-note-mobile {
  display: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.process-card {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 210px;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.process-card:hover {
  border-color: #b8b8b8;
}

.process-card.is-active {
  background: #242424;
  color: #fff;
  border-color: #242424;
}

.process-card-inner {
  height: 100%;
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.process-card-title {
  margin: 0;
  color: inherit;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
  text-wrap: balance;
}

.process-card-icon {
  align-self: flex-end;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}

.process-card-mobile-content {
  display: none;
}

.process-panels {
  margin-top: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.process-panel {
  display: none;
  padding: 34px;
}

.process-panel.is-active {
  display: block;
}

.process-panel h2 {
  margin: 0 0 12px;
}

.process-panel p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .work-note-desktop {
    display: none;
  }

  .work-note-mobile {
    display: inline-block;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-panels {
    display: none;
  }

  .process-card {
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .process-card-inner {
    min-height: 0;
    height: 100%;
    padding: 18px;
  }

  .process-card.is-active {
    aspect-ratio: auto;
  }

  .process-card.is-active .process-card-inner {
    height: auto;
    min-height: 220px;
    padding-bottom: 0;
  }

  .process-card-mobile-content {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 18px;
    color: rgba(255,255,255,0.9);
    font-size: 0.98rem;
    line-height: 1.6;
    transition: max-height 280ms ease, opacity 220ms ease, padding 220ms ease;
  }

  .process-card.is-active .process-card-mobile-content {
    max-height: 260px;
    opacity: 1;
    padding: 0 18px 18px;
  }
}


/* ===== PROCESS FIX PATCH V2 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.process-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.process-card-inner {
  min-height: 0;
  height: 100%;
}

@media (max-width: 1180px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-card {
    aspect-ratio: auto;
    min-height: 116px;
  }

  .process-card-inner {
    min-height: 116px;
    height: auto;
    padding: 16px;
  }

  .process-card.is-active .process-card-inner {
    min-height: 116px;
    padding-bottom: 0;
  }

  .process-card-title {
    text-align: left;
    max-width: calc(100% - 42px);
    font-size: 1rem;
    line-height: 1.2;
  }

  .process-card-icon {
    font-size: 1.8rem;
  }

  .process-card-mobile-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 16px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.55;
    transition: max-height 280ms ease, opacity 220ms ease, padding 220ms ease;
  }

  .process-card.is-active .process-card-mobile-content {
    max-height: 320px;
    opacity: 1;
    padding: 0 16px 16px;
  }
}


/* ===== POLISH PASS 01 ===== */

.container {
  width: min(calc(100% - 56px), 1320px);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  min-height: 74px;
}

.brand-strong {
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.brand-soft {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.desktop-nav {
  gap: 28px;
}

.nav-link {
  font-size: 0.96rem;
}

.nav-link::after {
  bottom: -9px;
}

.btn-portal {
  min-height: 40px;
  padding: 0 18px;
}

.hero:not(.page-hero-compact) {
  min-height: 76vh;
}

.hero:not(.page-hero-compact) .hero-inner {
  padding: 72px 0 54px;
}

.hero:not(.page-hero-compact) .hero-copy {
  max-width: 760px;
}

.hero:not(.page-hero-compact) .h1 {
  font-size: clamp(3.6rem, 6.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero:not(.page-hero-compact) .lead {
  margin-top: 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  max-width: 560px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 48px;
  padding: 0 22px;
}

.page-hero-compact {
  min-height: 44vh;
}

.page-hero-compact .hero-inner {
  padding: 64px 0 46px;
}

.page-hero-compact .hero-copy {
  max-width: 700px;
}

.page-hero-compact .h1 {
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.page-hero-compact .lead {
  margin-top: 12px;
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.4;
}

.section {
  padding: 72px 0;
}

.about-grid {
  gap: 42px;
  align-items: start;
}

.about-panel {
  padding: 26px;
}

.section-label {
  margin-bottom: 12px;
}

.home-preview-grid {
  margin-top: 22px;
  gap: 14px;
}

.preview-card {
  min-height: 138px;
  padding: 18px;
}

.preview-card-title {
  font-size: 1.02rem;
}

.preview-card-arrow {
  font-size: 1rem;
}

.projects-placeholder {
  margin-top: 22px;
  gap: 14px;
}

.projects-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 220px;
  padding: 18px;
}

.project-card-meta {
  padding-top: 18px;
}

.project-card-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.project-card-text {
  font-size: 0.95rem;
  line-height: 1.45;
}

.cta-strip {
  padding: 28px;
  gap: 20px;
}

.cta-strip h2 {
  margin-bottom: 8px;
}

.process-section .container {
  width: min(calc(100% - 56px), 1380px);
}

.process-head {
  margin-bottom: 24px;
}

.process-head h2 {
  margin-bottom: 10px;
}

.work-note {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 0;
}

.process-grid {
  gap: 10px;
}

.process-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.process-card-inner {
  padding: 14px;
}

.process-card-title {
  font-size: 0.9rem;
  line-height: 1.12;
}

.process-card-icon {
  font-size: 1.85rem;
}

.process-panels {
  margin-top: 14px;
}

.process-panel {
  padding: 24px 26px;
}

.process-panel h2 {
  margin-bottom: 10px;
}

.process-panel p {
  font-size: 1rem;
  line-height: 1.55;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0 24px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 340px;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-bottom {
  padding: 16px 0 24px;
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 44px), 1240px);
  }

  .process-section .container {
    width: min(calc(100% - 44px), 1240px);
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .container {
    width: min(calc(100% - 32px), 100%);
  }

  .header-inner {
    min-height: 78px;
  }

  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .burger {
    display: inline-flex;
    width: 48px;
    height: 48px;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1200;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
  }

  .mobile-menu-inner {
    padding: 18px 0 20px;
  }

  .mobile-nav-link {
    padding: 16px 0;
    font-size: 0.98rem;
  }

  .mobile-menu-footer {
    margin-top: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-menu-footer .btn-portal {
    justify-content: center;
    min-height: 48px;
  }

  .hero:not(.page-hero-compact) {
    min-height: 62vh;
  }

  .hero:not(.page-hero-compact) .hero-inner {
    padding: 44px 0 34px;
  }

  .hero:not(.page-hero-compact) .h1 {
    font-size: clamp(2.9rem, 11vw, 4.4rem);
    line-height: 0.95;
  }

  .hero:not(.page-hero-compact) .lead {
    font-size: 0.98rem;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .page-hero-compact {
    min-height: 48vh;
  }

  .page-hero-compact .hero-inner {
    padding: 42px 0 30px;
  }

  .page-hero-compact .h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .page-hero-compact .lead {
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .section {
    padding: 52px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-panel {
    padding: 18px;
  }

  .home-preview-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .preview-card {
    min-height: 112px;
    padding: 14px;
  }

  .projects-links,
  .projects-placeholder {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card {
    min-height: 160px;
    padding: 14px;
  }

  .cta-strip {
    grid-template-columns: 1fr;
    padding: 20px;
    align-items: start;
  }

  .cta-strip .btn {
    width: 100%;
    justify-content: center;
  }

  .process-section .container {
    width: min(calc(100% - 24px), 100%);
  }

  .process-head {
    margin-bottom: 18px;
  }

  .process-head h2 {
    margin-bottom: 8px;
  }

  .work-note-mobile {
    display: inline-block;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-card {
    aspect-ratio: auto;
    min-height: 106px;
  }

  .process-card-inner {
    min-height: 106px;
    padding: 14px;
  }

  .process-card.is-active .process-card-inner {
    min-height: 106px;
  }

  .process-card-title {
    font-size: 0.96rem;
    line-height: 1.18;
    max-width: calc(100% - 34px);
    text-align: left;
  }

  .process-card-icon {
    font-size: 1.7rem;
  }

  .process-card.is-active .process-card-mobile-content {
    padding: 0 14px 14px;
    max-height: 340px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0 18px;
  }

  .footer-text {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .brand-strong {
    font-size: 1.18rem;
  }

  .brand-soft {
    font-size: 1.02rem;
  }

  .hero:not(.page-hero-compact) {
    min-height: 56vh;
  }

  .hero:not(.page-hero-compact) .hero-copy {
    max-width: 92%;
  }

  .hero:not(.page-hero-compact) .h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .hero:not(.page-hero-compact) .lead {
    font-size: 0.92rem;
  }

  .page-hero-compact {
    min-height: 42vh;
  }

  .page-hero-compact .h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .section {
    padding: 44px 0;
  }
}


/* ===== LABEL + FOOTER PATCH ===== */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f7f7f7;
  color: #444;
  text-decoration: none;
}

.lang-switch-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a7a7a;
}

.lang-switch-code {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1f1f1f;
}

.lang-switch:hover {
  border-color: rgba(0,0,0,0.16);
  background: #f1f1f1;
}

.mobile-menu .lang-switch {
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f3f3f3;
}

.footer-grid {
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-title {
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-text {
  color: #555;
}

.footer-links a {
  color: #333;
}

.footer-links a:hover {
  color: #111;
}

.footer-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-lang-link strong {
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

@media (max-width: 920px) {
  .footer-grid {
    gap: 16px;
  }

  .footer-title {
    margin-bottom: 8px;
  }

  .footer-text {
    font-size: 0.94rem;
    line-height: 1.5;
  }
}


/* ===== TYPO + MOBILE FOOTER + HOME PROCESS TUNE ===== */

@media (max-width: 920px) {
  .site-footer {
    margin-top: 42px;
  }

  .footer-grid {
    gap: 10px;
    padding: 22px 0 12px;
  }

  .footer-brand .brand {
    margin-bottom: 6px;
  }

  .footer-text {
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: none;
  }

  .footer-title {
    margin-bottom: 6px;
    font-size: 0.88rem;
  }

  .footer-links li + li {
    margin-top: 6px;
  }

  .footer-links a,
  .footer-lang-link {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .footer-bottom {
    padding: 10px 0 14px;
    gap: 6px;
    font-size: 0.82rem;
  }

  .section-home-process {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-home-process .section-label {
    margin-bottom: 8px;
  }

  .section-home-process h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    max-width: 10ch;
  }

  .section-home-process .work-intro {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: none;
  }

  .section-home-process .home-preview-grid {
    gap: 8px;
    margin-top: 14px;
  }

  .section-home-process .preview-card {
    min-height: 86px;
    padding: 12px;
  }

  .section-home-process .preview-card-title {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .section-home-process .preview-card-arrow {
    font-size: 0.92rem;
  }

  .section-home-process .btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    gap: 8px;
    padding: 18px 0 10px;
  }

  .footer-text {
    font-size: 0.82rem;
  }

  .footer-links a,
  .footer-lang-link,
  .footer-title {
    font-size: 0.84rem;
  }

  .footer-bottom {
    font-size: 0.78rem;
    padding: 8px 0 12px;
  }

  .section-home-process h2 {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
    max-width: 11ch;
  }

  .section-home-process .work-intro {
    font-size: 0.9rem;
  }
}


/* ===== HERO WORDMARK FIX ===== */

.hero .h1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4ch;
  white-space: nowrap;
}

/* BMS + */
.hero .brand-strong {
  font-weight: 700;
  letter-spacing: -0.06em;
}

/* partners */
.hero .brand-soft {
  font-weight: 400;
  letter-spacing: -0.04em;
  opacity: 0.9;
}

/* MOBILE: ne smije lom */
@media (max-width: 640px) {
  .hero .h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    white-space: nowrap;
  }
}


/* ===== HERO BRAND MATCH HEADER ===== */

/* reset h1 da ne override-a brand */
.hero .h1 {
  font-weight: unset;
}

/* koristi isti stil kao header */
.hero .h1 .brand-strong {
  font-weight: 700;
}

.hero .h1 .brand-soft {
  font-weight: 400;
  opacity: 0.9;
}

/* spacing kao header */
.hero .h1 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3ch;
}

/* mobile sigurnost */
@media (max-width: 640px) {
  .hero .h1 {
    white-space: nowrap;
  }
}


/* ===== HERO WORDMARK FINAL FIX ===== */

.hero .h1 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
  font-size: clamp(3.6rem, 6.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero .h1 .brand-strong,
.hero .h1 .brand-soft {
  font-size: 1em;
  line-height: inherit;
  color: #ffffff;
}

.hero .h1 .brand-strong {
  font-weight: 700;
}

.hero .h1 .brand-soft {
  font-weight: 400;
  opacity: 1;
}

@media (max-width: 920px) {
  .hero .h1 {
    font-size: clamp(2.9rem, 11vw, 4.4rem);
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .hero .h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
    white-space: nowrap;
    gap: 0.18em;
  }
}


/* ===== HOME HERO WORDMARK ONLY ===== */

.home-hero .h1 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
  font-size: clamp(3.6rem, 6.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.home-hero .h1 .brand-strong,
.home-hero .h1 .brand-soft {
  font-size: 1em;
  line-height: inherit;
  color: #ffffff;
}

.home-hero .h1 .brand-strong {
  font-weight: 700;
}

.home-hero .h1 .brand-soft {
  font-weight: 400;
  opacity: 1;
}

/* svi ostali hero naslovi normalno */
.hero:not(.home-hero) .h1 {
  display: block;
  white-space: normal;
  text-wrap: balance;
}

@media (max-width: 920px) {
  .home-hero .h1 {
    font-size: clamp(2.9rem, 11vw, 4.4rem);
    white-space: nowrap;
  }

  .hero:not(.home-hero) .h1 {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .home-hero .h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
    white-space: nowrap;
    gap: 0.18em;
  }

  .hero:not(.home-hero) .h1 {
    white-space: normal;
    font-size: clamp(2.2rem, 11vw, 3.6rem);
    line-height: 0.98;
  }
}


/* ===== HOME PROCESS TEASER ===== */

.process-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.process-teaser-card {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.process-teaser-card:hover {
  transform: translateY(-2px);
  border-color: #b8b8b8;
  background: #f9f9f9;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.process-teaser-title {
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 500;
  text-wrap: balance;
}

.process-teaser-arrow {
  align-self: flex-start;
  font-size: 1.05rem;
  color: #777;
  transition: transform 220ms ease, color 220ms ease;
}

.process-teaser-card:hover .process-teaser-arrow {
  transform: translateX(3px);
  color: #111;
}

@media (max-width: 1180px) {
  .process-teaser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .process-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-teaser-card {
    min-height: 110px;
    padding: 14px;
  }

  .process-teaser-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .process-teaser-grid {
    grid-template-columns: 1fr;
  }

  .process-teaser-card {
    min-height: 88px;
    padding: 12px 14px;
    gap: 10px;
  }

  .process-teaser-title {
    font-size: 0.92rem;
    line-height: 1.2;
  }
}


/* ===== HOME PROCESS TEASER MOBILE FIX ===== */
@media (max-width: 640px) {
  .section-home-process .process-teaser-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .section-home-process .process-teaser-card {
    min-height: 84px;
    padding: 12px 14px;
    gap: 8px;
  }

  .section-home-process .process-teaser-title {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .section-home-process .process-teaser-arrow {
    font-size: 0.92rem;
  }
}


/* ===== HOME PROCESS TEASER FINAL ===== */

.section-home-process .work-intro {
  max-width: 860px;
}

.process-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.process-teaser-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.process-teaser-card:hover {
  transform: translateY(-2px);
  border-color: #b8b8b8;
  background: #f9f9f9;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.process-teaser-title {
  font-size: 1rem;
  line-height: 1.16;
  font-weight: 500;
  color: inherit;
  text-wrap: balance;
}

.process-teaser-arrow {
  align-self: flex-start;
  font-size: 1.02rem;
  color: #777;
  transition: transform 200ms ease, color 200ms ease;
}

.process-teaser-card:hover .process-teaser-arrow {
  transform: translateX(3px);
  color: #111;
}

@media (max-width: 1180px) {
  .process-teaser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .process-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-teaser-card {
    min-height: 110px;
    padding: 14px;
  }

  .process-teaser-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .section-home-process {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-home-process .work-intro {
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .process-teaser-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .process-teaser-card {
    min-height: 86px;
    padding: 12px 14px;
    gap: 8px;
  }

  .process-teaser-title {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .process-teaser-arrow {
    font-size: 0.92rem;
  }
}


/* ===== HOME PROCESS TEASER LOCKED ===== */

.section-home-process .work-intro {
  max-width: 860px;
}

.process-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.process-teaser-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.process-teaser-card:hover {
  transform: translateY(-2px);
  border-color: #b8b8b8;
  background: #f9f9f9;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.process-teaser-title {
  font-size: 1rem;
  line-height: 1.16;
  font-weight: 500;
  color: inherit;
  text-wrap: balance;
}

.process-teaser-arrow {
  align-self: flex-start;
  font-size: 1.02rem;
  color: #777;
  transition: transform 200ms ease, color 200ms ease;
}

.process-teaser-card:hover .process-teaser-arrow {
  transform: translateX(3px);
  color: #111;
}

@media (max-width: 1180px) {
  .process-teaser-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .process-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-teaser-card {
    min-height: 110px;
    padding: 14px;
  }

  .process-teaser-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .section-home-process {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-home-process .work-intro {
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .process-teaser-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .process-teaser-card {
    min-height: 86px;
    padding: 12px 14px;
    gap: 8px;
  }

  .process-teaser-title {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .process-teaser-arrow {
    font-size: 0.92rem;
  }
}

