/* Hallmark - pre-emit critique: P4 H4 E4 S4 R4 V4 */
/* Hallmark - macrostructure: Editorial knowledge index - tone: practical developer blog - anchor hue: blue */
:root {
  --bg: #f7f3ea;
  --bg-strong: #fffaf0;
  --ink: #16130f;
  --muted: #5d554b;
  --line: rgba(22, 19, 15, 0.14);
  --blue: #2858ff;
  --lime: #c6ff4d;
  --rose: #ff6b8a;
  --orange: #ff8b2c;
  --shadow: 0 28px 80px rgba(47, 37, 21, 0.18);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 139, 44, 0.22), transparent 30rem),
    radial-gradient(circle at 85% 0%, rgba(40, 88, 255, 0.20), transparent 28rem),
    var(--bg);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.62;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px;
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(35, 28, 18, 0.10);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center;
  background: var(--bg-strong);
  border-radius: 16px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.nav-toggle,
.button,
.service-item a,
.service-product-row a {
  min-height: 48px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(22, 19, 15, 0.08);
}

.main-nav .nav-cta {
  color: white;
  background: var(--blue);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  color: white;
  background: #1747ef;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.main-nav .language-switch a {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1;
}

.main-nav .language-switch a[aria-current="true"] {
  color: white;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 800;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.page-hero,
.contact-layout,
.thanks-screen {
  padding: 88px 0;
}

.section-grid {
  padding: 28px 0 88px;
}

.hero {
  padding: 42px 0 72px;
}

.frame-hero {
  position: relative;
  width: 100vw;
  min-height: min(78svh, 860px);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.frame-hero.is-frame-active {
  min-height: 640vh;
  padding: 0;
}

.hero + .section {
  padding-top: 36px;
}

.section-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy,
.contact-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #33291c;
  background: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  min-width: 0;
  font-family: Inter, Manrope, Arial, sans-serif;
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4.4vw, 4.8rem);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 4vw, 4.35rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

h3 {
  font-size: 1.55rem;
}

.hero-lead,
.page-hero p,
.contact-copy > p,
.thanks-screen p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}

.hero-actions.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border: 2px solid transparent;
  border-radius: 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(40, 88, 255, 0.28);
}

.button-secondary {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--lime);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

.hero-card {
  position: relative;
  display: grid;
  min-height: min(78svh, 860px);
  overflow: hidden;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.frame-hero.is-frame-active .hero-card {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
}

.hero-frame-shell {
  position: relative;
  z-index: 1;
  display: block;
  width: min(calc(100vw - 48px), 1600px, calc((100svh - 96px) * 16 / 9));
  aspect-ratio: 16 / 9;
}

.hero-frame-picture {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-frame-sequence {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  user-select: none;
}

.hero-frame-link {
  position: absolute;
  z-index: 2;
  display: block;
  top: 60.8%;
  width: 21.6%;
  height: 9.2%;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
}

.hero-card.is-frame-cta-visible .hero-frame-link {
  pointer-events: auto;
}

.hero-frame-link-contact {
  left: 28.2%;
}

.hero-frame-link-portfolio {
  left: 51.1%;
}

.hero-card.is-frame-ready .hero-frame-sequence {
  opacity: 1;
}

.hero-card.is-frame-disabled .hero-frame-sequence {
  opacity: 1;
}

.section-title {
  display: block;
  max-width: 820px;
  margin-bottom: 30px;
}

.section-title h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 3.4vw, 3.9rem);
}

.section-title p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.12rem;
}

.related-title-tag {
  display: inline-flex;
  align-items: center;
  min-height: 0.95em;
  padding: 0.08em 0.2em 0.12em;
  border-radius: 0.3em;
  background: var(--lime);
  white-space: nowrap;
}

.section-eyebrow {
  font-size: 16px;
  padding: 10px 16px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.project-card,
.contact-form,
.contact-note,
.timeline article,
.service-item,
.service-category,
.service-offer-card,
.service-detail-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 42px rgba(47, 37, 21, 0.10);
}

