@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --color-ink: oklch(96% 0.015 245);
  --color-muted: oklch(82% 0.04 245);
  --color-dim: oklch(70% 0.045 245);
  --color-bg: oklch(46% 0.12 245);
  --color-surface: oklch(50% 0.12 245 / 78%);
  --color-line: oklch(100% 0 0 / 18%);
  --color-accent: oklch(72% 0.13 235);
  --color-accent-2: oklch(86% 0.08 225);
  --radius-card: 28px;
  --radius-button: 999px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 18% 20%, oklch(62% 0.14 235 / 26%), transparent 32rem),
    radial-gradient(circle at 82% 72%, oklch(52% 0.13 255 / 22%), transparent 28rem),
    var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: oklch(10% 0.02 40);
  background: var(--color-accent);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1600px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand img {
  width: auto;
  height: clamp(64px, 6vw, 96px);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px oklch(0% 0 0 / 70%));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a,
.site-nav span {
  position: relative;
  color: var(--color-ink);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav span {
  cursor: default;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: '';
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current] {
  color: var(--color-ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: '';
  background: oklch(0% 0 0 / 58%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(oklch(100% 0 0 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 7%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

.hero-content {
  align-self: end;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(150px, 20vh, 220px) 0 clamp(56px, 9vh, 96px);
}

.hero-minimal .hero-content {
  align-self: center;
  padding: clamp(120px, 18vh, 180px) 0 clamp(72px, 12vh, 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--color-accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 46px;
  height: 2px;
  content: '';
  background: currentColor;
}

.hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(4rem, 12vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(100% 0 0 / 78%);
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-line);
  background: oklch(7% 0.025 36 / 64%);
  backdrop-filter: blur(16px);
}

.hero-strip span {
  min-height: 78px;
  padding: 28px clamp(16px, 3vw, 42px);
  border-right: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-strip span:last-child {
  border-right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: oklch(12% 0.03 42);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
}

.button-secondary {
  color: var(--color-ink);
  border-color: var(--color-line);
  background: oklch(100% 0 0 / 7%);
}

.page-main {
  width: var(--container);
  min-height: 72vh;
  margin: 0 auto;
  padding: 170px 0 72px;
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--color-accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.page-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.content-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.content-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.showcase-section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section-heading h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.feature-grid {
  margin-top: clamp(42px, 7vw, 86px);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.gallery-tile::after,
.photo-card::after,
.contact-panel::after {
  position: absolute;
  inset: auto -20% -45% auto;
  width: 260px;
  height: 260px;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle, oklch(74% 0.23 54 / 22%), transparent 66%);
}

.card-number {
  display: block;
  margin-bottom: 44px;
  color: var(--color-accent-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 96px);
  margin-top: clamp(48px, 8vw, 92px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, oklch(100% 0 0 / 8%), oklch(100% 0 0 / 3%));
}

.split-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.split-section p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
  margin-top: 52px;
}

.gallery-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, oklch(22% 0.05 38), oklch(11% 0.03 42)),
    radial-gradient(circle at 30% 20%, oklch(72% 0.24 51 / 24%), transparent 22rem);
}

.gallery-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile.wide {
  grid-column: span 2;
}

.gallery-tile span,
.contact-label {
  color: var(--color-accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-tile h2 {
  max-width: 520px;
  margin: 16px 0 0;
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.photo-card,
.contact-panel {
  position: relative;
  overflow: hidden;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-line);
}

.contact-panel > div {
  min-height: 240px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--color-surface);
}

.contact-panel a {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contact-panel p {
  margin: 18px 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--color-line);
  color: var(--color-dim);
  font-size: 0.92rem;
}

.home-page .site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 18px max(20px, calc((100vw - 1600px) / 2));
  background: oklch(0% 0 0 / 48%);
}

.site-footer p {
  margin: 0;
}

.about-page {
  background:
    radial-gradient(circle at 12% 18%, oklch(32% 0.075 245 / 26%), transparent 32rem),
    radial-gradient(circle at 84% 12%, oklch(22% 0.065 220 / 22%), transparent 30rem),
    linear-gradient(115deg, oklch(0% 0 0) 0%, oklch(8% 0.018 245) 46%, oklch(2% 0.006 245) 100%);
}

.about-page::before {
  position: fixed;
  inset: 0;
  content: '';
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, oklch(100% 0 0 / 7%) 0 1px, transparent 1px 22px),
    linear-gradient(oklch(100% 0 0 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 4%) 1px, transparent 1px);
  background-size: 220px 220px, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

.about-page .site-footer {
  width: min(1600px, calc(100% - 40px));
}

.about-page .site-header {
  position: relative;
  inset: auto;
  width: min(1600px, calc(100% - 40px));
}

.about-main {
  width: min(1600px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) 0 clamp(64px, 9vw, 120px);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 28px;
  min-height: min(760px, calc(100svh - 56px));
  margin: 0;
  overflow: hidden;
  border: 1px solid oklch(100% 0 0 / 12%);
  border-radius: 5px;
  background: oklch(100% 0 0 / 4%);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.about-content {
  min-width: 0;
  padding-top: clamp(12px, 2vw, 28px);
}

.about-content h1,
.about-content h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.8rem, 5.8vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

.about-content h1 span,
.about-content h2 span {
  display: block;
  margin-top: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1.2px oklch(100% 0 0 / 72%);
}

.about-content h2 {
  margin-top: clamp(42px, 7vw, 84px);
  font-size: clamp(2.45rem, 4.8vw, 5.8rem);
}

.about-text {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin-top: clamp(32px, 5vw, 33px);
  color: oklch(82% 0.012 245);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.82;
}

.about-text p {
  margin: 0;
  text-wrap: pretty;
}


.about-divider {
  width: min(520px, 100%);
  height: 1px;
  margin: clamp(46px, 7vw, 88px) 0 0;
  border: 0;
  background: linear-gradient(90deg, oklch(100% 0 0 / 34%), transparent);
}

.gallery-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, oklch(28% 0.08 245 / 24%), transparent 30rem),
    linear-gradient(135deg, oklch(0% 0 0), oklch(9% 0.02 245) 58%, oklch(0% 0 0));
}

.gallery-page .site-header,
.gallery-page .site-footer {
  width: min(1600px, calc(100% - 40px));
}

@media (min-width: 821px) {
  .gallery-page .site-header {
    position: relative;
    inset: auto;
  }
}

.gallery-page .site-footer {
  margin-top: auto;
}

.gallery-main {
  width: min(1600px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0 clamp(64px, 9vw, 120px);
}

.gallery-intro {
  display: grid;
  max-width: 960px;
  margin-bottom: clamp(38px, 6vw, 74px);
}

.gallery-intro h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  text-wrap: balance;
}

.gallery-intro p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.7;
}

.gallery-intro code {
  color: var(--color-accent-2);
  font-family: inherit;
  font-weight: 800;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.work-card {
  position: relative;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  border: 1px solid oklch(100% 0 0 / 12%);
  border-radius: 5px;
  background: oklch(100% 0 0 / 4%);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1), filter 220ms ease;
}

.work-card:hover img {
  transform: scale(1.045);
  filter: brightness(0.78);
}

.work-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid oklch(100% 0 0 / 26%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(0% 0 0 / 28%);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.work-card:hover .work-zoom,
.work-zoom:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-zoom:hover {
  background: oklch(0% 0 0 / 48%);
}

.work-zoom svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.work-showcase-grid {
  align-items: start;
}

.work-showcase {
  display: grid;
  gap: 10px;
}

.work-featured,
.work-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid oklch(100% 0 0 / 12%);
  border-radius: 5px;
  color: inherit;
  background: oklch(100% 0 0 / 4%);
  cursor: pointer;
}

.work-featured {
  aspect-ratio: 1 / 1.18;
}

.work-featured img,
.work-featured video,
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1), filter 220ms ease;
}

.work-featured:hover img,
.work-featured:hover video,
.work-thumb:hover img {
  transform: scale(1.045);
  filter: brightness(0.78);
}

.work-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid oklch(100% 0 0 / 26%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(0% 0 0 / 30%);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.work-featured:hover .work-zoom-icon,
.work-featured:focus-visible .work-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-zoom-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.work-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.work-thumb {
  aspect-ratio: 1;
}

.work-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-thumb.is-video::after {
  position: absolute;
  inset: 0;
  content: '';
  background: oklch(0% 0 0 / 24%);
}

.work-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid oklch(100% 0 0 / 32%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(0% 0 0 / 38%);
  transform: translate(-50%, -50%);
}

.work-play-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.gallery-empty {
  max-width: 680px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--color-line);
  border-radius: 5px;
  background: oklch(100% 0 0 / 5%);
}

.gallery-empty h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.gallery-empty p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(34px, 5vw, 58px);
}

