/* =================================================================
   CJ William — root homepage (replaces /home.html on production).
   Mono palette + Jost body + Cormorant Garamond wordmark.
   No JS-driven animation; only CSS hover/transition (per brief).
   ================================================================= */

:root {
    /* Mono spine (mirrors /wholesale tokens.css) */
    --c-primary:        #000;
    --c-primary-soft:   #111;
    --c-primary-alt:    #1a1a1a;
    --c-text:           #000;
    --c-text-body:      #555;
    --c-text-muted:     #777;
    --c-text-on-dark:   #fff;
    --c-text-on-dark-d: #aaa;
    --c-bg-page:        #fff;
    --c-bg-soft:        #f6f6f6;
    --c-bg-paper:       #fafaf7;     /* warm paper for editorial bands */
    --c-bg-tint:        #f0ede6;     /* warmer for category tiles */
    --c-border:         #e5e5e5;
    --c-border-strong:  #1a1a1a;

    /* Accent (sparing — header pills only) */
    --c-accent:         #1A5EDD;

    /* WhatsApp brand (Task 6) */
    --c-wa:             #25D366;
    --c-wa-dark:        #1ebe5a;

    /* Type */
    --f-body: 'Jost', 'Segoe UI', Tahoma, sans-serif;
    --f-display: 'Cormorant Garamond', 'Times New Roman', serif;

    /* Spacing */
    --gutter: clamp(20px, 4vw, 64px);
    --section-y: clamp(56px, 9vw, 112px);

    --shadow-card: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px -16px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--c-text-body);
    background: var(--c-bg-page);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

h1, h2, h3 { color: var(--c-text); margin: 0; line-height: 1.15; font-weight: 600; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    text-decoration: none !important;
}
.btn--sm { padding: 8px 22px; font-size: 13px; }
.btn--lg { padding: 16px 34px; font-size: 15px; }

.btn--solid {
    background: var(--c-primary-soft);
    color: var(--c-text-on-dark);
    border-color: var(--c-primary-soft);
}
.btn--solid:hover { background: #000; border-color: #000; }

.btn--outline {
    background: transparent;
    color: var(--c-text);
    border-color: currentColor;
}
.btn--outline:hover { background: var(--c-text); color: var(--c-text-on-dark); }

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-accent);
}
.btn--ghost:hover { background: var(--c-bg-soft); }