.card {
  min-height: 310px;
  padding: 28px;
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 44px;
  border-radius: 18px;
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.accent-blue { background: linear-gradient(160deg, rgba(40, 88, 255, 0.14), rgba(255,255,255,0.70)); }
.accent-lime { background: linear-gradient(160deg, rgba(198, 255, 77, 0.36), rgba(255,255,255,0.70)); }
.accent-rose { background: linear-gradient(160deg, rgba(255, 107, 138, 0.20), rgba(255,255,255,0.70)); }

.split-section,
.cta-band {
  display: grid;
  gap: 36px;
  align-items: center;
  margin: 38px 0 88px;
  padding: 42px;
  border-radius: 38px;
}

.split-section {
  grid-template-columns: 0.86fr 1.14fr;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 139, 44, 0.24), transparent 16rem),
    radial-gradient(circle at 92% 12%, rgba(40, 88, 255, 0.25), transparent 18rem),
    #17130f;
  color: white;
}

.split-section .eyebrow,
.split-section p {
  color: rgba(255,255,255,0.78);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.experience-grid article {
  min-height: 250px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.experience-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 15px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.experience-grid h3 {
  margin-bottom: 12px;
  color: white;
  font-size: 1.25rem;
}

.experience-grid p {
  margin-bottom: 0;
}

.cta-band {
  grid-template-columns: 1fr auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 24%, rgba(198, 255, 77, 0.34), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 240, 0.62));
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(47, 37, 21, 0.10);
}

.cta-band .button {
  min-width: 220px;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 3.4vw, 4rem);
}

.cta-band p {
  max-width: 720px;
  color: var(--muted);
}

.page-hero {
  text-align: left;
}

.page-hero.portfolio-hero {
  padding-bottom: 36px;
}

.service-list {
  display: grid;
  gap: 16px;
  padding-bottom: 88px;
}

.service-item {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
}

.service-item div {
  display: flex;
  gap: 16px;
  align-items: center;
}

.service-item span,
.timeline span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.service-item h2,
.service-item p {
  margin: 0;
}

.service-item h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
}

.service-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 16px;
  color: white;
  background: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.service-catalog {
  display: grid;
  gap: 18px;
  padding-bottom: 88px;
}

.service-category {
  overflow: hidden;
}

.service-category summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  cursor: pointer;
  list-style: none;
}

.service-category summary::-webkit-details-marker {
  display: none;
}

.service-category summary span {
  font-family: Inter, Manrope, Arial, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-category summary small {
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.service-category summary::after {
  content: '+';
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: white;
  background: var(--blue);
  font-size: 1.6rem;
  font-weight: 700;
}

.service-category[open] summary::after {
  content: '−';
}

.service-products {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 28px 28px;
  list-style: none;
}

.service-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service-product-row h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
}

.service-product-row p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.service-product-row span {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  white-space: nowrap;
}

.service-product-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 12px 18px;
  border-radius: 16px;
  color: white;
  background: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 28px;
  align-items: stretch;
  padding: 88px 0 46px;
}

.service-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.service-offer-card {
  display: grid;
  align-content: start;
  min-height: 320px;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 84% 18%, rgba(198, 255, 77, 0.34), transparent 12rem),
    #17130f;
}

.service-offer-card span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  text-transform: uppercase;
}

.service-offer-card strong {
  margin: 48px 0 12px;
  font-family: Inter, Manrope, Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-offer-card p {
  margin-top: 24px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 42px 0;
}

.service-detail-card {
  padding: 30px;
}

.service-detail-card h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.service-detail-card ul,
.service-detail-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.service-detail-card li::marker {
  color: var(--blue);
  font-weight: 900;
}

.service-detail-card.accent-dark {
  color: white;
  background: #17130f;
}

.service-detail-card.accent-dark .eyebrow,
.service-detail-card.accent-dark ol {
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 88px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,0.76), rgba(255,250,240,0.52));
}

.project-card.big,
.project-card.wide {
  background:
    radial-gradient(circle at 78% 20%, rgba(198, 255, 77, 0.45), transparent 16rem),
    #17130f;
  color: white;
}

.project-card.big {
  grid-row: span 2;
  min-height: 538px;
}

.project-card.wide {
  grid-column: span 2;
}

