/* =====================================================================
   Ngwe La Yaung Printing — WordPress theme stylesheet
   Structure: tokens → base → components → sections → responsive → motion
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colours (from the logo) */
  --brand-red: #EF1B24;
  --brand-indigo: #34348F;
  --brand-green: #00A651;
  --brand-cyan: #12A9E0;
  --brand-magenta: #EC008C;
  --brand-yellow: #FFED00;

  /* Derived */
  --indigo-deep: #23236B;      /* headings */
  --indigo-hover: #2A2A7A;
  --wa-green: #007F3E;         /* accessible green for white text */

  /* Neutrals */
  --text-dark: #171A2B;
  --text-muted: #666B78;
  --bg-light: #F8F9FB;
  --bg-gray: #F1F3F5;
  --white: #FFFFFF;
  --line: #E6E8EE;
  --line-strong: #D6DAE2;
  --mark: rgba(23, 26, 43, .32);   /* crop / registration marks */

  /* Type */
  --font-head: "Poppins", "Noto Sans Myanmar", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hero: "Manrope", "Poppins", "Noto Sans Myanmar", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --viber: #665CAC;
  --font-body: "Inter", "Noto Sans Myanmar", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;

  --shadow-s: 0 1px 2px rgba(23, 26, 60, .05), 0 4px 14px rgba(23, 26, 60, .05);
  --shadow-m: 0 2px 4px rgba(23, 26, 60, .04), 0 14px 34px rgba(23, 26, 60, .10);

  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Press colour bar: the site's signature stripe */
  --colorbar: linear-gradient(90deg,
    var(--brand-indigo) 0 16.66%, var(--brand-cyan) 0 33.33%, var(--brand-magenta) 0 50%,
    var(--brand-yellow) 0 66.66%, var(--brand-green) 0 83.33%, var(--brand-red) 0 100%);

  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); color: var(--indigo-deep); line-height: 1.15; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brand-indigo); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand-indigo); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

.ic {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. Components ---------- */

/* Colour bar */
.colorbar { display: block; height: 3px; background: var(--colorbar); }
.colorbar-v { width: 4px; height: auto; background: linear-gradient(180deg,
    var(--brand-indigo) 0 16.66%, var(--brand-cyan) 0 33.33%, var(--brand-magenta) 0 50%,
    var(--brand-yellow) 0 66.66%, var(--brand-green) 0 83.33%, var(--brand-red) 0 100%); }

/* Crop marks: zero-size anchors at each corner of a positioned parent */
.crop { position: absolute; width: 0; height: 0; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--mark); }
.crop::before { width: 16px; height: 1px; top: 0; }   /* horizontal */
.crop::after  { width: 1px; height: 16px; left: 0; }  /* vertical */
.crop.tl { top: 0; left: 0; }    .crop.tl::before { right: 8px; } .crop.tl::after { bottom: 8px; }
.crop.tr { top: 0; right: 0; }   .crop.tr::before { left: 8px; }  .crop.tr::after { bottom: 8px; }
.crop.bl { bottom: 0; left: 0; } .crop.bl::before { right: 8px; } .crop.bl::after { top: 8px; }
.crop.br { bottom: 0; right: 0; }.crop.br::before { left: 8px; }  .crop.br::after { top: 8px; }