/* On dark surfaces */
.btn--on-dark.btn--solid {
    background: #fff; color: #000; border-color: #fff;
}
.btn--on-dark.btn--solid:hover { background: transparent; color: #fff; border-color: #fff; }

/* WhatsApp green */
.btn--wa {
    background: var(--c-wa);
    color: #fff;
    border-color: var(--c-wa);
}
.btn--wa:hover { background: var(--c-wa-dark); border-color: var(--c-wa-dark); }

/* Header styles live in /wp-content/themes/stablos-child/css/custom-header.css
   (shared with the WP-rendered header — single source of truth). */

/* ---------------------------------------------------------------
   1. Hero
   --------------------------------------------------------------- */
.hero {
    position: relative;
    color: var(--c-text-on-dark);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(80px, 14vw, 180px) var(--gutter) clamp(64px, 10vw, 120px);
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    /* Charcoal canvas + radial spotlight + film grain — no parallax, no motion */
    background:
        radial-gradient(ellipse 90% 60% at 70% 20%, rgba(255,255,255,.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 10% 90%, rgba(26,94,221,.10), transparent 70%),
        linear-gradient(180deg, #1f1f1f 0%, #131313 100%);
}
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: .6;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow {
    margin: 0 0 28px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-text-on-dark-d);
    font-weight: 500;
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(34px, 5.6vw, 76px);
    line-height: 1.04;
    letter-spacing: -.01em;
    color: #fff;
    max-width: 18ch;
}
.hero-title .num { font-feature-settings: "tnum" 1, "lnum" 1; font-style: italic; }
.hero-title-soft {
    display: block;
    margin-top: 8px;
    font-size: clamp(20px, 2.4vw, 30px);
    color: rgba(255,255,255,.78);
    font-style: italic;
    font-weight: 500;
    line-height: 1.25;
    max-width: 28ch;
}

.hero-sub {
    margin: 28px 0 36px;
    color: rgba(255,255,255,.72);
    font-size: clamp(15px, 1.4vw, 17px);
    max-width: 60ch;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.hero .btn--solid {
    background: #fff; color: #000; border-color: #fff;
}
.hero .btn--solid:hover { background: transparent; color: #fff; }
.hero .btn--outline { color: #fff; }
.hero .btn--outline:hover { background: #fff; color: #000; }

.hero-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--c-wa);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .03em;
}
.hero-wa:hover { text-decoration: none; color: #fff; }
.hero-wa:hover .wa-dot { background: #fff; }
.wa-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-wa);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
    transition: background .2s ease;
}
.hero-wa-arrow { transition: transform .2s ease; }
.hero-wa:hover .hero-wa-arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------
   2. Trust strip
   --------------------------------------------------------------- */
.trust {
    border-bottom: 1px solid var(--c-border);
    background: #fff;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1480px;
    margin: 0 auto;
}
.trust-grid li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 36px var(--gutter);
    border-left: 1px solid var(--c-border);
}
.trust-grid li:first-child { border-left: 0; }
.trust-num {
    font-family: var(--f-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    color: var(--c-text);
    line-height: 1;
    font-feature-settings: "tnum" 1, "lnum" 1;
}
.trust-num-text { font-style: italic; }
.trust-num-plus { font-size: .55em; vertical-align: super; margin-left: 2px; }
.trust-num-unit { font-size: .42em; vertical-align: super; margin-left: 4px; letter-spacing: .04em; text-transform: lowercase; }
.trust-label {
    font-size: 13px;
    color: var(--c-text-body);
    letter-spacing: .02em;
}

@media (max-width: 720px) {
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid li { padding: 26px var(--gutter); }
    .trust-grid li:nth-child(2) { border-left: 1px solid var(--c-border); }
    .trust-grid li:nth-child(3) { border-left: 0; border-top: 1px solid var(--c-border); }
    .trust-grid li:nth-child(4) { border-top: 1px solid var(--c-border); }
}

/* ---------------------------------------------------------------
   Section heads (shared)
   --------------------------------------------------------------- */
.section-head {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.section-head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-head h2 {
    font-family: var(--f-display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -.005em;
}
.section-sub { color: var(--c-text-muted); margin: 0; font-size: 15px; }

/* ---------------------------------------------------------------
   3. Categories
   --------------------------------------------------------------- */
.categories {
    padding: var(--section-y) 0 var(--section-y);
    background: var(--c-bg-page);
}
.cat-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--c-border);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 4 / 5;
    padding: 28px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    transition: transform .4s ease;
}
.cat-tile::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.0) 30%, rgba(0,0,0,.65) 100%);
    transition: opacity .3s ease;
}
.cat-tile::after {
    /* Decorative numeral pattern fallback while images aren't wired yet. */
    content: "";
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 70% 60% at 50% 30%, rgba(255,255,255,.08), transparent 70%),
        linear-gradient(135deg, #2a2a2a 0%, #111 100%);
}
.cat-tile:hover { text-decoration: none; }
.cat-tile:hover::before { opacity: .85; }
.cat-num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 18px;
    color: rgba(255,255,255,.6);
    letter-spacing: .12em;
}
.cat-meta { display: flex; flex-direction: column; gap: 8px; }
.cat-label {
    font-family: var(--f-display);
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.1;
    font-weight: 500;
    color: #fff;
}
.cat-cta {
    font-size: 13px;
    color: rgba(255,255,255,.78);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* category background images */
.cat-tile--watches::after  { background: url('https://hel1.your-objectstorage.com/stablos/2026/05/watches-1.jpg') center/cover no-repeat; transition: transform .5s ease; }
.cat-tile--bags::after     { background: url('https://hel1.your-objectstorage.com/stablos/2025/08/Mini-Kelly-207.jpg') center/cover no-repeat; transition: transform .5s ease; }
.cat-tile--diamonds::after { background: url('https://hel1.your-objectstorage.com/stablos/2026/05/jewelry-lab.jpg') center/cover no-repeat; transition: transform .5s ease; }
.cat-tile:hover::after { transform: scale(1.06); }

@media (max-width: 900px) {
    .cat-grid { grid-template-columns: 1fr; }
    .cat-tile { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------
   4. How it works (3 steps)
   --------------------------------------------------------------- */
.how {
    padding: var(--section-y) var(--gutter);
    background: var(--c-bg-paper);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.how-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 56px auto 0;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #d8d4ca;
}
.how-steps li {
    padding: 32px 28px 36px;
    border-right: 1px solid #d8d4ca;
}
.how-steps li:last-child { border-right: 0; }
.how-num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 56px;
    color: var(--c-text);
    line-height: 1;
}
.how-title {
    margin: 16px 0 8px;
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--c-text);
}
.how-body {
    margin: 0;
    font-size: 15px;
    color: var(--c-text-body);
    max-width: 36ch;
}
.how-cta {
    margin: 40px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
.how-cta a { border-bottom: 1px solid var(--c-text); padding-bottom: 2px; }
.how-cta a:hover { text-decoration: none; opacity: .65; }

@media (max-width: 800px) {
    .how-steps { grid-template-columns: 1fr; }
    .how-steps li { border-right: 0; border-bottom: 1px solid #d8d4ca; }
    .how-steps li:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------
   5. Visit Surfside
   --------------------------------------------------------------- */
.visit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--c-bg-page);
}
.visit-photo {
    /* background: linear-gradient(160deg, #2a2a2a 0%, #0e0e0e 100%); */
    min-height: 460px;
    background: url('https://hel1.your-objectstorage.com/stablos/2026/05/showroom-1.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
.visit-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    font-family: var(--f-display);
    font-style: italic;
    font-size: 22px;
    letter-spacing: .04em;
}

.visit-body {
    padding: var(--section-y) var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 720px;
}
.visit-body h2 {
    font-family: var(--f-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
}
.visit-info {
    margin: 0;
    display: grid;
    grid-template-columns: 110px 1fr;
    row-gap: 18px;
    column-gap: 24px;
    font-size: 15px;
    line-height: 1.5;
}
.visit-info dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--c-text-muted);
    padding-top: 4px;
}
.visit-info dd { margin: 0; color: var(--c-text); }
.visit-info dd a { border-bottom: 1px solid currentColor; }
.visit-info dd a:hover { text-decoration: none; opacity: .65; }
.visit-closed { color: var(--c-text-muted); }
.visit-map {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--c-border);
}
.visit-map iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
    filter: grayscale(0.3) contrast(1.05);
}

