/* ============ C&A Advanced Solutions — Elegant/Premium ============ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.3vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.25vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  --text-2xl: clamp(2.2rem, 1.4rem + 3vw, 4rem);
  --text-3xl: clamp(2.8rem, 1.4rem + 5vw, 5.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Palette — warm ivory, deep charcoal, refined gold */
  --color-bg: #faf8f4;
  --color-surface: #ffffff;
  --color-surface-2: #f3efe8;
  --color-ink: #1f1d1a;
  --color-ink-soft: #3a3733;
  --color-muted: #6f6a62;
  --color-faint: #a49e93;
  --color-line: #e4ded4;
  --color-gold: #b08d4f;
  --color-gold-deep: #957536;
  --color-inverse: #f7f4ee;

  --radius-sm: 3px;
  --radius-md: 6px;
  --content-wide: 1240px;
  --content-default: 1040px;
  --content-narrow: 720px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --shadow-md: 0 10px 30px rgba(31,29,26,0.08);
  --shadow-lg: 0 24px 60px rgba(31,29,26,0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100dvh; line-height: 1.7; font-family: var(--font-body); font-size: var(--text-base); font-weight: 400; color: var(--color-ink-soft); background: var(--color-bg); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--color-ink); text-wrap: balance; letter-spacing: -0.01em; }
p { text-wrap: pretty; max-width: 68ch; }

::selection { background: rgba(176,141,79,0.22); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Layout helpers */
.wrap { width: min(100% - 2.5rem, var(--content-wide)); margin-inline: auto; }
.wrap-default { width: min(100% - 2.5rem, var(--content-default)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--content-narrow)); margin-inline: auto; }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section-sm { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }

.eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-gold-deep); display: inline-flex; align-items: center; gap: var(--space-3); }
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--color-gold); display: inline-block; }
.eyebrow.center { justify-content: center; }

