/* 巴伯國際實業 — quiet corporate atelier */

:root {
  --bg: #f3f5f7;
  --bg-2: #ffffff;
  --bg-3: #e8ebef;
  --ink: #161a1f;
  --mute: #4a5560;
  --text-muted: #4a5560;
  --line: rgba(22, 26, 31, 0.12);
  --accent: #1a4d3e;
  --accent-2: #2a6b56;
  --accent-soft: rgba(26, 77, 62, 0.1);
  --teal: var(--accent);
  --teal-2: var(--accent-2);
  --teal-soft: var(--accent-soft);
  --radius: 4px;
  --nav-h: 72px;
  --shadow: 0 18px 40px rgba(22, 26, 31, 0.08);
  --font-display: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 77, 62, 0.05), transparent 50%),
    linear-gradient(180deg, #eef1f4 0%, var(--bg) 28%, #eef1f4 100%);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  /* no backdrop-filter: it traps position:fixed mobile menu inside header */
  overflow: visible;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(22, 26, 31, 0.06);
}

.site-header.is-menu-open {
  background: #fff;
  border-bottom-color: var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 110;
  position: relative;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

.logo-text .brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.logo-text .sub {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--mute);
  padding: 0.45rem 0.75rem;
  position: relative;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active {
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.12rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.55rem 1.15rem !important;
  border-radius: 4px !important;
  background: var(--ink) !important;
  color: #f3f5f7 !important;
  font-weight: 700;
  transition: background 0.25s, transform 0.25s var(--ease) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover,
.nav-cta.is-active {
  background: var(--accent) !important;
  color: #f3f5f7 !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  z-index: 110;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s;
}

.btn::after {
  display: none;
}

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

.btn-primary {
  background: var(--ink);
  color: #f3f5f7;
  box-shadow: none;
  animation: none;
}

.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(26, 77, 62, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(22, 26, 31, 0.18);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — balanced height, content centered */
.hero {
  position: relative;
  min-height: min(74vh, 680px);
  min-height: min(74dvh, 680px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 1.5rem) 0 2.25rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #161a1f;
}

.hero-glow,
.hero-glow-a,
.hero-glow-b,
.hero-grid-lines,
.hero-beam,
.hero-mark,
.hero-art,
.hero-scan {
  display: none !important;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 20, 0.94) 0%, rgba(12, 16, 20, 0.82) 40%, rgba(12, 16, 20, 0.4) 72%, rgba(12, 16, 20, 0.32) 100%),
    linear-gradient(180deg, rgba(12, 16, 20, 0.25) 0%, transparent 35%, rgba(12, 16, 20, 0.2) 100%);
}

.hero-main {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0;
}

.hero-content {
  max-width: 32rem;
}

.hero-aside,
.hero-visual,
.hero-caption {
  display: none !important;
}

.hero-in {
  opacity: 0;
  transform: translateY(22px);
  animation: heroRise 0.85s var(--ease) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.09s);
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 0.85rem;
}

.hero .eyebrow {
  color: rgba(232, 240, 236, 0.78);
  margin-bottom: 0.65rem;
}

.live-dot {
  display: none;
}

