:root {
  --ink: #12181f;
  --muted: #647286;
  --line: rgba(34, 108, 176, 0.13);
  --paper: #f7fbff;
  --surface: #ffffff;
  --blue: #1479c9;
  --cyan: #35aef0;
  --green: #93bf58;
  --amber: #7f8cff;
  --night: #eaf5ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
  transition: background 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(20, 121, 201, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  min-width: 154px;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(18, 24, 31, 0.72);
  font-size: 15px;
}

.site-header.is-scrolled nav {
  color: rgba(18, 24, 31, 0.72);
}

nav a {
  padding: 10px 12px;
}

.nav-cta {
  color: white;
  background: var(--blue);
  border: 1px solid rgba(20, 121, 201, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .nav-cta {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  box-sizing: border-box;
  min-height: clamp(580px, 64svh, 680px);
  overflow: hidden;
  display: grid;
  align-items: start;
  padding: 132px clamp(20px, 6vw, 80px) 82px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.99) 0 54%, rgba(255, 255, 255, 0.78) 54% 100%),
    radial-gradient(circle at 84% 42%, rgba(20, 121, 201, 0.12), transparent 35%),
    linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
  border-bottom: 1px solid rgba(20, 121, 201, 0.1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 30%;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.56) 94%, #ffffff 100%),
    linear-gradient(rgba(20, 121, 201, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 121, 201, 0.04) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  mask-image: linear-gradient(0deg, black, rgba(0, 0, 0, 0.65), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 12%;
  right: -4%;
  width: min(760px, 56vw);
  height: 70%;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 28%, rgba(20, 121, 201, 0.06) 28% 30%, transparent 30% 100%),
    radial-gradient(circle at 48% 42%, rgba(53, 174, 240, 0.12), transparent 34%),
    linear-gradient(rgba(20, 121, 201, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 121, 201, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  opacity: 0.32;
}

#hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.72;
  filter: saturate(1.12) contrast(1.06);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.74) 43%, rgba(255, 255, 255, 0.12) 64%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(650px, 100%);
  color: var(--ink);
  align-self: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 900;
}

h1 span {
  display: block;
}

.hero-title-highlight {
  display: inline-block;
  width: fit-content;
  margin-top: 8px;
  padding: 0.02em 0.16em 0.08em;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-copy {
  width: min(610px, 100%);
  color: rgba(18, 24, 31, 0.68);
  font-size: clamp(16px, 1.48vw, 19px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 18px 42px rgba(20, 121, 201, 0.24);
}

.button.ghost {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(20, 121, 201, 0.24);
  backdrop-filter: blur(12px);
}

.button.works-link {
  color: #43515f;
  background: #eef3f7;
  border-color: #d8e2ea;
  box-shadow: none;
}

.button.works-link:hover {
  color: var(--ink);
  background: #e5edf4;
  border-color: #cbd9e4;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  width: min(650px, 100%);
  margin-top: 26px;
  padding-top: 18px;
  overflow: visible;
  border-top: 1px solid rgba(20, 121, 201, 0.14);
  border-bottom: 0;
  background: transparent;
}

.proof-row span {
  flex: 0 1 auto;
  padding: 0;
  color: rgba(18, 24, 31, 0.54);
  background: transparent;
  border-right: 0;
  font-size: 14px;
}

.proof-row strong {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 15px;
}

.section {
  position: relative;
  z-index: 2;
  padding: 96px clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  max-width: none;
  align-items: end;
}

.section-heading h2,
.service-heading h2,
.client-heading h2,
.work-toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.18;
}

.section-heading.split > p {
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.8;
}

.capability-strip {
  position: relative;
  padding-top: 72px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 12% 10%, rgba(20, 121, 201, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border-top: 1px solid rgba(20, 121, 201, 0.08);
  border-bottom: 1px solid rgba(20, 121, 201, 0.12);
}

.service-heading {
  max-width: 880px;
  margin-bottom: 32px;
}

.service-heading.compact {
  margin: 0 0 28px;
}

.service-heading h2 {
  max-width: 820px;
  margin-bottom: 16px;
}

.service-heading > p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-love-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 48px;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.capability-row a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 12px 22px;
  min-height: 198px;
  padding: 28px 32px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(20, 121, 201, 0.055);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-love-row a {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.capability-row a:hover {
  transform: translateY(-3px);
  background: white;
  border-color: rgba(20, 121, 201, 0.32);
  box-shadow: 0 24px 58px rgba(20, 121, 201, 0.13);
}

.service-love-row a:hover {
  background: transparent;
  box-shadow: none;
}

.capability-row .service-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--blue);
  background: rgba(20, 121, 201, 0.08);
  border-radius: 6px;
}

.service-love-row .service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: rgba(20, 121, 201, 0.78);
  background: rgba(20, 121, 201, 0.075);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-row a:hover .service-icon {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(20, 121, 201, 0.2);
}

.service-love-row a:hover .service-icon {
  color: white;
  background: var(--blue);
}

.service-love-row small {
  display: block;
  margin-bottom: 8px;
  color: rgba(18, 24, 31, 0.46);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.capability-row strong {
  align-self: end;
  font-size: 21px;
  line-height: 1.25;
}

.service-love-row strong {
  display: block;
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 14px;
  font-size: 20px;
  line-height: 1.35;
}

.service-love-row strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(20, 121, 201, 0.32) 0 28px, rgba(18, 24, 31, 0.08) 28px 100%);
}

.capability-row em {
  max-width: 420px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.9;
}

.service-love-row em {
  display: block;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.9;
}

.about-seals {
  display: none !important;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(20, 121, 201, 0.08), transparent 1px),
    radial-gradient(circle at 84% 16%, rgba(73, 215, 200, 0.12), transparent 30%),
    #ffffff;
  border-bottom: 1px solid rgba(20, 121, 201, 0.1);
}

.about-seals-main h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.12;
}

