/* ============================================
   THE SIGN SHOP — Stylesheet
   Clean minimalist · Terracotta + Sand
   ============================================ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Terracotta palette */
    --terra-50: #fdf0ee;
    --terra-100: #fce4e0;
    --terra-200: #f8c4bb;
    --terra-300: #f09888;
    --terra-400: #e8705e;
    --terra-500: #b85446;
    --terra-600: #a04438;
    --terra-700: #86372e;
    --terra-800: #6e2e27;
    --terra-900: #5a2620;
    
    /* Sand palette */
    --sand-50: #fefcfb;
    --sand-100: #fdf6f0;
    --sand-200: #f9ebe0;
    --sand-300: #f2d9c6;
    --sand-400: #e8c4a8;
    --sand-500: #d4a57e;
    --sand-600: #b8875a;
    --sand-700: #966942;
    
    /* Neutrals */
    --ink-950: #1a1614;
    --ink-900: #2a2220;
    --ink-800: #3d3430;
    --ink-700: #524844;
    --ink-600: #6b5f5a;
    --ink-500: #8a7e79;
    --ink-400: #a89e99;
    --ink-300: #c8bfb9;
    --ink-200: #e0d8d4;
    --ink-100: #f0ebe8;
    --ink-50: #f8f5f3;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ink-800);
    background: var(--sand-50);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 252, 251, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ink-100);
    transition: transform 0.4s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 0 var(--ink-100);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink-900);
}

.nav-logo-mark {
    width: 28px;
    height: 28px;
    background: var(--terra-500);
    border-radius: 3px;
    position: relative;
}

.nav-logo-mark::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: var(--sand-50);
    border-radius: 1px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-600);
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terra-500);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--ink-900);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.625rem 1.5rem;
    border: 1px solid var(--terra-500);
    color: var(--terra-500);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.nav-cta:hover {
    background: var(--terra-500);
    color: white;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink-800);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sand-50);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ink-800);
    transition: color 0.25s ease;
}

.mobile-link:hover {
    color: var(--terra-500);
}

.mobile-divider {
    width: 48px;
    height: 1px;
    background: var(--ink-200);
}

.mobile-cta {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--terra-500);
}

.mobile-email {
    font-size: 0.875rem;
    color: var(--ink-500);
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    background: var(--sand-50);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    flex: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: var(--space-lg);
    max-width: 560px;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-600);
    max-width: 460px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.hero-stat-line {
    width: 1px;
    height: 48px;
    background: var(--ink-200);
}

/* Hero image */
.hero-right {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image-wrap img {
    width: 100%;
    height: 860px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--terra-200);
    border-radius: 4px;
    z-index: -1;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-400);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ink-300), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ─── Section Divider ─── */
.section-divider {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.divider-line {
    height: 1px;
    background: var(--ink-100);
}

/* ─── Section Headers ─── */
.section-header {
    max-width: 720px;
    margin-bottom: var(--space-2xl);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--ink-600);
    line-height: 1.75;
}

/* ─── Services ─── */
.services {
    padding: var(--space-3xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ink-100);
    border: 1px solid var(--ink-100);
    border-radius: 4px;
    overflow: hidden;
}

.service-card {
    background: var(--sand-50);
    padding: var(--space-xl);
    transition: background 0.3s ease;
}

.service-card:hover {
    background: var(--sand-100);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-md);
    color: var(--terra-500);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--ink-600);
    line-height: 1.7;
}

/* ─── About ─── */
.about {
    padding: var(--space-3xl) 0;
}

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

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 1rem;
    color: var(--ink-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-values {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.about-value {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--ink-700);
}

.about-value-line {
    flex-shrink: 0;
    width: 24px;
    height: 1px;
    background: var(--terra-400);
}

/* About images */
.about-image-stack {
    position: relative;
    padding-top: var(--space-xl);
}

.about-image-main {
    border-radius: 4px;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.about-image-float {
    position: absolute;
    bottom: 0;
    right: -40px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 22, 20, 0.12);
}

.about-image-float img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ─── Craft / Process ─── */
.craft {
    padding: var(--space-3xl) 0;
}

.craft-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
}

.craft-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.craft-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--ink-200);
}

.craft-step {
    text-align: center;
    padding: 0 var(--space-md);
    position: relative;
}

.craft-step-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--terra-500);
    display: block;
    margin-bottom: var(--space-sm);
}

.craft-step h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
}

.craft-step p {
    font-size: 0.9375rem;
    color: var(--ink-600);
    line-height: 1.7;
}

.craft-step-connector {
    display: none;
}

/* ─── CTA ─── */
.cta {
    padding: var(--space-3xl) 0;
    background: var(--ink-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(184, 84, 70, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-300);
    margin-bottom: var(--space-md);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--sand-50);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--ink-400);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* ─── Contact ─── */
.contact {
    padding: var(--space-3xl) 0;
}

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

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-400);
}

.contact-item-value {
    font-size: 1rem;
    color: var(--ink-700);
    line-height: 1.6;
}

.contact-item-link {
    font-size: 1.0625rem;
    color: var(--terra-500);
    transition: color 0.25s ease;
    border-bottom: 1px solid transparent;
    display: inline-block;
    width: fit-content;
}

.contact-item-link:hover {
    color: var(--terra-600);
    border-bottom-color: var(--terra-600);
}

.contact-map {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ink-100);
}

/* Contact form */
.contact-form-wrap {
    background: var(--sand-100);
    border: 1px solid var(--ink-100);
    border-radius: 4px;
    padding: var(--space-xl);
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink-900);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--ink-200);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-900);
    outline: none;
    transition: border-color 0.25s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-300);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--terra-500);
}

.form-group textarea {
    min-height: 120px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--terra-500);
    color: white;
}

.btn-primary:hover {
    background: var(--terra-600);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-700);
    border: 1px solid var(--ink-300);
}

.btn-ghost:hover {
    border-color: var(--ink-600);
    color: var(--ink-900);
}

.btn-ghost-light {
    background: transparent;
    color: var(--sand-200);
    border: 1px solid var(--ink-600);
}

.btn-ghost-light:hover {
    border-color: var(--sand-400);
    color: var(--sand-50);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* Form success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    text-align: center;
    gap: var(--space-md);
}

.form-success svg {
    color: var(--terra-500);
}

.form-success p {
    font-size: 1rem;
    color: var(--ink-700);
}

/* ─── Footer ─── */
.footer {
    background: var(--ink-900);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--ink-800);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--sand-50);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--ink-500);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--ink-400);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--sand-50);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact a {
    font-size: 0.875rem;
    color: var(--ink-400);
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: var(--terra-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--ink-600);
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-right {
        max-width: 560px;
    }
    
    .hero-image-wrap img {
        height: 600px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-image-float {
        right: 0;
    }
    
    .craft-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .craft-timeline::before {
        display: none;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 2.5rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-xl);
    }
    
    .hero-inner {
        padding: var(--space-lg);
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .hero-stat-line {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .hero-image-wrap img {
        height: 480px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .about-image-main img {
        height: 480px;
    }
    
    .about-image-float {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: var(--space-sm);
        box-shadow: none;
    }
    
    .craft-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .contact-form-wrap {
        padding: var(--space-lg);
    }
    
    .footer-inner {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image-wrap img {
        height: 360px;
    }
}
