/* Schooner & The Bear — studio site
   Palette drawn from the logo: deep navy, cream sail, warm wood, sea slate. */

:root {
    --navy: #1c2a44;
    --navy-deep: #131f35;
    --cream: #f4ecdd;
    --sand: #faf6ec;
    --wood: #9a6b3f;
    --wood-light: #c08a52;
    --slate: #5b6c8f;
    --ink: #23293a;
    --muted: #646b7d;
    --serif: "Fraunces", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--sand);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--navy); }

a { color: var(--wood); }

.kicker {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wood);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); }

.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: #fff; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 246, 236, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(28, 42, 68, 0.08);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--navy);
}

.brand img { border-radius: 50%; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--wood); }

.nav-links .nav-cta {
    background: var(--navy);
    color: var(--cream);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
}

.nav-links .nav-cta:hover { background: var(--navy-deep); color: var(--cream); }

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
    padding: 5rem 0 4.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }

.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.hero-mark img {
    border-radius: 50%;
    max-width: 340px;
    margin: 0 auto;
    box-shadow: 0 18px 50px rgba(28, 42, 68, 0.18);
}

/* Sections */
section { padding: 4.5rem 0; }

.apps h2, .consulting h2 { font-size: 2.2rem; margin-bottom: 1.6rem; }

.section-lead { color: var(--muted); max-width: 40em; margin-bottom: 2.2rem; }

/* App card */
.app-card {
    background: #fff;
    border: 1px solid rgba(28, 42, 68, 0.08);
    border-radius: 18px;
    padding: 2.4rem;
    box-shadow: 0 8px 30px rgba(28, 42, 68, 0.07);
}

.app-card h3 { font-size: 1.7rem; }

.app-tagline {
    font-family: var(--serif);
    font-style: italic;
    color: var(--wood);
    margin: 0.3rem 0 1rem;
}

.app-card p:not(.app-tagline) { max-width: 46em; }

.app-card-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.store-badge { display: inline-block; }

.store-badge img { height: 44px; display: block; }

.store-badge:hover { opacity: 0.85; }

.apps-more {
    margin-top: 1.4rem;
    color: var(--muted);
    font-style: italic;
    text-align: right;
}

/* Consulting */
.consulting { background: var(--navy); }

.consulting .kicker { color: var(--wood-light); }

.consulting h2 { color: var(--cream); }

.consulting .section-lead { color: rgba(244, 236, 221, 0.75); }

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.service {
    background: rgba(244, 236, 221, 0.06);
    border: 1px solid rgba(244, 236, 221, 0.14);
    border-radius: 14px;
    padding: 1.8rem;
}

.service h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 0.7rem; }

.service p { color: rgba(244, 236, 221, 0.78); font-size: 0.98rem; }

/* Contact band */
.contact-band {
    background: linear-gradient(160deg, var(--wood) 0%, var(--wood-light) 100%);
    text-align: center;
}

.contact-band h2 { color: #fff; font-size: 2rem; margin-bottom: 0.6rem; }

.contact-band p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.6rem; }

/* Footer */
.site-footer {
    background: var(--navy-deep);
    color: rgba(244, 236, 221, 0.7);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.footer-brand img { border-radius: 50%; margin: 0 auto 0.8rem; }

.footer-brand p { font-family: var(--serif); font-style: italic; color: var(--cream); }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    list-style: none;
    margin: 1.4rem 0;
    flex-wrap: wrap;
}

.footer-links a { color: rgba(244, 236, 221, 0.85); text-decoration: none; }

.footer-links a:hover { color: var(--wood-light); }

.footer-legal { font-size: 0.85rem; }

/* Responsive */
@media (max-width: 800px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy .lead { margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .hero-mark img { max-width: 240px; }
    .services { grid-template-columns: 1fr; }
    .nav-links { gap: 1rem; }
    .brand span { display: none; }
}
