/* ================================================================
   BRANDOLERO — MAIN STYLESHEET
   somosbrandolero.com
   ================================================================ */

/* ----------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ---------------------------------------------------------------- */

:root {
    /* Brand colors */
    --red:          #C0392B;
    --red-dark:     #9B2D21;
    --charcoal:     #2C3E50;
    --sand:         #F5E6C8;
    --terracotta:   #E07B54;
    --cream:        #FAF3E0;
    --dark:         #1A1A1A;
    --dark-mid:     #242424;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Lora', Georgia, serif;
    --font-ui:      'Montserrat', system-ui, sans-serif;
    --font-accent:  'Caveat', cursive;

    /* Spacing */
    --space-xs:    0.5rem;
    --space-sm:    1rem;
    --space-md:    2rem;
    --space-lg:    4rem;
    --space-xl:    6rem;
    --space-2xl:   9rem;

    /* Layout */
    --container:   1200px;
    --container-narrow: 800px;
    --radius:      4px;

    /* Transitions */
    --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    overflow: visible;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    z-index: 9999;
    background: var(--red);
    color: #fff;
    padding: 0.5rem 1rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ----------------------------------------------------------------
   3. LAYOUT UTILITIES
   ---------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    position: relative;
    overflow: hidden;
}

.section-pad {
    padding-block: var(--space-2xl);
}

/* ----------------------------------------------------------------
   4. TYPOGRAPHY
   ---------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.prose p + p {
    margin-top: 1.25em;
}

/* Section Label */
.section-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--charcoal);
}

.section-title--light {
    color: #fff;
}

/* Section Header block */
.section-header {
    margin-bottom: var(--space-lg);
}

.section-header--centered {
    text-align: center;
}

/* Arrow link */
.link-arrow {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.05em;
    transition: gap 0.2s var(--ease-out), color 0.2s;
}

.link-arrow:hover,
.link-arrow:focus {
    color: var(--terracotta);
    gap: 0.5rem;
}

/* ----------------------------------------------------------------
   5. DECORATIVE COMPONENTS
   ---------------------------------------------------------------- */

/* Bullet Belt */
.bullet-belt {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-block: 1.5rem;
    flex-wrap: wrap;
}

.bullet-belt span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
    flex-shrink: 0;
}

.bullet-belt--terracotta span { background: var(--terracotta); }
.bullet-belt--sand span       { background: var(--sand); }
.bullet-belt--white span      { background: #fff; }
.bullet-belt--charcoal span   { background: var(--charcoal); }

/* Grain Overlay */
.grain-overlay {
    position: relative;
}

.grain-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Section Number (decorative background) */
.section-number {
    position: absolute;
    font-size: clamp(120px, 18vw, 240px);
    font-weight: 900;
    color: rgba(192, 57, 43, 0.06);
    font-family: var(--font-display);
    user-select: none;
    pointer-events: none;
    top: -0.2em;
    right: -0.1em;
    line-height: 1;
    z-index: 0;
}

.section-number--light {
    color: rgba(255, 255, 255, 0.04);
}

/* ----------------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s, transform 0.15s var(--ease-spring), box-shadow 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.btn--primary:hover,
.btn--primary:focus {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--sand);
    border-color: rgba(245, 230, 200, 0.4);
}

.btn--ghost:hover,
.btn--ghost:focus {
    border-color: var(--sand);
    background: rgba(245, 230, 200, 0.1);
}

.btn--ghost-dark {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn--ghost-dark:hover,
.btn--ghost-dark:focus {
    background: var(--charcoal);
    color: var(--cream);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ----------------------------------------------------------------
   7. NAVIGATION
   ---------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s var(--ease-out), box-shadow 0.3s;
}

.site-header.is-scrolled {
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
    height: 72px;
}

/* Logo */
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo__text {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.3;
}

.nav-logo__text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--red);
    letter-spacing: 0.1em;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

/* Nav Links */
.nav-menu-wrap {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links li.current-menu-item > a {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links li.current-menu-item > a::after {
    transform: scaleX(1);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-hamburger.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out);
}

.nav-mobile-overlay.is-open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.nav-mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    padding: 0.5rem;
}

.nav-mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav-mobile-links a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

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

/* ----------------------------------------------------------------
   8. HERO SECTION
   ---------------------------------------------------------------- */

.hero {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px; /* nav height */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%231A1A1A'/%3E%3Ccircle cx='0' cy='0' r='0.5' fill='%23333'/%3E%3Ccircle cx='4' cy='4' r='0.5' fill='%23333'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: var(--space-xl) var(--space-md) var(--space-xl) calc(50% - var(--container) / 2 + var(--space-md));
    padding-inline-start: max(var(--space-md), calc((100% - var(--container)) / 2 + var(--space-md)));
}