.about-seals-copy {
  display: grid;
  gap: 24px;
  color: var(--muted);
  line-height: 1.9;
}

.about-seals-copy > p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
}

.about-seals-copy ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(20, 121, 201, 0.14);
}

.about-seals-copy li {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(20, 121, 201, 0.1);
}

.about-seals-copy strong {
  color: var(--ink);
  font-size: 17px;
}

.about-seals-copy span {
  color: var(--muted);
}

.clients {
  position: relative;
  overflow: hidden;
  padding-top: 54px;
  padding-bottom: 54px;
  background:
    linear-gradient(180deg, rgba(20, 121, 201, 0.08), transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(53, 174, 240, 0.12), transparent 26%),
    linear-gradient(180deg, #f4faff 0%, #eef7ff 100%);
  border-bottom: 1px solid rgba(20, 121, 201, 0.12);
}

.clients::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 58%;
  height: 70%;
  pointer-events: none;
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 50%;
}

.client-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 12px;
}

.client-heading h2 {
  margin: 0;
}

.client-heading > p {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.75;
}

.client-heading > p,
.work-toolbar > p,
.contact-item:has(a[href^="tel:"]) {
  display: none;
}

.client-slider-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
}

.client-page-status {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

.client-slider-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.client-nav,
.client-admin-toggle,
.client-admin-close,
.client-admin-reset,
.client-admin-list button {
  border: 1px solid rgba(20, 121, 201, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.client-nav {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

.client-admin-toggle,
.client-admin-close,
.client-admin-reset {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
}

.client-nav:hover,
.client-admin-toggle:hover,
.client-admin-close:hover,
.client-admin-reset:hover,
.client-admin-list button:hover {
  border-color: rgba(20, 121, 201, 0.36);
  background: white;
  transform: translateY(-1px);
}

.client-nav:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.client-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 24px;
  width: 100%;
  max-width: 1140px;
  min-height: 304px;
  margin: 0 auto;
}

.client-row {
  display: contents;
}

.client-grid figure {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 1 calc((100% - 48px) / 3);
  height: 142px;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 121, 201, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 121, 201, 0.055);
}

.client-grid img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96%;
  max-height: 126px;
  object-fit: contain;
  object-position: center;
  filter: saturate(1);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.client-grid figure:hover img {
  filter: saturate(1.06);
  transform: translateY(-2px);
}

.client-dots {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.client-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 121, 201, 0.24);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

#client-admin-toggle,
#work-admin-toggle {
  display: none;
}

body.admin-mode #client-admin-toggle,
body.admin-mode #work-admin-toggle {
  display: inline-flex;
}

