/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; scroll-snap-type: y mandatory; }

body {
    font-family: 'Bahnschrift', 'Bahnschrift Semi Light Condensed', 'Franklin Gothic Medium Cond', 'Arial Narrow', sans-serif;
    font-size: 1rem; font-weight: 300; font-stretch: condensed;
    line-height: 1.6; color: #333; background-color: #fff;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-y: scroll;
}

h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, label, span, li {
    font-family: inherit; font-stretch: condensed;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: #0066cc; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #004499; text-decoration: underline; }
ul, ol { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 0.75rem; color: #1a1a2e; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
p  { margin-bottom: 1rem; color: #555; }

/* LAYOUT */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.grid   { display: grid; gap: 2.5rem; }
.grid-1 { grid-template-columns: 1fr; }

/* LOGO */
.logo-corner { position: fixed; top: 1.25rem; left: 1.5rem; z-index: 1000; }
.logo-brand { text-decoration: none; transition: opacity 0.3s ease; }
.logo-brand:hover, .logo-brand:hover .logo-img { opacity: 0.85; text-decoration: none; }
.logo-img {
    height: 120px; width: auto; display: block; object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); transition: opacity 0.3s ease;
}

/* HERO */
.hero {
    display: flex; align-items: center; justify-content: center;
    text-align: center; min-height: 100vh; padding: 4rem 1.5rem;
    background: #fff; color: #000; scroll-snap-align: start;
}
.hero .container { background: transparent; padding: 3rem 3.5rem; max-width: 700px; width: 100%; }
.hero .approach-label { color: #000; margin-bottom: 1rem; display: block; }
.hero h1 {
    color: #b89c6e; margin-bottom: 1rem; font-weight: 200 !important;
    letter-spacing: 10px; text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 4rem); font-stretch: condensed;
}
.hero-es     { color: #000; font-weight: 200 !important; }
.novum-faded { opacity: 0.4; }
.hero p { color: #000; font-size: clamp(1rem, 2.5vw, 1.25rem); max-width: 600px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-link {
    font-size: 0.665rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: #000; text-decoration: none; transition: color 0.3s ease;
}
.hero-link:hover { color: #b89c6e; text-decoration: none; }
.hero-divider { color: rgba(0,0,0,0.2); font-size: 0; user-select: none; }
.hero-divider::before { font-size: 0.85rem; content: '|'; }

/* SECTIONS */
section {
    min-height: 100vh; padding: 5rem 0;
    display: flex; align-items: center; box-sizing: border-box; scroll-snap-align: start;
}
.approach-section { background: #fff; }

/* APPROACH */
.approach-header { max-width: 800px; margin: 0 auto 2rem; }
.approach-label {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; color: #b89c6e; margin-bottom: 0.75rem;
}
.approach-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 300;
    color: #1a1a1a; letter-spacing: 1px; margin-bottom: 1rem;
}
.approach-divider { width: 50px; height: 1px; background-color: #b89c6e; }
.approach-text { max-width: 800px; margin: 0 auto; text-align: left; }
.approach-text p { font-size: clamp(1rem, 1.8vw, 1.15rem); color: #4a4a4a; line-height: 2; margin-bottom: 1.5rem; font-weight: 300; }
.approach-text p:last-child { margin-bottom: 0; }
.approach-signature-block { max-width: 800px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.4rem; }
.approach-sig-line { width: 100%; height: 1px; background-color: #b89c6e; margin-bottom: 0.5rem; }
.approach-signature { font-size: 1.05rem !important; font-weight: 600 !important; font-style: normal !important; color: #1a1a1a !important; margin: 0 !important; letter-spacing: 0.5px; }
.approach-sig-title { font-size: 0.8rem; color: #888; letter-spacing: 1px; text-transform: uppercase; }

/* THUMBNAIL */
.project-thumb { width: 100%; overflow: hidden; height: 550px; }
.thumb-img  { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SERVICE CARDS */
.service-card { overflow: hidden; cursor: pointer; transition: transform 0.3s ease; background: #fff; }
.service-card:hover { transform: translateY(-6px); }
.service-card-body { padding: 1.75rem; text-align: center; }
.service-card-body h3 { font-size: 1.1rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: #1a1a1a; margin: 0; }

/* CONTACT */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 900px; margin: 0 auto; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid #d4c4a8; transition: opacity 0.3s ease; }
.contact-item:hover { opacity: 0.75; }
.contact-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item h4 { font-size: 0.7rem; color: #b89c6e; margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.contact-item p { margin: 0; color: #4a4a4a; font-size: 0.95rem; font-weight: 300; }
.contact-item a { color: #4a4a4a; font-weight: 300; transition: color 0.3s ease; }
.contact-item a:hover { color: #b89c6e; text-decoration: none; }

/* FOOTER */
footer { background-color: #1a1a14; color: #888880; padding: 2rem 1.5rem; text-align: center; scroll-snap-align: start; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

/* UTILITY */
.mb-0 { margin-bottom: 0; }

/* MODAL */
body.modal-open { overflow: hidden; }
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.visible { opacity: 1; }
.modal { background: #fff; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2.5rem; position: relative; }
.modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; font-size: 1.75rem; cursor: pointer; color: #888; line-height: 1; transition: color 0.2s ease; }
.modal-close:hover { color: #000; }
.modal-header { margin-bottom: 1.75rem; }
.modal-briefing { font-size: 0.95rem; color: #4a4a4a; line-height: 1.8; font-weight: 300; margin: 0.75rem 0 0; }
.modal-grid  { columns: 3; column-gap: 0.5rem; }
.modal-thumb { break-inside: avoid; margin-bottom: 0.5rem; cursor: zoom-in; overflow: hidden; }
.modal-thumb img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.modal-thumb img:hover { transform: scale(1.04); }

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem; opacity: 0; transition: opacity 0.25s ease; cursor: zoom-out;
}
.lightbox.visible { opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; display: block; pointer-events: none; }
.lightbox-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.6); font-size: 2rem; cursor: pointer; padding: 1rem; line-height: 1; transition: color 0.2s ease; z-index: 1; }
.lightbox-nav:hover { color: #fff; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* RESPONSIVE */
@media (max-width: 479px) {
    .logo-img             { height: 60px; }
    .container            { padding: 0 1rem; }
    .hero                 { padding: 3rem 1rem; }
    .hero .container      { padding: 2rem 1.5rem; }
    .hero-buttons         { flex-direction: column; align-items: center; }
    .hero-divider::before { content: '•'; }
    section               { padding: 3rem 0; }
    .project-thumb        { height: auto; }
    .thumb-img            { height: auto; object-fit: contain; }
    .modal-grid           { columns: 1; }
}
@media (min-width: 480px) and (max-width: 767px) {
    .logo-img   { height: 75px; }
    .project-thumb { height: auto; }
    .thumb-img  { height: auto; object-fit: contain; }
    .modal-grid { columns: 2; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .logo-img { height: 95px; }
}
@media (min-width: 1280px) { .container { padding: 0 2rem; } }
@media (min-width: 1536px) { html { font-size: 17px; } }
@media print {
    footer { display: none; }
    body   { font-size: 12pt; color: #000; }
    a      { color: #000; text-decoration: underline; }
}
