/* 網頁設計比較 — Design system
   Direction: Japanese editorial directory
   Pastel mesh hero, serif display, airy white canvas */

:root {
  --navy-950: #111111;
  --navy-900: #171717;
  --navy-800: #262626;
  --navy-700: #404040;
  --navy-600: #525252;
  --accent: #171717;
  --accent-soft: #f4f4f5;
  --green-700: #0f7a5a;
  --green-50: #e8f6f1;
  --gold: #c3922e;
  --gold-soft: #f7f0de;
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #737373;
  --faint: #a3a3a3;
  --line: #ececec;
  --line-strong: #d4d4d4;
  --shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 12px 32px rgba(17, 17, 17, 0.06);
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 76px;
  --util-h: 0px;
  --compare-h: 0px;
  --max: 1120px;
  --sans: "Noto Sans TC", "Segoe UI", sans-serif;
  --serif: "Noto Serif TC", "Instrument Serif", serif;
  --display: "Instrument Serif", "Noto Serif TC", serif;
  --num: "Noto Sans TC", sans-serif;
  --mint: #9aefd4;
  --mint-soft: #d8faee;
  --cyan: #7ec8ee;
  --cyan-soft: #d3f0fb;
  --lilac: #c4b0f4;
  --lilac-soft: #ece4fd;
  --rose: #f5b4d0;
  --rose-soft: #fde4ef;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100dvh;
}

#site-header {
  min-height: var(--header-h);
}

body[data-page="home"] #site-header {
  min-height: 0;
  height: 0;
  overflow: visible;
}

body.menu-open,
body.drawer-open {
  overflow: hidden;
}

body.has-compare-bar {
  padding-bottom: 88px;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  font-family: var(--serif);
  font-weight: 600;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy-900);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
}

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

.wrap-wide {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

body[data-page="home"] .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  display: block;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
}

.logo-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1100px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .menu-toggle {
    display: none;
  }
}

.desktop-nav a {
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 999px;
}

.desktop-nav a:hover {
  background: var(--mint-soft);
  color: var(--navy-950);
  text-decoration: none;
}

.desktop-nav a.is-active {
  background: var(--lilac-soft);
  color: var(--navy-950);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--navy-800);
}

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

.btn-accent:hover {
  background: #1e40af;
}

.btn-ghost {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: #fafafa;
}

.btn-pill {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-green {
  background: var(--green-50);
  color: var(--green-700);
  border-color: #bfe6d6;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.btn.is-active-compare {
  background: var(--green-50);
  color: var(--green-700);
  border-color: #bfe6d6;
}

/* Mobile menu — independent full-screen overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 90;
  background: var(--paper);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-menu.is-open {
  display: block !important;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
}

.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy-900);
}

.mobile-menu nav {
  padding: 12px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  display: block;
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 8px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-menu nav a.btn {
  color: #fff;
  border-bottom: 0;
  margin-top: 20px;
  text-align: center;
}

.mobile-menu .menu-cta {
  margin-top: 20px;
}

/* Hero */
.hero-stage {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 85% at 6% 96%, var(--mint) 0%, transparent 58%),
    radial-gradient(ellipse 52% 70% at 92% 6%, var(--lilac) 0%, transparent 54%),
    radial-gradient(ellipse 70% 58% at 82% 92%, var(--cyan) 0%, transparent 50%),
    radial-gradient(ellipse 36% 42% at 38% 52%, var(--rose) 0%, transparent 62%),
    linear-gradient(180deg, var(--mint-soft) 0%, var(--lilac-soft) 100%);
}

.hero-mesh::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 16%;
  width: 58%;
  height: 92%;
  background: linear-gradient(165deg, var(--lilac) 0%, var(--cyan) 48%, var(--mint) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(-11deg);
  opacity: 0.95;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 24px 120px;
  text-align: left;
  width: min(920px, calc(100% - 48px));
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #111;
}

