@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }


  :root {
    /* Primitive palette */
    --primitive-paper: oklch(0.957 0.003 85);
    --primitive-paper-deep: oklch(0.925 0.005 85);
    --primitive-ink: oklch(0.18 0.004 285);
    --primitive-ink-soft: oklch(0.235 0.005 285);
    --primitive-muted: oklch(0.46 0.008 285);
    --primitive-muted-dark: oklch(0.75 0.008 285);
    --primitive-line: oklch(0.84 0.006 85);
    --primitive-line-dark: oklch(0.34 0.008 285);
    --primitive-magenta: oklch(0.61 0.33 347);
    --primitive-magenta-dark: oklch(0.47 0.23 349);

    /* Semantic tokens */
    --surface-page: var(--primitive-paper);
    --surface-section: var(--primitive-paper-deep);
    --surface-inverse: var(--primitive-ink);
    --text-primary: var(--primitive-ink);
    --text-secondary: var(--primitive-muted);
    --text-inverse: var(--primitive-paper);
    --text-inverse-secondary: var(--primitive-muted-dark);
    --action-accent: var(--primitive-magenta);
    --action-accent-readable: var(--primitive-magenta-dark);
    --divider-light: var(--primitive-line);
    --divider-dark: var(--primitive-line-dark);

    /* shadcn compatibility */
    --background: 60 4% 95%;
    --foreground: 240 2% 10%;
    --card: 60 4% 95%;
    --card-foreground: 240 2% 10%;
    --popover: 60 4% 95%;
    --popover-foreground: 240 2% 10%;
    --primary: 326 100% 50%;
    --primary-foreground: 240 2% 10%;
    --secondary: 60 3% 91%;
    --secondary-foreground: 240 2% 10%;
    --muted: 60 3% 91%;
    --muted-foreground: 240 2% 35%;
    --accent: 326 100% 50%;
    --accent-foreground: 240 2% 10%;
    --destructive: 350 80% 45%;
    --destructive-foreground: 60 4% 95%;
    --border: 60 2% 82%;
    --input: 60 2% 82%;
    --ring: 326 100% 50%;
    --radius: 0;
  }

  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background: var(--surface-inverse);
  }

  body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background: var(--surface-page);
    color: var(--text-primary);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

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

  button,
  a,
  select {
    -webkit-tap-highlight-color: transparent;
  }

  button {
    cursor: pointer;
  }

  button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
  }

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

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

  ::selection {
    background: var(--action-accent);
    color: var(--text-primary);
  }

  :focus-visible {
    outline: 2px solid var(--action-accent);
    outline-offset: 4px;
  }