.client-dots button.is-active {
  width: 26px;
  background: var(--blue);
}

.client-admin-panel {
  position: relative;
  z-index: 2;
  display: none;
  width: min(100%, 1000px);
  margin: 22px auto 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 121, 201, 0.12);
}

.client-admin-panel.is-open {
  display: block;
}

.client-admin-header,
.client-admin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-backup-actions button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--blue);
  background: rgba(20, 121, 201, 0.08);
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.admin-backup-actions button:hover {
  background: rgba(20, 121, 201, 0.13);
  border-color: rgba(20, 121, 201, 0.32);
  transform: translateY(-1px);
}

.admin-backup-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.admin-sync-status {
  flex-basis: 100%;
  margin: 10px 0 0;
  padding: 10px 12px;
  color: #4b5b68;
  background: #f1f5f8;
  border: 1px solid #dce7ef;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.admin-sync-status[data-state="syncing"] {
  color: #1267a8;
  background: #eef8ff;
  border-color: #bee0f6;
}

.admin-sync-status[data-state="done"] {
  color: #24704b;
  background: #edf9f3;
  border-color: #bae4ce;
}

.admin-sync-status[data-state="error"] {
  color: #9b2f2f;
  background: #fff1f1;
  border-color: #efc2c2;
}

.client-admin-header h3 {
  margin: 0;
  font-size: 22px;
}

.client-admin-note {
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.client-admin-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(160px, 0.7fr) minmax(220px, 1.3fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 8px;
}

.client-logo-drop {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 88px;
  padding: 10px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(20, 121, 201, 0.32);
  border-radius: 8px;
  cursor: pointer;
}

.client-logo-drop input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.client-logo-drop img {
  display: none;
  max-width: 150px;
  max-height: 48px;
  object-fit: contain;
}

.client-logo-drop span,
.client-logo-drop small {
  display: block;
}

.client-logo-drop span {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.client-logo-drop small {
  margin-top: 4px;
  font-size: 12px;
}

.client-logo-drop.is-dragging {
  background: rgba(20, 121, 201, 0.08);
  border-color: var(--blue);
}

.client-logo-drop.has-image img {
  display: block;
}

.client-logo-drop.has-image span,
.client-logo-drop.has-image small {
  display: none;
}

.client-admin-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.client-admin-form input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.18);
  border-radius: 8px;
  font: inherit;
}

.client-admin-form button {
  min-height: 38px;
  padding: 0 14px;
  color: white;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.client-admin-form-actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

.client-admin-form-actions button {
  white-space: nowrap;
}

.client-admin-form-actions button[type="button"] {
  color: var(--blue);
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.24);
}

.client-admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.client-admin-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 8px;
}

.client-admin-item.is-editing {
  background: #eef8ff;
  border-color: rgba(20, 121, 201, 0.34);
  box-shadow: inset 3px 0 0 var(--blue);
}

.client-admin-item.is-dragging {
  opacity: 0.5;
}

.client-admin-thumb {
  display: grid;
  place-items: center;
  height: 44px;
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.1);
  border-radius: 6px;
}

.client-admin-thumb img {
  max-width: 90%;
  max-height: 32px;
  object-fit: contain;
}

.client-admin-name {
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-admin-list button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
}

.client-admin-list [data-client-delete] {
  color: #c83333;
}

.work-admin-toggle {
  margin-left: auto;
}

.work-admin-panel {
  position: relative;
  z-index: 2;
  display: none;
  margin: 18px 0 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 121, 201, 0.12);
}

.work-admin-panel.is-open {
  display: block;
}

.admin-login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.admin-login-modal.is-open {
  display: grid;
}

.admin-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 26, 0.58);
  backdrop-filter: blur(12px);
}

