/* StoryLine Pro — Premium editorial PR design */

:root {
    --ink: #1a1a2e;
    --ink-soft: #2d2d44;
    --wine: #7c2d4a;
    --wine-dark: #5e2238;
    --wine-light: #9a4568;
    --cream: #f7f3ed;
    --cream-dark: #ebe4d8;
    --gold: #c4a574;
    --gold-light: #d4bc94;
    --text: #2a2a35;
    --text-muted: #5c5c6b;
    --text-on-dark: #e8e4dc;
    --text-on-dark-muted: #c8c4bc;
    --white: #ffffff;
    --focus: #2563eb;
    --success-bg: #ecfdf5;
    --success-border: #6ee7b7;
    --error: #b91c1c;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow: 0 12px 40px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 24px 60px rgba(26, 26, 46, 0.14);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --max-width: 1180px;
    --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wine);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

a:hover { color: var(--wine-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

.container {
    width: min(100% - 2.5rem, var(--max-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--wine);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--wine);
    color: var(--white);
    border-color: var(--wine);
    box-shadow: 0 4px 14px rgba(124, 45, 74, 0.25);
}

.btn--primary:hover {
    background: var(--wine-dark);
    border-color: var(--wine-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(124, 45, 74, 0.32);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cream);
    color: var(--white);
}

.btn--wide { width: 100%; }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 9000;
    padding: 1.25rem;
    background: rgba(26, 26, 46, 0.97);
    color: var(--cream);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(196, 165, 116, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
    width: min(100%, var(--max-width));
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner h2 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0 0 0.35rem;
}

.cookie-banner p { margin: 0; font-size: 0.92rem; color: var(--text-on-dark-muted); }

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.cookie-banner__link { color: var(--gold-light); font-size: 0.9rem; text-decoration: none; }
.cookie-banner__link:hover { color: var(--white); }

/* Masthead */
.masthead {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--cream-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.masthead__bar {
    background: var(--ink);
    color: var(--cream);
    font-size: 0.82rem;
}

.masthead__bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 0.45rem 0;
}

.masthead__tagline { margin: 0; opacity: 0.9; color: var(--text-on-dark-muted); }

.masthead__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.masthead__contact a { color: var(--gold-light); text-decoration: none; }
.masthead__contact a:hover { color: var(--white); }

.masthead__main {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--ink);
    transition: opacity var(--transition);
}

.brand:hover { opacity: 0.85; color: var(--ink); }

.brand__monogram {
    display: grid;
    place-items: center;
    width: 2.85rem;
    height: 2.85rem;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(124, 45, 74, 0.3);
}

.brand__wordmark {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-nav { grid-column: 1 / -1; }

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.75rem;
}

.site-nav__list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
    color: var(--wine);
    border-bottom-color: var(--wine);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: background var(--transition);
}

/* Hero */
.hero-cinema {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: end;
    color: var(--white);
    background: var(--ink);
}

.hero-cinema__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-cinema__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 46, 0.95) 0%,
        rgba(26, 26, 46, 0.55) 45%,
        rgba(26, 26, 46, 0.35) 100%
    );
}

.hero-cinema__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-cinema__content {
    position: relative;
    z-index: 1;
    padding: 5rem 0 4rem;
}

.hero-cinema__content h1 {
    color: var(--white);
    max-width: 14ch;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-cinema__lead {
    font-size: 1.15rem;
    max-width: 52ch;
    color: var(--text-on-dark);
    margin-bottom: 1.75rem;
}

.hero-cinema__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-cinema .btn--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-cinema .btn--outline:hover {
    background: var(--white);
    color: var(--ink);
}

.cta-strip .btn--outline {
    color: var(--white);
    border-color: var(--white);
}

.cta-strip .btn--outline:hover {
    background: var(--white);
    color: var(--wine);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section { padding: 5rem 0; }

.section--ink {
    background: linear-gradient(165deg, var(--ink) 0%, var(--ink-soft) 100%);
    color: var(--text-on-dark);
}

.section--ink h2,
.section--ink h3 { color: var(--white); }

.section--ink p,
.section--ink .section-header p {
    color: var(--text-on-dark-muted);
}

.section--white { background: var(--white); }

.section-header { max-width: 680px; margin-bottom: 2.75rem; }

.section-header p { color: var(--text-muted); }

/* Bento grid */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.35rem;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    overflow: hidden;
}

.bento-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.bento-card img {
    border-radius: var(--radius);
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
}

.bento-card h3 { margin: 0; color: var(--ink); }
.bento-card p { color: var(--text-muted); margin: 0; flex: 1; }

.bento-card--wide { grid-column: span 7; }
.bento-card--tall { grid-column: span 5; }
.bento-card--half { grid-column: span 6; }

.bento-card a {
    margin-top: auto;
    font-weight: 600;
    text-decoration: none;
    color: var(--wine);
}

.bento-card a:hover { color: var(--wine-dark); }

/* Pillars */
.pillar-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pillar {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    transition: background var(--transition), border-color var(--transition);
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(196, 165, 116, 0.35);
}

.pillar strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.pillar p {
    margin: 0;
    color: var(--text-on-dark-muted);
}

/* Split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.split p { color: var(--text-muted); }

.split__figure img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* Quote band */
.quote-band {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
    color: var(--white);
    text-align: center;
}

.quote-band blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-style: italic;
    max-width: 32ch;
    margin-inline: auto;
    color: var(--white);
    line-height: 1.35;
}