.brand-hero {
  font-size: clamp(2.2rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: #f3f5f7;
  max-width: 11em;
  background: none;
  -webkit-text-fill-color: unset;
  animation: heroRise 0.85s var(--ease) forwards;
  animation-delay: calc(0.08s + var(--i, 1) * 0.09s);
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 500;
  color: rgba(243, 245, 247, 0.92);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.hero-lead {
  color: rgba(230, 236, 240, 0.9);
  font-size: 0.98rem;
  max-width: 28em;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.hero .btn-primary {
  background: #f3f5f7;
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero .btn-ghost {
  border-color: rgba(243, 245, 247, 0.35);
  color: #f3f5f7;
}

.hero .btn-ghost:hover {
  border-color: #f3f5f7;
  background: rgba(243, 245, 247, 0.1);
  color: #fff;
}

.tag-strip {
  display: none !important;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.hero + .section {
  padding-top: 2.5rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.72);
}

.section-dark {
  background: var(--ink);
  color: #f3f5f7;
  position: relative;
}

.section-dark::before {
  display: none;
}

.section-head {
  max-width: 560px;
  margin-bottom: 1.85rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1.28;
}

.section-head p {
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.85;
}

.section-head.light .eyebrow {
  color: rgba(232, 240, 236, 0.7);
}

.section-head.light h2 {
  color: #f3f5f7;
}

.section-head.light p {
  color: rgba(214, 222, 228, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }

/* Media services — open editorial, less card */
.media-services,
.services-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.25rem;
}

.media-card {
  border: 0;
  background: transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}

.media-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: none;
}

.media-card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: 2px;
}

.media-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.media-card:hover .media-card-photo img {
  transform: scale(1.03);
}

.media-card-body {
  padding: 0.9rem 0.05rem 0;
}

.media-card-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.media-card-body p {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-photo {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  border: 0;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  background: var(--bg-3);
}

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

.contact-visual-wrap {
  padding-bottom: 0;
}

.contact-visual {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  border: 0;
  max-height: 280px;
}

.contact-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Values — default for light sections; dark overrides below */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  align-items: stretch;
}

.value-block {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.65rem;
  min-height: 100%;
  transition: background 0.3s;
}

.value-block:last-child {
  border-right: 0;
}

.value-block:first-child {
  padding-left: 0;
}

.value-block:hover {
  background: transparent;
  transform: none;
}

.value-block::before,
.value-block::after {
  display: none !important;
}

.value-block .step-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.value-ico {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  transition: border-color 0.25s;
}

.value-block:hover .value-ico {
  transform: none;
  box-shadow: none;
  border-color: rgba(26, 77, 62, 0.35);
}

.value-ico svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-block h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.value-block p {
  color: var(--mute);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-top: auto;
}

/* Dark section overrides */
.section-dark .values-grid {
  border-top-color: rgba(243, 245, 247, 0.16);
}

.section-dark .value-block {
  border-right-color: rgba(243, 245, 247, 0.16);
  border-bottom-color: rgba(243, 245, 247, 0.16);
  padding: 1.6rem 1.4rem 1.85rem;
}

.section-dark .value-block:first-child {
  padding-left: 0;
}

.section-dark .value-ico {
  border-color: rgba(243, 245, 247, 0.28);
}

.section-dark .value-block:hover .value-ico {
  border-color: rgba(232, 240, 236, 0.55);
}

.section-dark .value-ico svg {
  stroke: #d5e0da;
}

.section-dark .value-block h3 {
  color: #f3f5f7;
}

.section-dark .value-block p {
  color: rgba(220, 228, 234, 0.82);
}

.values-grid.is-steps .value-ico {
  margin-bottom: 0.85rem;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem 1.75rem;
  counter-reset: step;
}

.process::before {
  display: none;
}

.process-item {
  position: relative;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  transition: transform 0.3s var(--ease);
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1;
}

.process-item:hover {
  transform: translateY(-2px);
}

.process-item:hover::before {
  color: var(--accent-2);
}

.process-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.process-item p {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Focus / services legacy grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 1.75rem;
  transition: background 0.3s;
}

.service-card::before,
.service-card::after,
.service-card .tech-corner,
.service-icon .ring {
  display: none !important;
}

.service-card:hover {
  transform: none;
  background: rgba(26, 77, 62, 0.04);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.service-card:hover .service-icon {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.8;
}

.focus-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.focus-item {
  padding: 1.3rem 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-item strong {
  display: block;
  margin-bottom: 0.3rem;
}

.focus-item span {
  color: var(--mute);
  font-size: 0.88rem;
}

/* Page hero */
.page-hero {
  padding: calc(var(--nav-h) + 3.25rem) 0 2.75rem;
  background: var(--ink);
  border-bottom: 0;
  position: relative;
  overflow: hidden;
  color: #f3f5f7;
}

.page-hero-media {
  background: var(--ink);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 16, 20, 0.92) 18%, rgba(12, 16, 20, 0.55) 100%);
}

.page-hero-media .container {
  position: relative;
  z-index: 1;
}

.page-hero::after {
  display: none;
}

.page-hero .eyebrow {
  color: rgba(232, 240, 236, 0.7);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3rem);
  margin-bottom: 0.9rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: #f3f5f7;
  animation: heroRise 0.8s var(--ease) both;
}

.page-hero p {
  color: rgba(214, 222, 228, 0.78);
  max-width: 34em;
  font-size: 1.05rem;
  line-height: 1.85;
  animation: heroRise 0.8s var(--ease) 0.1s both;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.about-copy p {
  color: var(--mute);
  margin-bottom: 0.85rem;
}

.about-panel {
  display: none;
}

.company-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.meta-item {
  padding: 1.05rem 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.meta-item dt {
  font-size: 0.74rem;
  color: var(--mute);
  margin-bottom: 0.2rem;
}

.meta-item dd {
  font-weight: 600;
}

.pending {
  color: var(--mute);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.15rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.contact-item:hover {
  border-color: rgba(26, 77, 62, 0.35);
  box-shadow: none;
  background: var(--bg-2);
  transform: translateY(-2px);
}

.contact-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.contact-ico svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h3 {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  color: var(--mute);
  font-size: 0.93rem;
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.85rem 1.7rem;
  box-shadow: var(--shadow);
  position: relative;
}

.contact-form::before,
.contact-form::after {
  display: none;
}

.contact-form h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.contact-form > p {
  color: var(--mute);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.3rem;
  color: var(--mute);
}

.form-note {
  color: var(--mute);
  font-size: 0.86rem;
}

.req {
  color: var(--accent);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #fafbfc;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: #c62828;
  box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.35);
}

.field-error {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #b71c1c;
  line-height: 1.4;
}

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

.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.8rem 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
}

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

/* CTA */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.cta-band::before,
.cta-band .glow {
  display: none;
}

.cta-band h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}

.cta-band p {
  color: var(--mute);
  max-width: 34em;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c5d0d8;
  padding: 3rem 0 1.5rem;
  border-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-brand .brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.footer-brand p {
  color: #8f9aa5;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f9aa5;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: #c5d0d8;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: #fff;
  transform: none;
}

.footer-col .pending {
  color: #8f9aa5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #7a8792;
}

.bento,
.marquee,
.tech-chips {
  display: none;
}

/* Responsive */
@media (max-width: 960px) {
  .about-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .media-services,
  .services-media-grid,
  .services-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-block {
    padding: 1.35rem 1.15rem;
    border-right: 1px solid var(--line);
  }

  .section-dark .value-block {
    border-right-color: rgba(243, 245, 247, 0.16);
  }

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

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

  .brand-hero {
    max-width: none;
    font-size: clamp(1.9rem, 7vw, 2.7rem);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: grid;
  }

  .logo-text .brand {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    max-width: 12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.35rem;
    padding: calc(var(--nav-h) + 1.25rem) 1.5rem 2rem;
    background: #f3f5f7;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.85rem;
    text-align: center;
    border-bottom: 0 !important;
  }

  .services-grid,
  .values-grid,
  .process,
  .focus-strip,
  .form-row,
  .company-meta,
  .footer-top,
  .media-services,
  .services-media-grid {
    grid-template-columns: 1fr;
  }

  .value-block,
  .value-block:last-child {
    border-right: 0;
    padding: 1.4rem 0;
  }

  .hero {
    min-height: min(62vh, 560px);
    min-height: min(62dvh, 560px);
    padding: calc(var(--nav-h) + 1.25rem) 0 1.75rem;
  }

  .hero-main {
    padding: 0;
  }

  .brand-hero {
    font-size: clamp(1.7rem, 7.5vw, 2.3rem);
    letter-spacing: 0.03em;
  }

  .hero-tagline {
    font-size: 1.02rem;
  }

  .hero-lead {
    font-size: 0.96rem;
    margin-bottom: 1.25rem;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
  }

  .section {
    padding: 2.75rem 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 0;
  }

  .cta-band .btn {
    width: 100%;
  }

  .page-hero {
    padding: calc(var(--nav-h) + 3rem) 0 2.4rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.3rem);
  }

  .about-photo {
    max-width: 420px;
    margin-inline: auto;
  }
}

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

  .reveal,
  .hero-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.policy-container {
  max-width: 900px;
}

.policy-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.policy-container h2 {
  margin-top: 2rem;
  font-size: 1.18rem;
}

.policy-container p,
.policy-container li {
  color: var(--muted);
  line-height: 1.8;
}

.policy-container ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.policy-container li + li {
  margin-top: 0.5rem;
}
