:root {
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.66);
  --border: rgba(11, 18, 32, 0.12);
  --shadow: 0 20px 70px rgba(11, 18, 32, 0.08);
  --accent: #dc2626;
  --accent-2: #ef4444;
  --accent-ink: #7f1d1d;
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: white;
  transform: translateY(-140%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-title {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(11, 18, 32, 0.06);
  transition:
    transform 160ms var(--ease),
    border-color 160ms var(--ease);
}

.nav-toggle:active {
  transform: scale(0.98);
}

.nav-toggle-lines {
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  display: inline-block;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  color: rgba(11, 18, 32, 0.86);
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease);
}

.nav-link:hover {
  background: rgba(220, 38, 38, 0.08);
  color: var(--accent-ink);
}

.nav-link-cta {
  margin-left: 0.25rem;
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-ink);
  border: 1px solid rgba(220, 38, 38, 0.18);
}

.nav-link-cta:hover {
  background: rgba(220, 38, 38, 0.14);
}

/* Hero */
.hero {
  position: relative;
  padding: 4.25rem 0 3.25rem;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.06);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.hero-title {
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.accent {
  color: var(--accent);
}

.hero-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 170ms var(--ease),
    box-shadow 220ms var(--ease),
    background 170ms var(--ease),
    border-color 170ms var(--ease),
    color 170ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 22px 52px rgba(220, 38, 38, 0.28);
}

.btn-ghost {
  background: white;
  border-color: var(--border);
  color: rgba(11, 18, 32, 0.92);
}

.btn-ghost:hover {
  background: rgba(11, 18, 32, 0.02);
  border-color: rgba(11, 18, 32, 0.18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.65rem 0 0;
  padding: 0;
}

.stat {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.stat dt {
  font-weight: 700;
  color: rgba(11, 18, 32, 0.78);
  font-size: 0.9rem;
}

.stat dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.card-glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 25% 20%, rgba(220, 38, 38, 0.22), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(239, 68, 68, 0.16), transparent 52%);
  filter: blur(18px);
  opacity: 0.9;
}

.hero-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(11, 18, 32, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 251, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 15%, rgba(220, 38, 38, 0.14), transparent 45%);
  pointer-events: none;
}

.hero-card-top,
.hero-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  gap: 0.75rem;
}

.badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  color: white;
  background: var(--accent);
  letter-spacing: 0.08em;
}

.chip {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.06);
  color: var(--accent-ink);
}

.hero-card-mid {
  padding: 1.15rem 1.1rem 1.25rem;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35);
  animation: pulse 1.6s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.34);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.hero-card-title {
  margin-top: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.hero-card-subtitle {
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 600;
}

.mini {
  display: grid;
  gap: 0.15rem;
}

.mini-k {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.mini-v {
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

.hero-bg .grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(to right, rgba(11, 18, 32, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 18, 32, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 40% 20%, black 0%, transparent 65%);
}

.blob {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.22;
}

.blob-1 {
  left: -180px;
  top: -220px;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 60%);
}

.blob-2 {
  right: -220px;
  top: 120px;
  background: radial-gradient(circle at 40% 40%, var(--accent-2), transparent 62%);
}

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

.section-alt {
  background: var(--bg-2);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 70ch;
  margin-bottom: 2rem;
}

.section-title {
  margin: 0;
  letter-spacing: -0.05em;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.feature,
.service,
.person,
.contact-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.05);
}

.feature h3,
.service h3,
.person h3,
.contact-card h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.feature p,
.service p,
.person p,
.contact-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.16);
  color: var(--accent-ink);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.callout {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.1),
    rgba(239, 68, 68, 0.06)
  );
}

.callout-copy h3 {
  margin: 0;
  letter-spacing: -0.03em;
}
.callout-copy p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-weight: 600;
  max-width: 68ch;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(239, 68, 68, 0.06));
  border: 1px solid rgba(220, 38, 38, 0.16);
  color: var(--accent-ink);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.tags {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.09);
  color: rgba(11, 18, 32, 0.78);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Gallery */
.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.shot {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(220, 38, 38, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(11, 18, 32, 0.03), rgba(11, 18, 32, 0.01));
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.shot:nth-child(1) {
  grid-column: span 7;
  min-height: 280px;
}
.shot:nth-child(2) {
  grid-column: span 5;
}
.shot:nth-child(3) {
  grid-column: span 5;
}
.shot:nth-child(4) {
  grid-column: span 7;
  min-height: 260px;
}

.shot-inner {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.shot-label {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.shot-meta {
  color: rgba(11, 18, 32, 0.7);
  font-weight: 700;
}

/* Full-width photos (no crop) */
.photo {
  margin-top: 1.25rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(11, 18, 32, 0.12);
}

.photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.photo figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-weight: 600;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

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

.contact-cards {
  display: grid;
  gap: 1rem;
}

.link {
  display: inline-flex;
  margin-top: 0.9rem;
  font-weight: 800;
  color: var(--accent-ink);
}

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

.form {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

label {
  font-weight: 800;
  letter-spacing: -0.02em;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: white;
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.form-hint {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-toast {
  margin: 0.9rem 0 0;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.06);
  color: var(--accent-ink);
  font-weight: 800;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: white;
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-mark {
  width: 36px;
  height: 36px;
}

.footer-title {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-sub {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
  background: rgba(11, 18, 32, 0.02);
}

.sep {
  color: rgba(11, 18, 32, 0.35);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .pulse {
    animation: none;
  }
  .btn,
  .site-header {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 360px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .masonry {
    grid-template-columns: 1fr;
  }
  .shot {
    grid-column: auto !important;
    min-height: 220px !important;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 60px rgba(11, 18, 32, 0.12);
    transform-origin: top;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 160ms var(--ease),
      transform 160ms var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(11, 18, 32, 0.08);
    background: rgba(11, 18, 32, 0.015);
  }

  .nav-link-cta {
    border-color: rgba(220, 38, 38, 0.18);
    background: rgba(220, 38, 38, 0.06);
  }

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