/* Page hero */
.page-hero {
    padding: 4rem 0 2.75rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    border-bottom: 1px solid var(--cream-dark);
}

.page-hero .lead { font-size: 1.12rem; color: var(--text-muted); max-width: 62ch; }

/* Expertise layout */
.expertise-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}

.expertise-nav {
    position: sticky;
    top: 7rem;
}

.expertise-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--cream-dark);
}

.expertise-nav a {
    display: block;
    padding: 0.55rem 0 0.55rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: color var(--transition), border-color var(--transition);
}

.expertise-nav a:hover { color: var(--wine); }

.expertise-block {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--cream-dark);
}

.expertise-block:last-child { border-bottom: none; margin-bottom: 0; }

.expertise-block img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 1rem 0 1.25rem;
    box-shadow: var(--shadow);
    aspect-ratio: 16/10;
    object-fit: cover;
}

.expertise-block p { color: var(--text-muted); }

/* Portfolio masonry */
.portfolio-grid {
    columns: 2;
    column-gap: 1.5rem;
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.portfolio-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.portfolio-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.portfolio-item__body { padding: 1.5rem; }

.portfolio-item__body p { color: var(--text-muted); margin: 0; }

.portfolio-item__tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wine);
    font-weight: 600;
}

/* Pricing table */
.rate-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.rate-table th,
.rate-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--cream-dark);
    color: var(--text);
}

.rate-table th { background: var(--ink); color: var(--cream); font-weight: 600; }

.rate-table td:last-child { font-weight: 600; white-space: nowrap; color: var(--wine); }

.rate-table tr:last-child td { border-bottom: none; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}

.enquiry-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
}

.enquiry-form .field { margin-bottom: 1.15rem; }

.enquiry-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    color: var(--ink);
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
    background: var(--cream);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(124, 45, 74, 0.12);
    background: var(--white);
}

.field--error input,
.field--error textarea { border-color: var(--error); }

.required { color: var(--wine); }

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-note { font-size: 0.85rem; color: var(--text-muted); }

.contact-panel {
    background: linear-gradient(165deg, var(--ink) 0%, var(--ink-soft) 100%);
    color: var(--text-on-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-panel h2 { color: var(--white); font-size: 1.4rem; }

.contact-panel a { color: var(--gold-light); text-decoration: none; }
.contact-panel a:hover { color: var(--white); }

.contact-panel__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.contact-panel__item { margin-bottom: 1.25rem; }
.contact-panel__item p { margin: 0; color: var(--text-on-dark); }

.alert--success {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.alert--success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #059669;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.alert--success h2 {
    font-size: 1.5rem;
    margin-top: 0;
    color: #065f46;
}

.alert--success p {
    color: #047857;
    margin-bottom: 0.75rem;
}

.alert--success p:last-child { margin-bottom: 0; }

.alert--success a { color: #047857; font-weight: 600; }

/* Map */
.map-wrap {
    position: relative;
    min-height: 380px;
    background: var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

.map-wrap__placeholder {
    display: grid;
    place-content: center;
    gap: 1rem;
    min-height: 380px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Legal */
.legal-content {
    max-width: 760px;
    padding: 3rem 0 4rem;
}

.legal-content h2 { margin-top: 2.5rem; font-size: 1.5rem; color: var(--ink); }
.legal-content h3 { margin-top: 1.75rem; font-size: 1.15rem; color: var(--ink-soft); }
.legal-content p,
.legal-content li { color: var(--text-muted); }
.legal-content ul, .legal-content ol { padding-left: 1.35rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.45rem; }
.legal-content code {
    background: var(--cream-dark);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--ink);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
    color: var(--text-on-dark-muted);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin: 0 0 1rem;
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--text-on-dark-muted);
}

.footer-address a { color: var(--gold-light); text-decoration: none; }
.footer-address a:hover { color: var(--white); }

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a { color: var(--text-on-dark-muted); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-links li { margin-bottom: 0.5rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-on-dark-muted);
}

.footer-disclaimer { margin-top: 0.75rem; opacity: 0.85; font-size: 0.82rem; }

.cta-strip {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p {
    max-width: 50ch;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    color: #f0e6ea;
}

.timeline { border-left: 2px solid var(--wine); padding-left: 1.75rem; }

.timeline-item { margin-bottom: 2rem; position: relative; }

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.95rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background: var(--wine);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(124, 45, 74, 0.2);
}

.timeline-item h3 { margin-bottom: 0.35rem; }
.timeline-item p { color: var(--text-muted); }

/* Responsive */
@media (max-width: 960px) {
    .bento-card--wide,
    .bento-card--tall,
    .bento-card--half { grid-column: span 12; }

    .pillar-row,
    .split,
    .contact-grid,
    .footer-grid,
    .expertise-layout { grid-template-columns: 1fr; }

    .expertise-nav { position: static; }
    .portfolio-grid { columns: 1; }
    .hero-cinema { min-height: 65vh; }
}

@media (max-width: 768px) {
    .masthead__main { grid-template-columns: 1fr auto; }

    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        padding-bottom: 0.5rem;
    }

    .site-nav.is-open { display: block; }

    .site-nav__list { flex-direction: column; gap: 0.5rem; }

    .section { padding: 3.5rem 0; }

    .enquiry-form { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    .btn:hover,
    .bento-card:hover,
    .portfolio-item:hover { transform: none; }
}