.project-card span {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.project-card p {
  color: var(--muted);
}

.project-link {
  margin-top: auto;
  align-self: flex-start;
}

.project-card.big p,
.project-card.wide p {
  color: rgba(255,255,255,0.78);
}

.about-hero {
  padding-bottom: 42px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.about-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.about-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 88px;
}

.timeline article {
  display: grid;
  grid-template-rows: 48px 180px auto;
  row-gap: 28px;
  align-content: start;
  padding: 28px;
}

.timeline span {
  margin-bottom: 0;
}

.timeline h2 {
  align-self: start;
  min-height: 0;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.08;
}

.timeline p {
  margin-bottom: 0;
}

.contact-layout {
  align-items: start;
}

.contact-note {
  max-width: 520px;
  margin-top: 26px;
  padding: 22px;
}

.contact-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 2px solid rgba(22, 19, 15, 0.18);
  border-radius: 18px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.button:focus-visible,
.main-nav a:focus-visible,
.service-item a:focus-visible,
.nav-toggle:focus-visible,
.tag-filter a:focus-visible,
.blog-card a:focus-visible,
.blog-tag-link:focus-visible,
.breadcrumbs a:focus-visible,
.related-card a:focus-visible {
  outline: 4px solid rgba(40, 88, 255, 0.34);
  outline-offset: 3px;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.form-error {
  padding: 14px 16px;
  border: 2px solid rgba(164, 22, 26, 0.34);
  border-radius: 18px;
  color: #7e1418;
  background: #fff1f1;
  font-weight: 900;
}

.form-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-footnote a {
  color: var(--blue);
  text-decoration: underline;
}

.thanks-screen {
  min-height: 65vh;
  text-align: center;
}

.thanks-screen .eyebrow {
  transform: translateX(-10px);
}

.thanks-screen h1,
.thanks-screen p {
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 28px;
  border-radius: 30px;
  color: white;
  background: var(--ink);
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.72);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  align-items: center;
  justify-content: flex-end;
}

.footer-actions a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-weight: 900;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 120ms; }

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: end;
  padding: 88px 0 28px;
}

.blog-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.blog-hero-note {
  display: grid;
  gap: 8px;
  min-height: 210px;
  align-content: end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(198, 255, 77, 0.34), transparent 12rem),
    #17130f;
  box-shadow: var(--shadow);
}

.blog-hero-note strong {
  font-family: Inter, Manrope, Arial, sans-serif;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.blog-hero-note span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.tag-filter a,
.blog-tag-link,
.breadcrumbs a {
  white-space: nowrap;
}

.tag-filter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.tag-filter a:hover,
.tag-filter a[aria-current="page"] {
  color: white;
  background: var(--ink);
}

.tag-filter span {
  display: inline-grid;
  min-width: 30px;
  min-height: 30px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.86rem;
  line-height: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 88px;
}

.blog-card,
.related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 42px rgba(47, 37, 21, 0.10);
}

.blog-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.blog-card-image {
  display: block;
  background: var(--bg-strong);
}

.blog-card img,
.article-cover img,
.related-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-card img {
  aspect-ratio: 16 / 9;
}

.blog-card-body {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 22px;
}

.blog-tag-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.blog-card h2,
.related-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.blog-card h2 a,
.related-card h3 a {
  text-decoration: none;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.blog-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 16px;
  color: white;
  background: var(--ink);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.blog-card-action:hover {
  background: var(--blue);
}

.blog-card-action:active {
  transform: translateY(1px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 42px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs a::after {
  content: '/';
  margin-left: 10px;
  color: var(--muted);
}

.article-page {
  max-width: 940px;
  margin: 0 auto;
}

.article-hero {
  padding: 42px 0 24px;
}

.article-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.article-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.article-cover {
  margin: 0 0 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--bg-strong);
  box-shadow: var(--shadow);
}

.article-cover img {
  aspect-ratio: 16 / 9;
}

.article-content {
  display: grid;
  gap: 34px;
  padding-bottom: 42px;
}

.article-content section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
}

.article-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.article-content li::marker {
  color: var(--blue);
  font-weight: 900;
}

.article-content .article-example {
  color: white;
  background:
    radial-gradient(circle at 86% 12%, rgba(198, 255, 77, 0.22), transparent 15rem),
    #17130f;
}

.article-content .article-example h2 {
  color: white;
}

.article-content .article-example p {
  color: rgba(255, 255, 255, 0.78);
}

.article-content code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(22, 19, 15, 0.08);
  font-size: 0.92em;
}

.article-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-checklist span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 900;
}

.article-faq {
  max-width: 940px;
  margin: 0 auto 88px;
  padding: 0 16px;
}

.article-faq h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.article-faq details {
  margin-bottom: 14px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-strong);
}

.article-faq details[open] {
  background: white;
  box-shadow: var(--shadow);
}