@media (max-width: 900px) {
    .visit { grid-template-columns: 1fr; }
    .visit-photo { min-height: 280px; }
}

/* ---------------------------------------------------------------
   6. Corporate band
   --------------------------------------------------------------- */
.corporate {
    background: #111;
    color: var(--c-text-on-dark);
    padding: var(--section-y) var(--gutter);
    text-align: left;
    position: relative;
    overflow: hidden;
}
.corporate::before {
    /* Hairline serif numeral as background ornament */
    content: "50";
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(180px, 28vw, 420px);
    line-height: 1;
    color: rgba(255,255,255,.08);
    pointer-events: none;
    z-index: 0;
}
.corporate > * { position: relative; z-index: 1; }
.corporate-eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-text-on-dark-d);
    font-weight: 500;
}
.corporate-title {
    font-family: var(--f-display);
    color: #fff;
    font-size: clamp(28px, 4.2vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    max-width: 22ch;
    margin: 0 0 28px;
}
.corporate-body {
    color: rgba(255,255,255,.78);
    max-width: 60ch;
    margin: 0 0 36px;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.6;
}
.corporate-body strong { color: #fff; font-weight: 500; }

/* ---------------------------------------------------------------
   7. Testimonial
   --------------------------------------------------------------- */
.testimonial {
    background: var(--c-bg-paper);
    padding: var(--section-y) var(--gutter);
}
.testimonial blockquote {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.testimonial blockquote::before {
    content: "“";
    position: absolute;
    top: -.55em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display);
    font-size: clamp(120px, 16vw, 220px);
    line-height: 1;
    color: rgba(0,0,0,.06);
    pointer-events: none;
    z-index: 0;
}
.testimonial blockquote p {
    position: relative;
    z-index: 1;
    margin: 0 0 28px;
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.4;
    color: var(--c-text);
    font-weight: 500;
}
.testimonial-cite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}
.testimonial-cite cite { font-style: normal; color: var(--c-text); }
.testimonial-cite a { color: var(--c-text-muted); border-bottom: 1px solid currentColor; padding-bottom: 1px; letter-spacing: .04em; text-transform: none; font-size: 12px; }
.testimonial-cite a:hover { text-decoration: none; opacity: .7; }

/* ---------------------------------------------------------------
   8. WhatsApp deals band
   --------------------------------------------------------------- */
.wa-deals {
    background: var(--c-wa);
    color: #fff;
    padding: clamp(48px, 7vw, 90px) var(--gutter);
}
.wa-deals-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.wa-deals h2 {
    font-family: var(--f-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
}
.wa-deals p {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 15px;
}
.wa-deals .btn--wa {
    background: #fff;
    color: #0e6c33;
    border-color: #fff;
    font-weight: 600;
}
.wa-deals .btn--wa:hover {
    background: var(--c-primary-soft); color: #fff; border-color: var(--c-primary-soft);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
    background: #0e0e0e;
    color: var(--c-text-on-dark-d);
    padding: clamp(48px, 7vw, 80px) var(--gutter) 24px;
    border-top: 1px solid #1f1f1f;
}
.footer-inner {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.foot-col h3 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin: 0 0 14px;
    font-weight: 500;
}
.foot-col p { margin: 0; font-size: 14px; line-height: 1.7; }
.foot-col a { color: var(--c-text-on-dark-d); }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-col--brand .brand-mark--small {
    font-size: 18px;
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
}
.foot-tag { color: var(--c-text-on-dark-d); font-size: 13px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a {
    display: inline-flex;
    width: 36px; height: 36px;
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: .04em;
}
.social a:hover { border-color: #fff; color: #fff; }

.footer-base {
    max-width: 1480px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid #1f1f1f;
    font-size: 12px;
    letter-spacing: .04em;
}

@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------------------------------------------------------
   Floating WhatsApp button (Task 6 stub on this page only)
   --------------------------------------------------------------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--c-wa);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px -8px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.18);
    transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { transform: translateY(-2px); background: var(--c-wa-dark); text-decoration: none; }
.wa-float::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--c-wa);
    opacity: .4;
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0%   { transform: scale(.85); opacity: .5; }
    70%  { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float::after { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------
   Tiny screens (≥360px target per brief)
   --------------------------------------------------------------- */
@media (max-width: 380px) {
    .hero-ctas .btn { width: 100%; }
    .wa-deals-inner { flex-direction: column; align-items: flex-start; }
    .wa-deals .btn--wa { width: 100%; }
}
