/* Kamai one-pager — implemented from the Claude Design final (Kamai.dc.html). */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: oklch(0.975 0.012 85); }

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

body {
  font-family: 'Hanken Grotesk', sans-serif;
  color: oklch(0.24 0.02 60);
  -webkit-font-smoothing: antialiased;
}

a { color: oklch(0.24 0.02 60); text-decoration-color: oklch(0.75 0.05 140); text-underline-offset: 3px; }
a:hover { color: oklch(0.45 0.10 140); }
::selection { background: oklch(0.88 0.06 140); }
input::placeholder { color: oklch(0.68 0.015 75); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* film-grain texture overlay */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  background-image: url('data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22160%22 height=%22160%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.9%22 numOctaves=%222%22/%3E%3C/filter%3E%3Crect width=%22160%22 height=%22160%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
}

.page { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

.kamay { font-family: 'Newsreader', serif; font-style: italic; }

/* ---------- header ---------- */

.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0 0;
}

.logo { height: 30px; width: auto; display: block; }

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 72px;
  display: grid;
  grid-template-columns: minmax(320px, 10fr) minmax(350px, 10fr);
  gap: 60px;
  align-items: center;
}

.hero-copy { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.hero h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 26px;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: oklch(0.47 0.02 70);
  margin: 0 0 38px;
  max-width: 560px;
  text-wrap: pretty;
}

.hero-sub .kamay { font-size: 1.06em; }

.cta {
  display: inline-block;
  background: oklch(0.24 0.02 60);
  color: oklch(0.975 0.012 85);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  padding: 20px 44px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px oklch(0.3 0.04 70 / 0.5);
}
.cta:hover { background: oklch(0.34 0.05 140); color: oklch(0.985 0.01 85); }

.hero-montage { animation: rise 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.montage-frame {
  border-radius: 22px;
  overflow: hidden;
  background: oklch(0.2 0.015 60);
  box-shadow: 0 30px 80px -30px oklch(0.3 0.04 70 / 0.45), 0 2px 8px oklch(0.3 0.04 70 / 0.12);
}

.montage-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.montage-caption {
  font-size: 14.5px;
  color: oklch(0.52 0.02 70);
  margin: 18px 4px 0;
  text-align: left;
}

/* ---------- environments ---------- */

.environments { padding: 70px 0 0; }

.env-intro {
  font-size: 16.5px;
  line-height: 1.6;
  color: oklch(0.47 0.02 70);
  text-align: center;
  margin: 0 auto 44px;
  white-space: nowrap;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.env-card {
  border: 1px solid oklch(0.89 0.015 85);
  border-radius: 16px;
  padding: 22px 22px 24px;
  background: oklch(0.985 0.01 85);
  cursor: default;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s;
}

.env-card:hover {
  border: 1.5px solid oklch(0.6 0.05 85);
  padding: 21.5px 21.5px 23.5px;
  transform: translateY(-5px);
}

.env-title {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
}

.env-sub {
  font-size: 13.5px;
  margin: 0;
  color: oklch(0.58 0.015 70);
  font-weight: 400;
  transition: color 0.2s, font-weight 0.2s;
}

.env-card:hover .env-sub {
  color: oklch(0.32 0.03 65);
  font-weight: 600;
}

/* ---------- pull quote ---------- */

.pull-quote {
  padding: 110px 0 140px;
  display: flex;
  justify-content: center;
}

.pull-quote p {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 29px);
  line-height: 1.45;
  color: oklch(0.36 0.025 65);
  max-width: 640px;
  text-align: center;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- book a call ---------- */

.book {
  border-top: 1px solid oklch(0.89 0.015 85);
  padding: 90px 0 110px;
  display: grid;
  grid-template-columns: minmax(260px, 5fr) minmax(300px, 6fr);
  gap: 72px;
}

.book h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.book-copy p {
  font-size: 16.5px;
  line-height: 1.65;
  color: oklch(0.47 0.02 70);
  margin: 0;
  max-width: 400px;
}

.founder {
  position: relative;
  border-bottom: 1.5px dotted oklch(0.6 0.06 140);
  cursor: pointer;
  color: oklch(0.4 0.06 140);
  font-weight: 600;
  text-decoration: none;
}
.founder:hover { color: oklch(0.34 0.08 140); }

.founder .tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  background: oklch(0.24 0.02 60);
  color: oklch(0.95 0.012 85);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 16px 40px -12px oklch(0.3 0.04 70 / 0.5);
  pointer-events: none;
  z-index: 10;
  text-align: center;
}

.founder:hover .tip,
.founder:focus-visible .tip { display: block; }

.nw { white-space: nowrap; }

/* ---------- form ---------- */

.book-form { display: grid; gap: 30px; }

.book-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.5 0.02 70);
}

.book-form input {
  border: none;
  border-bottom: 1.5px solid oklch(0.85 0.02 85);
  border-radius: 0;
  background: transparent;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 17px;
  color: oklch(0.24 0.02 60);
  padding: 6px 0 10px;
  outline: none;
}

.book-form input:focus { border-bottom: 1.5px solid oklch(0.58 0.10 140); }

.book-form button {
  justify-self: start;
  background: oklch(0.24 0.02 60);
  color: oklch(0.975 0.012 85);
  border: none;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 6px;
}
.book-form button:hover { background: oklch(0.34 0.05 140); }

.form-note { font-size: 14.5px; text-transform: none; letter-spacing: 0; color: oklch(0.47 0.02 70); margin: 0; }

.book-success { padding-top: 8px; }

.success-title {
  font-family: 'Newsreader', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 12px;
}

.success-sub {
  font-size: 16px;
  line-height: 1.6;
  color: oklch(0.47 0.02 70);
  margin: 0;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid oklch(0.89 0.015 85);
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: oklch(0.58 0.02 70);
}

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .page { padding: 0 22px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 56px 0 56px;
  }
  .hero-sub { font-size: 17.5px; }
  .env-intro { white-space: normal; max-width: 34ch; }
  .pull-quote { padding: 80px 0 96px; }
  .book { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 80px; }
  .footer { flex-wrap: wrap; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-montage { animation: none; }
  .env-card, .env-card:hover { transform: none; transition: none; }
}