.article-faq summary {
  display: flex;
  min-width: 0;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  overflow-wrap: anywhere;
  font-weight: 900;
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
  cursor: pointer;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary::after {
  content: '+';
  flex-shrink: 0;
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 600;
}

.article-faq details[open] summary::after {
  content: '-';
}

.article-faq p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.7;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 30px 0 88px;
  padding: 38px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 86% 18%, rgba(198, 255, 77, 0.34), transparent 16rem),
    #17130f;
}

.article-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.article-cta p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.article-cta .button {
  white-space: nowrap;
}

.related-articles {
  padding-bottom: 88px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card img {
  aspect-ratio: 16 / 9;
}

.related-card div {
  display: grid;
  gap: 14px;
  padding: 20px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--bg-strong);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
  }

  .language-switch {
    justify-content: center;
  }

  .section-grid,
  .contact-layout,
  .section-title,
  .split-section,
  .cta-band,
  .service-item,
  .service-products,
  .service-hero,
  .service-detail-grid,
  .service-product-row,
  .portfolio-grid,
  .timeline,
  .experience-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .project-card.big,
  .project-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .service-item {
    align-items: start;
  }

  .service-category summary {
    align-items: flex-start;
  }

  .service-product-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-product-row a {
    justify-self: start;
  }

  .timeline article {
    grid-template-rows: auto;
    row-gap: 24px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .eyebrow {
    display: inline-block;
    overflow-wrap: anywhere;
  }

  .section,
  .section-grid,
  .page-hero,
  .contact-layout,
  .thanks-screen {
    padding: 56px 0;
  }

  .frame-hero {
    width: 100vw;
    min-height: 70svh;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 24px 0 48px;
  }

  .frame-hero.is-frame-active {
    min-height: 600vh;
    padding: 0;
  }

  .thanks-screen .eyebrow {
    transform: none;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-card {
    min-height: 70svh;
    border-radius: 0;
  }

  .frame-hero.is-frame-active .hero-card {
    height: 100svh;
    min-height: 0;
  }

  .hero-frame-shell {
    width: min(100vw, calc((100svh - 72px) * 16 / 9));
  }

  .split-section,
  .cta-band,
  .card,
  .experience-grid article,
  .project-card,
  .contact-form,
  .timeline article,
  .service-item,
  .service-category summary,
  .service-offer-card,
  .service-detail-card {
    padding: 22px;
    border-radius: 26px;
  }

  .service-hero {
    padding: 56px 0 30px;
  }

  .service-products {
    padding: 0 12px 12px;
  }

  .service-category summary {
    display: grid;
  }

  .site-footer {
    display: grid;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

/* FAQ Section */
.faq {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 16px;
}

.faq h2 {
  font-size: clamp(2.8rem, 4.4vw, 4.8rem);
  margin-bottom: 22px;
  text-align: center;
}

.faq details {
  font-family: inherit;
  margin-bottom: 16px;
  padding: 20px 24px;
  background: var(--bg-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover {
  border-color: var(--blue);
}

.faq details[open] {
  background: white;
  box-shadow: var(--shadow);
}

.faq summary {
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  font-family: inherit;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 16px;
  background: var(--bg-strong);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(47, 37, 21, 0.12);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-banner__content p {
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner__content a {
  color: var(--blue);
  text-decoration: underline;
}

.cookie-banner__btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 940px) {
  .blog-hero,
  .article-cta,
  .blog-grid,
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-hero-note {
    min-height: 170px;
  }
}

@media (max-width: 620px) {
  .blog-hero {
    padding: 56px 0 24px;
  }

  .tag-filter {
    gap: 8px;
    margin-bottom: 24px;
  }

  .tag-filter a {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 0.94rem;
  }

  .blog-grid,
  .related-articles {
    padding-bottom: 56px;
  }

  .blog-card,
  .related-card,
  .article-cover,
  .article-content section,
  .article-faq details,
  .article-cta,
  .blog-hero-note {
    border-radius: 24px;
  }

  .blog-card-body,
  .article-content section,
  .article-faq details,
  .article-cta {
    padding: 22px;
  }

  .breadcrumbs {
    padding-top: 28px;
    font-size: 0.9rem;
  }

  .article-hero {
    padding: 32px 0 18px;
  }

  .article-cover {
    margin-bottom: 28px;
  }
}