/* Base without a framework */
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { border: 0; padding: 0; background: none; color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.page-shell {
  width: min(calc(100% - 32px), 1400px);
  margin-inline: auto;
}

.section-light {
  background: var(--surface-page);
  color: var(--text-primary);
}

.section-dark {
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.section-padding {
  padding-block: 88px;
}

.section-kicker {
  margin: 0;
  color: var(--action-accent-readable);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--action-accent);
}

.display-heading {
  margin: 20px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.35rem, 9vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-intro {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.section-dark .section-intro {
  color: var(--text-inverse-secondary);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 220ms ease-out, background-color 220ms ease-out, color 220ms ease-out;
}

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

.button-primary {
  background: var(--action-accent);
  color: var(--text-primary);
}

.button-primary:hover {
  background: var(--surface-page);
}

.button svg {
  width: 18px;
  height: 18px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 200ms ease-out, gap 200ms ease-out;
}

.text-link:hover {
  gap: 16px;
  color: var(--action-accent-readable);
}

.text-link-light {
  color: var(--text-inverse);
}

.text-link-light:hover {
  color: var(--action-accent);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid transparent;
  color: var(--text-inverse);
  transition: background-color 240ms ease-out, border-color 240ms ease-out;
}

.site-header.is-scrolled {
  border-color: var(--divider-dark);
  background: color-mix(in oklch, var(--surface-inverse) 95%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 32px), 1500px);
  height: 80px;
  align-items: center;
  margin-inline: auto;
}

.brand-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}

.brand-logo {
  width: 106px;
  height: auto;
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid color-mix(in oklch, var(--text-inverse) 45%, transparent);
  background: transparent;
  color: inherit;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  padding: 112px 24px 32px;
  background: var(--surface-inverse);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 280ms ease-out, opacity 200ms ease-out;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav {
  border-top: 1px solid var(--divider-dark);
}

.mobile-nav-link {
  display: flex;
  min-height: 70px;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--divider-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-nav-link span {
  color: var(--action-accent);
  font-family: "Manrope", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  color: var(--text-inverse-secondary);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.mobile-menu-footer p {
  margin: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.hero-viewport {
  height: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
}

.hero-slide {
  position: relative;
  min-width: 0;
  min-height: 100dvh;
  flex: 0 0 100%;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--surface-inverse) 55%, transparent) 0%, transparent 38%),
    linear-gradient(0deg, color-mix(in oklch, var(--surface-inverse) 92%, transparent) 0%, color-mix(in oklch, var(--surface-inverse) 20%, transparent) 72%),
    linear-gradient(90deg, color-mix(in oklch, var(--surface-inverse) 45%, transparent), transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100dvh;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 174px;
}

.hero-copy {
  max-width: 1000px;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 8px;
  background: var(--action-accent);
  color: var(--text-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4.4rem, 17vw, 10.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.8;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-description {
  max-width: 52ch;
  margin: 28px 0 0;
  color: var(--text-inverse);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 30px;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.72rem;
}

.hero-count strong {
  font-size: 1.2rem;
  font-weight: 500;
}

.hero-count span {
  color: var(--text-inverse-secondary);
}

.hero-dots {
  display: none;
  align-items: center;
}

.hero-dot {
  position: relative;
  width: 38px;
  height: 44px;
  border: 0;
  background: transparent;
}

.hero-dot::after {
  position: absolute;
  top: 50%;
  right: 6px;
  left: 6px;
  height: 1px;
  background: color-mix(in oklch, var(--text-inverse) 40%, transparent);
  content: "";
  transition: background-color 200ms ease-out, transform 200ms ease-out;
}

.hero-dot.is-active::after {
  background: var(--action-accent);
  transform: scaleY(3);
}

.hero-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.icon-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklch, var(--text-inverse) 42%, transparent);
  background: transparent;
  color: var(--text-inverse);
  transition: background-color 200ms ease-out, color 200ms ease-out;
}

.icon-button:hover {
  background: var(--surface-page);
  color: var(--text-primary);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

/* Introduction */
.intro-section {
  padding-block: 88px;
}

.intro-grid {
  display: grid;
  gap: 32px;
}

.intro-grid h2 {
  max-width: 25ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.intro-grid div > p {
  max-width: 65ch;
  margin: 28px 0 0;
  color: var(--text-secondary);
}

/* Services */
.section-heading {
  max-width: 980px;
}

.section-heading-split {
  max-width: none;
}

.services-layout {
  display: grid;
  gap: 48px;
  margin-top: 64px;
}

.service-list {
  border-top: 1px solid var(--divider-dark);
}

.service-row {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--divider-dark);
  padding: 12px 0;
  background: transparent;
  color: var(--text-inverse);
  opacity: 0.5;
  text-align: left;
  transition: opacity 200ms ease-out, color 200ms ease-out;
}

.service-row:hover,
.service-row.is-active {
  color: var(--action-accent);
  opacity: 1;
}

.service-number {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.service-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.service-arrow {
  transition: transform 200ms ease-out;
}

.service-row.is-active .service-arrow {
  transform: translate(3px, -3px);
}

.service-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-section);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail {
  padding-top: 24px;
}

.service-detail-label {
  margin: 0 0 12px;
  color: var(--action-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-description {
  max-width: 62ch;
  margin: 0;
  color: var(--text-inverse);
}

.service-items {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--text-inverse-secondary);
  font-size: 0.84rem;
  list-style: none;
}

.service-items li::before {
  margin-right: 10px;
  color: var(--action-accent);
  content: "—";
}

/* Portfolio */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}

.filter-button {
  min-height: 44px;
  border: 1px solid var(--divider-light);
  padding: 8px 16px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--surface-inverse);
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 16px;
  margin-top: 52px;
}

.project-card {
  display: block;
  min-width: 0;
  grid-column: span 12;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
}

.project-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-section);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease-out, opacity 200ms ease-out;
}

.project-card:hover .project-image {
  transform: scale(1.035);
}

.project-open {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--surface-page);
  color: var(--text-primary);
}

.project-open svg {
  width: 20px;
}

.project-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
}

.project-category {
  color: var(--action-accent-readable);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

[data-slot="dialog-overlay"] {
  background: color-mix(in oklch, var(--surface-inverse) 90%, transparent);
  backdrop-filter: blur(8px);
}

.project-dialog {
  display: grid;
  width: min(calc(100% - 24px), 1200px);
  max-width: none;
  max-height: 92dvh;
  gap: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--surface-page);
  color: var(--text-primary);
}

.dialog-media {
  min-height: 260px;
  background: var(--surface-section);
}

.dialog-media img {
  width: 100%;
  height: 100%;
  max-height: 52dvh;
  object-fit: cover;
}

