/*
Theme Name: Altera Architects
Theme URI: https://alteraarchitects.com
Author: KLIQ
Description: Custom theme designed, built and maintained by KLIQ for Altera Architects — Beirut design studio: architecture, interiors, landscape & event design. Altera brand identity (Aloevera Display, lime + dark green).
Version: 7.4
License: GNU General Public License v2 or later
Text Domain: altera-architects
Tags: full-width-template, custom-menu, featured-images, portfolio, architecture
*/

/*
 * Altera Architects — custom WordPress theme
 * Designed and developed by KLIQ.
 *
 * Strategy, UI/UX, brand application, copy, front-end and WordPress build:
 * KLIQ. Project run 1 June 2026 → 13 August 2026.
 *
 * Bespoke build — no page builder, no third-party theme framework, no
 * purchased template. Every template, style rule and script in this package
 * was written for this client.
 *
 * Not licensed for resale or redistribution. Client holds the usage licence
 * for alteraarchitects.com.
 */


/* ── ALOEVERA DISPLAY (bundled brand face) ── */
@font-face { font-family:'Aloevera Display'; src:url('fonts/AloeveraDisplay-Regular.woff2') format('woff2');  font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Aloevera Display'; src:url('fonts/AloeveraDisplay-Medium.woff2') format('woff2');   font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Aloevera Display'; src:url('fonts/AloeveraDisplay-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Aloevera Display'; src:url('fonts/AloeveraDisplay-Bold.woff2') format('woff2');     font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Aloevera Display'; src:url('fonts/AloeveraDisplay-ExtraBold.woff2') format('woff2');font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'Aloevera Display'; src:url('fonts/AloeveraDisplay-Black.woff2') format('woff2');    font-weight:900; font-style:normal; font-display:swap; }

/* ── BARLOW (self-hosted, latin subset) ── */
@font-face { font-family:'Barlow'; src:url('fonts/Barlow-300.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Barlow'; src:url('fonts/Barlow-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Barlow'; src:url('fonts/Barlow-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Barlow'; src:url('fonts/Barlow-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Barlow'; src:url('fonts/Barlow-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

/* ── BRAND COLORS ── */
:root {
  --lime:        #c5db00;
  --lime-dark:   #a9bd00;
  --lime-light:  #d7e84e;
  --dark-green:  #182002;
  --ink:         #182002;
  --white:       #ffffff;
  --gray-light:  #f1f1ec;
  --gray-mid:    #e3e3db;
  --text-muted:  #5c6152;

  /* legacy aliases kept so existing selectors still resolve */
  --green:       #c5db00;
  --green-dark:  #182002;
  --green-light: #d7e84e;
  --black:       #182002;
  --accent:      #c5db00;

  --display: 'Aloevera Display', 'Barlow', sans-serif;
  --body: 'Barlow', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--body); font-weight:400; background:var(--white); color:var(--ink); overflow-x:hidden; -webkit-font-smoothing:antialiased; }
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }

/* Shared display-title scale — SAME SIZE EVERYWHERE */
.section-title,
.about-title {
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(33.6px, 4.8vw, 60.8px);
  line-height:0.98;
  letter-spacing:-0.005em;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:32px;
}
.section-title-line { display:block; width:44px; height:4px; background:var(--lime); margin-bottom:20px; }
.eyebrow {
  font-family:var(--body); font-size:12px; font-weight:600;
  letter-spacing:0.24em; text-transform:uppercase; color:var(--lime-dark);
}

/* ── FLOATING NAV BAR (site-wide) ── */
#site-header {
  position:fixed; top:18px; left:24px; right:24px; z-index:600;
  transition:top 0.3s;
}
/* Frosted glass rather than a solid bar: the page reads through it, and the
   two states cross-fade instead of snapping. Over the hero the pill is barely
   there; once you start scrolling it firms up enough to keep the nav legible
   against whatever is passing underneath. */
.nav-shell {
  display:flex; align-items:center; justify-content:space-between; gap:19.2px;
  background:rgba(255,255,255,0.46);
  backdrop-filter:blur(24px) saturate(180%); -webkit-backdrop-filter:blur(24px) saturate(180%);
  border:1px solid rgba(255,255,255,0.34);
  border-radius:18px;
  padding:12px 14px 12px 22px;
  box-shadow:0 4px 18px rgba(24,32,2,0.06);
  transition:background 0.5s cubic-bezier(0.4,0,0.2,1),
             box-shadow 0.5s cubic-bezier(0.4,0,0.2,1),
             border-color 0.5s cubic-bezier(0.4,0,0.2,1);
}
#site-header.scrolled .nav-shell {
  background:rgba(255,255,255,0.82);
  border-color:rgba(24,32,2,0.07);
  box-shadow:0 10px 34px rgba(24,32,2,0.14);
}
/* Safari and Firefox without backdrop-filter would show dark type on a
   half-transparent bar, so those fall back to something solid enough to read. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-shell { background:rgba(255,255,255,0.92); }
  #site-header.scrolled .nav-shell { background:rgba(255,255,255,0.97); }
}

.site-logo { display:flex; align-items:center; flex-shrink:0; }
.site-logo img { height:40px; width:auto; display:block; }

.site-nav { display:flex; align-items:center; gap:27.2px; margin-left:8px; margin-right:auto; }
.site-nav a {
  font-family:var(--body); font-size:12px; font-weight:500;
  letter-spacing:0.12em; text-transform:uppercase; color:var(--ink);
  transition:color 0.2s; position:relative; white-space:nowrap;
}
.site-nav a::after {
  content:''; position:absolute; bottom:-6px; left:0; width:0; height:2px;
  background:var(--lime); transition:width 0.3s;
}
.site-nav a:hover::after { width:100%; }
.site-nav a:hover { color:var(--lime-dark); }

.nav-right { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav-cta {
  display:inline-flex; align-items:center; gap:9px;
  background:var(--dark-green); color:var(--white);
  border:1.5px solid var(--dark-green); border-radius:12px;
  padding:11px 20px;
  font-family:var(--body); font-size:12px; font-weight:600;
  letter-spacing:0.08em; text-transform:uppercase; white-space:nowrap;
  transition:background 0.25s, color 0.25s, border-color 0.25s;
}
.nav-cta:hover { background:var(--lime); border-color:var(--lime); color:var(--dark-green); }
.nav-cta-icon { display:none; flex:0 0 auto; }

.hamburger-btn { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.ham-line { display:block; width:24px; height:2px; background:var(--ink); transition:background 0.3s; }

.hero-accent-bar { display:none; }

/* ── HERO ── */
#hero { position:relative; width:100%; height:100vh; min-height:496px; overflow:hidden; display:flex; align-items:flex-end; }
#hero-video, .hero-fallback { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.hero-fallback { background:linear-gradient(135deg,#26310b 0%, #182002 100%); }
.hero-overlay {
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(24,32,2,0.86) 0%, rgba(24,32,2,0.40) 45%, rgba(24,32,2,0.14) 100%);
}
.hero-content { position:relative; z-index:2; padding:0 44.8px 72px; color:var(--white); max-width:1100px; }
.hero-content h1 {
  font-family:var(--display); font-weight:600;
  font-size:clamp(43.2px, 7.2vw, 102.4px); line-height:0.92;
  letter-spacing:-0.01em; text-transform:uppercase; margin:0;
}
.hero-content h1 .hero-line-2 { display:block; }
.hero-content h1 span.accent { color:var(--lime); }
.hero-content .subtitle {
  margin-top:22px; font-size:12px; font-weight:500; letter-spacing:0.28em;
  text-transform:uppercase; color:rgba(255,255,255,0.8);
  border-left:3px solid var(--lime); padding-left:14px;
}

/* Circular scroll-down button */
.scroll-indicator {
  position:absolute; z-index:3; right:56px; bottom:90px;
  width:62px; height:62px; border-radius:50%;
  border:1.5px solid var(--lime); color:var(--lime);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; background:rgba(24,32,2,0.15);
  transition:background 0.25s, color 0.25s, transform 0.25s;
  font-size:0;
}
.scroll-indicator::before {
  content:''; width:14px; height:14px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:translateY(-3px) rotate(45deg);
  animation:scrollPulse 1.8s ease-in-out infinite;
}
.scroll-indicator:hover { background:var(--lime); color:var(--dark-green); transform:translateY(4px); }
@keyframes scrollPulse { 0%,100%{opacity:0.5; transform:translateY(-4px) rotate(45deg);} 50%{opacity:1; transform:translateY(1px) rotate(45deg);} }

/* ── SECTION SHARED ── */
.section-pad { padding:96px 64px; }

/* ── ABOUT ── */
#about { display:grid; grid-template-columns:46% 54%; min-height:84vh; background:var(--white); }
.about-image-wrap {
  position:relative; overflow:hidden; min-height:480px;
  margin:32px 0 32px 32px; border-radius:24px;
  background:var(--gray-light); display:flex; align-items:center; justify-content:center;
}
.about-image-wrap img { width:100%; height:100%; object-fit:cover; transition:transform 0.9s ease; }
.about-image-wrap:hover img { transform:scale(1.04); }

.about-text-wrap { padding:88px 67.2px; display:flex; flex-direction:column; justify-content:center; }
.about-tag {
  font-family:var(--body); font-size:12px; font-weight:600; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--lime-dark); margin-bottom:22px;
}
.about-text-wrap p {
  font-size:16px; line-height:1.9; color:var(--text-muted); font-weight:400;
  margin-bottom:18px; max-width:560px;
}

/* ── BUTTONS ── */
/* Outline → fills dark green with white text on hover (per brief) */
.btn-outline {
  display:inline-flex; align-items:center; gap:12px; margin-top:27.2px;
  font-size:11px; font-weight:600; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--ink); background:transparent;
  border:1.5px solid var(--lime); border-radius:100px;
  padding:15px 24px; width:fit-content;
  transition:background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-outline:hover { background:var(--dark-green); border-color:var(--dark-green); color:var(--white); }

/* Solid lime pill → dark green + white on hover */
.btn-solid {
  display:inline-flex; align-items:center; gap:12px; margin-top:32px;
  font-size:11px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  background:var(--lime); color:var(--dark-green);
  border:1.5px solid var(--lime); border-radius:100px;
  padding:16px 30.4px; width:fit-content;
  transition:background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-solid:hover { background:var(--dark-green); border-color:var(--dark-green); color:var(--white); }

/* ── ARROW LOOP (hover: arrow slides out one side, a fresh one slides in the other) ── */
.arw-loop { position:relative; display:inline-block; width:15px; height:15px; overflow:hidden; vertical-align:middle; flex:0 0 15px; }
.arw-loop svg { position:absolute; top:0; left:0; width:15px; height:15px; transition:transform 0.42s cubic-bezier(0.76,0,0.24,1); }
.arw-loop .a2 { transform:translateX(-175%); }
/* right-pointing arrows: exit right, enter from left */
.btn-outline:hover .arw-loop .a1,
.btn-solid:hover .arw-loop .a1,
.form-submit:hover .arw-loop .a1,
.nav-cta:hover .arw-loop .a1,
.proj-all-btn:hover .arw-loop .a1,
.jr-all:hover .arw-loop .a1,
.blog-card:hover .arw-loop .a1 { transform:translateX(175%); }
.btn-outline:hover .arw-loop .a2,
.btn-solid:hover .arw-loop .a2,
.form-submit:hover .arw-loop .a2,
.nav-cta:hover .arw-loop .a2,
.proj-all-btn:hover .arw-loop .a2,
.jr-all:hover .arw-loop .a2,
.blog-card:hover .arw-loop .a2 { transform:translateX(0); }

/* ── OUR WORK ── */
#portfolio { background:var(--white); }
.work-head { display:flex; justify-content:space-between; align-items:flex-end; gap:32px; margin-bottom:38.4px; flex-wrap:wrap; }
.work-head .section-title { margin-bottom:0; }
.work-intro { max-width:360px; font-size:17px; line-height:1.6; color:var(--text-muted); font-weight:400; text-align:right; }

.portfolio-grid {
  display:grid; grid-template-columns:repeat(3, 1fr);
  grid-auto-rows:228px; gap:14px;
  grid-template-areas:
    "res int ren"
    "res com comp"
    "lan com comp";
}
.pf-residential  { grid-area:res; }
.pf-interior     { grid-area:int; }
.pf-renovation   { grid-area:ren; }
.pf-landscape    { grid-area:lan; }
.pf-commercial   { grid-area:com; }
.pf-competitions { grid-area:comp; }

.portfolio-card {
  position:relative; overflow:hidden; cursor:pointer;
  border-radius:20px; background:var(--dark-green);
  min-height:0;
}
.card-bg {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  transition:transform 0.7s ease; display:block;
}
.portfolio-card:hover .card-bg { transform:scale(1.07); }
.card-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(24,32,2,0.72) 0%, rgba(24,32,2,0.18) 55%, rgba(24,32,2,0.30) 100%);
  transition:background 0.35s;
}
.portfolio-card:hover .card-overlay { background:linear-gradient(to top, rgba(24,32,2,0.78) 0%, rgba(24,32,2,0.30) 60%, rgba(24,32,2,0.42) 100%); }

/* centered category label */
.card-info {
  position:absolute; inset:0; z-index:2; color:var(--white);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:20px;
}
.card-title {
  font-family:var(--display); font-weight:600;
  font-size:clamp(17.6px, 1.92vw, 27.2px); letter-spacing:0.02em;
  text-transform:uppercase; line-height:1;
}
.card-info::after {
  content:''; width:0; height:2px; background:var(--lime); margin-top:14px; transition:width 0.4s;
}
.portfolio-card:hover .card-info::after { width:46px; }

/* The tile itself is the link — it covers the art and the label but sits
   under the carousel arrows so those keep working. */
.card-link { position:absolute; inset:0; z-index:3; display:block; }

/* Card arrows */
.card-arrows { position:absolute; bottom:16px; right:16px; z-index:4; display:flex; gap:8px; opacity:0; transition:opacity 0.3s; }
.portfolio-card:hover .card-arrows { opacity:1; }
.card-arrow {
  width:34px; height:34px; border:1.5px solid rgba(255,255,255,0.6);
  background:rgba(24,32,2,0.35); color:var(--white); border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:13px;
  transition:background 0.2s, border-color 0.2s, color 0.2s; backdrop-filter:blur(4px);
}
.card-arrow:hover { background:var(--lime); border-color:var(--lime); color:var(--dark-green); }

/* placeholder gradients (fallback) */
.bg-residential  { background:linear-gradient(135deg,#26310b,#3d4f12); }
.bg-commercial   { background:linear-gradient(135deg,#2a2f0d,#4a5216); }
.bg-interior     { background:linear-gradient(135deg,#222a08,#40491a); }
.bg-landscape    { background:linear-gradient(135deg,#1c2606,#35521d); }
.bg-renovation   { background:linear-gradient(135deg,#2b2f0c,#524a16); }
.bg-competitions { background:linear-gradient(135deg,#1f2607,#2f3a10); }

/* ── OUR CLIENTS ── */
#partners { background:var(--gray-light); text-align:center; }
.clients-eyebrow { display:block; margin-bottom:22px; }
.clients-heading {
  font-family:var(--display); font-weight:600;
  font-size:clamp(22.4px, 2.72vw, 35.2px); line-height:1.08; color:var(--ink);
  max-width:720px; margin:0 auto 22px;
}
.clients-sub { max-width:560px; margin:0 auto 51.2px; font-size:15px; line-height:1.75; color:var(--text-muted); }
.partners-grid { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:44.8px 57.6px; }
.partner-cell { display:flex; align-items:center; justify-content:center; }
.partner-cell img {
  max-width:150px; max-height:52px; object-fit:contain;
  filter:grayscale(100%); opacity:0.55; transition:opacity 0.3s, filter 0.3s;
}
.partner-cell:hover img { opacity:1; filter:grayscale(0%); }
.partner-name {
  font-family:var(--display); font-weight:600; font-size:20.8px; letter-spacing:0.02em;
  color:#a9ad9c; transition:color 0.25s;
}
.partner-cell:hover .partner-name { color:var(--ink); }

/* ── CONTACT ── */
#contact { background:var(--white); }
.contact-head { display:flex; justify-content:space-between; align-items:flex-end; gap:38.4px; margin-bottom:56px; flex-wrap:wrap; }
.contact-head .section-title { margin-bottom:0; }
.contact-lead { max-width:420px; font-size:16px; line-height:1.7; color:var(--text-muted); text-align:right; }

.contact-grid { display:grid; grid-template-columns:1.05fr 0.95fr; gap:72px; align-items:start; }

.contact-items { display:flex; flex-direction:column; gap:4px; }
.contact-item {
  display:flex; align-items:flex-start; gap:0; padding:22px 0;
  border-bottom:1px solid var(--gray-mid); transition:gap 0.25s, padding-left 0.25s;
}
.contact-item:first-child { border-top:1px solid var(--gray-mid); }
.contact-icon {
  width:0; height:24px; overflow:hidden; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:translateX(-6px);
  transition:width 0.25s, opacity 0.25s, transform 0.25s;
}
.contact-icon svg { width:20px; height:20px; stroke:var(--lime-dark); fill:none; stroke-width:1.6; }
.contact-item:hover { gap:16px; padding-left:4px; }
.contact-item:hover .contact-icon { width:24px; opacity:1; transform:translateX(0); }
.contact-item-label { font-size:10px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--lime-dark); margin-bottom:6px; }
.contact-item-text { font-size:15px; font-weight:400; color:var(--ink); line-height:1.6; }
.contact-item-text a:hover { color:var(--lime-dark); }

/* Form */
.contact-form-wrap { background:var(--gray-light); padding:38.4px 35.2px; border-radius:22px; }
.contact-form-wrap h3 { font-family:var(--display); font-weight:600; font-size:20.8px; letter-spacing:0.02em; margin-bottom:24px; color:var(--ink); }
/* One field per row. Two-up columns forced the labels and the inputs into
   half the width of an already narrow card, and the form read as a dense
   block rather than a short sequence of questions. */
.form-row { display:grid; grid-template-columns:1fr; gap:0; }
.form-group { margin-bottom:20.8px; }
.form-group label { display:block; font-size:10px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--lime-dark); margin-bottom:9px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; background:transparent; border:none; border-bottom:1.5px solid var(--gray-mid);
  padding:10px 0; font-family:var(--body); font-size:15px; font-weight:400; color:var(--ink);
  outline:none; transition:border-color 0.2s; appearance:none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:#a7ab9c; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--lime); }
.form-group textarea { resize:none; height:70px; }
.form-submit {
  display:inline-flex; align-items:center; gap:12px;
  background:var(--lime); color:var(--dark-green);
  border:1.5px solid var(--lime); border-radius:100px; padding:16px 32px;
  font-family:var(--body); font-size:11px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  cursor:pointer; transition:background 0.2s, color 0.2s, border-color 0.2s; margin-top:8px;
}
.form-submit:hover { background:var(--dark-green); border-color:var(--dark-green); color:var(--white); }

/* ── FOOTER ── */
#site-footer { background:var(--dark-green); padding:56px 64px 28.8px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:38.4px; }
.footer-brand .footer-logo { margin-bottom:16px; }
.footer-brand .footer-logo img { height:46px; width:auto; }
.footer-brand p { font-size:13px; font-weight:300; color:rgba(255,255,255,0.4); line-height:1.8; max-width:260px; }
.footer-col h4 { font-size:10px; font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--lime); margin-bottom:20px; }
.footer-col ul li { margin-bottom:12px; }
.footer-col ul li a { font-size:13px; font-weight:300; color:rgba(255,255,255,0.62); transition:color 0.2s; }
.footer-col ul li a:hover { color:var(--lime); }
.footer-bottom {
  background:var(--dark-green); border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 64px; display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:rgba(255,255,255,0.3);
}
.footer-bottom a { color:var(--lime); }

/* ── MENU OVERLAY ── */
#menu-overlay {
  position:fixed; inset:0; background:var(--dark-green); z-index:900;
  display:flex; flex-direction:column; justify-content:center; padding:64px;
  transform:translateX(100%); transition:transform 0.5s cubic-bezier(0.77,0,0.175,1);
}
#menu-overlay::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--lime); }
#menu-overlay.open { transform:translateX(0); }
.menu-close-btn { position:absolute; top:28px; right:44px; background:none; border:none; color:var(--white); font-size:28.8px; cursor:pointer; opacity:0.6; transition:opacity 0.2s, color 0.2s; }
.menu-close-btn:hover { opacity:1; color:var(--lime); }
#menu-overlay nav ul li { border-top:1px solid rgba(255,255,255,0.08); padding:22px 0; }
#menu-overlay nav ul li:first-child { border-top:none; padding-top:0; }
#menu-overlay nav ul li a {
  font-family:var(--display); font-weight:600; font-size:clamp(30.4px, 5.6vw, 59.2px);
  letter-spacing:-0.01em; color:var(--white); text-transform:uppercase; display:block;
  transition:color 0.2s, padding-left 0.3s;
}
#menu-overlay nav ul li a:hover { color:var(--lime); padding-left:14px; }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in-view { opacity:1; transform:none; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .section-pad { padding:67.2px 32px; }
  #site-header, #site-header.scrolled { padding:16px 22.4px; }
  #about { grid-template-columns:1fr; }
  .about-text-wrap { padding:51.2px 32px; }
  .about-image-wrap { min-height:336px; margin:24px 24px 0; border-radius:20px; }
  .portfolio-grid { grid-auto-rows:200px; }
  .contact-grid { grid-template-columns:1fr; gap:41.6px; }
  .work-intro, .contact-lead { text-align:left; }
  #site-footer { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .site-nav { display:none; }
  .hamburger-btn { display:flex !important; }
  /* Contact was hidden on phones, which left no way to reach it without
     opening the menu first. It stays, just tighter. */
  .nav-cta { padding:10px 15px; font-size:11px; gap:7px; border-radius:10px; }
  .nav-cta .arw-loop { display:none; }
  .about-image-wrap { margin:20px 20px 0; border-radius:18px; }
  #site-header { top:12px; left:14px; right:14px; }
  .nav-shell { padding:10px 14px; }
  .hero-content { padding:0 24px 84px; }
  .scroll-indicator { right:24px; bottom:24px; }
  .section-pad { padding:64px 24px; }
  .portfolio-grid { grid-template-columns:1fr; grid-auto-rows:200px; grid-template-areas:"res" "int" "ren" "lan" "com" "comp"; }
  .partners-grid { gap:36px 48px; }
  #site-footer { grid-template-columns:1fr; padding:44px 24px 24px; }
  .footer-bottom { padding:16px 24px; flex-direction:column; gap:6px; text-align:center; }
  .contact-form-wrap { padding:32px 24px; }
  #menu-overlay { padding:60px 32px; }
}
@media (max-width:400px) {
  .nav-cta-text { display:none; }
  .nav-cta-icon { display:block; width:18px; height:18px; }
  .nav-cta { padding:11px; gap:0; }
  .site-logo img { height:34px; }
}

/* ── CONTACT FORM: notices, honeypot, tap targets ────────────────────
   The success message used to be inline-styled in the template and there
   was no error state at all — a failed submission just silently returned
   the visitor to the form. */
.form-notice { padding:15px 18px; margin-bottom:19.2px; font-size:14px; line-height:1.5; border-radius:8px; border-left:3px solid; }
.form-notice-ok  { background:rgba(197,219,0,0.16); border-left-color:var(--lime-dark); color:var(--ink); }
.form-notice-err { background:rgba(178,42,42,0.09); border-left-color:#b32d2e; color:#7d1d1d; }

/* Honeypot — off-screen rather than display:none, which some bots detect. */
.altera-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Footer and contact links were 15–19px tall, under the 24px minimum for a
   comfortable tap target on a phone. */
@media (max-width:900px) {
  .footer-col a, .contact-item-text a { display:inline-block; padding:5px 0; }
}

/* WhatsApp mark, in the brand green, sitting to the left of the number */
.contact-phone-row { display:inline-flex; align-items:center; gap:9px; }
.wa-mark { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
  width:22px; height:22px; color:var(--lime-dark); transition:color 0.2s, transform 0.2s; }
.wa-mark svg { width:22px; height:22px; display:block; }
.wa-mark:hover { color:var(--lime); transform:scale(1.08); }
.contact-phone-row .phone-link { line-height:1.4; }

/* ── CLIENT LOGOS ─────────────────────────────────────────────────────
   A mixed set of brands at different weights and proportions. Fitting each
   into the same box and desaturating them is what stops the row looking
   like a jumble; colour returns on hover. */
.partners-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:36.8px 32px; align-items:center;
  max-width:1080px; margin:0 auto; }
.partner-cell { display:flex; align-items:center; justify-content:center; min-height:64px; }
.partner-cell img { max-height:56px; max-width:100%; width:auto; height:auto; object-fit:contain;
  filter:grayscale(100%); opacity:0.6; transition:filter 0.3s, opacity 0.3s, transform 0.3s; }
.partner-cell:hover img { filter:grayscale(0%); opacity:1; transform:scale(1.04); }
@media (max-width:900px) { .partners-grid { grid-template-columns:repeat(3,1fr); gap:38px 30px; }
  .partner-cell img { max-height:46px; } }
@media (max-width:560px) { .partners-grid { grid-template-columns:repeat(2,1fr); gap:32px 24px; } }

/* ── GLOBAL PRESENCE ──────────────────────────────────────────────────
   The closing section of the homepage. Centred, and set on a horizon line
   that fades at both ends. The background eases into a faint tint at the
   foot so the page tapers into the dark footer rather than stopping dead
   against it. */
.gp { padding:89.6px 32px 102.4px; text-align:center;
  background:linear-gradient(180deg, var(--white) 0%, var(--white) 46%, #f5f7ef 100%); }
.gp-inner { max-width:860px; margin:0 auto; }
.gp-eyebrow { display:block; margin-bottom:20px; }
.gp-title { font-family:var(--display); font-weight:600; font-size:clamp(24px, 3.2vw, 43.2px); line-height:1.04;
  text-transform:uppercase; letter-spacing:-0.015em; color:var(--ink); margin:0 0 20px; }
.gp-lead { font-size:15px; line-height:1.8; color:var(--text-muted); max-width:440px; margin:0 auto; }

/* The horizon: a rule that fades out at both ends so nothing terminates hard. */
.gp-horizon { position:relative; margin-top:51.2px; padding-top:27.2px; }
.gp-horizon::before { content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(24,32,2,0.16) 22%, rgba(24,32,2,0.16) 78%, transparent); }

.gp-places { list-style:none; margin:0; padding:0; display:flex; justify-content:center;
  flex-wrap:wrap; gap:14px 35.2px; }
.gp-place { position:relative; display:flex; flex-direction:column; align-items:center; gap:5px;
  padding-top:16px; }
.gp-place-dot { position:absolute; top:-34px; left:50%; transform:translateX(-50%);
  width:7px; height:7px; border-radius:50%; background:rgba(24,32,2,0.22);
  transition:background 0.25s, transform 0.25s; }
.gp-place::after { content:""; position:absolute; top:-31px; left:50%; transform:translateX(-50%);
  width:1px; height:30px; background:linear-gradient(180deg, rgba(24,32,2,0.16), transparent); }
.gp-place-country { font-family:var(--body); font-size:12px; font-weight:600; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--ink); transition:color 0.25s; }
.gp-place-city { font-size:11px; color:var(--text-muted); }
.gp-place.is-home .gp-place-dot { background:var(--ink); transform:translateX(-50%) scale(1.25); }
.gp-place:hover .gp-place-dot { background:var(--lime-dark); transform:translateX(-50%) scale(1.5); }
.gp-place:hover .gp-place-country { color:var(--lime-dark); }

@media (max-width:820px) {
  .gp { padding:88px 24px 104px; }
  .gp-places { gap:12px 30px; }
}
@media (max-width:560px) {
  .gp { padding:74px 20px 92px; }
  .gp-places { gap:10px 24px; }
  .gp-place-country { font-size:11px; letter-spacing:0.12em; }
}

/* ── JOURNAL — homepage closing band ──────────────────────────────────
   The last thing on the homepage is now the newest article rather than a
   dead end. With nothing published it renders the same card in a
   "coming soon" state, so the page never ends on an empty box. */
/* Light, continuing the tint the Global Presence section fades into. Dark
   green here made the band read as part of the footer. */
.jr { background:#f5f7ef; color:var(--ink); padding:96px 64px 104px; }
.jr-inner { max-width:1280px; margin:0 auto; }
.jr-head { display:flex; justify-content:space-between; align-items:flex-end; gap:32px;
  flex-wrap:wrap; margin-bottom:48px; }
.jr-eyebrow { color:var(--lime-dark); display:inline-block; margin-bottom:16px; }
.jr-heading { font-family:var(--display); font-weight:600; line-height:1.02;
  font-size:clamp(25.6px, 3.2vw, 44.8px); text-transform:uppercase; letter-spacing:-0.005em;
  margin:0; color:var(--ink); }
.jr-all { display:inline-flex; align-items:center; gap:11px; padding:14px 24px;
  border:1.5px solid var(--gray-mid); border-radius:100px; color:var(--ink);
  font-family:var(--body); font-size:11px; font-weight:600; letter-spacing:0.16em;
  text-transform:uppercase; white-space:nowrap;
  transition:background 0.25s, border-color 0.25s, color 0.25s; }
.jr-all:hover { background:var(--dark-green); border-color:var(--dark-green); color:var(--white); }

.jr-feature { display:grid; grid-template-columns:1.1fr 1fr; gap:0; overflow:hidden;
  border-radius:24px; background:var(--white);
  border:1px solid var(--gray-mid); align-items:stretch;
  transition:border-color 0.3s, transform 0.4s; }
a.jr-feature:hover { border-color:var(--lime); transform:translateY(-3px); box-shadow:0 16px 40px rgba(24,32,2,0.10); }
.jr-feature-img { position:relative; min-height:340px; background:var(--gray-light);
  background-size:cover; background-position:center; }
.jr-tag { position:absolute; top:18px; left:18px; padding:7px 15px; border-radius:100px;
  background:rgba(24,32,2,0.72); backdrop-filter:blur(5px); color:var(--lime);
  font-family:var(--body); font-size:10px; font-weight:700; letter-spacing:0.18em;
  text-transform:uppercase; }
.jr-feature-body { padding:48px 48px 46px; display:flex; flex-direction:column;
  justify-content:center; }
.jr-date { font-family:var(--body); font-size:10px; font-weight:700; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--lime-dark); margin-bottom:18px; }
.jr-title { font-family:var(--display); font-weight:600; font-size:clamp(20.8px, 2.1vw, 30.4px);
  line-height:1.08; text-transform:uppercase; letter-spacing:0.005em; margin:0 0 18px;
  color:var(--ink); }
.jr-excerpt { font-size:15px; line-height:1.8; color:var(--text-muted); margin:0 0 26px; }
.jr-more { display:inline-flex; align-items:center; gap:11px; align-self:flex-start;
  font-family:var(--body); font-size:11px; font-weight:700; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--lime-dark); }
a.jr-feature:hover .jr-more { color:var(--ink); }
.jr-more-link:hover { color:var(--ink); }
.jr-soon .jr-feature-img { filter:saturate(0.82); }

@media (max-width:900px) {
  .jr { padding:76px 32px 84px; }
  .jr-head { margin-bottom:32px; }
  .jr-feature { grid-template-columns:1fr; border-radius:20px; }
  .jr-feature-img { min-height:220px; }
  .jr-feature-body { padding:32px 26px 34px; }
}
@media (max-width:560px) {
  .jr { padding:64px 20px 72px; }
  .jr-all { padding:12px 20px; }
  .jr-feature-img { min-height:190px; }
  .jr-feature-body { padding:28px 22px 30px; }
}