.hero__eyebrow {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

.hero__headline {
    font-family: var(--font-display);
    font-weight: 900;
    color: #fff;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
    margin-bottom: var(--space-sm);
}

.hero__subtext {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--sand);
    font-size: 1.125rem;
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mascot */
.hero__mascot {
    position: absolute;
    right: max(var(--space-md), calc((100% - var(--container)) / 2 + var(--space-md)));
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.hero__mascot-img {
    height: clamp(420px, 65vh, 720px);
    width: auto;
    object-fit: contain;
    object-position: bottom;
}

/* ----------------------------------------------------------------
   9. ABOUT SNAPSHOT
   ---------------------------------------------------------------- */

.about-snapshot {
    background: var(--cream);
    padding-block: var(--space-2xl);
    border-left: 4px solid var(--terracotta);
}

.about-snapshot__grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-snapshot__visual {
    display: flex;
    justify-content: center;
}

.about-snapshot__mascot {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.about-snapshot__headline {
    font-weight: 900;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.about-snapshot__body {
    margin-bottom: var(--space-md);
}

.about-snapshot__body p + p {
    margin-top: 1em;
}

/* ----------------------------------------------------------------
   10. PORTFOLIO GRID
   ---------------------------------------------------------------- */

.portfolio-grid {
    background: var(--charcoal);
    padding-block: var(--space-2xl);
}

.portfolio-grid .section-header {
    padding-inline: var(--space-md);
}

.portfolio-grid__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    position: relative;
    z-index: 1;
}

.portfolio-grid__items--page {
    gap: var(--space-sm);
    padding-inline: var(--space-md);
    max-width: var(--container);
    margin-inline: auto;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.portfolio-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__image {
    transform: scale(1.04);
}

.portfolio-card__placeholder-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    user-select: none;
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: var(--red);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--space-md);
    transform: translateY(100%);
    transition: transform 0.35s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__overlay {
    transform: translateY(0);
}

.portfolio-card__tag {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.portfolio-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-card__arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------------
   11. SERVICES SECTION
   ---------------------------------------------------------------- */

.services {
    background: var(--cream);
    padding-block: var(--space-2xl);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--cream);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-left: 3px solid var(--red);
    padding: var(--space-md);
    position: relative;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(44, 62, 80, 0.12);
    border-left-color: var(--red-dark);
}

.service-card__icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: var(--space-sm);
    display: block;
}

.service-card__label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.25rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.service-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.8);
    margin-bottom: var(--space-sm);
}

.service-card__link {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    transition: color 0.2s;
}

.service-card__link:hover {
    color: var(--terracotta);
}

/* ----------------------------------------------------------------
   12. MANIFESTO SECTION
   ---------------------------------------------------------------- */

.manifesto {
    background: var(--red);
    padding-block: var(--space-2xl);
    text-align: center;
}

.manifesto__inner {
    position: relative;
    z-index: 2;
}

.manifesto__quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 0.5;
    display: block;
    margin-bottom: var(--space-md);
    user-select: none;
}

.manifesto__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: #fff;
    line-height: 1.5;
    font-weight: 700;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: var(--space-sm);
    border-left: none;
    padding: 0;
}

.manifesto__attribution {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: var(--space-md);
}

.manifesto .bullet-belt {
    justify-content: center;
}

.manifesto__body {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 580px;
    margin-inline: auto;
}

/* ----------------------------------------------------------------
   13. CONTACT SECTION
   ---------------------------------------------------------------- */