.dialog-copy {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.dialog-title {
  margin-top: 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.dialog-description {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dialog-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid var(--divider-light);
  padding-top: 24px;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.dialog-navigation > div {
  display: flex;
  gap: 8px;
}

.icon-button-dark {
  border-color: var(--divider-light);
  color: var(--text-primary);
}

.icon-button-dark:hover {
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  transition: background-color 200ms ease-out, color 200ms ease-out;
}

.dialog-close:hover {
  background: var(--action-accent);
}

/* About */
.about-section {
  border-top: 1px solid var(--divider-light);
}

.about-grid {
  display: grid;
  gap: 52px;
}

.about-image-wrap {
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: var(--surface-section);
}

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

.image-note {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.about-copy {
  align-self: center;
}

.about-lead {
  margin: 32px 0 0;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.about-body {
  margin: 24px 0 0;
  color: var(--text-secondary);
}

.about-location {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 32px 0 24px;
  border-top: 1px solid var(--divider-light);
  border-bottom: 1px solid var(--divider-light);
  padding-block: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-location span:not(:last-child)::after {
  margin-left: 24px;
  color: var(--action-accent-readable);
  content: "·";
}

.process-block {
  display: grid;
  gap: 40px;
  margin-top: 88px;
  border-top: 1px solid var(--divider-light);
  padding-top: 52px;
}

.process-heading h3 {
  margin: 18px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  gap: 32px;
}

.process-step {
  border-top: 1px solid var(--divider-light);
  padding-top: 18px;
}

.process-step > span {
  color: var(--action-accent-readable);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.process-step h4 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 64px;
}

.contact-lead {
  max-width: 50ch;
  margin: 30px 0 0;
  color: var(--text-inverse-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 42px;
  font-style: normal;
}

.contact-details a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-wrap: anywhere;
  transition: color 200ms ease-out;
}

.contact-details a:hover {
  color: var(--action-accent);
}

.contact-details svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--action-accent);
}

.contact-details small {
  display: block;
  margin-bottom: 3px;
  color: var(--text-inverse-secondary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details span {
  font-size: 0.88rem;
}

.whatsapp-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  border-bottom: 1px solid var(--action-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.whatsapp-link svg {
  width: 19px;
}

.whatsapp-link svg:last-child {
  margin-left: 8px;
}

.contact-form {
  border-top: 1px solid var(--divider-dark);
  padding-top: 32px;
}

.form-row {
  display: grid;
  gap: 24px;
}

.field-group {
  margin-bottom: 24px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-inverse-secondary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid var(--divider-dark);
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
  color: var(--text-inverse);
  outline: none;
  transition: border-color 200ms ease-out;
}

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

.field-group select {
  cursor: pointer;
}

.field-group select option {
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--text-inverse-secondary);
  opacity: 0.7;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--action-accent);
}

.field-group input:focus-visible,
.field-group select:focus-visible,
.field-group textarea:focus-visible {
  outline: 2px solid var(--action-accent);
  outline-offset: 4px;
}

.field-group [aria-invalid="true"] {
  border-color: oklch(0.75 0.17 350);
}

.field-error {
  margin: 8px 0 0;
  color: oklch(0.82 0.13 350);
  font-size: 0.75rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.form-submit-row > p {
  max-width: 42ch;
  margin: 0;
  color: var(--text-inverse-secondary);
  font-size: 0.7rem;
}

.submit-button {
  flex: 0 0 auto;
}

.form-feedback {
  margin: 24px 0 0;
  border: 1px solid var(--divider-dark);
  padding: 16px;
  font-size: 0.84rem;
}

.form-feedback-success {
  border-color: var(--action-accent);
}

.form-feedback-error {
  border-color: oklch(0.75 0.17 350);
  color: oklch(0.82 0.13 350);
}

.spin {
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
  overflow: hidden;
  border-top: 1px solid var(--divider-dark);
  padding-block: 48px 24px;
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand img {
  width: 108px;
}

.footer-top > p {
  display: none;
  margin: 0;
  color: var(--text-inverse-secondary);
  font-size: 0.75rem;
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--divider-dark);
  transition: background-color 200ms ease-out, color 200ms ease-out;
}

.back-to-top:hover {
  background: var(--surface-page);
  color: var(--text-primary);
}

.back-to-top svg {
  width: 19px;
}

.footer-wordmark {
  margin: 72px 0 40px;
  color: transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(5rem, 18vw, 17rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.72;
  text-align: center;
  -webkit-text-stroke: 1px var(--divider-dark);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--divider-dark);
  padding-top: 24px;
  color: var(--text-inverse-secondary);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--action-accent);
}

@media (min-width: 640px) {
  .page-shell {
    width: min(calc(100% - 64px), 1400px);
  }

  .hero-dots {
    display: flex;
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-submit-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-top > p {
    display: block;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding-block: 112px;
  }

  .header-inner {
    width: min(calc(100% - 64px), 1500px);
    height: 88px;
  }

  .brand-logo {
    width: 122px;
  }

  .header-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    border-bottom: 1px solid var(--action-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-toggle {
    margin-left: 24px;
  }

  .hero-content {
    padding-bottom: 156px;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-controls {
    bottom: 32px;
  }

  .intro-section {
    padding-block: 112px;
  }

  .intro-grid {
    grid-template-columns: 3fr 9fr;
    gap: 48px;
  }

  .services-layout {
    margin-top: 80px;
  }

  .service-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .service-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.project-standard,
  .project-card.project-tall {
    grid-column: span 6;
  }

  .project-card.project-feature,
  .project-card.project-wide {
    grid-column: span 12;
  }

  .project-card.project-feature .project-image-wrap,
  .project-card.project-wide .project-image-wrap {
    aspect-ratio: 16 / 8;
  }

  .project-open {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 200ms ease-out, transform 200ms ease-out;
  }

  .project-card:hover .project-open,
  .project-card:focus-visible .project-open {
    opacity: 1;
    transform: scale(1);
  }

  .project-dialog {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .dialog-media img {
    max-height: 92dvh;
  }

  .dialog-copy {
    min-height: 560px;
    padding: 48px 36px 32px;
  }

  .dialog-navigation {
    margin-top: auto;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

@media (min-width: 1024px) {
  .page-shell {
    width: min(calc(100% - 96px), 1400px);
  }

  .section-padding {
    padding-block: 144px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
  }

  .nav-link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    background: var(--action-accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 200ms ease-out;
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-cta {
    margin-left: 34px;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-content {
    padding-top: 144px;
    padding-bottom: 148px;
  }

  .hero-title {
    font-size: clamp(8rem, 11.2vw, 10.5rem);
  }

  .hero-actions {
    margin-top: 36px;
  }

  .intro-section {
    padding-block: 136px;
  }

  .intro-grid {
    gap: 72px;
  }

  .section-heading-split {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 72px;
  }

  .section-heading-split .section-intro {
    max-width: 48ch;
  }

  .services-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }

  .service-row {
    min-height: 84px;
  }

  .service-name {
    font-size: 2.5rem;
  }

  .service-stage {
    padding-top: 0;
  }

  .portfolio-heading {
    display: grid;
    max-width: none;
    grid-template-columns: 3fr 6fr 3fr;
    gap: 40px;
    align-items: end;
  }

  .portfolio-heading .display-heading {
    margin: 0;
  }

  .portfolio-heading .section-intro {
    margin: 0;
    font-size: 0.9rem;
  }

  .portfolio-filters {
    margin-top: 64px;
  }

  .portfolio-grid {
    gap: 56px 24px;
    margin-top: 64px;
  }

  .project-card.project-feature {
    grid-column: span 8;
  }

  .project-card.project-standard,
  .project-card.project-tall {
    grid-column: span 4;
  }

  .project-card.project-wide {
    grid-column: span 8;
  }

  .project-card.project-feature .project-image-wrap,
  .project-card.project-wide .project-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .project-card.project-tall .project-image-wrap {
    aspect-ratio: 3 / 4;
  }

  .about-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 9%;
  }

  .process-block {
    grid-template-columns: 3fr 9fr;
    gap: 64px;
    margin-top: 136px;
    padding-top: 64px;
  }

  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .process-step {
    border-top: 0;
    border-left: 1px solid var(--divider-light);
    padding-top: 0;
    padding-left: 20px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 9%;
  }

  .contact-form {
    padding-top: 40px;
  }
}

@media (min-width: 1440px) {
  .hero-title {
    font-size: 10.5rem;
  }

  .services-layout {
    gap: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Static carousel and project dialog */
.hero-track { transform: translate3d(0, 0, 0); transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.hero-slide[aria-hidden="true"] { visibility: hidden; }
.service-image, .service-detail { transition: opacity 180ms ease-out; }
.service-stage.is-changing .service-image,
.service-stage.is-changing .service-detail { opacity: 0.25; }
.project-card { animation: project-enter 240ms ease-out both; }
@keyframes project-enter { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.project-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 12px; }
.project-modal-overlay { position: absolute; inset: 0; background: color-mix(in oklch, var(--surface-inverse) 90%, transparent); backdrop-filter: blur(8px); }
.project-modal .project-dialog { position: relative; z-index: 1; }
body.menu-open, body.modal-open { overflow: hidden; }