.admin-login-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  padding: 28px;
  background:
    radial-gradient(circle at 85% 0%, rgba(73, 215, 200, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 121, 201, 0.18);
  border-radius: 10px;
  box-shadow: 0 34px 90px rgba(7, 16, 22, 0.24);
}

.admin-login-dialog h2,
.admin-login-dialog p {
  margin: 0;
}

.admin-login-dialog h2 {
  font-size: 30px;
}

.admin-login-dialog p:not(.eyebrow):not(.admin-login-error) {
  color: var(--muted);
  line-height: 1.65;
}

.admin-login-dialog label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.admin-login-dialog input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.2);
  border-radius: 8px;
  font: inherit;
}

.admin-login-dialog input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(20, 121, 201, 0.12);
}

.admin-login-dialog button[type="submit"] {
  min-height: 44px;
  color: white;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.admin-login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 999px;
  cursor: pointer;
}

.admin-login-error {
  padding: 10px 12px;
  color: #a83232;
  background: #fff4f4;
  border: 1px solid rgba(200, 51, 51, 0.18);
  border-radius: 8px;
  font-weight: 700;
}

.client-admin-note code {
  padding: 2px 6px;
  color: var(--blue);
  background: rgba(20, 121, 201, 0.08);
  border-radius: 6px;
}

.work-admin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 8px;
}

.work-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-admin-media {
  display: grid;
  grid-template-rows: repeat(2, auto) repeat(2, auto) auto;
  gap: 12px;
  min-width: 0;
}

.work-admin-fields {
  min-width: 0;
}

.work-admin-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.work-title-field,
.work-category-checks {
  grid-column: 1 / -1;
}

.work-category-checks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, auto));
  justify-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--muted);
  border: 0;
}

.work-category-checks legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
}

.work-category-checks label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.work-category-checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.work-category-checks span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--blue);
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  pointer-events: none;
}

.work-category-checks input:checked + span {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(20, 121, 201, 0.18);
}

.work-admin-wide {
  grid-column: span 2;
}

.work-admin-form input,
.work-admin-form select,
.work-admin-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.18);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.work-image-drop {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 138px;
  aspect-ratio: 16 / 9;
  padding: 14px;
  overflow: hidden;
  color: var(--blue);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(20, 121, 201, 0.08), rgba(73, 215, 200, 0.08)),
    #ffffff;
  border: 1px dashed rgba(20, 121, 201, 0.36);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.work-image-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.work-image-drop img {
  position: absolute;
  inset: 8px;
  display: none;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  border-radius: 6px;
}

.work-image-drop span,
.work-image-drop small {
  position: relative;
  z-index: 1;
}

.work-image-drop span {
  align-self: end;
  font-weight: 800;
}

.work-image-drop small {
  align-self: start;
  max-width: 210px;
  color: var(--muted);
  line-height: 1.45;
}

.work-image-drop.is-dragging {
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(20, 121, 201, 0.16);
  transform: translateY(-1px);
}

.work-image-drop.has-image {
  min-height: 138px;
  color: white;
  border-style: solid;
}

.work-image-drop.has-image img {
  display: block;
}

.work-image-drop.has-image::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent 44%, rgba(7, 16, 22, 0.66));
}

.work-image-drop.has-image small {
  color: rgba(255, 255, 255, 0.82);
}

.work-admin-form button {
  min-height: 40px;
  padding: 0 16px;
  color: white;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.work-admin-submit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.work-edit-cancel {
  color: var(--ink) !important;
  background: white !important;
  border: 1px solid rgba(20, 121, 201, 0.18) !important;
}

.work-admin-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.work-admin-item {
  display: grid;
  grid-template-columns: 28px 92px minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 8px;
  cursor: grab;
}

.work-admin-item:active {
  cursor: grabbing;
}

.work-admin-item.is-dragging {
  opacity: 0.5;
}

.work-admin-drag {
  display: grid;
  place-items: center;
  width: 28px;
  height: 42px;
  color: rgba(20, 121, 201, 0.65);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
}

.work-admin-item.is-editing {
  background: rgba(20, 121, 201, 0.08);
  border-color: rgba(20, 121, 201, 0.3);
  box-shadow: inset 3px 0 0 var(--blue);
}

.work-admin-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.1);
  border-radius: 6px;
}