.hero-copy h1 span {
  display: block;
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 6;
  width: min(720px, calc(100% - 32px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: flex;
  gap: 6px;
}

.hero-search input {
  flex: 1;
  border: 0;
  padding: 12px 18px;
  font-size: 15px;
  outline: none;
  min-width: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--ink);
}

.hero-search .btn {
  flex-shrink: 0;
}

/* Legacy search (inner pages) */
.search-panel {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  gap: 8px;
}

.search-panel input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  min-width: 0;
  background: transparent;
  color: var(--ink);
}

.search-panel .btn {
  flex-shrink: 0;
}

.hot-searches {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-800);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

.chip:hover {
  border-color: transparent;
  background: var(--cyan-soft);
  text-decoration: none;
  color: var(--navy-950);
}

.chip:nth-child(4n+1) { background: var(--mint-soft); border-color: transparent; }
.chip:nth-child(4n+2) { background: var(--cyan-soft); border-color: transparent; }
.chip:nth-child(4n+3) { background: var(--lilac-soft); border-color: transparent; }
.chip:nth-child(4n+4) { background: var(--rose-soft); border-color: transparent; }

/* Photo collage */
.photo-break {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.9fr 0.75fr;
  gap: 18px;
  padding: 0 max(24px, calc((100% - 1120px) / 2)) 24px;
  align-items: end;
}

.photo-tile {
  margin: 0;
  overflow: hidden;
  background: #e7e7e7;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-a { height: 210px; }
.photo-b { height: 168px; margin-bottom: 28px; }
.photo-c { height: 230px; }
.photo-d { height: 150px; margin-bottom: 48px; }

/* Editorial sections */
.editorial {
  padding: 96px 0 24px;
  scroll-margin-top: 120px;
}

.en-label {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.en-label.light {
  color: #fff;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px 72px;
  align-items: start;
}

.editorial-label h2,
.split-head h2,
.hire-copy h2,
.discover h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
}

.editorial-body {
  font-size: 16px;
  color: #525252;
  line-height: 1.85;
}

.editorial-body p + p {
  margin-top: 18px;
}

.editorial-punch {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink) !important;
  margin-top: 28px !important;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.split-head .lede,
.deck-section .lede {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  max-width: 42ch;
  line-height: 1.7;
}

.collage-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 36px;
}

.collage-row figure {
  margin: 0;
  overflow: hidden;
}

.collage-lg { height: 340px; }
.collage-sm { height: 240px; margin-bottom: 48px; }

.collage-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.service-row .service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0;
}

.service-row:hover {
  text-decoration: none;
  background: #fafafa;
}

.service-row h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 650;
}

