/* =========================
   RESET + GLOBAL
   ========================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
img { max-width: 100%; height: auto; display: block; }

:root{
  --white:#fff;
  --black:#000;
  --stroke:rgba(0,0,0,.35);
  --hamburger-grey:#9aa1a9;

  --header-h:56px;     /* fixed topbar height */
  --nav-h:62px;        /* secondary navbar height */

  --spec-bg:#fff;
  --spec-rule:#1f1f1f;
  --prod:#e0a129;
  --brand:#93a8cf;
  --social:#f3a892;

  --footer-bg:#1f1f1f;
  --text:#efefef;
  --muted:#bfbfbf;
  --nav-muted:#cfc9bf;

  --bg-dark:#1f1f1f;
  --text-light:#f5f5f5;
}

body{
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--black);
  background:var(--white);
  line-height:1.45;
  padding-top:var(--header-h);
  overflow-x:hidden;
}

/* =========================
   TOPBAR (fixed)
   ========================= */
.topbar{
  position:fixed; inset:0 0 auto 0;
  height:var(--header-h);
  z-index:100;
  background:linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,.8), rgba(255,255,255,0));
  backdrop-filter:saturate(140%) blur(2px);
  transition:background .2s ease, box-shadow .2s ease;
}
.topbar.scrolled{ background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.1); }
.topbar-inner{
  max-width:1200px; margin:0 auto; padding:10px 14px;
  min-height:var(--header-h);
  display:flex; align-items:center; justify-content:flex-end; gap:16px;
}