.work-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-admin-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.work-admin-name strong,
.work-admin-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-admin-name strong {
  color: var(--ink);
}

.work-admin-name small {
  color: var(--muted);
}

.work-admin-list button {
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.work-admin-list [data-work-delete] {
  color: #c83333;
}

.work-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  color: var(--muted);
  text-align: center;
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 8px;
}

.works {
  position: relative;
  padding-top: 86px;
  padding-bottom: 76px;
  background:
    linear-gradient(180deg, rgba(20, 121, 201, 0.1), transparent 1px),
    radial-gradient(circle at 86% 8%, rgba(53, 174, 240, 0.08), transparent 24%),
    #ffffff;
}

.works::before,
.process::before,
.contact::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 80px);
  right: clamp(20px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 121, 201, 0.24), transparent 72%);
}

.work-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.work-toolbar h2 {
  margin: 0;
}

.work-toolbar > p {
  max-width: 480px;
  margin: 0 0 3px;
  color: var(--muted);
  line-height: 1.75;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.filter-chip {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  background: #f4f7f6;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
}

.filter-chip.is-active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.work-grid:has(.work-card:only-child) {
  grid-template-columns: minmax(300px, 420px);
}

.work-grid.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.work-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
}

.work-pagination[hidden] {
  display: none;
}

.work-page-nav,
.work-page-dots button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 121, 201, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.work-page-nav {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

.work-page-nav:hover,
.work-page-dots button:hover {
  border-color: rgba(20, 121, 201, 0.36);
  background: white;
  transform: translateY(-1px);
}

.work-page-status {
  min-width: 48px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.work-page-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-page-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 121, 201, 0.24);
}

.work-page-dots button.is-active {
  width: 26px;
  background: var(--blue);
}

.work-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(20, 121, 201, 0.12);
  box-shadow: 0 18px 46px rgba(20, 121, 201, 0.08);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(20, 121, 201, 0.24);
  box-shadow: 0 28px 68px rgba(20, 121, 201, 0.13);
  outline: 0;
}

.work-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(73, 215, 200, 0.1), transparent 30%),
    linear-gradient(135deg, #f9fcff, #eef8ff);
  border-bottom: 1px solid rgba(20, 121, 201, 0.12);
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  filter: saturate(1) contrast(0.98) brightness(1.04);
  transition: transform 0.55s ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.035);
}

.work-card-body {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.work-card-body::before {
  content: "";
  width: 42px;
  height: 3px;
  margin-bottom: 2px;
  background: var(--blue);
  border-radius: 999px;
}

.work-card-body p {
  width: fit-content;
  margin: -2px 0 0;
  padding: 5px 9px;
  color: var(--blue);
  background: rgba(20, 121, 201, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.work-card-body h3 {
  margin: 0;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.22;
}

.case-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.case-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 34, 43, 0.48);
  backdrop-filter: blur(8px);
}

.case-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 44px));
  max-height: calc(100svh - 44px);
  overflow: auto;
  background:
    radial-gradient(circle at 82% 0%, rgba(73, 215, 200, 0.12), transparent 26%),
    white;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 36px 110px rgba(7, 16, 22, 0.36);
}

.case-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 121, 201, 0.14);
  border-radius: 50%;
  cursor: pointer;
}

.case-dialog-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(24px, 3vw, 42px);
}

.case-header {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: end;
  padding-right: 42px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 121, 201, 0.13);
}

.case-header h2 {
  margin: 0;
  font-size: clamp(34px, 3.25vw, 54px);
  line-height: 1.08;
}

.case-header .eyebrow {
  grid-column: 1;
}

.case-header h2 {
  grid-column: 1;
}

.case-header > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.78;
}

