/* ── Design tokens ── */
:root {
  --magenta: #ff00ff;
  --cyan: #00ffff;
  --lavender: #7f80ff;
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-500: #737373;

  --font-heading: 'Geist', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --h1: clamp(40px, 5vw, 60px);
  --h2: clamp(28px, 3.5vw, 40px);
  --body-lg: 20px;
  --body-md: 16px;

  --max-w: 1440px;
  --gutter: 80px;
  --section-pad: 120px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: var(--body-md); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilities ── */
.overline {
  font-family: var(--font-body);
  font-size: var(--body-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--black);
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.required { color: var(--magenta); }
.optional { color: var(--gray-500); font-weight: 400; font-size: 14px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: var(--body-md);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.8; }
.btn:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }

.btn-solid {
  background: var(--magenta);
  color: var(--black);
  border: 2px solid var(--magenta);
}
.btn-outline {
  background: transparent;
  color: var(--magenta);
  border: 2px solid var(--magenta);
}
.btn-full { width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-full {
  width: 180px;
  height: auto;
  display: block;
}

.logo-full--sm {
  width: 120px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}
.nav-links a {
  font-weight: 700;
  font-size: var(--body-md);
  line-height: 1;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--magenta); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 200;
  padding: 80px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--black);
}
.nav-drawer-close:hover { color: var(--magenta); }

.nav-drawer a {
  font-weight: 700;
  font-size: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.nav-drawer .btn { margin-top: 24px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  padding-top: 120px;
  padding-bottom: 120px;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  left: 30%;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 700px;
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--h1);
  line-height: 1.1;
  color: var(--black);
}

.hero-sub {
  font-size: var(--body-md);
  line-height: 1.875;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── VALUE ── */
.value {
  display: flex;
  gap: 80px;
  align-items: center;
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.value-image {
  flex: 1;
  min-width: 0;
}
.value-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.value-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-text h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--h2);
  line-height: 1.2;
}

.value-text p {
  line-height: 1.875;
  font-size: var(--body-md);
}

/* ── BELIEF ── */
.belief {
  padding: var(--section-pad) var(--gutter);
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.belief-header {
  text-align: center;
}

.belief-header h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--h2);
}

.belief-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.3;
}

.pillar p {
  font-size: var(--body-md);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}

/* ── RESPONSIBILITY ── */
.responsibility {
  background: var(--white);
  overflow: hidden;
}

.responsibility-image {
  width: 100%;
  aspect-ratio: 1536 / 1024;
  overflow: hidden;
}
.responsibility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsibility-content {
  display: flex;
  gap: 24px;
  padding: 64px var(--gutter) var(--section-pad);
  align-items: flex-start;
}

.responsibility-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.responsibility-left h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--h2);
  line-height: 1.2;
}

.responsibility-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.responsibility-right p {
  font-size: var(--body-md);
  line-height: 1.875;
}

/* ── CONTACT ── */
.value,
.belief,
#responsibility {
  scroll-margin-top: 100px;
}

.contact {
  background: var(--magenta);
  padding: var(--section-pad) var(--gutter);
  scroll-margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.contact-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--black);
}

.contact-left h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--h2);
  line-height: 1.2;
}

.contact-left > p {
  font-size: var(--body-md);
  line-height: 1.875;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.contact-info-item a {
  font-weight: 700;
  font-size: var(--body-md);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-info-item a:hover { opacity: 0.7; }

/* Form card */
.contact-right {
  flex: 1;
  min-width: 0;
}

.form-card {
  background: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-card h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
}

.form-sub {
  font-size: var(--body-md);
  line-height: 1.6;
  color: var(--gray-500);
  margin-top: -12px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: var(--body-md);
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--gray-200);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--magenta); }

.form-field input.error,
.form-field select.error,
.form-field textarea.error { border-color: #e00; }

.form-field textarea { resize: vertical; }

.form-confirmation {
  padding: 24px;
  background: var(--gray-100);
  border-left: 4px solid var(--magenta);
  font-weight: 700;
  font-size: var(--body-md);
  line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-top: 6px solid var(--magenta);
  background: var(--white);
  gap: 24px;
  flex-wrap: wrap;
}

/* The magenta accent line reads as a gap when the footer sits directly below
   the (also magenta) contact section — drop it only in that case. */
.contact + .footer {
  border-top: none;
}

.logo-mark--sm { width: 32px; height: 32px; }
.logo-wordmark--sm { width: 120px; height: 20px; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-right span,
.footer-right a {
  font-size: var(--body-md);
  line-height: 1;
  white-space: nowrap;
}
.footer-right a:hover { color: var(--magenta); }

.footer-social {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ── RESPONSIVE ── */

/* Large desktop — tighten gutter and split belief to 2-up */
@media (max-width: 1100px) {
  :root {
    --gutter: 48px;
    --section-pad: 80px;
  }

  .belief-pillars { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 16px; }
}

/* Tablet (600–800px) — keep two-column layouts, smaller type & spacing */
@media (max-width: 800px) {
  :root {
    --gutter: 32px;
    --section-pad: 64px;
  }

  /* Nav — switch to hamburger */
  .nav { padding: 16px 24px; }
  .nav-links, .nav > .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }

  /* Hero — content anchored to bottom like desktop */
  .hero {
    min-height: 85vh;
    padding: 48px var(--gutter) 56px;
    justify-content: flex-end;
  }
  .hero-bg { left: 0; opacity: 0.15; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .hero-sub { font-size: 15px; }

  /* Value — stack on mobile, side-by-side on tablet is fine if wide enough */
  .value { flex-direction: column; gap: 40px; }
  .value-image img { max-height: 380px; object-fit: cover; object-position: top center; }

  /* Belief — single column on mobile */
  .belief-pillars { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Responsibility */
  .responsibility-content { flex-direction: column; gap: 32px; padding: 40px var(--gutter) 64px; }

  /* Contact */
  .contact { padding: 64px var(--gutter); }
  .contact-inner { flex-direction: column; gap: 40px; }
  .form-card { padding: 28px; }

  /* Footer */
  .footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .footer-right { flex-wrap: wrap; gap: 16px; }
}

/* Mobile (≤ 480px) — single column everything */
@media (max-width: 480px) {
  :root {
    --gutter: 20px;
    --section-pad: 48px;
  }

  .nav { padding: 14px 20px; }
  .logo-full { width: 150px; }

  .hero { padding: 40px 20px 48px; }
  .hero h1 { font-size: clamp(28px, 9vw, 40px); }

  .value { padding: var(--section-pad) var(--gutter); gap: 32px; }

  .belief { padding: var(--section-pad) var(--gutter); gap: 40px; }
  .belief-pillars { grid-template-columns: 1fr; }

  .responsibility-content { padding: 32px var(--gutter) var(--section-pad); }

  .contact { padding: var(--section-pad) var(--gutter); }
  .form-card { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 20px; }
}
