/* ============================================================
   Shaka — main stylesheet
   ============================================================
   Every color in this file MUST resolve to a token declared
   under :root below. Tokens trace to:
     - policy: shaka-brand-colors  (project:shaka)
     - policy: shaka-typography    (project:shaka)
   Typefaces are loaded from Fontshare (Indian Type Foundry) —
   the brand-declared sources for Clash Display / Switzer /
   Zodiak / Melodrama.
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,500&f[]=switzer@500,400&f[]=zodiak@700&f[]=melodrama@600&display=swap');

:root {
    /* ---- Brand palette (shaka-brand-colors policy) ----------- */
    --shaka-blue-ivy:      #281d6b; /* Color Principal */
    --shaka-paradise-bird: #df1d9f; /* Iluminación / highlight */
    --shaka-tempo-teal:    #008ea1; /* Detalles / detail */

    /* ---- Neutrals (pure grayscale per shaka-brand-colors policy:
              "neutral grayscale where R==G==B used only for typography /
              borders / shadows"). A proposal to widen this to allow warm
              tinted neutrals is on file as a kind:decision; until and
              unless the operator accepts that, neutrals stay grayscale. */
    --shaka-white:    #ffffff;
    --shaka-cream:    #f5f5f5; /* light grayscale background */
    --shaka-ink:      #1a1a1a; /* near-black grayscale for body text */
    --shaka-mist:     #e6e6e6; /* grayscale divider */
    --shaka-shadow:   rgba(40, 29, 107, 0.12); /* Blue Ivy @ 12% — palette color, not a neutral */

    /* ---- Typography (shaka-typography policy) --------------- */
    --font-display: 'Clash Display', 'Switzer', sans-serif; /* H1 - 600 */
    --font-body:    'Switzer', system-ui, -apple-system, sans-serif; /* body + H2 */
    --font-highlight: 'Zodiak', 'Switzer', serif; /* 12pt highlights */
    --font-graphic: 'Melodrama', 'Clash Display', serif; /* graphic-only ALL CAPS */

    /* ---- Scale (per policy thresholds) ---------------------- */
    --body-size: 18px;                 /* Switzer Regular 18pt baseline */
    --h1-scale: 3;                     /* 300% */
    --h2-scale: 2;                     /* 200% */
    --highlight-size: 12px;            /* Zodiak Bold 12pt */

    /* ---- Layout ---------------------------------------------- */
    --content-max: 1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-pad: clamp(3.5rem, 8vw, 7rem);
    --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--body-size);
    line-height: 1.55;
    color: var(--shaka-ink);
    background: var(--shaka-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, .h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.75rem, 7vw, 5.5rem); /* ~300% of body at desktop */
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

h2, .h2 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem); /* ~200% of body */
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.highlight, .fineprint {
    font-family: var(--font-highlight);
    font-weight: 700;
    font-size: var(--highlight-size);
    text-transform: none;
    letter-spacing: 0.04em;
}

.eyebrow {
    /* Melodrama is graphic-only per policy; use Clash Display for editorial eyebrows */
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--shaka-paradise-bird);
    margin: 0 0 0.75rem;
}

/* ---------- Layout helpers ---------- */
.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.section-stripes {
    /* Decorative B&W stripe band — venue identity signal (visual-reference-library) */
    height: 18px;
    background-image: repeating-linear-gradient(
        135deg,
        var(--shaka-ink) 0 14px,
        var(--shaka-cream) 14px 28px
    );
    margin: 0;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem var(--gutter);
    background: rgba(247, 244, 238, 0.92); /* cream @ 92% */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--shaka-mist);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--shaka-blue-ivy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.nav-logo-mark {
    /* Circular badge per shaka-logo-usage policy */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--shaka-blue-ivy);
    color: var(--shaka-cream);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    /* No transform: rotate — logo tilt forbidden by policy */
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-links a {
    position: relative;
    padding: 0.25rem 0;
    color: var(--shaka-ink);
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--shaka-paradise-bird); }
.nav-cta {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: var(--shaka-paradise-bird);
    color: var(--shaka-white);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover {
    background: var(--shaka-blue-ivy);
    transform: translateY(-2px);
}
.nav-hamburger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--shaka-blue-ivy);
}
.nav-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    margin: 6px auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    color: var(--shaka-white);
    background: var(--shaka-blue-ivy);
    overflow: hidden;
}
.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.02);
}
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(40, 29, 107, 0.25) 0%,
        rgba(40, 29, 107, 0.55) 60%,
        rgba(40, 29, 107, 0.85) 100%
    );
}
.hero-inner {
    position: relative;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--section-pad) var(--gutter) calc(var(--section-pad) - 1rem);
    width: 100%;
}
.hero h1 {
    color: var(--shaka-white);
    max-width: 14ch;
}
.hero-claim {
    /* "Calm, Flow & Shaka" — brand claim (shaka-business-identity invariant) */
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--shaka-paradise-bird);
    margin: 0 0 1.25rem;
}
.hero-sub {
    max-width: 38ch;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0 0 2rem;
    color: rgba(255,255,255,0.92);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
    background: var(--shaka-paradise-bird);
    color: var(--shaka-white);
}
.btn-primary:hover {
    background: var(--shaka-tempo-teal);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--shaka-white);
    border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover {
    background: var(--shaka-white);
    color: var(--shaka-blue-ivy);
    border-color: var(--shaka-white);
}