/* Menu & Hamburger */
.menu{ display:flex; gap:24px; }
.menu a{ color:#111; text-decoration:none; font-weight:500; opacity:.9; }
.menu a:hover, .menu a.active{ opacity:1; }

.nav-toggle{ display:none; }
.hamburger{
  display:none; width:20px; height:16px;
  align-items:center; justify-content:center;
  cursor:pointer; margin-left:auto; background:transparent; border:0; padding:0; line-height:0;
  z-index:101;
}
.hamburger span{
  display:block; width:100%; height:2px; background:var(--hamburger-grey);
  border-radius:1px; transition:transform .25s ease, opacity .25s ease;
}

/* =========================
   SECONDARY NAV (mobile-first)
   ========================= */
.nav{
  width:100%;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.nav__inner{
  max-width:1200px; margin:0 auto; padding:14px 20px;
  display:flex; align-items:center; gap:16px;
}
.nav__links{ display:none; gap:26px; }
.nav__links a{ color:#0d0d0d; text-decoration:none; font-weight:500; }
.nav__links a.active, .nav__links a:hover{ opacity:.85; }
.nav__spacer{ flex:1 1 auto; }

.nav__toggle{ display:block; width:40px; height:36px; background:none; border:0; padding:0; }
.nav__toggle span{
  display:block; height:2px; background:#0d0d0d; margin:7px 0;
  transition:transform .25s, opacity .25s;
}
.nav__toggle.open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.nav__toggle.open span:nth-child(2){ opacity:0; }
.nav__toggle.open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

.nav__drawer{ display:none; flex-direction:column; gap:14px; padding:10px 20px 16px; background:#fff; border-bottom:1px solid rgba(0,0,0,.08); }
.nav__drawer a{ color:#0d0d0d; text-decoration:none; font-weight:500; }
.nav__drawer.open{ display:flex; }

/* =========================
   HERO
   ========================= */
.hero{ position:relative; width:100%; height:clamp(62vh,80vh,88vh); overflow:hidden; }
.bg-video, .hero__video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
  display:block;
}
.hero__container{ position:relative; width:100%; height:calc(100vh - var(--nav-h)); overflow:hidden; }

.hero-logo{ position:absolute; top:18px; left:18px; z-index:10; text-decoration:none; }
.hero-logo img{ width:auto; height:54px; filter:drop-shadow(0 6px 28px rgba(0,0,0,.45)); }

/* Unified outline button (used across sections) */
.btn-outline{
  display:inline-block;
  padding:10px 16px; min-width:150px;
  border:1.5px solid #fff; color:#fff; text-decoration:none;
  font-weight:700; letter-spacing:.5px;
  background:rgba(0,0,0,.15); backdrop-filter:blur(2px);
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn-outline:hover{ transform:translateY(-1px); background:rgba(255,255,255,.15); border-color:#fff; }

/* =========================
   ABOUT
   ========================= */
.about-slab{ background:#fff; border-top:1px solid rgba(0,0,0,.04); border-bottom:1px solid rgba(0,0,0,.04); }
.about-wrap{ max-width:840px; margin:0 auto; padding:96px 20px 140px; text-align:center; }
.anim-item{ opacity:1; transform:none; filter:none; }

.about-copy{
  margin:0 auto 72px; max-width:720px;
  font-size:15px; line-height:1.6; color:#121212;
}
.about-divider{ display:block; width:1px; height:120px; background:rgba(0,0,0,.55); margin:0 auto 56px; }
.about-mark{ font-weight:900; font-size:44px; letter-spacing:.5px; color:#111; }

@media (prefers-reduced-motion: reduce){
  .anim-item{ opacity:1!important; transform:none!important; filter:none!important; }
}

/* =========================
   SPECIALISE
   ========================= */
.specialise{ background:var(--spec-bg); }
.spec-wrap{ max-width:1200px; margin:0 auto; padding:56px 24px 88px; }
.spec-header{ max-width:1140px; margin:0 auto 34px; }
.spec-rule{ display:block; height:1px; background:rgba(0,0,0,.6); opacity:.85; }
.spec-rule--top{ margin-bottom:14px; }
.spec-rule--btm{ margin-top:16px; }
.spec-title{
  font-family: "Georgia","Times New Roman",serif;
  font-weight:400; font-style:italic;
  font-size:clamp(28px,5vw,44px);
  line-height:1.2; letter-spacing:.5px; padding-left:12px;
}
.spec-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px 36px; margin-top:42px; }
.spec-item{ display:grid; gap:16px; align-content:start; }
.spec-kicker{ display:flex; align-items:center; gap:10px; font-size:14px; letter-spacing:.12em; font-weight:700; }
.spec-item[data-variant="prod"] .spec-kicker{ color:var(--prod); }
.spec-item[data-variant="brand"] .spec-kicker{ color:var(--brand); }
.spec-item[data-variant="social"] .spec-kicker{ color:var(--social); }
.kicker-arrow{ width:18px; height:18px; }
.spec-desc{ font-size:16px; line-height:1.6; color:#141414; max-width:38ch; }
.spec-media{ margin:10px 0 0; border-radius:14px; overflow:hidden; background:#ddd; aspect-ratio:4/3; box-shadow:0 10px 26px rgba(0,0,0,.14); }
.spec-media img{ width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.02); transition:transform .6s cubic-bezier(.2,.8,.2,1); }
.spec-item:hover .spec-media img{ transform:scale(1.06); }

/* =========================
   PRODUCTION (images left)
   ========================= */
.production{ background:#1f1f1f; color:#f5f5f5; }
.prod-wrap{
  max-width:1200px; margin:0 auto; padding:64px 24px 96px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:48px 56px; align-items:center;
}
.prod-media{ position:relative; display:grid; gap:56px; align-content:start; }
.prod-img{ border-radius:14px; overflow:hidden; background:#333; box-shadow:0 14px 34px rgba(0,0,0,.35); }
.prod-img img{ width:100%; height:100%; object-fit:cover; transform:scale(1.03); transition:transform .7s cubic-bezier(.2,.8,.2,1); }
.prod-img:hover img{ transform:scale(1.07); }
.prod-img--top{ width:520px; height:360px; }
.prod-img--bottom{ width:520px; height:320px; }
.prod-copy{ max-width:580px; justify-self:end; }
.prod-title{
  font-family:Georgia,"Times New Roman",serif; font-style:italic; font-weight:400; letter-spacing:.06em;
  font-size:clamp(36px,5vw,64px); line-height:1.1; margin:0 0 22px; color:#fff;
}
.prod-desc{ margin:0 0 26px; font-size:17px; line-height:1.7; color:#e8e8e8; opacity:.95; text-align:right; }

/* CTA (gold outline) */
.btn-ghost{
  display:inline-block; padding:11px 22px; border-radius:10px; border:1px solid rgba(255,186,86,.9);
  color:#ffbb58; text-decoration:none; font-weight:700; letter-spacing:.04em; position:relative; overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}
.btn-ghost:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.32); border-color:#ffc46d; color:#ffd289; }

/* Simple single-image variant (no left scroll/slide animation) */
.image-container{
  position:relative; overflow:hidden; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.image-container img{
  display:block; width:100%; height:auto; object-fit:cover;
  transform:scale(1); transition:transform .8s ease, filter .8s ease;
}
.image-container:hover img{ transform:scale(1.08); filter:brightness(1.1); }

/* =========================
   BRANDING SECTION (devices)
   ========================= */

.prod-copy h2{
  font-family:"Playfair Display",serif; font-style:italic; font-weight:700; letter-spacing:.06em;
  font-size:clamp(40px,5.4vw,84px); line-height:1.05; margin:0 0 24px;
}

/* =========================
   FOOTER
   ========================= */
.site-footer{ background:var(--black); color:var(--text); padding:48px 6% 28px; }
.footer-inner{
  max-width:1320px; margin:0 auto; display:grid;
  grid-template-columns:1fr auto auto; grid-template-areas:"left nav right";
  align-items:center; gap:24px 32px;
}
.footer-left{ grid-area:left; }
.footer-kicker{
  margin:0; font-family:Georgia,"Times New Roman",serif; font-weight:700; letter-spacing:.02em;
  font-size:clamp(28px,4vw,46px); line-height:1.1;
}
.footer-kicker span{ font-style:italic; font-weight:500; }

.footer-nav{ grid-area:nav; }
.footer-menu{ list-style:none; padding:0; margin:0; display:flex; gap:18px 22px; flex-wrap:wrap; justify-content:center; }
.footer-menu a{
  color:var(--nav-muted); text-decoration:none; text-transform:uppercase; letter-spacing:.1em;
  font-size:12.5px; padding:8px 0; position:relative;
}
.footer-menu a::after{ content:""; position:absolute; left:0; right:0; bottom:2px; height:1px; background:transparent; }
.footer-menu a:hover{ color:#fff; }
.footer-menu a:hover::after{ background:#ffffff; }

.footer-right{ grid-area:right; display:flex; align-items:center; gap:18px; justify-self:end; }
.socials{ display:flex; gap:12px; }
.soc{ display:grid; place-items:center; width:40px; height:40px; border:1.5px solid #ffffff; border-radius:8px; color:#e9e3da; }
.soc:hover{ background:#ffffff; color:#111; }

.footer-bottom{ max-width:1320px; margin:28px auto 0; display:flex; align-items:center; gap:28px; }
.footer-logo{ height:42px; width:auto; filter:drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.copy{ color:var(--muted); font-size:13px; }
.footer-contact{ margin-top:12px; font-size:14px; color:var(--muted); line-height:1.5; }
.footer-contact a{ color:var(--text); text-decoration:none; }
.footer-contact a:hover{ text-decoration:underline; }

/* =========================
   RESPONSIVE
   ========================= */

/* ≥576px — large phones */
@media (min-width:576px){
  .hero-logo img{ height:58px; }      /* unified logo sizing bump */
  .btn-outline{ padding:12px 18px; min-width:170px; font-size:15px; }
}

/* ≥768px — tablets */
@media (min-width:768px){
  :root{ --nav-h:64px; }
  .hero-logo img{ height:64px; }
  .btn-outline{ padding:12px 18px; min-width:170px; font-size:15px; }
}

/* ≥992px — laptops */
@media (min-width:992px){
  .nav__inner{ justify-content:flex-start; }
  .nav__links{ display:flex; }
  .nav__toggle{ display:none; }
  .nav__drawer{ display:none !important; }
  .nav__spacer{ display:none; }

  .hero-logo img{ height:72px; }      /* consistent desktop logo */
}

/* ≥1200px — desktops */
@media (min-width:1200px){
  .nav__inner{ max-width:1200px; }
  .hero-logo img{ height:54px; width: 100%; }
  .btn-outline{ padding:14px 22px; min-width:200px; font-size:16px; }
}

/* ≥1400px — large desktops (also affects sections using big canvases) */
@media (min-width:1400px){
  .social-section{ padding:110px 6%; }
  .mockup-wrap{ height:660px; }
}

/* ≥1600px — 4K */
@media (min-width:1600px){
  .hero-logo img{ height:96px; }
  .btn-outline{ padding:14px 24px; min-width:220px; font-size:18px; }
}

/* Short viewports */
@media (max-height:600px){
  .hero-logo img{ height:min(36vw, 60px); }
}

/* 1024–1399 (laptops) */
@media (max-width:1399.98px) and (min-width:1024px){
  .social-section{ padding:88px 5%; }
  .mockup-wrap{ height:600px; }
  .social-content{ max-width:560px; }
}

/* 900–1023 */
@media (max-width:1023.98px) and (min-width:900px){
  .social-inner{ gap:48px; }
  .mockup-wrap{ height:560px; }
  .phones-img{ max-width:96%; transform:none; }
}

/* 768–899 */
@media (max-width:899.98px) and (min-width:768px){
  .social-inner{ grid-template-columns:1fr 1fr; gap:40px; }
  .mockup-wrap{ height:520px; }
  .social-title{ font-size:clamp(40px,6.5vw,64px); }
}

/* ≤1023 — tablets & below */
@media (max-width:1023.98px){
  .footer-inner{
    grid-template-columns:1fr;
    grid-template-areas:"left" "nav" "right";
    gap:18px;
  }
  .footer-right{ justify-self:start; }
  .footer-menu{ justify-content:flex-start; }
}

/* ≤991 — stack production + relax sizes */
@media (max-width:991.98px){
  .spec-grid{ grid-template-columns:repeat(2,1fr); }
  .spec-desc{ max-width:46ch; }

  .prod-wrap{ grid-template-columns:1fr; gap:34px; }
  .prod-copy{ justify-self:start; max-width:720px; }
  .prod-desc{ text-align:left; }
  .prod-media{ height:auto; display:block; }
  .prod-img--top{ width:520px; height:340px; }
  .prod-img--bottom{ width:520px; height:320px; margin-top:42px; }
}

/* ≤767 — mobile stack */
@media (max-width:767.98px){
  /* Topbar mobile menu */
  .hamburger{ display:flex; flex-direction:column; gap:3px; }
  .menu{
    position:fixed; top:calc(var(--header-h) - 4px); right:10px; left:10px;
    background:#fff; border:1px solid rgba(0,0,0,.1); border-radius:12px;
    display:grid; gap:10px; padding:14px;
    opacity:0; transform:translateY(-16px); pointer-events:none; transition:.25s; z-index:100;
  }
  .menu a{ padding:8px 6px; color:#111; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2){ opacity:0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }
  .nav-toggle:checked ~ .menu{ opacity:1; transform:translateY(0); pointer-events:auto; }

  .social-section{ padding:64px 5% 72px; }
  .social-inner{ grid-template-columns:1fr; gap:28px; }
  .mockup-wrap{ height:460px; max-width:440px; margin:0 auto; }
  .phones-img{ max-width:100%; transform:none; }
  .social-content{ max-width:560px; margin:0 auto; text-align:center; }

  .site-footer{ padding:42px 5% 26px; }
  .footer-kicker{ font-size:32px; }
  .footer-right{ width:100%; justify-content:space-between; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:12px; }
  .footer-logo{ height:40px; }
}

/* ≤575 — small phones */
@media (max-width:575.98px){
  .spec-wrap{ padding:44px 18px 64px; }
  .spec-grid{ grid-template-columns:1fr; gap:32px; }

  .prod-wrap{ padding:52px 18px 72px; }
  .prod-media{ position:relative; height:260px; }
  .prod-img--top{ position:absolute; left:16px; top:6px; width:220px; height:150px; }
  .prod-img--bottom{ position:absolute; left:70px; top:120px; width:260px; height:160px; }
  .prod-title{ font-size:clamp(30px,8vw,44px); }

  .branding-content h2{ font-size:clamp(34px,7vw,48px); }
  .branding-text{ font-size:15px; line-height:1.5; }
  .branding-btn{ padding:8px 16px; font-size:13px; }
  .laptop{ width:90%; left:auto; }
  .tablet{ width:65%; margin-top:15px; }
  .phone{ width:55%; margin-top:15px; }

  .mockup-wrap{ height:420px; }
  .btn-outline{ padding:12px 18px; font-size:12px; }

  .collab-section{ padding:48px 4% 60px; }
  .collab-title{ font-size:32px; letter-spacing:.03em; }

  .footer-kicker{ font-size:28px; }
  .soc{ width:36px; height:36px; }
  .footer-logo{ height:36px; }
}

/* ≤412 — Galaxy S9+ */
@media (max-width:412px){
  .production{ background:#1f1f1f; color:#fff; padding:60px 22px; }
  .branding-content h2{ font-size:40px; }
}

/* iPhone 12/13/14/15 (≤390) */
@media (max-width:390.98px){
  .hero-logo img{ height:34px; }
  .branding-content h2{ font-size:38px; }
  .branding-text{ font-size:14px; }
  .branding-btn{ padding:7px 14px; font-size:12px; }
  .laptop{ width:95%; }
  .tablet{ width:70%; }
  .phone{ width:60%; }

  .mockup-wrap{ height:380px; }
  .social-title{ font-size:42px; }

  .btn-outline{ padding:9px 14px; font-size:11.5px; }
  .copy{ font-size:12.5px; }
}

/* ≤375 — iPhone SE */
@media (max-width:375px){
  .prod-wrap{ padding:40px 14px 60px; gap:24px; }
  .prod-media{ height:220px; }
  .prod-img--top{ left:16px; top:8px; width:140px; height:95px; border-radius:12px; }
  .prod-img--bottom{ left:64px; top:96px; width:160px; height:105px; border-radius:12px; }

  .branding-content h2{ font-size:34px; }
}

/* ≤360 — very small */
@media (max-width:359.98px){
  .mockup-wrap{ height:350px; }
  .social-text{ font-size:13px; }
  .footer-kicker{ font-size:24px; }
  .soc{ width:34px; height:34px; }
  .footer-menu{ gap:10px 14px; }
}

/* ≤320 — extra small */
@media (max-width:320px){
  :root{ --header-h:44px; --nav-h:56px; }

  .topbar-inner{ padding:6px 8px; }
  .hamburger{ width:18px; height:14px; gap:2px; }
  .hamburger span{ height:1.5px; }

  .hero{ height:58vh; }
  .hero-logo img{ height:30px; }

  .spec-wrap{ padding:38px 12px 50px; }
  .spec-media{ border-radius:10px; }

  .prod-wrap{ padding:32px 12px 46px; gap:18px; }
  .prod-media{ height:180px; }
  .prod-img--top{ width:120px; height:82px; left:10px; top:4px; }
  .prod-img--bottom{ width:140px; height:95px; left:52px; top:84px; }

  .about-wrap{ padding:46px 12px 60px; }
  .about-copy{ font-size:14px; margin-bottom:24px; }
  .about-divider{ height:50px; margin-bottom:20px; }
  .about-mark{ font-size:24px; }
}

/* ≤280 — extreme small */
@media (max-width:280px){
  .hero-logo img{ height:26px; }
  .prod-img--top{ width:110px; height:75px; }
  .prod-img--bottom{ width:120px; height:82px; }
  .about-copy{ font-size:13px; }
}
.prod-btn {
  display: inline-block;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  color: #ffffff;
  border: 1.5px solid #d29b4b;
  padding: 12px 22px;
  border-radius: 2px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.prod-btn:hover {
  transform: translateY(-2px);
  background: #d29b4b;
  color: #1a1a1a;
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid #fff;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  letter-spacing: .08em;
  font-size: 13px;
  transition: all .25s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}
.hero-cta {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  backdrop-filter: blur(3px) saturate(140%);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: transform .22s cubic-bezier(.2,.8,.2,1),
              box-shadow .22s ease,
              border-color .22s ease,
              background .22s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  overflow: hidden;
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,.65) 50%,
    rgba(255,255,255,.35) 55%,
    transparent 100%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.hero-cta:hover::after {
  animation: cta-shine .9s ease forwards;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.85);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  outline: none;
}

.hero-cta:active {
  transform: translateY(0) scale(.99);
  box-shadow: 0 6px 14px rgba(0,0,0,.22);
}

@keyframes cta-shine {
  0%   { transform: translateX(-120%) skewX(-12deg); }
  100% { transform: translateX(120%) skewX(-12deg); }
}

/* ≤1024px — tablets */
@media (max-width:1024px) {
  .hero {
    height: 70vh;
  }
  .hero__video {
    object-position: center center;
  }
}

/* ≤767px — mobile */
@media (max-width:767.98px) {
  .hero {
    height: 64vh; /* reduce height for smaller screens */
  }
  .hero__video {
    object-position: top center; /* focus top on mobile */
  }
}

/* ≤575px — small phones */
@media (max-width:575.98px) {
  .hero {
    height: 58vh;
  }
}

/* ≤390px — iPhone 12/13/14/15 */
@media (max-width:390.98px) {
  .hero {
    height: 54vh;
  }
}

/* ≤320px — very small devices */
@media (max-width:320px) {
  .hero {
    height: 50vh;
  }
}
/* ===== Footer: place footer nav BELOW left-side buttons on DESKTOP ===== */
@media (min-width: 1024px) {
  .footer-inner{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left right"
      "nav  right";
    align-items: start;
    gap: 18px 32px;
  }

  .footer-left{ grid-area: left; }
  .footer-nav{
    grid-area: nav;
    margin-top: 8px;       /* small space below contact/buttons */
  }
  .footer-right{
    grid-area: right;
    justify-self: end;
    align-self: start;
  }

  /* ensure nav aligns left under the left column content */
  .footer-menu{
    justify-content: flex-start;
  }
}
/* ===== HERO: Logo + "WORK WITH US" button (responsive only) ===== */

/* ≥1600px — big desktops / 4K */
@media (min-width:1600px){
  .hero-logo{ top:22px; left:22px; }
  .hero-logo img{ height:96px; width:auto; }

  .hero-cta{
    top:22px; right:22px;
    padding:12px 20px;
    font-size:16px; letter-spacing:.4px;
  }
}

/* ≥1400px — large desktops */
@media (min-width:1400px){
  .hero-logo{ top:20px; left:20px; }
  .hero-logo img{ height:82px; width:auto; }

  .hero-cta{
    top:20px; right:20px;
    padding:12px 18px;
    font-size:15px;
  }
}

/* ≥1200px — desktops */
@media (min-width:1200px){
  .hero-logo{ top:18px; left:18px; }
  .hero-logo img{ height:72px; width:auto; } /* override any width:100% */

  .hero-cta{
    top:18px; right:18px;
    padding:11px 18px;
    font-size:14.5px;
  }
}

/* ≥992px — laptops */
@media (min-width:992px){
  .hero-logo{ top:18px; left:18px; }
  .hero-logo img{ height:68px; width:auto; }

  .hero-cta{
    top:18px; right:18px;
    padding:10px 16px;
    font-size:14px;
  }
}

/* ≥768px and ≤991px — tablets */
@media (max-width:991.98px) and (min-width:768px){
  .hero-logo{ top:16px; left:16px; }
  .hero-logo img{ height:60px; width:auto; }

  .hero-cta{
    top:16px; right:16px;
    padding:9px 15px;
    font-size:13.5px;
  }
}

/* ≤767px — mobile */
@media (max-width:767.98px){
  .hero-logo{
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
  }
  .hero-logo img{ height:48px; width:auto; }

  .hero-cta{
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    padding:8px 14px;
    font-size:13px;
    border-radius:10px;
  }
}

/* ≤575px — small phones */
@media (max-width:575.98px){
  .hero-logo img{ height:42px; width:auto; }
  .hero-cta{ padding:8px 12px; font-size:12.5px; }
}

/* ≤412px — compact phones */
@media (max-width:412px){
  .hero-logo img{ height:38px; width:auto; }
  .hero-cta{ padding:7px 11px; font-size:12px; }
}

/* ≤390px — iPhone 12/13/14/15 mini widths */
@media (max-width:390.98px){
  .hero-logo img{ height:36px; width:auto; }
  .hero-cta{ padding:7px 10px; font-size:11.5px; }
}

/* ≤375px — iPhone SE */
@media (max-width:375px){
  .hero-logo img{ height:34px; width:auto; }
  .hero-cta{ padding:6px 10px; font-size:11.5px; }
}

/* ≤360px — very small */
@media (max-width:359.98px){
  .hero-logo img{ height:32px; width:auto; }
  .hero-cta{ padding:6px 9px; font-size:11px; }
}

/* ≤320px — extra small */
@media (max-width:320px){
  .hero-logo{ top:10px; left:10px; }
  .hero-logo img{ height:30px; width:auto; }
  .hero-cta{
    top:10px; right:10px;
    padding:5px 8px; font-size:10.5px;
  }
}

/* ≤280px — extreme small */
@media (max-width:280px){
  .hero-logo img{ height:26px; width:auto; }
  .hero-cta{ padding:5px 7px; font-size:10px; }
}

/* Short viewports (landscape phones / small laptop windows) */
@media (max-height:600px){
  .hero-logo img{ height:min(10vh, 50px); width:auto; }
  .hero-cta{ padding:7px 12px; font-size:12px; }
}