:root {
  --cream: #fbf6ec;
  --cream-deep: #f1e5d1;
  --forest: #06372b;
  --forest-2: #0a4738;
  --ink: #10211c;
  --muted: #5f675f;
  --paprika: #d13227;
  --cobalt: #1553c7;
  --gold: #efc46f;
  --white: #fffdf8;
  --line: rgba(16, 33, 28, 0.16);
  --container: 1180px;
  --shadow: 0 24px 70px rgba(6, 55, 43, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--paprika);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.93);
  border-bottom: 1px solid rgba(16, 33, 28, 0.09);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-mark path { stroke: var(--forest); stroke-linecap: round; stroke-linejoin: round; }
.brand-mark g { transition: transform 700ms cubic-bezier(.22, 1, .36, 1); transform-box: view-box; }
.brand-mark .mark-j-oblique { transform-origin: 74px 88.9909px; }
.brand-mark .mark-m-left { transform-origin: 50px 34px; }
.brand-mark .mark-m-right { transform-origin: 110px 34px; }
.brand-mark .mark-l-oblique { transform-origin: 86px 88.9909px; }
.brand-mark.is-split .mark-j-oblique,
.brand:hover .mark-j-oblique { transform: rotate(11deg); }
.brand-mark.is-split .mark-j,
.brand:hover .mark-j { transform: translate(-34px, 5px); }
.brand-mark.is-split .mark-m-left,
.brand:hover .mark-m-left { transform: rotate(11deg); }
.brand-mark.is-split .mark-m-right,
.brand:hover .mark-m-right { transform: rotate(-11deg); }
.brand-mark.is-split .mark-l-oblique,
.brand:hover .mark-l-oblique { transform: rotate(-11deg); }
.brand-mark.is-split .mark-l,
.brand:hover .mark-l { transform: translate(34px, 5px); }

.brand-type {
  display: grid;
  font-size: 0.73rem;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
}

.nav-links > a,
.lang-btn {
  border: 0;
  background: transparent;
  padding: 9px 11px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-links > a { position: relative; }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--paprika);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav-links > a:hover::after { transform: scaleX(1); }

.lang-switch { display: inline-flex; gap: 2px; margin-left: 8px; }
.lang-btn { min-width: 40px; border-radius: 4px; font-weight: 800; }
.lang-btn.is-active { color: var(--white); background: var(--forest); }

.section { padding: 86px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--paprika);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(6, 55, 43, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 55, 43, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: calc(50% + 300px) 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 52%;
  background: linear-gradient(90deg, rgba(251, 246, 236, 0), rgba(251, 246, 236, 0.28));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  gap: 52px;
  align-items: center;
  padding: 72px 0 90px;
}

.hero-name {
  margin: 0 0 18px;
  color: var(--paprika);
  font-weight: 900;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--forest);
  font-size: clamp(3.6rem, 5.4vw, 5.2rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.mockups-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--forest);
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero h1 .dot { color: var(--paprika); }
.hero-subtitle { margin: 24px 0 0; max-width: 590px; font-size: 1.12rem; font-weight: 700; }
.hero-note { margin: 15px 0 0; max-width: 590px; color: #34473f; font-size: 0.96rem; }
.hero-availability {
  margin: 17px 0 0;
  color: var(--paprika);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 590px;
  margin-top: 34px;
}

.cta-group { display: grid; gap: 8px; text-align: center; }
.cta-group small { color: var(--muted); font-size: 0.72rem; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 21px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6,55,43,.15); }
.btn-primary { color: var(--white); background: var(--forest); }
.btn-hot { color: var(--white); background: var(--paprika); border-color: var(--paprika); }
.btn-light { color: var(--forest); background: var(--cream); border-color: transparent; }
.btn-link { min-height: auto; padding: 0; border: 0; color: var(--gold); justify-content: flex-start; }
.btn-link:hover { transform: translateX(5px); box-shadow: none; }

.hero-process { position: relative; }
.hero-process img { width: 108%; max-width: none; margin-left: -4%; mix-blend-mode: multiply; }
.process-labels {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 8px;
  margin: 6px 3% 0;
  position: relative;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}
.process-labels span:nth-child(1) { color: var(--paprika); }
.process-labels span:nth-child(2) { color: var(--forest); }
.process-labels span:nth-child(3) { color: var(--cobalt); }

.projects-section { color: var(--white); background: var(--forest); }
.projects-section .eyebrow { color: var(--gold); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; max-width: 790px; font-size: clamp(2.3rem, 4.3vw, 4.5rem); line-height: .96; letter-spacing: -.055em; }
.section-heading p:not(.eyebrow) { max-width: 390px; margin: 0; color: rgba(255,255,255,.72); }

