/* OpaYeeHaw company site — self-contained, no external assets.
   Shares the Noodle palette: soft butter yellow (#F7E8A2) + warm dark brown,
   with the Pacifico script wordmark. */

@font-face {
  font-family: "Pacifico";
  src: url("Pacifico-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --brand: #F7E8A2;
  --brand-deep: #E3CC6E;
  --brand-tint: #FCF6DC;
  --on-brand: #3A2E0A;

  --ink: #16140C;
  --ink-soft: #5C584A;
  --paper: #FFFFFF;
  --paper-2: #FBFAF1;
  --line: #ECE7D4;

  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1020px;

  --font: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--on-brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: baseline; gap: 4px; }
.brand-name { font-family: "Pacifico", var(--font); font-size: 24px; line-height: 1; padding-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  padding: 11px 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand-deep); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #d9d2bb; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 24px 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 18px; font-weight: 800; }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); max-width: 30em; margin: 0 auto; }
.hero .fine-print { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 52px 24px; }
.section-head { max-width: 36em; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 700; }
.section-head p { font-size: 17px; color: var(--ink-soft); margin: 0; }

/* ---------- App tiles ---------- */
.app-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 760px; margin: 0 auto;
}
.app-tile {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
a.app-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -22px rgba(22,20,12,.34); border-color: var(--brand-deep); }
.app-tile img { width: 66px; height: 66px; border-radius: 16px; flex-shrink: 0; box-shadow: 0 6px 16px -8px rgba(0,0,0,.28); }
.app-tile-body { min-width: 0; }
.app-tile h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 800; }
.app-tile p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.app-tile .go { font-size: 14px; font-weight: 600; color: var(--on-brand); }

/* Blurred "coming soon" placeholder tiles */
.app-tile.coming { position: relative; overflow: hidden; cursor: default; }
.coming-inner {
  display: flex; gap: 16px; align-items: flex-start; width: 100%;
  filter: blur(5px) saturate(0.7); opacity: 0.75; user-select: none;
}
.ph-icon { width: 66px; height: 66px; border-radius: 16px; flex-shrink: 0; background: hsl(var(--h, 220) 55% 72%); }
.ph-body { display: flex; flex-direction: column; gap: 9px; flex: 1; padding-top: 8px; }
.ph-line { height: 12px; border-radius: 6px; background: #d8d2bf; }
.ph-line.title { width: 55%; height: 17px; background: #cfc8b2; }
.ph-line.w90 { width: 90%; }
.ph-line.w70 { width: 70%; }
.coming-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(22, 20, 12, 0.82); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}

/* ---------- About ---------- */
.about-body { max-width: 40em; margin: 0 auto; text-align: center; font-size: 16.5px; color: var(--ink-soft); }
.about-body p { margin: 0 0 14px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-line { margin: 4px 0 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 24px 40px; text-align: center; color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Alt section wash ---------- */
.wash { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  .app-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
}