/* Eyebrow + titles */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .78rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-indigo); margin-bottom: 16px;
}
.eyebrow .ic { width: 1.15em; height: 1.15em; color: var(--brand-magenta); stroke-width: 1.5; }
.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1;
}
.section-sub { margin-top: 14px; font: 600 .82rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.section-sub i { font-style: normal; color: var(--brand-magenta); margin: 0 .5em; }
.section-sub-text { margin-top: 16px; color: var(--text-muted); max-width: 54ch; }

.section { padding-block: var(--section-y); position: relative; }
.bg-alt { background: var(--bg-light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.section-head .section-sub-text { margin-inline: auto; }
.section-head-split {
  text-align: left; max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px;
}
.section-head-split .section-sub-text { margin: 0; max-width: 42ch; }

/* Buttons */
.btn {
  --arrow-x: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .72em 1.3em;
  font: 600 .95rem/1.2 var(--font-body); letter-spacing: .01em;
  border: 1.5px solid transparent; border-radius: 8px;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn .ic { width: 1.1em; height: 1.1em; stroke-width: 2; }
.btn .ic:last-child:not(:first-child) { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(4px); }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: .55em 1.05em; font-size: .88rem; }

.btn-primary { background: var(--brand-indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-hover); box-shadow: 0 8px 20px rgba(52, 52, 143, .25); }
.btn-ghost { background: #fff; color: var(--brand-indigo); border-color: rgba(52, 52, 143, .28); }
.btn-ghost:hover { border-color: var(--brand-indigo); background: rgba(52, 52, 143, .04); }
.btn-white { background: #fff; color: var(--brand-indigo); }
.btn-white:hover { background: #F1F1FB; }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: #006a33; box-shadow: 0 8px 20px rgba(0, 127, 62, .22); }
.btn-outline-white:focus-visible, .btn-white:focus-visible { outline-color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 28px;
  font-weight: 600; color: var(--brand-indigo);
}
.text-link .ic { transition: transform .25s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }

/* Tag with colour dot */
.tag {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--brand-indigo)); }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 26, 60, .07); border-bottom-color: transparent; }
.header-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.site-header.is-scrolled .header-bar { transform: scaleX(1); }

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: var(--logo-h, 48px); width: auto; max-width: 240px; object-fit: contain; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 800 1.12rem var(--font-head); color: var(--indigo-deep); text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { font: 600 .66rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.img-empty { display: block; width: 100%; height: 100%; min-height: 120px; background: var(--bg-gray) radial-gradient(circle, rgba(52,52,143,.12) 1px, transparent 1.4px) 0 0 / 14px 14px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.main-nav a:not(.btn) {
  position: relative; display: inline-block; padding: 8px 0;
  font: 500 .94rem var(--font-body); color: var(--text-dark); transition: color .2s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--brand-magenta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.is-active, .main-nav .current-menu-item > a { color: var(--brand-indigo); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--indigo-deep);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(circle, rgba(52, 52, 143, .10) 1px, transparent 1.4px) right top / 18px 18px no-repeat,
    linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}
/* halftone patch on the right side */
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 48%;
  background: radial-gradient(circle, rgba(52, 52, 143, .09) 1.1px, transparent 1.5px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 65%);
  pointer-events: none;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.arc { position: absolute; border-radius: 50%; border: 2px solid; border-color: transparent; }
.arc-cyan { width: 520px; height: 520px; left: -300px; bottom: -330px; border-top-color: rgba(18, 169, 224, .35); border-right-color: rgba(18, 169, 224, .35); }
.arc-magenta { width: 420px; height: 420px; left: -250px; bottom: -280px; border-top-color: rgba(236, 0, 140, .25); border-right-color: rgba(236, 0, 140, .25); }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }

.hero-title {
  font-size: clamp(2.2rem, 3.9vw, 3.3rem); font-weight: 800; line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--indigo-deep);
}
.hero-title span { display: block; }
.hero-lead { margin-top: 24px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--text-muted); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { display: inline-flex; align-items: center; gap: .5em; margin-top: 28px; font-size: .88rem; color: var(--text-muted); }
.hero-note .ic { color: var(--brand-red); width: 1.1em; height: 1.1em; }

.hero-visual { padding: 26px; }
.proof-sheet {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 3px; box-shadow: var(--shadow-m);
  padding: clamp(14px, 2.2vw, 26px) clamp(14px, 2.2vw, 26px) 0;
}
.proof-art { width: 100%; height: auto; overflow: visible; }
.proof-photo { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 2px; }
.proof-strip {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 0 16px; margin-top: 4px; border-top: 1px dashed var(--line-strong);
}
.proof-strip .reg { width: 16px; height: 16px; fill: none; stroke: var(--mark); stroke-width: 1.3; margin-inline: 6px; }
.sw {
  width: 24px; height: 16px; background: var(--c); border-radius: 1px;
  display: grid; place-items: center; font: 600 .6rem/1 var(--font-body); color: rgba(255, 255, 255, .92);
}
.sw-light { color: rgba(23, 26, 43, .7); }

/* ---------- 6. Highlights ---------- */
.highlights { border-block: 1px solid var(--line); background: #fff; }
.highlight-list { display: grid; grid-template-columns: repeat(var(--count, 4), 1fr); }
.highlight-list li { display: flex; align-items: center; gap: 16px; padding: 28px 24px; }
.highlight-list li + li { border-left: 1px solid var(--line); }
.hl-icon {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff);
}
.highlight-list strong { display: block; font: 600 .98rem/1.3 var(--font-head); color: var(--indigo-deep); }
.highlight-list span:not(.hl-icon) { display: block; font-size: .85rem; color: var(--text-muted); }

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-copy p + p { margin-top: 16px; }
.about-copy .section-title { margin-bottom: 24px; }
.about-copy > p { color: var(--text-muted); max-width: 56ch; }
.about-text p + p { margin-top: 16px; }
.about-text p { color: var(--text-muted); max-width: 56ch; }
.facts { display: grid; grid-template-columns: repeat(var(--count, 3), 1fr); gap: 20px; margin-top: 36px; }
.facts > div { border-top: 2px solid var(--line); padding-top: 16px; position: relative; }
.facts > div::before { content: ""; position: absolute; top: -2px; left: 0; width: 32px; height: 2px; background: var(--accent, var(--brand-indigo)); }
.facts dt { font: 800 clamp(1.5rem, 2.4vw, 1.9rem)/1.1 var(--font-head); color: var(--indigo-deep); }
.facts dd { margin-top: 6px; font-size: .86rem; color: var(--text-muted); line-height: 1.45; }

.about-visual { position: relative; padding: 24px; }
.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.about-badge {
  position: absolute; left: 0; bottom: -8px; display: flex; gap: 14px; align-items: stretch;
  background: #fff; padding: 16px 20px 16px 16px; border-radius: var(--radius); box-shadow: var(--shadow-m); max-width: 280px;
}
.about-badge p { font-size: .84rem; color: var(--text-muted); line-height: 1.45; }
.about-badge strong { display: block; font: 600 .92rem var(--font-head); color: var(--indigo-deep); margin-bottom: 2px; }

/* ---------- 8. Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.service-card:hover::before { transform: scaleX(1); }
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.sc-icon {
  width: 50px; height: 50px; border-radius: 10px; display: grid; place-items: center;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff);
}
.sc-icon .ic { width: 1.5em; height: 1.5em; }
.sc-num { font: 700 .82rem var(--font-head); color: #B4B8C4; letter-spacing: .06em; }
.service-card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.55; }
.sc-link {
  margin-top: auto; padding-top: 18px; align-self: flex-start;
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px;
  color: #A3A8B6; transition: color .2s, transform .25s var(--ease);
}
.service-card:hover .sc-link { color: var(--accent); transform: translateX(4px); }

/* ---------- 9. What we make ---------- */
.make-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.make-img { overflow: hidden; border-radius: 8px; background: var(--bg-gray); aspect-ratio: 4 / 3; }
.make-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.make-item:hover .make-img img { transform: scale(1.045); }
.make-item figcaption { padding: 14px 2px 0; }
.make-item h3 { margin-top: 8px; font-size: 1rem; font-weight: 600; }

/* ---------- 10. Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--count, 4), 1fr); gap: 28px; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: calc(50% / var(--count, 4)); right: calc(50% / var(--count, 4)); height: 2px;
  background: var(--colorbar); opacity: .45;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-node {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); color: var(--accent);
  box-shadow: 0 0 0 8px var(--bg-light);
}
.step-node .ic { width: 1.55em; height: 1.55em; }
.step-num { display: block; font: 700 .8rem var(--font-head); letter-spacing: .14em; color: var(--text-muted); margin-bottom: 6px; }
.step h3 { font-size: 1.08rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--text-muted); max-width: 28ch; margin-inline: auto; }

/* ---------- 11. Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  min-height: 42px; padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-strong);
  font: 500 .88rem var(--font-body); color: var(--text-dark);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--brand-indigo); color: var(--brand-indigo); }
.filter.is-active { background: var(--brand-indigo); border-color: var(--brand-indigo); color: #fff; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px;
}
.pf-item { position: relative; animation: pf-in .45s var(--ease) both; }
.pf-item.is-wide { grid-column: span 2; }
.pf-item.is-tall { grid-row: span 2; }
@keyframes pf-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.pf-open {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: 8px; overflow: hidden; background: var(--bg-gray); text-align: left;
}
.pf-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pf-open::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(23, 23, 70, .78) 100%);
  opacity: 0; transition: opacity .35s;
}
.pf-meta {
  position: absolute; left: 18px; right: 60px; bottom: 16px; z-index: 1;
  display: flex; flex-direction: column; gap: 4px; color: #fff;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.pf-cat { font: 600 .68rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pf-title { font: 600 1rem/1.3 var(--font-head); }
.pf-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--brand-indigo);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.pf-open:hover img, .pf-open:focus-visible img { transform: scale(1.05); }
.pf-open:hover::after, .pf-open:focus-visible::after,
.pf-open:hover .pf-meta, .pf-open:focus-visible .pf-meta,
.pf-open:hover .pf-zoom, .pf-open:focus-visible .pf-zoom { opacity: 1; transform: none; }
.pf-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

@media (hover: none) {
  .pf-open::after, .pf-meta { opacity: 1; transform: none; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px 72px; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(14, 15, 40, .95); }
.lb-figure { position: relative; max-width: min(1040px, 100%); animation: pf-in .3s var(--ease); }
.lb-img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 6px; background: #fff; }
.lb-caption { margin-top: 14px; text-align: center; color: #fff; font: 500 .95rem var(--font-body); }
.lb-caption small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-close { top: max(18px, env(safe-area-inset-top, 0px)); right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- 12. Why ---------- */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-head .btn { margin-top: 32px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.why-item { display: flex; flex-direction: column; gap: 18px; padding: 32px 0; border-top: 1px solid var(--line-strong); }
.why-item:nth-child(-n+2) { padding-top: 6px; border-top: 0; }
.why-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--shadow-s); }
.why-icon .ic { width: 1.55em; height: 1.55em; }
.why-item h3 { font-size: 1.12rem; font-weight: 700; display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.why-item h3 span { font-size: .78rem; color: var(--text-muted); letter-spacing: .08em; }
.why-item p { font-size: .94rem; color: var(--text-muted); }

/* ---------- 13. Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ind-grid li {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font: 500 .93rem/1.3 var(--font-body); color: var(--text-dark);
  transition: border-color .25s, box-shadow .25s;
}
.ind-grid li .ic { color: var(--accent); width: 1.4em; height: 1.4em; }
.ind-grid li:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-s); }

/* ---------- 14. CTA ---------- */
.cta { padding-bottom: var(--section-y); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: clamp(44px, 6vw, 80px) clamp(28px, 6vw, 80px);
  border-radius: var(--radius-l); color: #fff;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(18, 169, 224, .45), transparent 55%),
    radial-gradient(ellipse at 100% 105%, rgba(236, 0, 140, .38), transparent 50%),
    linear-gradient(115deg, #26266F 0%, #34348F 55%, #2F4C9E 100%);
}
.cta-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-deco .crop { --mark: rgba(255, 255, 255, .45); }
.cta-deco .crop.tl { top: 28px; left: 28px; } .cta-deco .crop.tr { top: 28px; right: 28px; }
.cta-deco .crop.bl { bottom: 28px; left: 28px; } .cta-deco .crop.br { bottom: 28px; right: 28px; }
.cta-reg { position: absolute; fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: .8; }
.cta-reg.r1 { width: 64px; height: 64px; right: 32%; top: -18px; }
.cta-reg.r2 { width: 36px; height: 36px; left: 46%; bottom: 22px; }
.cta-sheet { position: absolute; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); border-radius: 3px; }
.cta-sheet.s1 { width: 220px; height: 300px; right: -40px; top: -70px; transform: rotate(18deg); }
.cta-sheet.s2 { width: 180px; height: 240px; right: 90px; bottom: -150px; transform: rotate(-12deg); }
.cta-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; text-transform: uppercase; line-height: 1.06; letter-spacing: -.01em; }
.cta-copy p { margin-top: 16px; max-width: 46ch; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ---------- 15. Contact + quote ---------- */
.contact { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-list { margin-top: 36px; display: grid; gap: 26px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: #fff; color: var(--brand-indigo); border: 1px solid var(--line);
}
.contact-list h3 { font: 600 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 2px 0 4px; }
.contact-list address, .contact-list p { font-size: 1rem; color: var(--text-dark); line-height: 1.6; }
.contact-list a { color: var(--indigo-deep); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s; word-break: break-word; }
.contact-list a:hover { border-bottom-color: currentColor; }

.map { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; }

.quote-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-m); overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.quote-card > .colorbar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.quote-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; text-transform: uppercase; }
.quote-lead { margin-top: 8px; color: var(--text-muted); font-size: .95rem; }

.quote-form { margin-top: 26px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font: 600 .84rem var(--font-body); color: var(--text-dark); }
.field .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 .96rem var(--font-body); color: var(--text-dark);
  background: var(--bg-light); border: 1px solid var(--line-strong); border-radius: 8px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334348F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9A9FAD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-indigo); background: #fff; box-shadow: 0 0 0 3px rgba(52, 52, 143, .14);
}
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.quote-note { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.quote-note.is-warning { color: #B4161D; }
.quote-call {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .92rem; color: var(--text-muted);
}

/* ---------- 16. Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 40px; padding-block: 64px 48px; }
.footer-brand .brand-logo { height: 52px; }
.footer-brand > p { margin-top: 16px; font-size: .9rem; color: var(--text-muted); max-width: 36ch; }
.footer-col h2 { font: 600 .76rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--brand-indigo); }
.footer-contact li { font-size: .9rem; color: var(--text-dark); line-height: 1.55; }
.footer-contact a { word-break: break-word; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--brand-indigo); transition: background-color .2s, color .2s, border-color .2s;
}
.socials a:hover { background: var(--brand-indigo); border-color: var(--brand-indigo); color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--text-muted);
}
.footer-motto { font: 600 .74rem var(--font-body); letter-spacing: .24em; text-transform: uppercase; }
.footer-motto i { font-style: normal; color: var(--brand-magenta); margin: 0 .4em; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--brand-indigo); color: #fff; box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--indigo-hover); }
.to-top .ic { stroke-width: 2; }

/* ---------- 17. Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero entrance: a single orchestrated moment */
.js .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .hero-copy > :nth-child(3) { animation-delay: .14s; }
.js .hero-copy > :nth-child(4) { animation-delay: .22s; }
.js .hero-copy > :nth-child(5) { animation-delay: .3s; }
.js .proof-sheet { opacity: 0; transform: translateY(18px) rotate(1deg); animation: rise .9s .15s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 18. Theme extras ---------- */
.pf-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.mobile-bar { display: none; }
.make-grid:focus-visible { outline-offset: 6px; }

/* Blog / pages */
.page-main { padding-block: clamp(48px, 7vw, 96px); background: linear-gradient(180deg, var(--bg-light), #fff 320px); }
.page-head { margin-bottom: 36px; }
.page-narrow { max-width: calc(780px + var(--gutter) * 2); }
.page-thumb img { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.post-date { font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-body { padding: 20px 22px 24px; }
.post-body h2 { font-size: 1.12rem; margin-bottom: 8px; }
.post-body p { font-size: .92rem; color: var(--text-muted); }
.entry-content { font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.6em; }
.entry-content a { color: var(--brand-indigo); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--brand-magenta); color: var(--text-muted); }
.nav-links { display: flex; gap: 8px; margin-top: 40px; }
.nav-links .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; }
.nav-links .current { background: var(--brand-indigo); color: #fff; border-color: var(--brand-indigo); }
.page-404 .btn { margin-top: 28px; }
.page-404 p:not(.eyebrow) { margin-top: 16px; color: var(--text-muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }


/* ---------- 19. Hero v1.1 — photo background with text on top ---------- */
.brand { gap: 12px; }
.brand-text-side strong { font: 700 1.2rem/1.05 var(--font-hero); color: var(--brand-indigo); letter-spacing: 0; text-transform: uppercase; }
.brand-text-side small { font: 500 .6rem var(--font-mono); letter-spacing: .26em; margin-top: 3px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font: 500 .76rem/1.2 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-indigo);
}
.cmyk { display: grid; grid-template-columns: 1fr 1fr; width: 10px; height: 10px; flex-shrink: 0; }
.cmyk i:nth-child(1) { background: var(--brand-cyan); } .cmyk i:nth-child(2) { background: var(--brand-magenta); }
.cmyk i:nth-child(3) { background: var(--brand-yellow); } .cmyk i:nth-child(4) { background: var(--text-dark); }

.hero-title {
  font-family: var(--font-hero); font-weight: 800; text-transform: none;
  font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; color: var(--text-dark);
}
.hero-title span:nth-child(2) { color: var(--brand-indigo); }
.hero-lead { margin-top: 26px; max-width: 46ch; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
  font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
}
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero--photo { background: #fff; padding: clamp(80px, 9vw, 132px) 0; min-height: min(720px, calc(100vh - var(--header-h))); display: flex; align-items: center; }
.hero--photo::before { display: none; }
.hero--photo .hero-grid { grid-template-columns: 1fr; width: 100%; }
.hero--photo .hero-copy { position: relative; max-width: 610px; }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; overflow: hidden; background: var(--bg-gray); }
.hero-bg img, .hero-bg .img-empty { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 16%, rgba(255,255,255,.55) 34%, rgba(255,255,255,0) 58%);
}
.js .hero-bg { animation: heroImg 1.1s var(--ease) both; }
@keyframes heroImg { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* Highlights v1.1 — Design / Print / Finish / Deliver */
.highlights { background: var(--bg-light); }
.hl-icon { border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); color: var(--indigo-deep); width: 48px; height: 48px; }
.highlight-list li { padding: 32px 28px; align-items: flex-start; }
.highlight-list strong { font: 700 .98rem/1.3 var(--font-hero); letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-deep); margin-bottom: 4px; }

/* Viber */
.btn-viber { background: var(--viber); color: #fff; }
.btn-viber:hover { background: #574e96; box-shadow: 0 8px 20px rgba(102, 92, 172, .25); }

/* =====================================================================
   Responsive — desktop is the reference; tablet and phone are redesigned,
   not shrunk.
   ===================================================================== */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-grid > .footer-follow { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .make-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .highlight-list { grid-template-columns: repeat(2, 1fr); }
  .highlight-list li:nth-child(odd) { border-left: 0; }
  .highlight-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .post-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Tablet & phone: drawer navigation ---------- */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header .brand-logo { height: min(var(--logo-h, 48px), 44px); }
  .header-cta { display: none; }
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: #fff; border-top: 1px solid var(--line);
    padding: 6px var(--gutter) 24px;
    box-shadow: 0 24px 40px rgba(23, 26, 60, .12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  body.admin-bar .main-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { display: flex; padding: 14px 2px; font-size: 1rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 18px; }
  .nav-mobile-extra .btn { width: 100%; min-height: 50px; }
  .nav-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--brand-indigo); padding: 6px; }
  .nav-call .ic { width: 1.1em; height: 1.1em; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { inset: 40% 0 0 0; }
  .hero--photo { display: block; min-height: 0; padding: 0 0 56px; }
  .hero--photo .hero-bg { position: relative; width: 100%; height: clamp(260px, 56vw, 460px); }
  .hero--photo .hero-bg::after { background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.7) 78%, #fff 100%); }
  .hero--photo .hero-grid { margin-top: -72px; }
  .hero--photo .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 0; }
  .section-head-split .section-sub-text { margin-top: 12px; }
  .make-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-block: 52px 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-follow { grid-column: auto; }
  .post-list { grid-template-columns: 1fr; }

  /* services: two compact tiles per row on phones and small tablets */
  .service-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { padding: 14px 12px 14px; border-radius: 10px; }
  .service-card:hover { transform: none; box-shadow: none; }
  .sc-top { margin-bottom: 10px; }
  .sc-icon { width: 34px; height: 34px; border-radius: 8px; }
  .sc-icon .ic { width: 1.1em; height: 1.1em; }
  .sc-num { font-size: .66rem; }
  .service-card h3 { font-size: .86rem; line-height: 1.25; margin-bottom: 4px; }
  .service-card p { font-size: .75rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sc-link { display: none; }

  .filters {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
}

/* =====================================================================
   PHONE (≤ 600px) — compact, clean layout
   ===================================================================== */
@media (max-width: 600px) {
  :root {
    --gutter: 18px;
    --section-y: 52px;
    --header-h: 58px;
    --radius: 10px;
  }
  body { font-size: .94rem; line-height: 1.6; }
  .site-header .brand-logo { height: min(var(--logo-h, 48px), 38px); max-width: 180px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: .58rem; }
  .menu-toggle { width: 42px; height: 42px; border-color: transparent; background: var(--bg-light); }
  .menu-toggle span:nth-child(1) { top: 13px; } .menu-toggle span:nth-child(2) { top: 20px; } .menu-toggle span:nth-child(3) { top: 27px; }

  /* shared type */
  .section-head, .section-head-split { text-align: left; margin: 0 0 24px; max-width: none; }
  .section-head .section-sub-text { margin-inline: 0; }
  .eyebrow { font-size: .66rem; letter-spacing: .14em; margin-bottom: 10px; }
  .section-title { font-size: 1.5rem; line-height: 1.15; }
  .section-title br { display: none; }
  .section-sub { margin-top: 10px; font-size: .66rem; letter-spacing: .12em; }
  .section-sub i { margin: 0 .25em; }
  .section-sub-text { margin-top: 10px; font-size: .9rem; }
  .btn { font-size: .9rem; }
  .btn-lg { padding: .8em 1.1em; font-size: .92rem; }

  /* hero */
  .hero { padding: 26px 0 32px; }
  .hero::before, .hero-deco { display: none; }
  .hero-grid { gap: 26px; }
  .hero-title { font-size: clamp(2rem, 9.4vw, 2.5rem); line-height: 1.04; }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .16em; margin-bottom: 12px; gap: 8px; }
  .hero-tags { margin-top: 22px; padding-top: 16px; gap: 8px 16px; font-size: .58rem; letter-spacing: .12em; }
  .hero-tags li { gap: 6px; }
  .hero--photo { padding-bottom: 32px; }
  .hero--photo .hero-bg { height: clamp(220px, 64vw, 300px); }
  .hero--photo .hero-grid { margin-top: -52px; }
  .brand { gap: 8px; }
  .brand-text-side strong { font-size: .92rem; }
  .brand-text-side small { font-size: .5rem; letter-spacing: .2em; }
  .hero-lead { margin-top: 14px; font-size: .92rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .hero-actions .btn { width: 100%; min-height: 48px; padding-inline: .6em; white-space: normal; text-align: center; line-height: 1.2; }
  .hero-actions .btn .ic { display: none; }
  .hero-actions .btn:only-child { grid-column: 1 / -1; }
  .hero-note { margin-top: 16px; font-size: .8rem; }
  .hero-visual { padding: 0; }
  .proof-sheet { padding: 10px 10px 0; box-shadow: var(--shadow-s); border-radius: 8px; }
  .proof-sheet .crop { display: none; }
  .proof-photo { aspect-ratio: 4 / 3; }
  .proof-strip { padding: 8px 0 10px; gap: 3px; }
  .sw { width: 16px; height: 11px; font-size: .5rem; }
  .proof-strip .reg { width: 12px; height: 12px; margin-inline: 2px; }

  /* highlights: 2 × 2, title only */
  .highlight-list { grid-template-columns: 1fr 1fr; }
  .highlight-list li { gap: 10px; padding: 14px 10px; align-items: center; }
  .highlight-list li:nth-child(odd) { padding-left: 0; }
  .highlight-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .hl-icon { width: 34px; height: 34px; }
  .highlight-list strong { letter-spacing: .08em; margin: 0; }
  .hl-icon .ic { width: 1.05em; height: 1.05em; }
  .highlight-list strong { font-size: .8rem; line-height: 1.25; }
  .highlight-list span:not(.hl-icon) { display: none; }

  /* about */
  .about-grid { gap: 28px; }
  .about-copy .section-title { margin-bottom: 14px; }
  .about-text p { font-size: .92rem; }
  .about-text p + p { margin-top: 10px; }
  .facts { gap: 12px; margin-top: 22px; }
  .facts > div { padding-top: 10px; }
  .facts > div::before { width: 22px; }
  .facts dt { font-size: 1.15rem; }
  .facts dd { margin-top: 2px; font-size: .72rem; line-height: 1.35; }
  .text-link { margin-top: 18px; font-size: .9rem; }
  .about-visual { padding: 0; }
  .framed .crop, .about-badge { display: none; }
  .framed img, .framed .img-empty { border-radius: 10px; aspect-ratio: 16 / 10; }

  /* what we make: swipe row */
  .make-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .make-grid::-webkit-scrollbar { display: none; }
  .make-item { scroll-snap-align: start; }
  .js .make-grid .reveal { opacity: 1; transform: none; }
  .make-img { border-radius: 8px; }
  .make-item figcaption { padding-top: 10px; }
  .make-item h3 { margin-top: 4px; font-size: .86rem; line-height: 1.3; }
  .tag { font-size: .58rem; letter-spacing: .1em; }
  .tag::before { width: 6px; height: 6px; }

  /* process: compact vertical timeline */
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 21px; top: 50px; bottom: 4px; width: 2px;
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent));
  }
  .step-node { grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; border-width: 1.5px; box-shadow: none; }
  .step-node .ic { width: 1.2em; height: 1.2em; }
  .step-num { margin: 2px 0 2px; font-size: .68rem; }
  .step h3 { font-size: .95rem; margin-bottom: 4px; }
  .step p { margin: 0; max-width: none; font-size: .86rem; }

  /* portfolio: uniform 2-column grid, "show more" */
  .filters { gap: 8px; margin-bottom: 18px; }
  .filter { min-height: 38px; padding: 6px 14px; font-size: .82rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .pf-item.is-wide, .pf-item.is-tall { grid-column: auto; grid-row: auto; }
  .pf-open { height: auto; aspect-ratio: 1 / 1; border-radius: 8px; }
  .pf-open img, .pf-open .img-empty { position: absolute; inset: 0; }
  .pf-open::after { background: linear-gradient(180deg, transparent 55%, rgba(23, 23, 70, .72) 100%); }
  .pf-meta { left: 10px; right: 10px; bottom: 8px; gap: 1px; }
  .pf-cat { font-size: .55rem; letter-spacing: .1em; }
  .pf-title { font-size: .78rem; line-height: 1.25; }
  .pf-zoom { display: none; }
  .pf-open::after, .pf-meta { opacity: 1; transform: none; }
  .portfolio-grid:not(.is-expanded) .pf-item.is-extra { display: none; }
  .pf-more-wrap { margin-top: 16px; }
  .pf-more { width: 100%; }

  /* why: compact list */
  .why-grid { gap: 22px; }
  .why-head .btn { display: none; }
  .why-list { grid-template-columns: 1fr; gap: 0; }
  .why-item, .why-item:nth-child(-n+2) { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-strong); }
  .why-item:first-child { border-top: 0; padding-top: 0; }
  .why-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
  .why-icon .ic { width: 1.25em; height: 1.25em; }
  .why-item h3 { font-size: .95rem; margin-bottom: 4px; gap: 8px; }
  .why-item h3 span { font-size: .68rem; }
  .why-item p { font-size: .86rem; }

  /* industries: wrapping chips */
  .ind-grid { display: flex; flex-wrap: wrap; gap: 8px; }
  .ind-grid li { min-height: 0; padding: 8px 12px; gap: 8px; border-radius: 999px; font-size: .8rem; }
  .ind-grid li .ic { width: 1.05em; height: 1.05em; }

  /* CTA */
  .cta { padding-bottom: var(--section-y); }
  .cta-panel { padding: 30px 20px 22px; border-radius: 14px; gap: 22px; }
  .cta-deco .crop, .cta-sheet.s2, .cta-reg.r2 { display: none; }
  .cta-copy h2 { font-size: 1.45rem; }
  .cta-copy h2 br { display: none; }
  .cta-copy p { margin-top: 10px; font-size: .88rem; }
  .cta-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-actions .btn { width: 100%; padding-inline: .6em; white-space: normal; }
  .cta-actions .btn .ic { display: none; }
  .cta-actions .btn:only-child { grid-column: 1 / -1; }

  /* contact */
  .contact-grid { gap: 28px; }
  .contact-list { margin-top: 20px; gap: 14px; }
  .contact-list li { gap: 12px; }
  .ci-icon { width: 38px; height: 38px; }
  .ci-icon .ic { width: 1.05em; height: 1.05em; }
  .contact-list h3 { font-size: .64rem; margin: 0 0 2px; }
  .contact-list address, .contact-list p { font-size: .9rem; line-height: 1.5; }
  .map { margin-top: 20px; aspect-ratio: 4 / 3; max-height: 220px; }
  .quote-card { padding: 24px 18px 20px; border-radius: 14px; box-shadow: var(--shadow-s); }
  .quote-title { font-size: 1.2rem; }
  .quote-lead { font-size: .86rem; }
  .quote-form { margin-top: 18px; gap: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 12px; }
  .field label { font-size: .8rem; margin-bottom: 5px; }
  .field input, .field select, .field textarea { min-height: 46px; font-size: 16px; padding: 10px 12px; }
  .field textarea { min-height: 96px; }
  .quote-actions { grid-template-columns: 1fr; gap: 10px; }
  .quote-actions .btn { min-height: 48px; }
  .quote-note { font-size: .76rem; }
  .quote-call { margin-top: 18px; padding-top: 16px; font-size: .86rem; }

  /* footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-block: 36px 24px; }
  .footer-brand .brand-logo { height: 40px; }
  .footer-brand > p { font-size: .84rem; margin-top: 10px; }
  .footer-col h2 { margin-bottom: 10px; font-size: .66rem; }
  .footer-col li + li { margin-top: 6px; }
  .footer-col a, .footer-contact li { font-size: .84rem; }
  .footer-contact-col { grid-column: 1 / -1; order: 3; }
  .footer-follow { order: 2; }
  .footer-links { order: 1; }
  .socials a { width: 40px; height: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 16px; font-size: .76rem; }
  .footer-motto { font-size: .62rem; }

  /* quick-contact bar */
  .has-mobile-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(23, 26, 60, .06);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 48px; border-radius: 10px; font: 600 .7rem/1.1 var(--font-body); color: var(--indigo-deep);
  }
  .mobile-bar a .ic { width: 1.3em; height: 1.3em; }
  .mobile-bar a:active { background: var(--bg-light); }
  .mobile-bar .mb-primary { background: var(--brand-indigo); color: #fff; }
  .mobile-bar .mb-primary:active { background: var(--indigo-hover); }
  .mobile-bar .mb-viber .ic { color: var(--viber); }
  .to-top { width: 42px; height: 42px; right: 14px; }
  .has-mobile-bar .to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  /* lightbox */
  .lightbox { padding: 60px 12px 88px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }

  /* pages */
  .page-head { margin-bottom: 22px; }
  .entry-content { font-size: .98rem; }
}

@media (max-width: 360px) {
  .hero-actions, .cta-actions { grid-template-columns: 1fr; }
  .make-grid { grid-auto-columns: 58%; }
  .facts dd { font-size: .68rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero-copy > *, .js .proof-sheet { opacity: 1; transform: none; animation: none; }
}