.feature-case {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  min-height: 540px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.17);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.case-copy { padding: 46px 42px; display: flex; flex-direction: column; align-items: flex-start; }
.case-index { color: var(--gold); font-size: 3rem; font-weight: 900; line-height: 1; }
.case-type { margin: auto 0 10px; color: var(--gold); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.case-copy h3 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.1rem); line-height: .9; letter-spacing: -.06em; }
.case-copy > p { max-width: 430px; margin: 21px 0 20px; color: rgba(255,255,255,.8); font-size: 1.02rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.tag { padding: 6px 9px; background: rgba(255,255,255,.12); color: var(--gold); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.case-proof {
  width: 100%;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.case-proof > div { min-width: 0; padding: 11px 12px 12px; }
.case-proof > div + div { border-left: 1px solid var(--line); }
.case-proof dt { color: var(--paprika); font-size: .62rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.case-proof dd { margin: 5px 0 0; font-size: .78rem; font-weight: 800; line-height: 1.3; }
.case-proof-on-dark { border-color: rgba(255,255,255,.18); }
.case-proof-on-dark > div + div { border-color: rgba(255,255,255,.18); }
.case-proof-on-dark dt { color: var(--gold); }
.case-proof-on-dark dd { color: var(--white); }
.case-visual { margin: 24px 24px 24px 0; min-height: 420px; overflow: hidden; background: var(--cream-deep); }
.case-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.project-card { overflow: hidden; color: var(--ink); background: var(--white); border-radius: 4px; }
.project-card-copy { padding: 28px 28px 24px; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.project-card-index { color: var(--cobalt); font-size: 1.7rem; font-weight: 900; }
.project-card-type { color: var(--cobalt); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.project-card h3 { margin: 0; color: var(--forest); font-size: 2.3rem; line-height: .95; letter-spacing: -.055em; }
.project-title-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(211, 49, 37, .35);
  text-decoration-thickness: 2px;
  text-underline-offset: .12em;
  transition: text-decoration-color .18s ease;
}
.project-title-link:hover,
.project-title-link:focus-visible { text-decoration-color: var(--paprika); }
.project-card p { min-height: 64px; margin: 15px 0 18px; color: var(--muted); font-size: .88rem; }
.project-card img { width: 100%; height: 300px; object-fit: cover; object-position: top center; border-top: 1px solid var(--line); }
.project-card details { padding: 0 28px 26px; }
.project-card summary { color: var(--cobalt); cursor: pointer; font-weight: 800; }
.project-card details ul { margin: 15px 0 0; padding-left: 18px; color: var(--muted); font-size: .84rem; }
.project-card details li + li { margin-top: 7px; }

.project-compact-link {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.project-compact-link:hover,
.project-compact-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.32);
}
.project-compact-index {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}
.project-compact-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.project-compact-copy strong {
  font-size: 1rem;
}
.project-compact-copy span {
  color: rgba(255,255,255,.72);
  font-size: .82rem;
}
.project-compact-action {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
}

.concepts-section { background: var(--cream); }
.concepts-section .section-heading h2,
.mockups-section .section-heading h2 { color: var(--forest); }
.concepts-section .section-heading h2 { font-size: clamp(2.1rem, 3.2vw, 3.35rem); }
.concepts-section .section-heading p:not(.eyebrow),
.mockups-section .section-heading p:not(.eyebrow) { color: var(--muted); }
.concept-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.concept-card { display: grid; grid-template-rows: 1fr auto; min-width: 0; min-height: 360px; color: var(--white); background: var(--forest); text-decoration: none; overflow: hidden; }
.concept-card:nth-child(2n) { background: var(--white); color: var(--ink); }
.concept-preview { position: relative; min-height: 275px; overflow: hidden; background: #e9e2d8; }
.concept-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.concept-preview iframe {
  position: absolute;
  inset: 0;
  width: 400%;
  height: 400%;
  border: 0;
  transform: scale(.25);
  transform-origin: top left;
  pointer-events: none;
  background: #fff;
}
.concept-card strong { padding: 15px 14px 3px; font-size: .86rem; line-height: 1.1; }
.concept-card span { padding: 0 14px 16px; color: var(--paprika); font-size: .7rem; font-weight: 800; }

.approach-section { color: var(--white); background: var(--cobalt); }
.approach-grid { display: grid; grid-template-columns: .9fr repeat(3, 1fr); gap: 42px; align-items: start; }
.approach-intro h2 { margin: 0; font-size: clamp(2.6rem, 4.4vw, 4.6rem); line-height: .92; letter-spacing: -.06em; }
.approach-item { padding-top: 8px; }
.approach-number { display: block; margin-bottom: 48px; color: #91b5ff; font-weight: 900; }
.approach-item h3 { margin: 0 0 10px; font-size: 1.12rem; }
.approach-item p { margin: 0; color: rgba(255,255,255,.78); font-size: .86rem; }

.contact-section { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .7fr .55fr; gap: 50px; align-items: center; }
.contact-grid h2 { margin: 0; color: var(--forest); font-size: clamp(2.7rem, 4.6vw, 4.8rem); line-height: .9; letter-spacing: -.06em; }
.contact-grid p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 32px; font-size: .74rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }

.mockups-hero { padding: 100px 0 72px; background: var(--cream); }
.mockups-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: end; }
.mockups-hero h1 { font-size: clamp(3.8rem, 7vw, 7rem); }
.mockups-intro { max-width: 450px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.mockups-count { color: var(--paprika); font-size: 5rem; line-height: .8; font-weight: 900; }
.mockups-count-label { margin-top: 14px; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.mockups-section { padding: 80px 0; }
.featured-mockups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 90px; }
.featured-card { color: var(--ink); background: var(--white); text-decoration: none; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(6,55,43,.06); overflow: hidden; }
.featured-card .concept-preview { height: 310px; }
.featured-copy { padding: 22px; }
.featured-copy strong { display: block; color: var(--forest); font-size: 1.35rem; }
.featured-copy span { color: var(--paprika); font-size: .75rem; font-weight: 800; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mockup-card { min-height: 235px; padding: 26px; display: flex; flex-direction: column; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color 180ms ease, background 180ms ease; }
.mockup-card:hover { color: var(--white); background: var(--forest); }
.mockup-card h3 { margin: 0; max-width: 280px; color: var(--forest); font-size: 1.65rem; line-height: 1; letter-spacing: -.045em; }
.mockup-card:hover h3 { color: var(--white); }
.mockup-card p { margin: 18px 0 24px; color: var(--muted); font-size: .84rem; }
.mockup-card:hover p { color: rgba(255,255,255,.72); }
.mockup-card span { margin-top: auto; color: var(--paprika); font-size: .74rem; font-weight: 900; }
.back-panel { padding: 38px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; color: var(--white); background: var(--forest); }
.back-panel p { margin: 0; max-width: 720px; color: rgba(255,255,255,.78); }

@media (max-width: 980px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { justify-content: flex-end; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: auto; }
  .hero-process { max-width: 720px; }
  .feature-case { grid-template-columns: 1fr; }
  .case-copy { min-height: 410px; }
  .case-visual { margin: 0 24px 24px; }
  .concept-strip { grid-template-columns: repeat(3, 1fr); }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mockups-hero-grid { grid-template-columns: 1fr; }
  .featured-mockups, .mockup-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { position: relative; }
  .nav { display: grid; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-links { justify-content: flex-start; gap: 0; font-size: .78rem; }
  .nav-links > .nav-optional { display: none; }
  .nav-links > a, .lang-btn { padding: 8px; }
  .lang-switch { margin-left: auto; }
  .section { padding: 64px 0; }
  .hero-grid { padding: 58px 0 68px; }
  .hero h1, .mockups-hero h1 { font-size: clamp(3.25rem, 17vw, 5.2rem); }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-process { margin: 18px -5% 0; }
  .section-heading { display: grid; }
  .feature-case { min-height: 0; }
  .case-copy { min-height: 0; padding: 34px 26px; }
  .case-type { margin-top: 70px; }
  .case-copy h3 { font-size: 3.2rem; }
  .case-proof { grid-template-columns: 1fr; }
  .case-proof > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .case-proof-on-dark > div + div { border-color: rgba(255,255,255,.18); }
  .case-visual { min-height: 270px; margin: 0 12px 12px; }
  .project-pair { grid-template-columns: 1fr; }
  .project-card img { height: 240px; }
  .project-compact-link { grid-template-columns: auto 1fr; }
  .project-compact-action { grid-column: 2; }
  .concept-strip { grid-template-columns: repeat(2, 1fr); }
  .concept-card { min-height: 300px; }
  .concept-preview { min-height: 225px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-number { margin-bottom: 14px; }
  .featured-mockups, .mockup-grid { grid-template-columns: 1fr; }
  .featured-card .concept-preview { height: 270px; }
  .back-panel { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