.gallery-pagination a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  color: var(--color-muted);
  background: oklch(100% 0 0 / 5%);
  font-weight: 800;
}

.gallery-pagination a[aria-current='page'],
.gallery-pagination a:hover,
.gallery-pagination a:focus-visible {
  color: var(--color-ink);
  border-color: oklch(100% 0 0 / 38%);
  background: oklch(100% 0 0 / 12%);
}

.gallery-dialog {
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid oklch(100% 0 0 / 18%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(0% 0 0 / 88%);
}

.gallery-dialog::backdrop {
  background: oklch(0% 0 0 / 78%);
  backdrop-filter: blur(8px);
}

.gallery-dialog img,
.gallery-dialog video {
  display: block;
  width: auto;
  max-width: calc(100vw - 32px);
  height: auto;
  max-height: calc(100svh - 32px);
  object-fit: contain;
  background: oklch(0% 0 0);
}

.gallery-dialog video {
  display: none;
}

.gallery-dialog[data-media='video'] img {
  display: none;
}

.gallery-dialog[data-media='video'] video {
  display: block;
}

.gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid oklch(100% 0 0 / 24%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(0% 0 0 / 42%);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.contact-page {
  background:
    radial-gradient(circle at 18% 14%, oklch(30% 0.08 245 / 24%), transparent 30rem),
    linear-gradient(135deg, oklch(0% 0 0), oklch(9% 0.02 245) 58%, oklch(0% 0 0));
}

.contact-page .site-header,
.contact-page .site-footer,
.contact-main {
  width: min(1600px, calc(100% - 40px));
}

.contact-page .site-header,
.contact-page .site-footer {
  margin-right: auto;
  margin-left: auto;
}

.contact-main {
  margin: 0 auto;
  padding: clamp(140px, 14vw, 190px) 0 clamp(64px, 9vw, 120px);
}

.contact-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  grid-template-areas:
    'head social'
    'form social';
  gap: 22px;
  align-items: stretch;
}

.contact-board-head {
  grid-area: head;
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: end;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid oklch(100% 0 0 / 13%);
  border-radius: 5px;
  background:
    linear-gradient(135deg, oklch(100% 0 0 / 8%), oklch(100% 0 0 / 3%)),
    oklch(0% 0 0 / 18%);
}

.contact-board-head .page-kicker {
  margin: 0;
}

.contact-board-head h1 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.contact-board-head p {
  grid-column: 2;
  max-width: none;
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.72;
}

.contact-form {
  grid-area: form;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid oklch(100% 0 0 / 13%);
  border-radius: 5px;
  background: oklch(100% 0 0 / 4%);
}

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

.form-row-wide,
.form-submit {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--color-dim);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid oklch(100% 0 0 / 18%);
  border-radius: 0;
  color: var(--color-ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.form-row input {
  min-height: 52px;
  padding: 0;
}

.form-row textarea {
  min-height: 154px;
  resize: vertical;
  padding: 14px 0;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: oklch(74% 0.025 245 / 58%);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: oklch(86% 0.08 225 / 78%);
}

.form-submit {
  min-height: 54px;
  margin-top: 8px;
  border: 1px solid oklch(100% 0 0 / 18%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(100% 0 0 / 8%);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  border-color: oklch(86% 0.08 225 / 72%);
  background: oklch(100% 0 0 / 14%);
}

.contact-social {
  grid-area: social;
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid oklch(100% 0 0 / 13%);
  border-radius: 5px;
  background:
    radial-gradient(circle at 100% 0%, oklch(58% 0.13 235 / 16%), transparent 16rem),
    linear-gradient(145deg, oklch(100% 0 0 / 8%), oklch(100% 0 0 / 3%));
}

.social-heading {
  display: grid;
  gap: 14px;
}

.social-heading span {
  color: var(--color-accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-heading strong {
  max-width: 320px;
  color: var(--color-ink);
  font-size: clamp(1.65rem, 2.6vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid oklch(100% 0 0 / 13%);
}

.contact-social-grid a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 98px;
  align-content: center;
  padding: 18px 42px 18px 0;
  border-bottom: 1px solid oklch(100% 0 0 / 13%);
  background: transparent;
  transition: color 180ms ease;
}

.contact-social-grid a::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: '↗';
  color: var(--color-dim);
  font-size: 1rem;
  transform: translateY(-50%);
}

.contact-social-grid a:hover,
.contact-social-grid a:focus-visible {
  color: var(--color-accent-2);
}

.contact-social-grid span {
  color: var(--color-dim);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-social-grid strong {
  color: var(--color-ink);
  font-size: clamp(1.04rem, 1.35vw, 1.36rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.contact-page-v2 {
  background:
    radial-gradient(circle at 12% 16%, oklch(35% 0.08 245 / 14%), transparent 28rem),
    linear-gradient(135deg, oklch(0% 0 0), oklch(6% 0.018 245) 58%, oklch(0% 0 0));
}

.contact-main-v2 {
  padding-top: clamp(140px, 14vw, 190px);
}

.contact-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  grid-template-areas:
    'statement form'
    'social form';
  min-height: clamp(560px, 66svh, 780px);
  border: 1px solid oklch(100% 0 0 / 11%);
  border-radius: 5px;
  overflow: hidden;
  background: oklch(100% 0 0 / 2.5%);
}

.contact-statement {
  grid-area: statement;
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 420px;
  padding: clamp(24px, 3.4vw, 44px);
  border-right: 1px solid oklch(100% 0 0 / 11%);
  border-bottom: 1px solid oklch(100% 0 0 / 11%);
  background: oklch(0% 0 0 / 18%);
}

.contact-statement h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 5.3rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact-statement > p:not(.page-kicker) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
}

.contact-mark {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: transparent;
  font-size: clamp(3.6rem, 8vw, 9rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  opacity: 0.08;
  pointer-events: none;
  -webkit-text-stroke: 1px oklch(100% 0 0 / 70%);
}

.contact-form-v2 {
  grid-area: form;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(24px, 4.2vw, 58px);
  background: oklch(0% 0 0 / 18%);
}

.form-alert {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid oklch(100% 0 0 / 16%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(100% 0 0 / 7%);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-alert.success {
  border-color: oklch(80% 0.12 160 / 48%);
}

.form-alert.error {
  border-color: oklch(68% 0.18 32 / 58%);
}

.form-row-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-line {
  display: grid;
  grid-template-columns: minmax(110px, 0.2fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid oklch(100% 0 0 / 13%);
}

.form-line label {
  padding-top: 14px;
  color: var(--color-dim);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-line input,
.form-line textarea {
  width: 100%;
  border: 0;
  color: var(--color-ink);
  background: transparent;
  font: inherit;
  font-size: clamp(1rem, 1.28vw, 1.22rem);
  line-height: 1.4;
  outline: none;
}

.form-line textarea {
  min-height: 150px;
  resize: vertical;
}

.form-line input::placeholder,
.form-line textarea::placeholder {
  color: oklch(74% 0.025 245 / 52%);
}

.recaptcha-line {
  display: flex;
  justify-content: flex-end;
  overflow-x: auto;
}

.form-submit-v2 {
  justify-self: end;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid oklch(100% 0 0 / 20%);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(100% 0 0 / 9%);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit-v2:hover,
.form-submit-v2:focus-visible {
  border-color: oklch(86% 0.08 225 / 72%);
  background: oklch(100% 0 0 / 15%);
}

.contact-social-v2 {
  grid-area: social;
  display: grid;
  border-right: 1px solid oklch(100% 0 0 / 11%);
}

.contact-social-v2 a {
  position: relative;
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 96px;
  padding: 18px clamp(24px, 3.4vw, 44px);
  border-bottom: 1px solid oklch(100% 0 0 / 11%);
  background: transparent;
}

.contact-social-v2 a:last-child {
  border-bottom: 0;
}

.contact-social-v2 a::after {
  position: absolute;
  top: 50%;
  right: clamp(22px, 3vw, 42px);
  content: '↗';
  color: var(--color-dim);
  transform: translateY(-50%);
}

.contact-social-v2 span {
  color: var(--color-dim);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-social-v2 strong {
  color: var(--color-ink);
  font-size: clamp(1.12rem, 1.65vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.site-footer a {
  color: var(--color-ink);
  font-weight: 700;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  color: var(--color-ink);
  background: oklch(100% 0 0 / 8%);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--color-accent-2);
  border-color: currentColor;
  background: oklch(100% 0 0 / 13%);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

@media (max-width: 820px) {
  .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: min(100% - 24px, 1600px);
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: oklch(0% 0 0 / 76%);
    backdrop-filter: blur(14px) saturate(120%);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: clamp(48px, 14vw, 68px);
    filter: none;
  }

  .nav-toggle {
    display: inline-block;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-color: oklch(100% 0 0 / 34%);
    background: oklch(0% 0 0 / 34%);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: oklch(10% 0.025 245 / 98%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav[data-open] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav span {
    padding: 16px 14px;
  }

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

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 6.5rem);
  }

  .hero-strip,
  .section-heading,
  .split-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
  }

  .hero-strip span {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .content-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page .site-footer,
  .contact-page .site-footer,
  .gallery-main,
  .contact-main {
    width: min(100% - 28px, 1600px);
  }

  .gallery-main {
    padding-top: 34px;
  }

  .contact-main {
    padding-top: 128px;
  }

  .contact-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      'head'
      'form'
      'social';
  }

  .contact-board-head {
    grid-template-columns: 1fr;
  }

  .contact-board-head p {
    grid-column: auto;
  }

  .contact-v2 {
    grid-template-columns: 1fr;
    grid-template-areas:
      'statement'
      'form'
      'social';
  }

  .contact-statement,
  .contact-social-v2 {
    border-right: 0;
  }

  .contact-form-v2 {
    border-bottom: 1px solid oklch(100% 0 0 / 14%);
  }

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

  .work-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .work-play-icon {
    width: 32px;
    height: 32px;
  }

  .work-zoom,
  .work-zoom-icon {
    opacity: 1;
    transform: none;
  }

  .gallery-tile.large,
  .gallery-tile.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-page .site-footer,
  .about-main {
    width: min(100% - 28px, 1600px);
  }

  .about-main {
    padding-top: 128px;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-portrait {
    position: relative;
    top: auto;
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-portrait img {
    min-height: auto;
  }

  .about-content h1,
  .about-content h2 {
    font-size: clamp(2.7rem, 11vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .about-text {
    max-width: none;
    font-size: 1rem;
    line-height: 1.78;
  }

  .home-page .site-footer {
    gap: 12px;
    padding: 14px 18px;
  }

  .site-footer {
    gap: 14px;
    padding-bottom: 24px;
  }

  .home-page .site-footer p {
    font-size: 0.82rem;
  }

  .social-links {
    gap: 8px;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 460px) {
  .site-header {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 8px 10px;
  }

  .home-page .site-header {
    position: fixed;
  }

  .brand img {
    height: clamp(42px, 16vw, 58px);
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    top: calc(100% + 8px);
  }

  .home-page .site-footer {
    align-items: center;
    text-align: center;
  }

  .home-page .site-footer,
  .site-footer {
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    width: 100%;
  }

  .about-page .site-footer,
  .gallery-page .site-footer,
  .contact-page .site-footer,
  .about-main,
  .gallery-main,
  .contact-main {
    width: min(100% - 20px, 1600px);
  }

  .about-main {
    padding-top: 112px;
  }

  .about-portrait {
    aspect-ratio: 3 / 4;
  }

  .about-content h1,
  .about-content h2 {
    font-size: clamp(2.25rem, 12vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .about-content h1 span,
  .about-content h2 span {
    -webkit-text-stroke-width: 1px;
  }

  .about-text {
    gap: 18px;
    margin-top: 28px;
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .about-divider {
    margin-top: 42px;
  }

  .gallery-main {
    padding-top: 26px;
  }

  .contact-main {
    padding-top: 104px;
  }

  .contact-board {
    gap: 14px;
  }

  .contact-board-head,
  .contact-form,
  .contact-social {
    padding: 18px;
  }

  .contact-board-head h1 {
    font-size: clamp(1.9rem, 10vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .social-heading strong {
    font-size: clamp(1.45rem, 8vw, 2.35rem);
  }

  .contact-social-grid a {
    min-height: 92px;
  }

  .contact-statement {
    min-height: 300px;
    padding: 20px;
  }

  .contact-statement h1 {
    font-size: clamp(2.6rem, 14vw, 4.8rem);
    line-height: 0.94;
  }

  .contact-form-v2 {
    gap: 18px;
    padding: 20px;
  }

  .form-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-line label {
    padding-top: 0;
  }

  .recaptcha-line {
    justify-content: flex-start;
  }

  .form-submit-v2 {
    justify-self: stretch;
  }

  .contact-social-v2 a {
    min-height: 92px;
    padding: 18px 46px 18px 18px;
  }

  .gallery-intro h1 {
    font-size: clamp(2.7rem, 14vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-showcase {
    gap: 8px;
  }

  .work-featured {
    aspect-ratio: 1 / 1.1;
  }

  .work-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .gallery-dialog {
    max-width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .gallery-dialog img,
  .gallery-dialog video {
    max-width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }
}

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