/* ============================================
   Beach Bum Tech LLC — site styles
   ============================================ */

:root {
  --ink: #17262e;
  --ink-soft: #3a4a52;
  --ink-softer: #4a5a62;
  --cream: #fbf6ee;
  --tint: #eaf3f7;
  --blue: #2472a4;
  --blue-dark: #1a5578;
  --sky: #8fd3ee;
  --orange: #e8722a;
  --orange-dark: #c85a17;
  --green: #3f7d4a;
  --navy-1: #10222c;
  --navy-2: #1c4a63;

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Work Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 40px rgba(23, 38, 46, 0.08);
  --shadow-deep: 0 30px 60px rgba(6, 20, 28, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 12px;
}
.eyebrow-on-dark { color: var(--sky); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff8f0; }
.btn-primary:hover { background: var(--orange-dark); color: #fff8f0; }
.btn-ghost {
  background: transparent;
  color: #eaf3f7;
  border: 1.5px solid rgba(234, 243, 247, 0.55);
}
.btn-ghost:hover { border-color: #eaf3f7; color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(23, 38, 46, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.brand-name .accent { color: var(--orange); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.primary-nav a:hover { color: var(--orange); }
.nav-cta { margin-left: 8px; padding: 11px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--blue) 100%);
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 96px 24px 140px;
}
.hero-copy {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.14;
  color: #fdf9f2;
  font-weight: 700;
  max-width: 11.5ch;
}
.hero .lede {
  font-size: 17px;
  line-height: 1.6;
  color: #cfe4ee;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.hero-art {
  flex: 1;
  display: flex;
  justify-content: center;
}
.logo-card {
  background: var(--cream);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow-deep);
}
.logo-card img { width: 240px; height: auto; }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  display: block;
}
.hero-wave path { fill: var(--cream); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: #eaf3f7;
}
.section-dark h2 { color: #fdf9f2; }

.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; font-weight: 700; }

/* ---------- Cards (What We Do) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-softer); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-blue { background: var(--tint); color: var(--blue); }
.icon-orange { background: #fdeee0; color: var(--orange); }
.icon-green { background: #e9f3ec; color: var(--green); }

/* ---------- Who We Are ---------- */
.who-row {
  display: flex;
  align-items: center;
  gap: 72px;
}
.who-photo { flex: 1; display: flex; justify-content: center; }
.photo-frame {
  width: 320px;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--tint);
  border: 4px solid var(--cream);
  box-shadow: var(--shadow-soft), 0 0 0 1.5px rgba(36, 114, 164, 0.18);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.who-copy { flex: 1.2; display: flex; flex-direction: column; gap: 16px; }
.who-copy h2 { font-size: 30px; font-weight: 700; }
.who-copy p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.signature { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.signature-rule { width: 38px; height: 2px; background: var(--orange); display: inline-block; }
.signature span:last-child { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-row {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.contact-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}
.contact-copy h2 { font-size: 32px; font-weight: 700; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  font-size: 15px;
}
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { color: var(--sky); flex-shrink: 0; }
.contact-list a { color: #eaf3f7; }
.contact-list a:hover { color: #fff; }

.contact-form-card {
  flex: 1.1;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-deep);
  color: var(--ink);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(23, 38, 46, 0.15);
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 114, 164, 0.15);
}
.field-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.2em;
}
.form-status.success { color: var(--green); }
.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f2530;
  padding: 32px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #cfe4ee;
}
.footer-brand img { width: 28px; height: 28px; object-fit: contain; opacity: 0.9; }
.site-footer p { font-size: 13px; color: #7fa0ae; }

/* ============================================
   Responsive — tablet and down
   ============================================ */
@media (max-width: 900px) {
  .hero-row { gap: 40px; padding: 72px 24px 110px; }
  .hero h1 { font-size: 38px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-row { gap: 40px; }
  .contact-row { gap: 40px; }
}

/* ============================================
   Responsive — mobile
   ============================================ */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(23, 38, 46, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .primary-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgba(23, 38, 46, 0.06); }
  .nav-cta { margin: 14px 0 0; text-align: center; }

  .hero-row { flex-direction: column-reverse; text-align: center; padding: 40px 20px 90px; }
  .hero-copy { align-items: center; gap: 18px; }
  .hero h1 { font-size: 30px; max-width: 16ch; }
  .hero .lede { font-size: 15.5px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .logo-card img { width: 150px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; }

  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 24px; }

  .who-row { flex-direction: column; text-align: center; }
  .who-copy { align-items: center; }
  .photo-frame { width: 220px; height: 220px; }
  .signature { justify-content: center; }

  .contact-row { flex-direction: column; }
  .contact-copy h2 { font-size: 24px; }
  .contact-form-card { padding: 26px; width: 100%; }

  .footer-row { flex-direction: column; text-align: center; }
}