.case-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.case-gallery {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(10px, 1.4vw, 18px);
  min-height: 0;
  background:
    linear-gradient(135deg, #f7fbff 0%, #ffffff 54%, #eef8ff 100%);
  border: 1px solid rgba(20, 121, 201, 0.12);
  border-radius: 8px;
}

.case-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(20, 121, 201, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 121, 201, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.case-image-main {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #f8fbff;
  border: 1px solid rgba(20, 121, 201, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 121, 201, 0.12);
  transition: opacity 0.18s ease;
}

.case-image-main.is-loading {
  opacity: 0.45;
}

.case-side-images {
  display: none;
}

.case-side-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #02060a;
  border: 1px solid rgba(20, 121, 201, 0.14);
  border-radius: 8px;
  opacity: 0.92;
  cursor: pointer;
}

.case-side-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-info-panel {
  display: grid;
  align-content: start;
  padding: 0;
  background: transparent;
}

.case-label {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.case-meta {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.95fr;
  gap: 14px;
  margin: 0;
}

.case-meta div {
  position: relative;
  padding: 18px 20px 20px;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 121, 201, 0.13);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 121, 201, 0.055);
}

.case-meta div:nth-child(2) {
  background: linear-gradient(180deg, rgba(235, 248, 255, 0.78), rgba(255, 255, 255, 0.96));
  border-color: rgba(20, 121, 201, 0.22);
}

.case-meta div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 40px;
  height: 3px;
  background: rgba(20, 121, 201, 0.42);
  border-radius: 0 0 999px 999px;
}

.case-meta div:nth-child(2)::before {
  width: 68px;
  background: var(--blue);
}

.case-meta dt {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.76;
}

.case-bullet-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-bullet-list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.62;
}

.case-bullet-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.process {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 121, 201, 0.08), transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(73, 215, 200, 0.12), transparent 28%),
    #f3f9ff;
  border-top: 1px solid rgba(20, 121, 201, 0.1);
}

.process .section-heading {
  max-width: none;
}

.process .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(28px, 2.45vw, 38px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  position: relative;
  min-height: 230px;
  padding: 30px 28px 0 0;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.process-list span::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(20, 121, 201, 0.1);
}

.process-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(20, 121, 201, 0.13), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(73, 215, 200, 0.16), transparent 26%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 54%, #eef7ff 100%);
  border-top: 1px solid rgba(20, 121, 201, 0.12);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(20, 121, 201, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 121, 201, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.6fr);
  gap: 56px;
  align-items: stretch;
}

.contact-main {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.contact-main h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.18;
}

.contact-vision {
  margin: 12px 0 22px;
  color: var(--blue);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.contact-main > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-card {
  align-self: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 121, 201, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(20, 121, 201, 0.12);
  backdrop-filter: blur(14px);
}

.contact-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 0;
  border-top: 1px solid rgba(20, 121, 201, 0.14);
}

.contact-icon,
.contact-action-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.contact-icon {
  color: var(--blue);
  background: rgba(20, 121, 201, 0.08);
  font-weight: 900;
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
}

.contact-item:nth-of-type(1) .contact-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.5h16v11H4z' stroke='%231479c9' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6' stroke='%231479c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-item:nth-of-type(2) .contact-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s6-5.1 6-11a6 6 0 1 0-12 0c0 5.9 6 11 6 11Z' stroke='%231479c9' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M12 12.2a2.2 2.2 0 1 0 0-4.4 2.2 2.2 0 0 0 0 4.4Z' stroke='%231479c9' stroke-width='2'/%3E%3C/svg%3E");
}

.contact-item:nth-of-type(3) .contact-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h3V4h-3c-3 0-5 2-5 5v2H6v4h3v5h4v-5h3.2l.8-4h-4V9c0-.6.4-1 1-1Z' stroke='%231479c9' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-action-icon {
  color: var(--blue);
  background: white;
  border: 1px solid rgba(20, 121, 201, 0.16);
  font-weight: 900;
  font-size: 0;
  text-decoration: none;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-action-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17 17 7M10 7h7v7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-action-icon:hover {
  border-color: rgba(20, 121, 201, 0.42);
  transform: translateY(-1px);
}