.lead { font-size: var(--text-lg); color: var(--color-muted); font-weight: 300; line-height: 1.6; }
.muted { color: var(--color-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.04em; padding: 0.95rem 2rem; border-radius: var(--radius-sm); transition: all .35s var(--ease); }
.btn-primary { background: var(--color-ink); color: var(--color-inverse); }
.btn-primary:hover { background: var(--color-gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--color-gold); color: #fff; }
.btn-gold:hover { background: var(--color-gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--color-line); color: var(--color-ink); }
.btn-ghost:hover { border-color: var(--color-gold); color: var(--color-gold-deep); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--color-ink); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: var(--space-4); transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease); }
.site-header.scrolled { background: rgba(250,248,244,0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--color-line); padding-block: var(--space-3); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand svg { width: 38px; height: 38px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; display: block; }
/* Header shows dark logo by default (light bg); white logo when on dark hero */
.brand-logo-light { display: none; }
.site-header:not(.scrolled).on-hero .brand-logo-dark { display: none; }
.site-header:not(.scrolled).on-hero .brand-logo-light { display: block; }
.footer-brand .brand-logo { width: 52px; height: 52px; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1; color: var(--color-ink); letter-spacing: 0.01em; }
.brand-sub { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-gold-deep); margin-top: 3px; }
.site-header:not(.scrolled).on-hero .brand-name, .site-header:not(.scrolled).on-hero .nav-links a { color: #fff; }
.site-header:not(.scrolled).on-hero .brand-sub { color: #e8d3a8; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.02em; position: relative; padding-block: 4px; transition: color .3s var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--color-gold); transition: width .35s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--color-gold-deep); }
.nav-cta { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-gold-deep); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 26px; height: 26px; stroke: currentColor; color: var(--color-ink); }
.site-header:not(.scrolled).on-hero .menu-toggle svg { color: #fff; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--color-bg); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-6); transform: translateX(100%); transition: transform .45s var(--ease); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }
.mobile-nav .btn { margin-top: var(--space-4); }
.mobile-close { position: absolute; top: var(--space-6); right: var(--space-6); width: 44px; height: 44px; }
.mobile-close svg { width: 30px; height: 30px; stroke: var(--color-ink); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(20,18,15,0.82) 0%, rgba(20,18,15,0.55) 45%, rgba(20,18,15,0.25) 100%); }
.hero-inner { padding-top: var(--space-24); padding-bottom: var(--space-16); max-width: 760px; }
.hero .eyebrow { color: #e8d3a8; }
.hero .eyebrow::before { background: var(--color-gold); }
.hero h1 { font-size: var(--text-3xl); color: #fff; font-weight: 500; margin: var(--space-6) 0 var(--space-5); letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; color: #e8d3a8; }
.hero p { font-size: var(--text-lg); font-weight: 300; color: rgba(255,255,255,0.9); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.hero-phone { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: var(--text-sm); }
.hero-phone a { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; }
.hero-phone a:hover { color: #e8d3a8; }

/* Page hero (interior) */
.page-hero { position: relative; padding-top: var(--space-32); padding-bottom: var(--space-16); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,15,0.55), rgba(20,18,15,0.78)); }
.page-hero h1 { font-size: var(--text-2xl); color: #fff; font-weight: 500; margin-top: var(--space-4); }
.page-hero p { color: rgba(255,255,255,0.88); font-weight: 300; font-size: var(--text-lg); margin-top: var(--space-4); }
.page-hero .eyebrow { color: #e8d3a8; }
.breadcrumb { font-size: var(--text-xs); color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.breadcrumb a:hover { color: #fff; }

/* Section heading */
.sec-head { max-width: 640px; margin-bottom: var(--space-12); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: var(--text-2xl); font-weight: 500; margin: var(--space-4) 0; }
.sec-head p { color: var(--color-muted); font-weight: 300; }
.sec-head.center p { margin-inline: auto; }

/* Intro / stats */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.intro-img { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.intro-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.intro-badge { position: absolute; bottom: var(--space-6); left: var(--space-6); background: var(--color-bg); padding: var(--space-5) var(--space-6); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.intro-badge strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-gold-deep); display: block; line-height: 1; }
.intro-badge span { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.intro-body h2 { font-size: var(--text-2xl); font-weight: 500; margin: var(--space-4) 0 var(--space-5); }
.intro-body p + p { margin-top: var(--space-4); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); margin-top: var(--space-12); padding-top: var(--space-10); border-top: 1px solid var(--color-line); }
.stat strong { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); display: block; }
.stat span { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); }

/* Services grid */
.services { background: var(--color-surface-2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.svc-card { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card-img { aspect-ratio: 3/2.1; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card-img img { transform: scale(1.06); }
.svc-card-body { padding: var(--space-6) var(--space-6) var(--space-8); flex: 1; display: flex; flex-direction: column; }
.svc-card-body h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.svc-card-body p { font-size: var(--text-sm); color: var(--color-muted); flex: 1; }
.svc-link { margin-top: var(--space-5); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em; color: var(--color-gold-deep); display: inline-flex; align-items: center; gap: var(--space-2); }
.svc-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* Alternating feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(var(--space-16), 8vw, var(--space-24)); }
.feature-row.reverse .feature-img { order: 2; }
.feature-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-body h2, .feature-body h3 { font-size: var(--text-xl); font-weight: 500; margin: var(--space-4) 0; }
.feature-body p { color: var(--color-muted); font-weight: 300; }
.check-list { list-style: none; margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-ink-soft); }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-gold); margin-top: 2px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: var(--space-4); }
.gallery-grid figure { overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: step; }
.process-step { position: relative; padding-top: var(--space-8); }
.process-step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-display); font-size: 3rem; color: var(--color-line); position: absolute; top: -0.5rem; left: 0; }
.process-step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); position: relative; }
.process-step p { font-size: var(--text-sm); color: var(--color-muted); }

/* Testimonials */
.testimonials { background: var(--color-ink); color: var(--color-inverse); }
.testimonials .eyebrow { color: #e8d3a8; }
.testimonials .sec-head h2 { color: #fff; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.quote { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: var(--space-8); }
.quote .stars { color: var(--color-gold); letter-spacing: 2px; margin-bottom: var(--space-4); }
.quote p { font-family: var(--font-display); font-size: var(--text-lg); font-style: italic; color: #fff; line-height: 1.4; }
.quote cite { display: block; margin-top: var(--space-5); font-family: var(--font-body); font-style: normal; font-size: var(--text-sm); font-weight: 600; color: #e8d3a8; }
.quote cite span { display: block; color: rgba(255,255,255,0.6); font-weight: 400; font-size: var(--text-xs); margin-top: 2px; }

/* CTA band */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20,18,15,0.78); }
.cta-band h2 { font-size: var(--text-2xl); color: #fff; font-weight: 500; }
.cta-band p { color: rgba(255,255,255,0.85); font-weight: 300; margin: var(--space-4) auto var(--space-8); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(var(--space-10), 5vw, var(--space-20)); }
.contact-info h2 { font-size: var(--text-2xl); font-weight: 500; margin: var(--space-4) 0 var(--space-6); }
.contact-item { display: flex; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--color-line); }
.contact-item svg { width: 24px; height: 24px; color: var(--color-gold-deep); flex-shrink: 0; margin-top: 3px; }
.contact-item h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 3px; }
.contact-item a, .contact-item p { font-size: var(--text-base); color: var(--color-ink); font-weight: 500; }
.contact-item a:hover { color: var(--color-gold-deep); }
.form-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: clamp(var(--space-6), 4vw, var(--space-10)); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-2); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-bg); font-size: var(--text-sm); transition: border-color .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-gold); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--text-xs); color: var(--color-faint); margin-top: var(--space-4); }

/* Service area chips */
.areas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.area-chip { font-size: var(--text-sm); padding: 0.5rem 1.1rem; border: 1px solid var(--color-line); border-radius: 999px; color: var(--color-ink-soft); }