/* ---------- Manifesto ---------- */
.manifesto {
    background: var(--shaka-cream);
    text-align: center;
}
.manifesto-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.manifesto p {
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.7;
    margin: 0 0 1.25rem;
    color: var(--shaka-ink);
}
.manifesto .signoff {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    text-transform: uppercase;
    color: var(--shaka-blue-ivy);
    margin-top: 2rem;
    line-height: 1.1;
}

/* ---------- Menu preview ---------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.menu-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--shaka-blue-ivy);
    color: var(--shaka-white);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px var(--shaka-shadow);
}
.menu-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.menu-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(40,29,107,0) 40%, rgba(40,29,107,0.85) 100%);
}
.menu-card-label {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.01em;
}
.menu-card-label small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.4rem;
    opacity: 0.85;
}

/* ---------- Essence (brand attributes) ---------- */
.essence {
    background: var(--shaka-blue-ivy);
    color: var(--shaka-white);
}
.essence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}
.essence h2 { color: var(--shaka-white); }
.essence-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    columns: 2;
    column-gap: 1.5rem;
    font-size: 1.05rem;
}
.essence-list li {
    padding: 0.4rem 0;
    break-inside: avoid;
    color: rgba(255,255,255,0.92);
}
.essence-list li::before {
    content: "◆ ";
    color: var(--shaka-paradise-bird);
    font-size: 0.7em;
    margin-right: 0.4rem;
    vertical-align: middle;
}
.essence-image {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

/* ---------- Visit / locations ---------- */
.visit {
    background: var(--shaka-cream);
}
.visit-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
    background: var(--shaka-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shaka-shadow);
}
.visit-image {
    background-size: cover;
    background-position: center;
    min-height: 360px;
}
.visit-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.visit-body h3 {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--shaka-blue-ivy);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
.visit-meta {
    display: grid;
    gap: 0.6rem;
    margin: 1.25rem 0 1.75rem;
    font-size: 1rem;
}
.visit-meta strong {
    color: var(--shaka-tempo-teal);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
}
.visit-fineprint {
    /* Zodiak Bold 12pt — highlights/microcopy per shaka-typography */
    font-family: var(--font-highlight);
    font-weight: 700;
    font-size: var(--highlight-size);
    color: var(--shaka-ink);
    opacity: 0.7;
    margin-top: 1rem;
}

/* ---------- Community / contact ---------- */
.community {
    background: var(--shaka-paradise-bird);
    color: var(--shaka-white);
    text-align: center;
}
.community h2 { color: var(--shaka-white); }
.community p {
    max-width: 50ch;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}
.community-form {
    max-width: 640px;
    margin: 2.5rem auto 0;
    display: grid;
    gap: 1rem;
    text-align: left;
}
.community-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.community-form label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.35rem;
    color: rgba(255,255,255,0.85);
}
.community-form input,
.community-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: var(--shaka-white);
    font: inherit;
    font-size: 1rem;
}
.community-form input::placeholder,
.community-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
.community-form input:focus,
.community-form textarea:focus {
    outline: none;
    border-color: var(--shaka-white);
    background: rgba(255,255,255,0.15);
}
.community-form textarea { min-height: 140px; resize: vertical; }
.community-form button {
    justify-self: start;
    padding: 1rem 2rem;
    background: var(--shaka-blue-ivy);
    color: var(--shaka-white);
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.community-form button:hover {
    background: var(--shaka-ink);
    transform: translateY(-2px);
}
.form-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.2em;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--shaka-ink);
    color: rgba(255,255,255,0.85);
    padding: var(--section-pad) var(--gutter) 2rem;
}
.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--shaka-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.footer-brand small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: var(--shaka-paradise-bird);
    margin-top: 0.5rem;
    text-transform: uppercase;
}
.footer-col h4 {
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    color: var(--shaka-paradise-bird);
    margin: 0 0 1rem;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--shaka-tempo-teal); }
.footer-bottom {
    max-width: var(--content-max);
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--font-highlight);
    font-weight: 700;
    font-size: var(--highlight-size);
    color: rgba(255,255,255,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .nav-hamburger { display: block; }

    .essence-grid,
    .visit-card,
    .footer-inner { grid-template-columns: 1fr; }

    .essence-list { columns: 1; }
    .visit-body { padding: 1.75rem; }
    .community-form .row { grid-template-columns: 1fr; }
    .hero { min-height: 78vh; }
}
