/* Oh Apps brochure site */

:root {
  --cyan: #1BA8C5;
  --cyan-deep: #128AA5;
  --cyan-soft: #E6F6FA;
  --cyan-50: #F4FBFD;
  --ink: #14272F;
  --ink-soft: #4A5D66;
  --ink-mute: #7C8A91;
  --line: #E5EBED;
  --paper: #FBFAF6;
  --white: #ffffff;
  --display: "Fredoka", "Quicksand", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 246, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 36px;
}
.nav-logo img { height: 100%; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--cyan); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: var(--cyan);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px -8px rgba(27,168,197,.55);
}
.btn:hover { background: var(--cyan-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
  padding: 10.5px 18.5px;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--cyan);
  background: var(--cyan-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.headline {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.headline em {
  font-style: normal;
  color: var(--cyan);
  position: relative;
  white-space: nowrap;
}
.headline em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -4px;
  height: 10px;
  background: var(--cyan);
  opacity: .18;
  border-radius: 999px;
  z-index: -1;
}
.headline-quote {
  font-family: var(--display);
  font-style: italic;
  position: relative;
  white-space: nowrap;
}

.lede {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -30px rgba(20,39,47,.25);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-card-main {
  inset: 0;
  background: var(--cyan);
  border-radius: var(--radius-xl);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px -20px rgba(27,168,197,.5);
}
.hero-card-main img { width: 70%; max-width: 320px; }

.hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 26px -10px rgba(20,39,47,.2);
}
.hero-chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: #fff;
  font-size: 14px;
}
.chip-design { top: 10%; right: -4%; }
.chip-build  { bottom: 22%; left: -8%; }
.chip-market { bottom: 4%; right: 8%; }
.chip-design .hero-chip-icon { background: #F26B6B; }
.chip-build  .hero-chip-icon { background: #6D8FFF; }
.chip-market .hero-chip-icon { background: #2EBE85; }

.float { animation: float 6s ease-in-out infinite; }
.float-2 { animation: float 7s ease-in-out -2s infinite; }
.float-3 { animation: float 8s ease-in-out -4s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 880px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------- Section heads ---------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section-soft { background: var(--white); }
.section-ink { background: var(--ink); color: #DDE4E8; }
.section-cyan { background: var(--cyan); color: #fff; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head-stack { max-width: 640px; }
.section-tag {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-ink .section-tag,
.section-cyan .section-tag { color: rgba(255,255,255,.7); }
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-lede {
  margin: 16px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
}
.section-ink .section-lede { color: rgba(255,255,255,.7); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -30px rgba(20,39,47,.22);
}
.service-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-num::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-mute);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
}
.service-icon.design  { background: #F26B6B; }
.service-icon.build   { background: #6D8FFF; }
.service-icon.market  { background: #2EBE85; }

.service-name {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.service-desc {
  color: var(--ink-soft);
  margin: 0 0 20px;
  font-size: 15.5px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
  flex-shrink: 0;
}

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.work-card {
  grid-column: span 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20,39,47,.22); }
.work-card.wide { grid-column: span 4; }
.work-card.tall { grid-column: span 2; }

.work-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.work-card.tall .work-thumb { aspect-ratio: 4 / 5; }
.work-thumb-inner {
  width: 70%;
  aspect-ratio: 9 / 18;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(20,39,47,.4);
  position: relative;
  overflow: hidden;
  transform: translateY(18%);
  transition: transform .35s ease;
}
.work-card:hover .work-thumb-inner { transform: translateY(12%); }
.work-thumb-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 8px, transparent 8px 16px);
}
.work-meta {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.work-tags span:not(:last-child)::after { content: "·"; margin-left: 8px; opacity: .5; }
.work-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.work-blurb { margin: 0; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 880px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.wide, .work-card.tall { grid-column: span 1; }
  .work-card.tall .work-thumb { aspect-ratio: 16 / 10; }
}

/* ---------- Process strip ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-step:last-child { border-right: none; }
.process-step-num {
  font-family: var(--display);
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.process-step-name {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.process-step-desc {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 14.5px;
  line-height: 1.5;
}
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.18); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.about-copy p + p { margin-top: 18px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.stat {
  background: var(--cyan-50);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.about-quote {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  position: relative;
}
.about-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: var(--display);
  font-size: 90px;
  line-height: 1;
  color: var(--cyan);
  opacity: .9;
}
.about-quote blockquote {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.about-quote-attrib {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F26B6B, #6D8FFF);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
}
.about-quote-name { font-weight: 600; font-size: 14.5px; }
.about-quote-role { font-size: 13px; color: var(--ink-mute); }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-single {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-single .section-title {
  margin-top: 4px;
}
.about-single p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 620px;
}
.about-single p + p { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  box-shadow: 0 30px 80px -40px rgba(20,39,47,.25);
}
.contact-aside h3 {
  font-family: var(--display);
  font-size: 36px;
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.contact-aside p { color: var(--ink-soft); margin: 0 0 24px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line-label {
  width: 80px;
  color: var(--ink-mute);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-line-value { font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cyan);
  background: #fff;
}
.field-error input, .field-error textarea, .field-error select {
  border-color: #E56565;
  background: #fff5f5;
}
.field-error-msg {
  font-size: 12.5px;
  color: #E56565;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.budget-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.budget-options button {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .15s ease;
}
.budget-options button:hover { border-color: var(--cyan); color: var(--cyan); }
.budget-options button.active {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}
.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.submit-note { font-size: 13px; color: var(--ink-mute); }

.sent-card {
  text-align: center;
  padding: 40px 20px;
}
.sent-emoji {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cyan-soft);
  display: grid;
  place-items: center;
  color: var(--cyan);
}
.sent-card h4 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 8px;
}
.sent-card p { margin: 0; color: var(--ink-soft); }

@media (max-width: 880px) {
  .contact-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .contact-row, .budget-options { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { height: 28px; }
.footer-meta { display: flex; gap: 28px; font-size: 14px; color: var(--ink-mute); }
.footer-meta a:hover { color: var(--cyan); }
.footer-fine { color: var(--ink-mute); font-size: 13.5px; margin-top: 24px; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