.contact-section {
    background: var(--sand);
    padding-block: var(--space-2xl);
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-section__mascot {
    margin-bottom: var(--space-md);
}

.contact-section__mascot-img {
    max-width: 280px;
}

.contact-section__headline {
    font-weight: 900;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.contact-section__body {
    color: rgba(44, 62, 80, 0.85);
    margin-bottom: var(--space-md);
}

.contact-section__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.contact-section__details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.contact-section__details a:hover {
    color: var(--red);
}

.contact-section__social {
    display: flex;
    gap: 1rem;
}

.contact-section__social a {
    font-size: 1.5rem;
    color: var(--charcoal);
    transition: color 0.2s;
}

.contact-section__social a:hover {
    color: var(--terracotta);
}

/* ----------------------------------------------------------------
   14. CONTACT FORM
   ---------------------------------------------------------------- */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.form-field input,
.form-field textarea,
.form-field select {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(44, 62, 80, 0.3);
    padding: 0.625rem 0;
    outline: none;
    transition: border-color 0.25s;
    width: 100%;
    resize: vertical;
    -webkit-appearance: none;
    appearance: none;
}

/* Dropdown arrow — re-add since appearance:none strips it */
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232C3E50' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    padding-right: 1.75rem;
    cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-bottom-color: var(--red);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(44, 62, 80, 0.4);
}

/* WPForms overrides */
.wpforms-container .wpforms-field-label {
    font-family: var(--font-ui) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--charcoal) !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container textarea,
.wpforms-container select {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    border: none !important;
    border-bottom: 2px solid rgba(44, 62, 80, 0.3) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.625rem 0 !important;
}

.wpforms-container input:focus,
.wpforms-container textarea:focus {
    border-bottom-color: var(--red) !important;
    box-shadow: none !important;
}

.wpforms-container .wpforms-submit {
    background: var(--red) !important;
    color: #fff !important;
    font-family: var(--font-ui) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    border: none !important;
    border-radius: var(--radius) !important;
    padding: 0.875rem 1.75rem !important;
    width: 100% !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
}

.wpforms-container .wpforms-submit:hover {
    background: var(--red-dark) !important;
}

/* ----------------------------------------------------------------
   15. PAGE HERO (Inner Pages)
   ---------------------------------------------------------------- */

.page-hero {
    background: var(--dark);
    padding-top: 72px;
}

.page-hero--half {
    padding-top: calc(72px + var(--space-xl));
    padding-bottom: var(--space-xl);
}

.page-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
}

.page-hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.1;
}

.page-hero__mascot {
    flex-shrink: 0;
}

.page-hero__mascot-img {
    height: clamp(280px, 40vh, 480px);
    width: auto;
}

/* ----------------------------------------------------------------
   16. ABOUT PAGE SECTIONS
   ---------------------------------------------------------------- */

.about-story {
    background: var(--cream);
    padding-block: var(--space-2xl);
}

.about-philosophy {
    background: var(--sand);
    padding-block: var(--space-2xl);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.philosophy-card {
    background: var(--cream);
    padding: var(--space-md);
    border-left: 3px solid var(--red);
}

.philosophy-card__icon {
    font-size: 2rem;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
    display: block;
}

.philosophy-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.philosophy-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.8);
}

/* Process */
.about-process {
    background: var(--charcoal);
    padding-block: var(--space-2xl);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.process-step__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(192, 57, 43, 0.4);
    line-height: 1;
    flex-shrink: 0;
    width: 3.5rem;
}

.process-step__label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.process-step__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* About CTA */
.about-cta {
    background: var(--cream);
    padding-block: var(--space-xl);
    text-align: center;
}

.about-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.about-cta__headline {
    font-weight: 900;
}

.about-cta__body {
    color: rgba(44, 62, 80, 0.8);
}

/* ----------------------------------------------------------------
   17. SERVICES PAGE
   ---------------------------------------------------------------- */

.services-page {
    background: var(--cream);
    padding-block: var(--space-2xl);
}

.service-block {
    padding-block: var(--space-xl);
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
    position: relative;
}

.service-block--alt {
    background: var(--sand);
    margin-inline: calc(var(--space-md) * -1);
    padding-inline: var(--space-md);
}

.service-block__header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.service-block__icon {
    font-size: 2.5rem;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.service-block__title {
    font-weight: 900;
    margin-bottom: 0;
}

.service-block__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.service-block__desc p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-block__includes h3,
.service-block__who h3 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(44, 62, 80, 0.85);
}

.bullet-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
   18. WORK PAGE
   ---------------------------------------------------------------- */

.work-grid-section {
    background: var(--cream);
    padding-block: var(--space-2xl);
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.portfolio-filter__btn {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border: 2px solid rgba(44, 62, 80, 0.2);
    border-radius: 100px;
    color: rgba(44, 62, 80, 0.6);
    transition: all 0.2s;
}

.portfolio-filter__btn:hover,
.portfolio-filter__btn.is-active {
    border-color: var(--red);
    color: var(--red);
    background: rgba(192, 57, 43, 0.05);
}

/* ----------------------------------------------------------------
   19. CONTACT PAGE
   ---------------------------------------------------------------- */

.contact-page {
    background: var(--cream);
    padding-block: var(--space-2xl);
}

.contact-page__grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-page__mascot {
    max-width: 240px;
    margin-bottom: var(--space-md);
}

.contact-page__body {
    color: rgba(44, 62, 80, 0.85);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.contact-page__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.contact-page__details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-page__details a:hover { color: var(--red); }

.contact-page__social {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--space-lg);
}

.contact-page__social a {
    font-size: 1.5rem;
    color: var(--charcoal);
    transition: color 0.2s;
}

.contact-page__social a:hover { color: var(--terracotta); }

.contact-page__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.7);
    border-left: 3px solid var(--red);
    padding-left: var(--space-sm);
}