/* Footer */
.site-footer { background: var(--color-ink); color: rgba(247,244,238,0.72); padding-top: var(--space-20); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-10); padding-bottom: var(--space-16); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: var(--text-sm); margin-top: var(--space-4); color: rgba(247,244,238,0.6); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #e8d3a8; margin-bottom: var(--space-5); }
.footer-col ul { list-style: none; display: grid; gap: var(--space-3); }
.footer-col a, .footer-col li { font-size: var(--text-sm); color: rgba(247,244,238,0.7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: var(--space-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: var(--text-xs); color: rgba(247,244,238,0.5); }

/* Reveal animation — only hide when JS is active (.js-reveal on <html>) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 940px) {
  .svc-grid, .quote-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .intro-grid, .feature-row, .feature-row.reverse, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-img { order: 0; }
  .svc-grid, .quote-grid, .process-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 240px; }
  .gallery-grid .tall, .gallery-grid .wide { grid-row: auto; grid-column: auto; }
  .hero { min-height: 92vh; }
}

/* ============ PORTFOLIO ============ */
.section-tight { padding-block: var(--space-10) var(--space-12); }
.port-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-8); }
.filter-btn { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.55rem 1.1rem; border: 1px solid var(--color-line); border-radius: 100px; background: transparent; color: var(--color-ink-soft); cursor: pointer; transition: all 0.25s ease; }
.filter-btn:hover { border-color: var(--color-gold-deep); color: var(--color-ink); }
.filter-btn.active { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.port-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-line); border-radius: 4px; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.port-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(31,29,26,0.12); }
.port-card-media { position: relative; display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--color-ink); }
.port-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.port-card-media:hover img { transform: scale(1.05); }
.port-count { position: absolute; bottom: 12px; right: 12px; background: rgba(31,29,26,0.78); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.35rem 0.7rem; border-radius: 100px; backdrop-filter: blur(4px); }
.port-card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: 6px; }
.port-tag { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gold-deep); }
.port-card-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.port-loc { font-size: 0.85rem; color: var(--color-ink-soft); margin: 0; }
.port-blurb { font-size: 0.92rem; color: var(--color-ink-soft); line-height: 1.55; margin-top: 4px; }
.port-card.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,18,16,0.94); display: none; align-items: center; justify-content: center; padding: 4vh 5vw; }
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 1000px; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.lb-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 3px; box-shadow: 0 25px 60px rgba(0,0,0,0.5); }
.lb-cap { color: #f4efe6; text-align: center; display: flex; flex-direction: column; gap: 3px; max-width: 700px; }
.lb-title { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.lb-caption { font-size: 0.9rem; color: #cfc7ba; line-height: 1.5; }
.lb-counter { font-size: 0.75rem; color: #b08d4f; letter-spacing: 0.08em; margin-top: 4px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.lb-close { top: 20px; right: 24px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(176,141,79,0.55); }

@media (max-width: 900px) { .port-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .port-grid { grid-template-columns: 1fr; } .lb-prev { left: 2vw; } .lb-next { right: 2vw; } .lb-prev, .lb-next { width: 44px; height: 44px; } }

/* --- Homepage: featured projects + FAQ --- */
.sec-sub { color: var(--color-muted); font-weight: 300; margin-top: var(--space-4); max-width: 60ch; }
.sec-head.center .sec-sub { margin-inline: auto; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.feat-tile { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.feat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat-tile:hover img { transform: scale(1.06); }
.feat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,29,26,0.75) 0%, rgba(31,29,26,0) 55%); }
.feat-label { position: absolute; left: var(--space-5); bottom: var(--space-5); z-index: 2; color: #fff; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em; display: flex; flex-direction: column; gap: 2px; }
.feat-label em { font-style: normal; font-weight: 300; font-size: var(--text-xs); color: #e8d3a8; letter-spacing: 0.08em; text-transform: uppercase; }
.faq-section { background: var(--color-surface-2); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: var(--space-5) var(--space-6); transition: box-shadow .3s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; color: var(--color-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-body); font-weight: 300; font-size: 1.5rem; color: var(--color-gold-deep); transition: transform .3s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: var(--space-4); color: var(--color-ink-soft); font-weight: 300; }
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* --- Google rating badge --- */
.grating { display: inline-flex; align-items: center; gap: var(--space-4); margin: 0 auto var(--space-10); padding: var(--space-4) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testimonials .grating { display: flex; width: max-content; }
.grating:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.grating-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 600; color: var(--color-ink); }
.grating-body { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.grating-stars { color: var(--color-gold-deep); font-size: var(--text-lg); letter-spacing: 2px; }
.grating-label { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-ink-soft); font-weight: 300; }
.grating-label strong { font-weight: 600; color: var(--color-ink); }
.testimonials .sec-head { margin-bottom: var(--space-6); }

/* Center the rating badge when placed in a centered block */
.center > .grating { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
