:root {
  --bg: #f8f5f2;
  --ink: #111111;
  --muted: #6b7280;
  --peach: #e98263;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

.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;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 10% 8%,
      rgba(233, 130, 99, 0.17),
      transparent 45%
    ),
    radial-gradient(
      circle at 78% 16%,
      rgba(255, 215, 197, 0.4),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(248, 245, 242, 0.9));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: 0.55rem;
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease;
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(248, 245, 242, 0.8);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 14rem;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.desktop-only {
  display: inline-flex;
}

.mobile-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.45);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.mobile-toggle .bar {
  width: 1rem;
  height: 2px;
  background: rgba(17, 17, 17, 0.82);
}

.mobile-menu {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(248, 245, 242, 0.95);
  backdrop-filter: blur(14px);
}

.mobile-cta {
  width: 100%;
}

.header-cta,
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.96),
    rgba(17, 17, 17, 0.86)
  );
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 2.5rem;
  padding: 0.52rem 1.28rem;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.header-cta:hover,
.hero-cta-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.hero-cta-primary:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 2.5rem;
  padding: 0.52rem 1.3rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.hero-cta-secondary:hover {
  border-color: rgba(17, 17, 17, 0.4);
  transform: translateY(-1px);
}

.hero-wrap {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/public/hero-atmosphere.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: blur(6px) saturate(0.84);
  transform: scale(1.08);
}

.hero-light {
  position: absolute;
  z-index: -1;
  right: 11%;
  top: -130px;
  width: min(43vw, 500px);
  height: min(43vw, 500px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 186, 159, 0.24),
    rgba(255, 186, 159, 0.04) 45%,
    transparent 72%
  );
  filter: blur(20px);
  opacity: 0.4;
}

.viewfinder-v,
.viewfinder-h {
  display: none;
  position: absolute;
  pointer-events: none;
  opacity: 0.14;
}

.viewfinder-v {
  top: 0;
  right: 33%;
  width: 1px;
  height: 100%;
  background: rgba(17, 17, 17, 0.18);
}

.viewfinder-h {
  top: 40%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.14);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero-title {
  margin: 1.7rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--peach);
  font-style: italic;
}

.hero-subtitle {
  margin: 1.2rem 0 0;
  max-width: 35rem;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  width: min(86vw, 460px);
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(
    circle at 48% 42%,
    rgba(255, 255, 255, 0.26),
    rgba(255, 255, 255, 0.04) 55%,
    transparent 72%
  );
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-art::before {
  inset: 16%;
  border: 1px solid rgba(17, 17, 17, 0.11);
  opacity: 0.45;
}

.hero-art::after {
  inset: 31%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  opacity: 0.42;
}

.lens,
.flare,
.trace,
.bokeh {
  position: absolute;
}

.lens {
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  opacity: 0.06;
}

.lens-a {
  right: -90px;
  top: -70px;
  width: 380px;
  height: 380px;
}

.lens-b {
  right: 2px;
  top: 16px;
  width: 230px;
  height: 230px;
}

.lens-c {
  right: 52px;
  top: 64px;
  width: 130px;
  height: 130px;
}

.flare {
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 197, 0),
    rgba(255, 215, 197, 0.35),
    rgba(255, 215, 197, 0)
  );
  opacity: 0.06;
}

.flare-a {
  left: 20%;
  top: 24%;
  width: 250px;
  height: 1px;
  transform: rotate(-18deg);
}

.flare-b {
  left: 12%;
  top: 60%;
  width: 290px;
  height: 1px;
  transform: rotate(16deg);
}

.trace {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  opacity: 0.05;
}

.trace-a {
  right: -40px;
  bottom: 8%;
  width: 280px;
  height: 100px;
  transform: rotate(-14deg);
}

.trace-b {
  right: -65px;
  bottom: 1%;
  width: 320px;
  height: 130px;
  transform: rotate(-14deg);
}

.bokeh {
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 186, 159, 0.44),
    rgba(255, 186, 159, 0)
  );
  opacity: 0.08;
}

.bokeh-a {
  left: 12%;
  top: 18%;
  width: 84px;
  height: 84px;
}

.bokeh-b {
  left: 39%;
  bottom: 12%;
  width: 58px;
  height: 58px;
}

.bokeh-c {
  right: 30%;
  top: 36%;
  width: 42px;
  height: 42px;
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0),
    rgba(17, 17, 17, 0.16),
    rgba(17, 17, 17, 0)
  );
}

.section-block {
  position: relative;
}

.form-head {
  text-align: center;
  margin-bottom: 3.7rem;
}

.form-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 600;
}

.form-description {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  gap: 2rem;
}

.field-label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.9);
}

.field-legend {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.9);
}

.field {
  width: 100%;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.24);
  background: transparent;
  color: var(--ink);
  padding: 0.72rem 0;
  font-size: 0.94rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.field:focus {
  outline: none;
  border-bottom-color: var(--ink);
  transform: translateY(-1px);
}

.textarea-field {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  resize: none;
}

.textarea-field:focus {
  outline: none;
  border-color: rgba(17, 17, 17, 0.4);
}

.file-input {
  border: 1px dashed rgba(17, 17, 17, 0.24);
  border-radius: 12px;
  padding: 0.72rem 0.86rem;
  background: rgba(255, 255, 255, 0.5);
}

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

.service-option {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.11);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.56rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.86);
}

.service-option input[type="checkbox"] {
  accent-color: var(--peach);
}

.status-message {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.success-wrap {
  text-align: center;
  padding: 5.2rem 0;
}

.success-badge {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 999px;
  margin: 0 auto;
  background: rgba(233, 130, 99, 0.12);
  display: grid;
  place-items: center;
}

.success-badge span {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  background: rgba(233, 130, 99, 0.32);
  position: relative;
}

.success-badge span::after {
  content: "";
  position: absolute;
  inset: 0.48rem;
  border-radius: 999px;
  background: rgba(233, 130, 99, 0.95);
}

.success-title {
  margin: 2rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 600;
}

.success-text {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.success-wrap .hero-cta-secondary {
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.76);
}

.contact-icon-image {
  width: 1.3rem;
  height: 1.3rem;
  object-fit: contain;
  display: block;
}

.email-fallback-icon {
  font-size: 1rem;
  line-height: 1;
}

.contact-value {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-b {
  animation-delay: 0.12s;
}

.reveal-c {
  animation-delay: 0.08s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .viewfinder-v,
  .viewfinder-h {
    display: block;
  }

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

@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .brand-logo {
    height: 4.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-art {
    width: min(78vw, 280px);
    justify-self: center;
  }

  .hero-light {
    right: -16%;
    top: -100px;
    width: 340px;
    height: 340px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .header-cta,
  .hero-cta-primary,
  .hero-cta-secondary {
    min-height: 2.35rem;
    font-size: 0.76rem;
  }
}