.contact-page__quote cite {
    display: block;
    font-style: normal;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-top: 0.75rem;
}

/* ----------------------------------------------------------------
   20. 404 PAGE
   ---------------------------------------------------------------- */

.error-404 {
    min-height: calc(100vh - 72px);
    background: var(--dark);
    display: flex;
    align-items: center;
    padding-top: 72px;
    text-align: center;
}

.error-404__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: var(--space-2xl);
}

.error-404__mascot {
    margin-bottom: var(--space-md);
}

.error-404__img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.error-404__headline {
    font-family: var(--font-display);
    font-weight: 900;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.error-404__body {
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin-bottom: var(--space-lg);
}

.error-404__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ----------------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------------- */

.site-footer {
    background: var(--dark);
    padding-block: var(--space-lg);
}

.footer-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.footer-row--main {
    padding-bottom: var(--space-md);
    flex-wrap: wrap;
}

.footer-logo__text {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.footer-logo__text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--red);
    letter-spacing: 0.1em;
}

.footer-tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-social-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social__link {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-social__link:hover { color: var(--terracotta); }

.footer-mascot__img {
    width: 110px;
    height: auto;
    opacity: 0.9;
}

.footer-row--bottom {
    padding-top: var(--space-sm);
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copy em { font-style: italic; }

.footer-domain {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-domain:hover { color: rgba(255, 255, 255, 0.7); }

/* ----------------------------------------------------------------
   22. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-mascot {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: 0.3s;
}

.reveal-mascot.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animated grain (subtle, optional) */
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10%       { transform: translate(-2%, -3%); }
    30%       { transform: translate(3%, 2%); }
    50%       { transform: translate(-1%, 4%); }
    70%       { transform: translate(4%, -1%); }
    90%       { transform: translate(-3%, 2%); }
}

.hero.grain-overlay::after {
    animation: grain 0.5s steps(1) infinite;
}

/* ----------------------------------------------------------------
   23. RESPONSIVE — TABLET (1024px and below)
   ---------------------------------------------------------------- */

@media (max-width: 1024px) {
    :root {
        --space-xl:  4rem;
        --space-2xl: 6rem;
    }

    .hero__content {
        max-width: 500px;
        padding-inline: var(--space-md);
    }

    .hero__mascot-img {
        height: clamp(340px, 50vh, 560px);
    }

    .about-snapshot__grid {
        grid-template-columns: 280px 1fr;
        gap: var(--space-lg);
    }

    .portfolio-grid__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section__grid {
        gap: var(--space-md);
    }

    .service-block__body {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

/* ----------------------------------------------------------------
   24. RESPONSIVE — MOBILE (768px and below)
   ---------------------------------------------------------------- */

@media (max-width: 768px) {
    :root {
        --space-lg:  2.5rem;
        --space-xl:  3rem;
        --space-2xl: 4.5rem;
    }

    /* Nav */
    .nav-menu-wrap {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        min-height: 100svh;
        padding-bottom: 0;
    }

    .hero__content {
        padding: calc(72px + 3rem) var(--space-md) var(--space-md);
        max-width: 100%;
    }

    .hero__headline {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .hero__mascot {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: var(--space-md);
    }

    .hero__mascot-img {
        height: 42vh;
    }

    .hero__ctas {
        flex-direction: column;
    }

    /* About */
    .about-snapshot__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-snapshot__visual {
        order: -1;
    }

    .about-snapshot .bullet-belt {
        justify-content: center;
    }

    /* Portfolio */
    .portfolio-grid__items {
        grid-template-columns: 1fr;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-section__grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Page hero */
    .page-hero__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero__mascot-img {
        height: clamp(180px, 30vh, 280px);
    }

    /* Contact page */
    .contact-page__grid {
        grid-template-columns: 1fr;
    }

    /* Service block */
    .service-block__body {
        grid-template-columns: 1fr;
    }

    .service-block__header {
        flex-direction: column;
    }

    /* Footer */
    .footer-row--main {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .footer-social-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .footer-row--bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ----------------------------------------------------------------
   25. RESPONSIVE — SMALL MOBILE (375px and below)
   ---------------------------------------------------------------- */

@media (max-width: 375px) {
    .hero__headline {
        font-size: 2.25rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
}