.service-row p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.service-row .count {
  font-size: 13px;
  color: var(--faint);
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 88px 140px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.work-item:last-child {
  border-bottom: 1px solid var(--line);
}

.work-item:nth-child(4n+1) .work-num { color: #0f766e; }
.work-item:nth-child(4n+2) .work-num { color: #0369a1; }
.work-item:nth-child(4n+3) .work-num { color: #6d28d9; }
.work-item:nth-child(4n+4) .work-num { color: #be185d; }

.service-row:nth-child(4n+1):hover { background: var(--mint-soft); }
.service-row:nth-child(4n+2):hover { background: var(--cyan-soft); }
.service-row:nth-child(4n+3):hover { background: var(--lilac-soft); }
.service-row:nth-child(4n+4):hover { background: var(--rose-soft); }

.work-num,
.work-en {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.work-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.media-list {
  display: flex;
  flex-direction: column;
}

.media-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.media-item:last-child {
  border-bottom: 1px solid var(--line);
}

.media-item:hover {
  text-decoration: none;
}

.media-item img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.media-item time {
  font-size: 13px;
  color: var(--muted);
}

.media-item h3 {
  font-size: 20px;
  margin-top: 8px;
  font-weight: 600;
}

.deck-section {
  padding: 80px 0 40px;
}

.deck-strip {
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding: 8px 8vw 40px;
}

.deck-strip img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
  transform: rotate(-3deg);
}

.deck-strip img:nth-child(even) {
  transform: rotate(3deg);
  margin-top: 18px;
}

.home-companies {
  margin-top: 8px;
}

.hire-band {
  background: #1a1a1a;
  color: #d4d4d4;
  padding: 0;
  margin-top: 48px;
}

.hire-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
}

.hire-photo {
  margin: 0;
  min-height: 280px;
}

.hire-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hire-copy {
  padding: 56px 40px;
}

.hire-copy h2 {
  color: #fff;
  margin: 8px 0 14px;
}

.hire-copy > p {
  max-width: 36ch;
  line-height: 1.7;
}

.hire-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.hire-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 18px;
  color: #fff;
  text-decoration: none;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hire-card:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.hire-card .work-en {
  color: #a3a3a3;
}

.hire-card strong {
  font-family: var(--serif);
  font-size: 18px;
  margin-top: 8px;
  font-weight: 600;
}

.hire-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 18px;
}

.discover {
  padding: 88px 0 72px;
}

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

.discover-card {
  min-height: 220px;
  padding: 28px 22px;
  color: #171717;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.discover-card:hover {
  text-decoration: none;
  filter: saturate(1.08);
}

.discover-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.discover-card p {
  font-size: 13.5px;
  color: #404040;
}

.tone-mint { background: linear-gradient(180deg, #c8f8e6 0%, #9aefd4 100%); }
.tone-cyan { background: linear-gradient(180deg, #b8e8f8 0%, #7ec8ee 100%); }
.tone-lilac { background: linear-gradient(180deg, #ddd0fa 0%, #c4b0f4 100%); }
.tone-rose { background: linear-gradient(180deg, #fad4e4 0%, #f5b4d0 100%); }

/* Legacy hero (unused on home, keep for safety) */
.hero {
  background: linear-gradient(180deg, #f8fffe 0%, #fff 100%);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  max-width: 16ch;
}

.hero .lede {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
  max-width: 42ch;
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 12px;
}

.score {
  font-family: var(--num);
  font-weight: 650;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 28px;
}

.section-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-card:nth-child(4n+1) {
  background: var(--mint-soft);
  border-color: transparent;
}
.service-card:nth-child(4n+2) {
  background: var(--cyan-soft);
  border-color: transparent;
}
.service-card:nth-child(4n+3) {
  background: var(--lilac-soft);
  border-color: transparent;
}
.service-card:nth-child(4n+4) {
  background: var(--rose-soft);
  border-color: transparent;
}

.service-card:hover {
  text-decoration: none;
  filter: saturate(1.06);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.service-card p {
  color: var(--muted);
  font-size: 12.5px;
  flex: 1;
}

.service-card .svc-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--navy-700);
  font-weight: 600;
}

.service-card .count {
  color: var(--faint);
  font-weight: 500;
}

/* Company cards */
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.company-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--mint);
}

.company-grid .company-card:nth-child(4n+1),
.list-stack .company-card:nth-child(4n+1) { border-top-color: var(--mint); }
.company-grid .company-card:nth-child(4n+2),
.list-stack .company-card:nth-child(4n+2) { border-top-color: var(--cyan); }
.company-grid .company-card:nth-child(4n+3),
.list-stack .company-card:nth-child(4n+3) { border-top-color: var(--lilac); }
.company-grid .company-card:nth-child(4n+4),
.list-stack .company-card:nth-child(4n+4) { border-top-color: var(--rose); }

.company-card.row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  padding: 22px 24px;
  align-items: start;
}

.card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.card-title h3,
.card-title a {
  font-size: 17px;
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-verified {
  background: var(--mint-soft);
  color: #0f7a5a;
}

.badge-featured {
  background: var(--lilac-soft);
  color: #5b21b6;
}

.rating-line {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.rating-line .muted {
  color: var(--muted);
}

.card-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  font-size: 12px;
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy-800);
}

.tag:nth-child(4n+1) { background: var(--mint-soft); border-color: transparent; }
.tag:nth-child(4n+2) { background: var(--cyan-soft); border-color: transparent; }
.tag:nth-child(4n+3) { background: var(--lilac-soft); border-color: transparent; }
.tag:nth-child(4n+4) { background: var(--rose-soft); border-color: transparent; }

.card-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
  color: var(--navy-800);
}

.card-meta span b {
  font-weight: 650;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.card-actions .meta-side {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  margin-bottom: 4px;
}

.card-actions .meta-side div {
  margin-top: 2px;
}

/* Page header */
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}

body[data-page="articles"] .page-hero,
body[data-page="article"] .page-hero,
body[data-page="about"] .page-hero {
  background: linear-gradient(180deg, var(--mint-soft) 0%, #fff 100%);
}

body[data-page="services"] .page-hero,
body[data-page="faq"] .page-hero,
body[data-page="companies"] .page-hero {
  background: linear-gradient(180deg, var(--cyan-soft) 0%, #fff 100%);
}

body[data-page="portfolio"] .page-hero,
body[data-page="compare"] .page-hero {
  background: linear-gradient(180deg, var(--lilac-soft) 0%, #fff 100%);
}

body[data-page="reviews"] .page-hero,
body[data-page="quote"] .page-hero,
body[data-page="company"] .page-hero {
  background: linear-gradient(180deg, var(--rose-soft) 0%, #fff 100%);
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero h1 {
  font-size: 32px;
}

.page-hero .lede {
  margin-top: 8px;
  color: var(--muted);
}

/* Listing layout */
.listing {
  padding: 28px 0 64px;
}

.listing-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.filters h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 16px 0 8px;
}

.filters h3:first-child {
  margin-top: 0;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--navy-800);
  cursor: pointer;
}

.filter-list input {
  accent-color: var(--navy-800);
}

.filters-reset {
  margin-top: 16px;
  width: 100%;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.list-toolbar h2 {
  font-size: 15px;
  font-weight: 600;
}

.list-toolbar select {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-state {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
}

.filter-toggle {
  display: none;
}

/* Company detail */
.company-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0 24px;
}

.company-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.company-header h1 {
  font-size: 30px;
}

.header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0 64px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}

.panel h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.panel p + p {
  margin-top: 10px;
}

.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.info-list dt {
  font-size: 12px;
  color: var(--muted);
}

.info-list dd {
  margin: 2px 0 0;
  font-weight: 650;
  font-size: 14px;
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.side-card .price {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 12px;
}

.side-card .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.portfolio-card:nth-child(4n+1) { background: var(--mint-soft); border-color: transparent; }
.portfolio-card:nth-child(4n+2) { background: var(--cyan-soft); border-color: transparent; }
.portfolio-card:nth-child(4n+3) { background: var(--lilac-soft); border-color: transparent; }
.portfolio-card:nth-child(4n+4) { background: var(--rose-soft); border-color: transparent; }

.portfolio-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.portfolio-card div {
  padding: 10px 12px 12px;
}

.portfolio-card h3 {
  font-size: 14px;
}

.portfolio-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Reviews */
.rating-summary {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.big-score {
  text-align: center;
}

.big-score b {
  font-family: var(--num);
  font-size: 42px;
  letter-spacing: -0.04em;
  display: block;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-row {
  display: grid;
  grid-template-columns: 32px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.bar {
  height: 8px;
  background: var(--bg);
  border-radius: 99px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.review-card {
  border-top: 1px solid var(--line);
  padding: 16px 0 4px;
}

.review-card p {
  margin-top: 8px;
}

.review-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.reviews-grid .review-card {
  border-top: 0;
  padding: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reviews-grid .review-card p {
  flex: 1;
}

.reviews-grid .review-meta {
  margin-top: 16px;
}

.reviews-grid .review-card:nth-child(4n+1) { background: var(--mint-soft); border-color: transparent; }
.reviews-grid .review-card:nth-child(4n+2) { background: var(--cyan-soft); border-color: transparent; }
.reviews-grid .review-card:nth-child(4n+3) { background: var(--lilac-soft); border-color: transparent; }
.reviews-grid .review-card:nth-child(4n+4) { background: var(--rose-soft); border-color: transparent; }

/* Compare table */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  min-width: 180px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  background: #fafbfc;
  font-weight: 650;
  min-width: 130px;
  z-index: 1;
  color: var(--navy-800);
}

.compare-table thead th {
  background: #fff;
}

.compare-table .yes {
  color: var(--green-700);
  font-weight: 650;
}

.compare-table .no {
  color: var(--faint);
}

.compare-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compare-head .logo-badge {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.compare-empty {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
}

/* Compare bar */
.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--navy-950);
  color: #fff;
  display: none;
  box-shadow: 0 -8px 24px rgba(10, 27, 51, 0.18);
}

.compare-bar.is-visible {
  display: block;
}

.compare-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 10px 0;
}

.compare-slots {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.compare-slot {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 10px;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.compare-slot button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.compare-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.compare-bar .count-label {
  font-size: 13px;
  color: #c9d4e3;
  white-space: nowrap;
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  text-decoration: none;
  filter: saturate(1.05);
}

.article-card:nth-child(4n+1) { background: var(--mint-soft); border-color: transparent; }
.article-card:nth-child(4n+2) { background: var(--cyan-soft); border-color: transparent; }
.article-card:nth-child(4n+3) { background: var(--lilac-soft); border-color: transparent; }
.article-card:nth-child(4n+4) { background: var(--rose-soft); border-color: transparent; }

.article-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.article-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card .cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-card h3 {
  font-size: 16px;
  margin: 6px 0 8px;
}

.article-card p {
  color: var(--muted);
  font-size: 13.5px;
  flex: 1;
}

.article-card .more {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 650;
  color: var(--navy-800);
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cat-pills a,
.cat-pills button {
  background: var(--mint-soft);
  border-color: transparent;
}

.cat-pills a:nth-child(4n+2),
.cat-pills button:nth-child(4n+2) { background: var(--cyan-soft); }
.cat-pills a:nth-child(4n+3),
.cat-pills button:nth-child(4n+3) { background: var(--lilac-soft); }
.cat-pills a:nth-child(4n+4),
.cat-pills button:nth-child(4n+4) { background: var(--rose-soft); }

.cat-pills a.is-active,
.cat-pills button.is-active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  gap: 32px;
  padding: 32px 0 64px;
}

.article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.article-body .cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 12px 0 20px;
}

.article-body h2 {
  font-size: 20px;
  margin: 22px 0 10px;
}

.article-body p {
  color: #334155;
  margin-bottom: 12px;
}

.article-body ul {
  color: #334155;
  padding-left: 18px;
}

/* CTA band */
.cta-band {
  background: var(--navy-900);
  color: #fff;
  padding: 56px 0;
}

.cta-band h2 {
  color: #fff;
  font-size: 28px;
}

.cta-band p {
  color: #c9d4e3;
  margin: 10px 0 20px;
  max-width: 46ch;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--navy-900);
}

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Quote form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}

label.field input,
label.field select,
label.field textarea {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
}

label.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  background: var(--green-50);
  border: 1px solid #bfe6d6;
  color: var(--green-700);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.form-success.is-visible {
  display: block;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #111;
  color: #a3a3a3;
  padding: 64px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  padding-bottom: 48px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 650;
}

.site-footer a {
  color: #c9d4e3;
  display: block;
  font-size: 14px;
  padding: 4px 0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 13.5px;
  max-width: 32ch;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #737373;
}

.footer-bottom nav {
  display: flex;
  gap: 16px;
}

.footer-bottom a {
  display: inline;
  padding: 0;
  color: #8ea0b5;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 18px;
}

.step:nth-child(4n+1) { background: var(--mint-soft); }
.step:nth-child(4n+2) { background: var(--cyan-soft); }
.step:nth-child(4n+3) { background: var(--lilac-soft); }
.step:nth-child(4n+4) { background: var(--rose-soft); }

.step b {
  display: block;
  font-family: var(--num);
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
}

/* Filter drawer */
.filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 85;
  background: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.filter-drawer.is-open {
  display: block;
}

.filter-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
}

.filter-drawer .filters {
  position: static;
  border: 0;
  box-shadow: none;
}

.notice {
  background: #fff8e8;
  border: 1px solid #ead9a8;
  color: #6b5420;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.faq-item:nth-child(4n+1) { background: var(--mint-soft); }
.faq-item:nth-child(4n+2) { background: var(--cyan-soft); }
.faq-item:nth-child(4n+3) { background: var(--lilac-soft); }
.faq-item:nth-child(4n+4) { background: var(--rose-soft); }

.faq-item h3 {
  font-size: 15px;
  padding: 14px 16px 0;
}

.faq-item p {
  padding: 8px 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* Misc */
.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.legal h2 {
  font-size: 18px;
  margin: 20px 0 8px;
}

.legal p {
  color: var(--muted);
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid,
  .editorial-grid,
  .hire-grid,
  .footer-grid,
  .discover-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .work-item .work-en {
    display: none;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }

  .company-card.row {
    grid-template-columns: 1fr;
  }

  .card-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-actions .meta-side {
    width: 100%;
    text-align: left;
  }

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

  .filters.desktop-only {
    display: none;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .list-toolbar {
    flex-wrap: wrap;
  }

  .company-grid,
  .article-grid,
  .service-list,
  .collage-row,
  .hire-cards,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-layout,
  .company-header-grid,
  .article-layout,
  .editorial-grid,
  .hire-grid,
  .discover-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

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

  .photo-break {
    grid-template-columns: 1fr 1fr;
    margin-top: -32px;
  }

  .photo-a, .photo-b, .photo-c, .photo-d {
    height: 160px;
    margin-bottom: 0;
  }

  .split-head,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-item {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }

  .hire-copy {
    padding: 40px 0 48px;
  }

  .collage-lg,
  .collage-sm {
    height: 220px;
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  .header-cta .btn {
    display: none;
  }

  .list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .list-toolbar > div {
    width: 100%;
  }

  .list-toolbar input[type="search"] {
    flex: 1;
    min-width: 0 !important;
    width: 100%;
  }

  .wrap,
  .wrap-wide {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero-stage {
    min-height: 88dvh;
  }

  .hero-copy {
    padding: 48px 8px 120px;
  }

  .hero-search {
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    border-radius: 16px;
    flex-direction: column;
    bottom: 24px;
  }

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

  .search-panel {
    flex-direction: column;
    border-radius: 16px;
  }

  .search-panel .btn {
    width: 100%;
  }

  .service-grid,
  .company-grid,
  .article-grid,
  .steps,
  .form-grid,
  .info-list,
  .portfolio-grid,
  .rating-summary,
  .footer-grid,
  .service-list,
  .collage-row,
  .hire-cards,
  .stat-row,
  .photo-break,
  .discover-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .editorial,
  .deck-section,
  .discover {
    padding: 56px 0 16px;
  }

  .page-hero h1,
  .company-header h1 {
    font-size: 28px;
  }

  .header-actions,
  .cta-actions {
    width: 100%;
  }

  .header-actions .btn,
  .cta-actions .btn {
    flex: 1;
  }

  .compare-bar-inner {
    flex-wrap: wrap;
  }

  .compare-bar-actions {
    width: 100%;
  }

  .compare-bar-actions .btn {
    flex: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .stat b {
    font-size: 24px;
  }

  .article-body .cover {
    height: 180px;
  }

  .media-item {
    grid-template-columns: 1fr;
  }

  .media-item img {
    height: 180px;
  }

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

  .work-title {
    font-size: 18px;
  }

  .photo-break {
    margin-top: 8px;
  }

  .deck-strip img {
    width: 160px;
    height: 110px;
  }

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