:root {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --display: "Anton", Impact, sans-serif;
  --radius: 16px;
  --container: 1240px;
  --gut: clamp(20px, 5vw, 48px);
  --accent-ink: #ffffff;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #eef2f9;
  --surface: #f5f7fd;
  --surface-2: #e9eef8;
  --ink: #0a1430;
  --muted: #5a6880;
  --accent: #1e5eff;
  --line: rgba(10, 20, 48, 0.12);
  --stroke: rgba(10, 20, 48, 0.1);
  --glass: rgba(255, 255, 255, 0.8);
  --shadow: 0 20px 60px rgba(10, 20, 48, 0.14);
  --thumb: rgba(10, 20, 48, 0.22);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0e1a;
  --bg-2: #0e1424;
  --surface: #141b30;
  --surface-2: #1a2340;
  --ink: #f2f5ff;
  --muted: #98a3c0;
  --accent: #6ca6ff;
  --accent-ink: #0a0e1a;
  --line: rgba(242, 245, 255, 0.12);
  --stroke: rgba(242, 245, 255, 0.08);
  --glass: rgba(10, 14, 26, 0.82);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --thumb: #2a3452;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  transition: background 0.35s ease, color 0.35s ease;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--thumb);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

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

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

h1, h2, h3, h4 {
  line-height: 1.05;
  font-weight: 400;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

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

.container {
  width: min(var(--container), 100% - var(--gut) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 16px;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 28%, transparent);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--lg {
  padding: 20px 42px;
  font-size: 1.1rem;
}

/* ---------- Floating "Work together" ---------- */

.float-cta {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 130;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(4, 12, 32, 0.4), 0 2px 8px rgba(0, 46, 120, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.float-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(4, 12, 32, 0.5), 0 4px 12px rgba(0, 46, 120, 0.4);
}

@media (max-width: 560px) {
  .float-cta {
    right: 12px;
    bottom: 12px;
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* ---------- Theme toggle ---------- */

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

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.theme-toggle .icon {
  width: 20px;
  height: 20px;
}

:root[data-theme="dark"] .icon-sun {
  display: block;
}
:root[data-theme="dark"] .icon-moon {
  display: none;
}
:root[data-theme="light"] .icon-sun {
  display: none;
}
:root[data-theme="light"] .icon-moon {
  display: block;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0;
}
.logo-img {
  height: clamp(28px, 5vw, 40px);
  width: auto;
}
:root[data-theme="light"] .logo-img--light {
  display: block;
}
:root[data-theme="light"] .logo-img--dark {
  display: none;
}
:root[data-theme="dark"] .logo-img--light {
  display: none;
}
:root[data-theme="dark"] .logo-img--dark {
  display: block;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.25s;
}
.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  align-items: stretch;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}
.mobile-menu-inner {
  width: 100%;
  display: grid;
  align-content: center;
  min-height: 100dvh;
  gap: 6px;
  padding-inline: var(--gut);
  padding-top: calc(80px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}
.menu-link {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 12vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-block: 8px;
  transition: color 0.25s, transform 0.25s;
}
.menu-link:hover {
  color: var(--accent);
  transform: translateX(6px);
}
.menu-cta {
  justify-self: start;
  margin-top: 24px;
}
.menu-socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.menu-socials a {
  color: var(--muted);
}
.menu-socials a:hover {
  color: var(--ink);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Eyebrow / section titles ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 14px;
}
.section-title em {
  color: var(--accent);
  text-transform: lowercase;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(38px, 6vw, 64px);
}
.section-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.view-all:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.section-note {
  color: var(--muted);
  max-width: 46ch;
}
.section-note a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.section-note a:hover {
  border-bottom-color: currentColor;
}

section {
  padding-block: clamp(72px, 10vw, 120px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--display);
  font-size: clamp(7rem, 24vw, 22rem);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vw, 44px);
  padding-block: clamp(40px, 7vw, 90px);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9.5vw, 8.4rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
}
.hero-title .line {
  display: block;
}
.hero-title em {
  color: var(--accent);
  text-transform: lowercase;
}

.hero-bottom {
  display: grid;
  gap: 28px;
  max-width: 620px;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-block: 18px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  white-space: nowrap;
}
.marquee-track b {
  color: var(--accent);
  font-size: 1.1rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Work ---------- */

.work {
  padding-top: clamp(36px, 4vw, 56px);
}
.work--page {
  padding-top: clamp(72px, 10vw, 120px);
  border-bottom: 1px solid var(--line);
}
.work--page .section-title {
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  margin-top: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter {
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.work-card-wrap {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.work-card-wrap.hidden {
  display: none;
}
.work-card-wrap.showing {
  animation: cardIn 0.5s ease both;
}
.work-card-wrap .work-card {
  transition: none;
}

.work-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.work-card.hidden {
  display: none;
}
.work-card.showing {
  animation: cardIn 0.5s ease both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.work-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 2vw, 20px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
  background-size: cover;
  background-position: center;
}
.work-card:hover .work-art {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.work-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
  border-radius: 0 var(--radius) 0 100%;
  pointer-events: none;
}
.work-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.watermark {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: rgba(238, 242, 255, 0.94);
  line-height: 0.9;
  transform: rotate(-5deg) translateY(6px);
  transform-origin: bottom left;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.work-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
}
.work-cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.work-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.work-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all 0.3s ease;
}
.work-card:hover .work-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}

.work-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 48px);
}
.work-more .btn {
  min-width: min(100%, 260px);
}

.work-footnote {
  margin-top: 36px;
  color: var(--muted);
}
.work-footnote a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.work-footnote a:hover {
  border-bottom-color: currentColor;
}

/* ---------- Services ---------- */

.services {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-row:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.service-num {
  font-family: var(--display);
  color: var(--accent);
  font-size: 1.4rem;
}

.service-name {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.service-desc {
  color: var(--muted);
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink);
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.service-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
}
.service-link {
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.service-link:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.service-row:hover .service-num {
  color: var(--accent);
  opacity: 1;
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.price-card--popular {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--accent) 30%, transparent);
}
.price-card--popular .price-desc,
.price-card--popular .price-feats {
  color: color-mix(in srgb, var(--accent-ink) 80%, transparent);
}
.price-card--popular .price-feats li::before {
  color: var(--accent-ink);
}
.price-card--popular .btn--ghost {
  border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent);
  color: var(--accent-ink);
}
.price-card--popular .btn--ghost:hover {
  border-color: var(--accent-ink);
}

.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price-tier {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.price-amt {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.price-desc {
  color: var(--muted);
  min-height: 3.2em;
}

.price-feats {
  list-style: none;
  display: grid;
  gap: 12px;
  flex: 1;
}
.price-feats li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-card .btn {
  margin-top: 8px;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.process-step {
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.process-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.process-step h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- About ---------- */

.about {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding-top: clamp(8px, 1.2vw, 16px);
  padding-bottom: clamp(36px, 4vw, 56px);
}
.about-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.about-visual {
  display: grid;
}
.about-card {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 150% at 80% 10%, rgba(110,205,255,0.9) 0%, rgba(110,205,255,0) 55%),
    radial-gradient(120% 150% at 10% 95%, rgba(30,60,180,0.85) 0%, rgba(30,60,180,0) 55%),
    linear-gradient(160deg, #101a36 0%, #070b18 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 26px);
}
.about-card-top,
.about-card-bottom {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(238, 242, 255, 0.92);
}
.about-card-mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(10rem, 30vw, 22rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(238, 242, 255, 0.3);
  transform: rotate(-8deg);
}

.about-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}
.about-copy p {
  color: var(--muted);
  max-width: 58ch;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-stats strong {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  display: block;
  line-height: 1;
}
.about-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Testimonials ---------- */

.testimonial-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testimonial-track {
  display: flex;
  width: max-content;
  animation: tslide 38s linear infinite;
  cursor: grab;
  touch-action: pan-y;
}
.testimonial-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.testimonial-track:hover,
.testimonial-track:focus-within {
  animation-play-state: paused;
}

@keyframes tslide {
  to {
    transform: translateX(-50%);
  }
}

.testimonial {
  flex: 0 0 min(560px, 82vw);
  width: min(560px, 82vw);
  margin-right: 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}
.testimonial:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.testimonial p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.4;
}
.testimonial footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial footer strong {
  display: block;
  font-size: 1rem;
}
.testimonial footer span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Clients ---------- */

.clients {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.clients .section-head {
  margin-bottom: clamp(40px, 6vw, 60px);
}

.logo-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding-block: 10px;
  cursor: grab;
  touch-action: pan-y;
  animation: logoslide 38s linear infinite;
  will-change: transform;
}
.logo-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.logo-track:hover,
.logo-track:focus-within {
  animation-play-state: paused;
}

@keyframes logoslide {
  to {
    transform: translateX(-50%);
  }
}

.client-logo {
  color: var(--muted);
  white-space: nowrap;
  flex: 0 0 auto;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.2;
  cursor: default;
  transition: color 0.3s ease, transform 0.3s ease;
}
.client-logo:hover {
  color: var(--accent);
  transform: translateY(-3px);
}
.client-logo b {
  color: var(--accent);
  font-weight: 400;
  margin-inline: 6px;
  font-size: 0.6em;
}
.client-logo--img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 380px;
  height: 100px;
  padding-inline: 4px;
  overflow: hidden;
}
.client-logo--img img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.3s ease;
}
.client-logo--img:hover img {
  filter: grayscale(0) opacity(1);
}
.logo-track[data-logo-mode="color"] .client-logo--img img {
  filter: none;
}
.logo-track[data-logo-mode="gray"] .client-logo:hover {
  color: var(--muted);
  transform: none;
}
.logo-track[data-logo-mode="gray"] .client-logo--img:hover img {
  filter: grayscale(1) opacity(0.65);
}
.logo-track[data-logo-mode="gray"] .client-logo b {
  color: var(--muted);
}

.l-serif {
  font-family: var(--serif);
  font-weight: 400;
}
.l-serif-italic {
  font-family: var(--serif);
  font-style: italic;
}
.l-wide {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.l-display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.l-italic-wide {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.l-bold-italic {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.l-light {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Images marquee ---------- */

.imgs-root {
  padding-block: 16px 0;
}
.imgs-root[hidden] {
  display: none;
}
.imgs-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  display: grid;
  gap: 10px;
  padding-block: 8px;
}
.imgs-track {
  display: flex;
  width: max-content;
}
.imgs-item {
  flex: 0 0 auto;
  margin-right: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.imgs-item img {
  display: block;
  height: clamp(180px, 19vw, 270px);
  width: auto;
  max-width: none;
  object-fit: contain;
}
.imgs-track--a {
  animation: imgs-left 48s linear infinite;
}
.imgs-track--b {
  animation: imgs-right 56s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .imgs-track--a,
  .imgs-track--b {
    animation: none;
  }
}
@keyframes imgs-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes imgs-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.faq-head {
  position: sticky;
  top: 96px;
  align-self: start;
}
.faq-head .section-note {
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.is-open {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
}
.faq-q b {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-q b {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  text-align: center;
  padding-block: clamp(90px, 14vw, 160px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact::before {
  content: "INBOX";
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--display);
  font-size: clamp(6rem, 22vw, 20rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
  white-space: nowrap;
  pointer-events: none;
}

.contact > .container {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.contact-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 7.5rem);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.contact-title em {
  color: var(--accent);
  text-transform: lowercase;
}
.contact-sub {
  color: var(--muted);
  max-width: 46ch;
}
.contact-actions {
  margin-top: 12px;
}
.contact-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
  }
  70% {
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
  }
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.contact-form {
  width: min(620px, 100%);
  display: grid;
  gap: 14px;
  text-align: left;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cf-field {
  display: grid;
  gap: 7px;
}
.cf-field span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  resize: vertical;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form .btn {
  justify-self: start;
}
.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.cf-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.3em;
}
.cf-status.ok {
  color: var(--accent);
}
.cf-status.err {
  color: #ff6b6b;
}
.contact-form.invalid input:invalid,
.contact-form.invalid textarea:invalid {
  border-color: #ff6b6b;
}
@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a,
.back-top {
  color: var(--muted);
  transition: color 0.25s;
}
.footer-nav a:hover,
.back-top:hover {
  color: var(--accent);
}

/* ---------- Project page ---------- */

.project-hero {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.project-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s;
}
.project-back:hover {
  color: var(--accent);
}
.project-back-note {
  color: var(--muted);
  font-size: 0.85rem;
}
.project-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.project-title em {
  color: var(--accent);
  text-transform: lowercase;
}
.project-lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}
.project-visual {
  margin-top: clamp(34px, 6vw, 64px);
}
.project-hero-art {
  position: relative;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 3vw, 32px);
}
.project-hero-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
  border-radius: 0 var(--radius) 0 100%;
  pointer-events: none;
}
.project-hero-art .watermark {
  font-size: clamp(3.6rem, 12vw, 8rem);
}
.project-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.project-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-body {
  padding-block: clamp(56px, 8vw, 96px);
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.project-main {
  min-width: 0;
}
.project-copy {
  max-width: 680px;
}
.project-para {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.project-para + .project-para {
  margin-top: 20px;
}
.project-facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  height: fit-content;
}
.project-facts h3 {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-fact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.project-fact span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.project-fact strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.project-stats {
  border-block: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 64px);
}
.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.project-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-stat strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
}
.project-stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.project-gallery {
  margin-top: clamp(40px, 6vw, 72px);
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--gcols, 1), minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}
.project-gallery-item {
  margin: 0;
}
.project-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.project-gallery-item:hover img {
  transform: scale(1.015);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-gallery-item figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.project-recommended {
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 8vw, 96px);
}
.project-recommended-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.project-recommended-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
.project-recommended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

@media (max-width: 899px) {
  .project-recommended-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 619px) {
  .project-recommended-grid {
    grid-template-columns: 1fr;
  }
}

.project-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}
.project-cta .section-title {
  margin-top: 0;
  margin-bottom: 14px;
}
.project-cta .section-note {
  max-width: 46ch;
  margin: 0 auto 28px;
}
.project-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.project-missing {
  min-height: 70svh;
  padding-block: clamp(80px, 12vw, 140px);
  border-bottom: 1px solid var(--line);
}
.project-missing .project-title {
  margin-top: 24px;
}

/* ---------- Responsive ---------- */

@media (min-width: 620px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 619px) {
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .site-nav {
    gap: 16px;
  }
  .site-nav a {
    font-size: 0.85rem;
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
  }
  .section-note {
    justify-self: end;
    text-align: right;
  }
  .section-side .section-note {
    justify-self: stretch;
    text-align: right;
  }
  .section-side {
    justify-self: end;
    align-items: flex-end;
  }

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

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

  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-card--popular {
    transform: translateY(-12px);
  }
  .price-card--popular:hover {
    transform: translateY(-16px);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 5fr 6fr;
    align-items: center;
  }
  .about-card {
    aspect-ratio: 5 / 6;
  }

  .faq-grid {
    grid-template-columns: 1fr 1.6fr;
  }

  .project-grid {
    grid-template-columns: 320px 1fr;
  }
  .project-facts {
    position: sticky;
    top: calc(63px + clamp(20px, 3vw, 32px));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 899px) {
  .header-cta {
    display: none;
  }
  .faq-head {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
   Work-together page (job / volunteer / service)
   ============================================================ */
.hero--page {
  min-height: 0;
  padding-block: clamp(88px, 12vh, 132px) clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.hero--page .hero-bottom {
  margin-top: clamp(22px, 3.5vw, 40px);
}

.work-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gut) clamp(14px, 2vw, 22px);
  margin-top: clamp(28px, 4vw, 52px);
}

.work-type-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 1.5vw, 16px);
  text-align: left;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.work-type-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.work-type-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.work-type-card.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), var(--shadow);
  background: var(--surface-2);
}

.work-type-num {
  font-family: var(--display);
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.9;
}

.work-type-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.work-type-desc {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--muted);
}

.work-type-arrow {
  margin-top: auto;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.work-type-card:hover .work-type-arrow,
.work-type-card.is-active .work-type-arrow {
  transform: translateX(6px);
}

.work-form {
  padding: clamp(48px, 8vw, 96px) 0;
}

.form-shell {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.form-note {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: clamp(22px, 3vw, 32px);
}

.job-type-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  margin-bottom: 28px;
}

.job-type {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.job-type.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.job-schedule-preview {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.work-form-fields {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(20px, 3vw, 30px);
}

.work-form-fields label {
  display: grid;
  gap: 7px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.work-form-fields input,
.work-form-fields select,
.work-form-fields textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.work-form-fields input::placeholder,
.work-form-fields textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.work-form-fields select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23809' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.work-form-fields input:focus,
.work-form-fields select:focus,
.work-form-fields textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--stroke);
  outline: none;
}

.work-form-fields textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.form-note--ok {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-note--error {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(220, 60, 60, 0.35);
  border-radius: 10px;
  background: rgba(220, 60, 60, 0.08);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .work-type-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Booking ---------- */

.booking-body {
  padding-block: clamp(104px, 14vh, 132px) clamp(48px, 7vw, 88px);
}

.booking-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.booking-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.booking-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: clamp(16px, 2.5vw, 22px);
}

.booking-amount {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--accent);
}

.booking-period {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
}

.booking-lead {
  max-width: 62ch;
  margin-top: clamp(14px, 2vw, 18px);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: var(--muted);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.booking-block {
  margin-top: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.booking-block h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.booking-block ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.booking-block li {
  display: flex;
  gap: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.booking-block li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

.booking-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 36px);
}

.booking-card h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.booking-card-note {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.booking-field {
  display: grid;
  gap: 7px;
  margin-bottom: clamp(14px, 2vw, 18px);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.booking-field input,
.booking-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.booking-field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.booking-field input:focus,
.booking-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--stroke);
  outline: none;
}

.booking-platforms {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(14px, 2vw, 18px);
}

.booking-platforms legend {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 9px;
}

.booking-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.booking-platform {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.booking-platform:hover {
  border-color: var(--accent);
}

.booking-platform input {
  accent-color: var(--accent);
  width: auto;
  flex: none;
}

.booking-options {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(14px, 2vw, 18px);
}

.booking-options legend {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.booking-field-hint {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 9px;
}

.booking-option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.booking-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.booking-option:hover {
  border-color: var(--accent);
}

.booking-option input {
  accent-color: var(--accent);
  width: auto;
  flex: none;
}

.booking-option-label {
  font-weight: 500;
  flex: 1;
}

.booking-option-price {
  font-size: 0.88rem;
  color: var(--accent);
  white-space: nowrap;
}

.booking-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  margin: clamp(16px, 2.2vw, 22px) 0 12px;
  padding-top: clamp(12px, 1.8vw, 16px);
  border-top: 1px dashed var(--line);
}

.booking-total b {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--accent);
}

.booking-card .btn--lg {
  width: 100%;
  margin-top: 6px;
}

@media (max-width: 860px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

/* Booking responsive refinements */
.booking-info {
  min-width: 0;
}
.booking-title {
  overflow-wrap: break-word;
}
.booking-platform {
  min-width: 0;
}
.booking-platform span,
.booking-option-label {
  overflow-wrap: anywhere;
}
@media (max-width: 379px) {
  .booking-platform-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 900px) {
  .booking-card {
    position: sticky;
    top: 96px;
  }
  .booking-grid {
    align-items: start;
  }
}

/* ============================================================
   Responsive enhancements
   ============================================================ */

/* Notched / rounded devices: keep content clear of the hardware insets */
.site-header {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.float-cta {
  right: calc(clamp(14px, 3vw, 32px) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(14px, 3vw, 32px) + env(safe-area-inset-bottom, 0px));
}

/* Small phones: scale down decorative type so nothing clips or crowds */
@media (max-width: 480px) {
  .hero-watermark {
    font-size: clamp(4.6rem, 26vw, 7rem);
  }
  .about-card-mono {
    font-size: clamp(7rem, 34vw, 12rem);
  }
  .hero-title {
    font-size: clamp(2.5rem, 12.5vw, 3.4rem);
  }
  .contact-title {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }
  .section-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .header-inner {
    gap: 12px;
  }
  .about-grid,
  .about-stats {
    gap: 28px;
  }
}

/* Short viewports (landscape phones): keep the menu within reach */
@media (max-height: 720px) {
  .mobile-menu-inner {
    min-height: 0;
    align-content: start;
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
  }
  .menu-link {
    font-size: clamp(1.5rem, 6vw, 2.1rem);
    padding-block: 6px;
  }
  .menu-cta {
    margin-top: 16px;
  }
}

/* Tablets: give the hero blurb the full width */
@media (min-width: 620px) and (max-width: 899px) {
  .hero-bottom {
    max-width: 100%;
  }
}

/* Very large screens: let the layout breathe a little more */
@media (min-width: 1700px) {
  :root {
    --container: 1320px;
  }
}