.contact-details dt {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: normal;
  word-break: keep-all;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1060px) {
  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .process-list,
  .about-seals,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .capability-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-seals-copy li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .work-toolbar {
    display: block;
  }

  .work-toolbar > p {
    margin-top: 12px;
  }

  .client-heading {
    display: block;
  }

  .client-heading > p {
    margin-top: 10px;
  }

  .client-grid {
    justify-content: center;
    max-width: 760px;
    gap: 12px;
    min-height: 226px;
  }

  .client-grid figure {
    flex-basis: calc((100% - 12px) / 2);
    height: 108px;
  }

  .contact-main {
    min-height: auto;
    padding: 20px 0 0;
  }

  .contact-card {
    align-self: stretch;
    width: 100%;
  }

  .client-admin-list {
    grid-template-columns: 1fr;
  }

  .client-admin-form {
    grid-template-columns: 1fr;
  }

  .work-admin-form,
  .work-admin-list {
    grid-template-columns: 1fr;
  }

  .work-admin-fields {
    grid-template-columns: 1fr;
  }

  .work-category-checks {
    grid-template-columns: repeat(3, minmax(0, auto));
  }

  .work-admin-wide {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .client-grid {
    justify-content: center;
    max-width: 100%;
    min-height: 188px;
  }

  .client-grid figure {
    flex-basis: calc((100% - 12px) / 2);
    height: 88px;
    padding: 8px 10px;
  }

  .client-slider-head,
  .client-admin-header,
  .client-admin-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-admin-item {
    grid-template-columns: 28px 82px minmax(0, 1fr) auto auto auto auto;
  }

  .work-category-checks {
    grid-template-columns: repeat(2, minmax(0, auto));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  .brand {
    width: 124px;
    min-width: 124px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 94px 18px 40px;
  }

  #hero-scene {
    opacity: 0.34;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 46%, rgba(255, 255, 255, 0.72) 70%, rgba(255, 255, 255, 0.08) 100%),
      radial-gradient(circle at 74% 58%, rgba(20, 121, 201, 0.08), transparent 34%);
  }

  h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  .hero-title-highlight {
    border-radius: 6px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-main > p:not(.eyebrow) {
    font-size: 16px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-item {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .contact-details dd {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .proof-row {
    display: none;
  }

  .section {
    padding: 70px 18px;
  }

  .capability-strip {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .capability-row {
    grid-template-columns: 1fr;
  }

  .capability-row a,
  .capability-row a:nth-child(2) {
    min-height: auto;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process .section-heading h2 {
    white-space: normal;
  }

  .process-list li {
    min-height: auto;
  }

  .client-grid {
    gap: 10px;
    min-height: 194px;
  }

  .client-grid figure {
    flex-basis: calc((100% - 10px) / 2);
    height: 92px;
    padding: 10px 12px;
  }

  .client-slider-actions {
    width: 100%;
  }

  .client-admin-toggle {
    margin-left: auto;
  }

  .client-admin-item {
    grid-template-columns: 54px minmax(0, 1fr) auto auto auto;
  }

  .work-admin-item {
    grid-template-columns: 24px 72px minmax(0, 1fr) auto auto;
  }

  .work-admin-item [data-work-move] {
    display: none;
  }

  .process-list {
    border-top: 0;
    gap: 18px;
  }

  .process-list li {
    padding: 0 0 0 26px;
    border-right: 0;
    border-left: 1px solid var(--line);
  }

  .process-list span {
    margin-bottom: 12px;
  }

  .process-list span::before {
    top: 4px;
    left: -6px;
  }

  .work-card,
  .work-card.large {
    min-height: 0;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .case-dialog {
    max-height: calc(100svh - 28px);
  }

  .case-dialog-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding: 22px;
    min-height: 0;
    gap: 18px;
  }

  .case-header,
  .case-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-right: 0;
  }

  .case-header .eyebrow,
  .case-header h2,
  .case-header > p:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .case-gallery,
  .case-info-panel {
    padding: 0;
    background: transparent;
  }

  .case-gallery::after {
    display: none;
  }

  .case-image-main {
    aspect-ratio: 16 / 9;
  }

  .case-side-images {
    display: none;
  }

  .case-side-shot {
    aspect-ratio: 4 / 3;
  }
}
