/* ============================================================
   FOOTSCRAY COWORKING — design system
   Palette pulled from the space itself: warm plaster whites,
   timber floors, the coral studio door and that burgundy lamp.
   ============================================================ */

:root {
    --cream: #faf6f0;
    --cream-deep: #f3ece2;
    --ink: #241d18;
    --ink-soft: #5c5248;
    --walnut: #6b4226;
    --coral: #d96849;
    --coral-deep: #c2532f;
    --burgundy: #6e2f3c;
    --white: #fffdfa;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 10px 40px rgba(36, 29, 24, 0.08);
    --shadow-lift: 0 18px 50px rgba(36, 29, 24, 0.14);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- Reset & basics --- */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

::selection {
    background: var(--coral);
    color: var(--white);
}

/* --- Layout utilities --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 96px 0;
    scroll-margin-top: 90px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral-deep);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

.section-sub {
    color: var(--ink-soft);
    max-width: 560px;
}

.section-head {
    margin-bottom: 48px;
}

.section-head[style*="center"] .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* --- Scroll reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Header --- */
header {
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

header.is-scrolled {
    box-shadow: 0 2px 24px rgba(36, 29, 24, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--coral-deep);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.25s;
}

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

.nav-cta {
    background: var(--ink);
    color: var(--cream) !important;
    padding: 9px 20px;
    border-radius: 50px;
    transition: background 0.25s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--walnut);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.98rem;
    font-family: var(--font-body);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    border: none;
    cursor: pointer;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--coral-deep);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(194, 83, 47, 0.32);
}

.btn-primary:hover {
    background: var(--burgundy);
    box-shadow: 0 8px 28px rgba(110, 47, 60, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px rgba(36, 29, 24, 0.25);
}

.btn-ghost:hover {
    box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* --- Hero --- */
.hero {
    padding: 72px 0 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-sub strong {
    color: var(--ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-facts {
    display: flex;
    gap: 36px;
    list-style: none;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.hero-facts strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1.2;
}

.hero-media {
    position: relative;
}

.hero-media > img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
}

.hero-card {
    position: absolute;
    left: -28px;
    bottom: 36px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px 22px;
    box-shadow: var(--shadow-lift);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-card-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-card-price span {
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.hero-card-note {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

/* --- About --- */
#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media > img:first-child {
    width: 82%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.about-media-secondary {
    position: absolute;
    right: 0;
    bottom: -40px;
    width: 52%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lift);
    border: 5px solid var(--white);
}

.about-copy p + p {
    margin-top: 16px;
}

.about-copy {
    color: var(--ink-soft);
}

.about-copy strong {
    color: var(--ink);
}

.about-callout {
    margin-top: 28px;
    background: var(--cream);
    border-left: 4px solid var(--coral-deep);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: grid;
    gap: 6px;
}

.about-callout p {
    margin: 0 !important;
    color: var(--ink-soft);
}

.about-callout strong {
    display: inline-block;
    min-width: 84px;
    color: var(--ink);
}

/* --- Studios --- */
.studio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.studio-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.studio-card-media {
    height: 240px;
    overflow: hidden;
}

.studio-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.studio-card:hover .studio-card-media img {
    transform: scale(1.04);
}

.studio-card-body {
    padding: 24px 26px 28px;
}

.studio-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.studio-meta {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.studio-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--coral-deep);
}

.studio-price span {
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-weight: 500;
}

.studio-price em {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-left: 8px;
}

/* --- Amenities --- */
.amenities {
    background: var(--ink);
    color: var(--cream);
}

.amenities .section-title {
    color: var(--white);
}

.amenities .eyebrow {
    color: var(--coral);
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.amenity {
    background: rgba(255, 253, 250, 0.06);
    border: 1px solid rgba(255, 253, 250, 0.1);
    border-radius: var(--radius-sm);
    padding: 26px;
    transition: background 0.3s ease;
}

.amenity:hover {
    background: rgba(255, 253, 250, 0.1);
}

.amenity h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.amenity p {
    font-size: 0.92rem;
    color: rgba(250, 246, 240, 0.75);
}

/* --- Gallery / Swiper --- */
#gallery {
    background: var(--cream-deep);
}

.swiper {
    width: 100%;
    padding-bottom: 56px;
}

.swiper-slide {
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--ink);
    background: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.05rem;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: var(--ink-soft);
}

.swiper-pagination-bullet-active {
    background: var(--coral-deep);
}

/* --- Contact --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}

.form-container {
    padding: 48px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
}

input, textarea {
    padding: 13px 14px;
    margin-bottom: 20px;
    border: 1.5px solid #e4dcd1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--cream);
    color: var(--ink);
    transition: border-color 0.25s, background 0.25s;
}

input::placeholder, textarea::placeholder {
    color: #b3a797;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--coral-deep);
    background: var(--white);
}

/* Honeypot — visually gone, still in the DOM for bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-status {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-weight: 500;
}

.form-status-success {
    background: #eef5ec;
    color: #2d5a33;
    border: 1px solid #cde0c9;
}

.form-status-error {
    background: #faeceb;
    color: #8c3026;
    border: 1px solid #ecd0cc;
}

.map-side {
    display: flex;
    flex-direction: column;
}

.map-container {
    flex: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}

.visit-card {
    font-style: normal;
    padding: 22px 28px;
    background: var(--ink);
    color: rgba(250, 246, 240, 0.8);
    font-size: 0.92rem;
    line-height: 1.6;
}

.visit-card strong {
    display: block;
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 48px 24px;
    background: var(--ink);
    color: rgba(250, 246, 240, 0.65);
    font-size: 0.88rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-media > img {
        height: 460px;
    }

    .studio-cards,
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        padding: 40px 0 64px;
    }

    .hero-actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1;
        padding: 13px 16px;
        font-size: 0.9rem;
        text-align: center;
        white-space: nowrap;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-media > img {
        height: 420px;
    }

    .hero-card {
        left: 16px;
    }

    .hero-facts {
        gap: 24px;
    }

    .about-media {
        margin-bottom: 48px;
    }

    .about-media > img:first-child {
        width: 100%;
        height: 380px;
    }

    .studio-cards,
    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 32px 24px;
    }

    .swiper-slide {
        height: 280px;
    }
}
