/* ==========================================================================
   SYTWO PTE. LTD. — shared stylesheet
   Design & build studio (interior fit-out / construction)
   NOTE: single stylesheet shared across Home / Services / Contact.
   Prefix "sy-" so nothing collides once dropped into a WordPress theme.
   Breakpoints:  <=991 (small desktop)  |  <=767 (tablet)  |  <=599 (mobile)
   ========================================================================== */

/* ---------- Design tokens -------------------------------------------------- */
:root{
  --sy-blue:        #0d5481;   /* headings, links, primary */
  --sy-blue-dark:   #16436B;   /* footer bottom bar */
  --sy-accent:      #c09254;   /* eyebrow labels, active nav */
  --sy-ink:         #17202a;   /* near-black headings */
  --sy-text:        #5b6470;   /* body copy */
  --sy-muted:       #8a929c;
  --sy-line:        #e6e9ed;   /* hairline dividers */
  --sy-bg:          #ffffff;
  --sy-bg-alt:      #f6f8fa;

  --sy-container:   1200px;
  --sy-gutter:      28px;
  --sy-radius:      38px;      /* big hero corner radius */
  --sy-radius-sm:   6px;

  --sy-font-head:  'Oswald', system-ui, sans-serif;
  --sy-font-body:  'Poppins', system-ui, sans-serif;

  --sy-shadow:     0 18px 50px rgba(20,40,70,.14);
  --sy-header-h:   82px;
}

/* ---------- Reset ---------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sy-font-body);
  font-size:16px;
  line-height:1.7;
  color:var(--sy-text);
  background:var(--sy-bg);
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--sy-font-head); color:var(--sy-ink); margin:0; line-height:1.12; }
p{ margin:0 0 1em; }

/* ---------- full-height vertical guide-lines ------------------------------ */
.sy-gridlines{
  position:fixed; inset:0; z-index:1;      /* above hero image, below text + header */
  pointer-events:none;
}
.sy-gridlines > .sy-container{
  height:100%;
  display:flex; justify-content:space-between;
}
.sy-gridlines span{
  display:block; width:0.8px; height:100%;
  background:rgba(120,120,130,.20);        /* subtle on white AND over the dark hero */
}
@media (max-width:767px){ .sy-gridlines{ display:none; } }

/* ---------- Layout helpers ------------------------------------------------- */
.sy-container{
  width:100%;
  max-width:var(--sy-container);
  margin-inline:auto;
  padding-inline:var(--sy-gutter);
}
.sy-container--narrow{ max-width:1060px; }

.sy-eyebrow{
  font-family:var(--sy-font-body);
  color:var(--sy-accent);
  font-weight:700;
  font-size:1.45rem;
  text-transform:uppercase;
  margin:0 0 1.4rem;
}

.sy-btn{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family:var(--sy-font-body);
  font-weight:600;
  font-size:1rem;
  text-transform:uppercase;
  color:#fff;
  background:var(--sy-blue);
  padding:10px 30px;
  transition:background .25s ease, transform .25s ease;
}
.sy-btn:hover{ background:var(--sy-blue-dark); transform:translateY(-2px); }
.sy-btn--ghost{
  background:transparent;
  border:none;
    text-decoration: underline;
  text-underline-offset: 6px;
  padding:0; 
}
.sy-btn--ghost:hover{ color:var(--sy-accent); background:transparent;}

/* Screen-reader only */
.sy-sr{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ==========================================================================
   HEADER  (shared — becomes header.php)
   Home = transparent overlay over hero; inner pages = solid white bar.
   Body class .is-home enables the overlay; JS adds .is-solid on scroll.
   ========================================================================== */
.sy-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  height:var(--sy-header-h);
  display:flex; align-items:center;
  background:#fff;
  border-bottom:1px solid var(--sy-line);
  transition:background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sy-header .sy-container{ display:flex; align-items:center; justify-content:space-between; }

/* Overlay variant on the home page (until scrolled) */
body.is-home .sy-header{
  background:transparent; border-bottom-color:transparent;
}
body.is-home .sy-header:not(.is-solid) .sy-nav > li > a,
body.is-home .sy-header:not(.is-solid) .sy-logo{ color:#fff; }
body.is-home .sy-header:not(.is-solid) .sy-burger span{ background:#fff; }
.sy-header.is-solid{ box-shadow:0 6px 24px rgba(20,40,70,.08); }

/* Home: hovering the header solidifies it to white (readable) + logo turns blue */
body.is-home .sy-header.is-solid{
  background:#fff; border-bottom-color:var(--sy-line);
  box-shadow:0 6px 24px rgba(20,40,70,.08);
}


.sy-logo{ display:inline-flex; align-items:center; color:var(--sy-blue); }
.sy-logo svg{ height:44px; width:auto; display:block; }

/* Primary nav */
.sy-nav{ display:flex; align-items:center; gap:38px; }
.sy-nav > li{ position:relative; }
.sy-nav > li > a{
  font-family:var(--sy-font-body);
  font-weight:300; font-size:.95rem; color:var(--sy-ink);
  padding:8px 2px; display:inline-flex; align-items:center; gap:6px;
  transition:color .2s ease;
}
.sy-nav > li > a:hover{ color:var(--sy-blue); }
.sy-nav > li.is-current > a{ color:var(--sy-accent); }
.sy-nav .sy-caret{ width:9px; height:9px; transition:transform .25s ease; }
.sy-nav .has-dropdown:hover .sy-caret{ transform:rotate(180deg); }

/* Services dropdown */
.sy-dropdown{
  position:absolute; top:100%; left:50%;
  min-width:222px; background:#fff;
  border:1px solid var(--sy-line); border-radius:0;      /* squared, no radius */
  box-shadow:0 12px 30px rgba(20,40,70,.12);
  padding:0;                                             /* full-width items for divider lines */
  opacity:0; visibility:hidden; transform: translateX(-50%);
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
}
.sy-nav .has-dropdown:hover .sy-dropdown,
.sy-nav .has-dropdown.is-open .sy-dropdown{
  opacity:1; visibility:visible;
}
.sy-dropdown a{
  position:relative; display:block; padding:12px 20px 12px 34px; border-radius:0;
  font-size:.9rem; color:var(--sy-text);
  border-bottom:1px solid var(--sy-line);                /* items split by lines */
  transition:background .18s ease, color .18s ease;
}
.sy-dropdown a::before{                                  /* little dot, like the design */
  content:""; position:absolute; left:20px; top:50%; transform:translateY(-50%);
  width:4px; height:4px; border-radius:50%; background:currentColor; opacity:.65;
}
.sy-dropdown li:last-child a{ border-bottom:none; }
.sy-dropdown a:hover{ background:var(--sy-bg-alt); color:var(--sy-blue); }

/* Home + not scrolled: translucent dark "glass" dropdown (matches mockup) */
body.is-home .sy-header:not(.is-solid) .sy-dropdown{
  background:rgba(22,30,40,.55);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-color:rgba(255,255,255,.18); box-shadow:none;
}
body.is-home .sy-header:not(.is-solid) .sy-dropdown a{
  color:rgba(255,255,255,.92); border-bottom-color:rgba(255,255,255,.14);
}
body.is-home .sy-header:not(.is-solid) .sy-dropdown a:hover{
  background:rgba(255,255,255,.12); color:#fff;
}

/* Mobile burger */
.sy-burger{
  display:none; width:30px; height:22px; position:relative;
}
.sy-burger span{
  position:absolute; left:0; height:2px; width:100%;
  background:var(--sy-ink); border-radius:2px; transition:.3s ease;
}
.sy-burger span:nth-child(1){ top:0; }
.sy-burger span:nth-child(2){ top:10px; }
.sy-burger span:nth-child(3){ top:20px; }
.sy-burger.is-active span:nth-child(1){ top:10px; transform:rotate(45deg); }
.sy-burger.is-active span:nth-child(2){ opacity:0; }
.sy-burger.is-active span:nth-child(3){ top:10px; transform:rotate(-45deg); }

/* ==========================================================================
   HERO  (shared shell; per-page background via .sy-hero--home etc.)
   ========================================================================== */
.sy-hero{
  position:relative;
  margin-top:0;
  color:#fff;
  background-size:cover; background-position:center;
  border-bottom-left-radius:var(--sy-radius);
  border-bottom-right-radius:var(--sy-radius);
  overflow:hidden;
  z-index: 1;
}
.sy-hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,20,30,.1) 0%, rgba(12,20,30,.1) 40%, rgba(10,16,24,.1) 100%);
}
.sy-hero__inner{ position:relative; z-index:2; }

/* Home hero: tall, sits under the transparent header, text bottom-left */
.sy-hero--home{
  min-height:640px;
  background-image:url("../images/hero-home.png");
  display:flex; align-items:flex-end;
}
.sy-hero--home .sy-hero__inner{
  padding-top:var(--sy-header-h);
  width:100%;
}
.sy-hero__tag{
  font-family:var(--sy-font-body); font-size:.8rem; letter-spacing:.34em;
  text-transform:uppercase; margin-bottom:18px;
}
.sy-hero--home h1{
  color:#fff; font-weight:800; text-transform:uppercase;
  font-size:4.5rem; line-height:1.04;
  letter-spacing:.01em; margin-bottom:-10px;
}

/* hero: vertical "Follow us" bottom-left */
.sy-hero-follow{
  position:absolute; bottom:46px; z-index:3;
  left:max(24px, calc(50% - var(--sy-container)/2 + -100px));
  display:flex; flex-direction:column; align-items:center; gap:16px; color:#fff;
}
.sy-hero-follow__label{
  writing-mode:vertical-rl; font-weight:300;
  font-family:var(--sy-font-body); font-size:.8rem;
  margin-bottom:6px;
}
.sy-hero-follow a{ color:#fff; opacity:.85; transition:opacity .2s ease; }
.sy-hero-follow a:hover{ opacity:1; }
.sy-hero-follow svg{ width:16px; height:16px; }
@media (max-width:767px){ .sy-hero-follow{ display:none; } }

/* Inner-page heroes: shorter, centred title, sit below solid header */
.sy-hero--inner{
  min-height:420px;
  margin:var(--sy-header-h) 80px 0;
  display:flex; align-items:center; justify-content:center; text-align:center;
}
.sy-hero--inner h1{
  color:#fff; font-weight:800; text-transform:uppercase;
  font-size:3rem; font-family: var(--sy-font-body);
}
.sy-hero--services{ background-image:url("../images/hero-services.png"); }
.sy-hero--contact{  background-image:url("../images/hero-contact.png"); }

/* ==========================================================================
   SECTION: intro / about (home)
   ========================================================================== */
.sy-section{ padding:88px 0; position: relative; z-index: 1;}
.sy-section--tight{ padding:64px 0; }

.sy-about{ display:grid; grid-template-columns:0.82fr 1fr; gap:60px; align-items:center; }
.sy-about__img img{
  width:100%; height:100%; object-fit:cover; border-radius:4px;
  aspect-ratio:54/64;
}
.sy-about h2{
  font-size:2.7rem; font-weight:800;
  text-transform:uppercase; color:var(--sy-ink); margin-bottom:14px;
}
.sy-about__lead{ font-weight:600; color:var(--sy-ink); font-size:1.5rem; margin-bottom:20px; }
.sy-about__body p{ font-size:1rem; }
.sy-certs{ display:flex; align-items:center; gap:50px; margin-top:28px; }
.sy-certs img{ height:100px; width:auto; }

/* ==========================================================================
   SECTION: services (4-col with hairline dividers) — home
   ========================================================================== */
.sy-svc-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
}
.sy-svc-grid__item{
  padding:34px 34px 8px 0;
}

.sy-svc-icon{ color:var(--sy-ink); margin-bottom:22px; }
.sy-svc-icon img{ width:60px; height:60px; }
.sy-svc-grid__item h3{
  color:var(--sy-blue); font-size:1.45rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; margin-bottom:12px;
}
.sy-svc-grid__item p{ font-size:1rem; line-height:1.65; }

/* ==========================================================================
   SECTION: latest projects (carousel + filters) — home
   ========================================================================== */
.sy-projects__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; flex-wrap:wrap; margin-bottom:30px;
}
.sy-filters{ display:flex; flex-wrap:wrap; gap:6px 22px; }
.sy-filters button{
  font-family:var(--sy-font-body); font-size:.8rem; font-weight:500;
  color:var(--sy-muted);
  padding:4px 0; border-bottom:2px solid transparent; transition:.2s ease;
}
.sy-filters button:hover{ color:var(--sy-ink); }
.sy-filters button.is-active{ color:var(--sy-accent); border-bottom-color:var(--sy-accent); }

.sy-carousel{ position:relative; }
.sy-carousel__track{
  display:flex; gap:22px; overflow-x:auto; scroll-behavior:smooth;
  scroll-snap-type:x mandatory; padding-bottom:6px;
  scrollbar-width:none;
}
.sy-carousel__track::-webkit-scrollbar{ display:none; }
.sy-project{
  position:relative; flex:0 0 34%;
  scroll-snap-align:start; border-radius:4px; overflow:hidden; cursor:pointer;
}
.sy-project:first-child{ flex:0 0 46%; }   /* first one wider, like the mockup */
.sy-project img{ width:100%; height:300px; object-fit:cover; transition:transform .5s ease; }
.sy-project:hover img{ transform:scale(1.06); }
.sy-project__overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.75); color:#fff; opacity:0; transition:opacity .3s ease;
  font-family:var(--sy-font-body); font-weight:600; font-size:1rem; text-decoration: underline;
  text-underline-offset: 6px; 
}
.sy-project:hover .sy-project__overlay{ opacity:1; }
.sy-project.is-hidden{ display:none; }

.sy-carousel__nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:56px; height:64px; background:none; box-shadow:none; border-radius:0;
  display:flex; align-items:center; justify-content:center;
  color:var(--sy-ink); opacity:.5; transition:opacity .2s ease;
}
.sy-carousel__nav:hover{ opacity:1; background:none; color:var(--sy-ink); }
.sy-carousel__nav--prev{ left:-40px; }
.sy-carousel__nav--next{ right:-40px; }
.sy-carousel__nav svg{ width:48px; height:48px; }

/* ==========================================================================
   SECTION: how we work (full-bleed image band) — home + services
   ========================================================================== */
.sy-howwework{
  position:relative; color:#fff;
  background:url("../images/how-we-work-bg.jpg") center/cover no-repeat;
  padding:104px 0; z-index: 1;
}

.sy-howwework__inner{ position:relative; z-index:2; max-width:620px; }
.sy-howwework__eyebrow{
  font-family:var(--sy-font-body); font-size:1.45rem !important; font-weight:700;
  text-transform:uppercase; margin:0 0 1.4rem !important;
}
.sy-howwework h2{
  color:#fff; font-weight:800; text-transform:uppercase;
  font-size:4.5rem; line-height:1.02; margin-bottom:22px;
}
.sy-howwework p{ font-size:1rem; max-width:520px; margin-bottom:30px; }

/* ==========================================================================
   SERVICES PAGE — alternating detailed rows
   ========================================================================== */
.sy-svc-row{
  display:grid; grid-template-columns:1fr 1.67fr; gap:56px; align-items:center;
  padding:52px 0;
}
.sy-svc-row--flip{grid-template-columns:1.67fr 1fr;}
.sy-svc-row--flip .sy-svc-row__text{ order:2; }
.sy-svc-row__text .sy-svc-icon{ margin-bottom:18px; }
.sy-svc-row__text h3{
  color: var(--sy-blue);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sy-svc-row__text p{ font-size:1rem; max-width:34ch; }
.sy-svc-row__imgs{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.sy-svc-row__imgs img{ width:100%; height:300px; object-fit:cover; border-radius:4px; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.sy-contact{ display:grid; grid-template-columns:1fr 3.6fr; gap:48px; margin-bottom: 100px;}

.sy-contact__rail{ display:flex; flex-direction:column; justify-content:space-between; gap:40px; }
.sy-rail-item .sy-rule{ width:120px; height:2px; background:var(--sy-blue); margin-bottom:16px; }
.sy-rail-item h4{
  font-family:var(--sy-font-body); color:var(--sy-blue); font-weight:700;
  font-size:1rem; text-transform:uppercase; 
}

.sy-contact__main h2{
  color:var(--sy-blue); font-weight:800; font-size:2rem;
  margin-bottom:34px; font-family: var(--sy-font-body);
}
.sy-contact__cols{ display:grid; grid-template-columns:1fr 1fr 1fr; margin-bottom:38px; }
.sy-cinfo {padding-right:20px;}
.sy-cinfo p{ font-size:1rem; margin-bottom:14px; display:flex; gap:10px; font-family:var(--sy-font-body);text-transform: none; letter-spacing: unset; }
.sy-cinfo strong{ color:var(--sy-ink); }
.sy-cinfo .sy-ico{ color:var(--sy-blue); flex:0 0 auto; margin-top:3px; }
.sy-cinfo .sy-ico svg{ width:16px; height:16px; }
.sy-call{ color:var(--sy-blue); font-family:var(--sy-font-head); font-weight:600; font-size:1.5rem !important; }
.sy-follow{ display:flex; gap:14px; margin-top:6px; }
.sy-follow a{
  width:34px; height:34px; border:1px solid var(--sy-line); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--sy-blue);
  transition:.2s ease;
}
.sy-follow a:hover{ background:var(--sy-blue); color:#fff; border-color:var(--sy-blue); }
.sy-follow svg {width:15px; height:15px;}
.sy-label-sm{ font-family:var(--sy-font-head); font-weight:700; color:var(--sy-ink); font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:8px; }

/* Form */
.sy-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.sy-form input, .sy-form textarea{
  width:100%; font-family:var(--sy-font-body); font-size:.92rem; color:var(--sy-ink);
  background:var(--sy-bg-alt); border:1px solid var(--sy-line); border-radius:4px;
  padding:14px 16px; transition:border-color .2s ease, background .2s ease;
}
.sy-form input::placeholder, .sy-form textarea::placeholder{ color:var(--sy-muted); }
.sy-form input:focus, .sy-form textarea:focus{
  outline:none; border-color:var(--sy-blue); background:#fff;
}
.sy-form textarea{ min-height:150px; resize:vertical; margin-bottom:20px; }

/* Map (black & white via CSS filter — no API key needed) */
.sy-map{ line-height:0; z-index: 1; position: relative;}
.sy-map iframe{
  width:100%; height:440px; border:0; display:block;
  filter:grayscale(1) contrast(1.05);
}

/* ==========================================================================
   FOOTER  (shared — becomes footer.php)
   ========================================================================== */
.sy-footer{ background:#fff; padding-top:56px; position: relative; z-index: 1;}
.sy-footer__grid{
  display:grid; grid-template-columns:0.9fr 1.3fr 1fr 1.2fr; gap:36px;
  padding-bottom:44px;
}
.sy-footer__logo img{ height:118px; width:auto; display:block; }
.sy-footer h4{
  font-family:var(--sy-font-head); color:var(--sy-blue); font-weight:700;
  font-size:1rem; letter-spacing:.1em; text-transform:uppercase;
  position:relative; padding-bottom:14px; margin-bottom:22px;
  border-bottom:1px solid var(--sy-line);            /* long thin grey rule */
}
.sy-footer h4::after{                                 /* short blue segment on top */
  content:""; position:absolute; left:0; bottom:-1px;
  width:90px; height:2px; background:var(--sy-blue);
}
.sy-footer__grid p, .sy-footer__grid li{ font-size:1rem; line-height:1.6; }
.sy-footer__contact p{ display:flex; gap:8px; margin-bottom:10px; }
.sy-footer__contact b{ color:var(--sy-blue); }
.sy-footer__links li{ margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.sy-footer__links a{ transition:color .2s ease; }
.sy-footer__links a:hover{ color:var(--sy-blue); }
.sy-footer__links .sy-dot{
  width:5px; height:5px; border-radius:50%; background:var(--sy-ink);
  flex:0 0 auto;
}

.sy-footer__bar{ background:var(--sy-blue); color:rgba(255,255,255,.85); }
.sy-footer__bar .sy-container{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding-top:16px; padding-bottom:16px;
}
.sy-footer__bar p{ margin:0; font-size:.8rem; }
.sy-footer__social{ display:flex; gap:10px; }
.sy-footer__social a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(255,255,255,.75); background:transparent;
  display:flex; align-items:center; justify-content:center; color:#fff; transition:.2s ease;
}
.sy-footer__social a:hover{ background:#fff; color:var(--sy-blue-dark); border-color:#fff; }
.sy-footer__social svg{ width:15px; height:15px; }

/* ==========================================================================
   LIGHTBOX (project popup) — shared
   ========================================================================== */
.sy-lightbox{
  position:fixed; inset:0; z-index:1000; display:none;
  align-items:center; justify-content:center; padding:24px;
  background:rgba(14,20,28,.88);
}
.sy-lightbox.is-open{ display:flex; }
.sy-lightbox__panel{ position:relative; width:min(760px,100%); text-align:left; }
.sy-lightbox__tag{
  display:inline-block; background:var(--sy-accent); color:#fff;
  font-family:var(--sy-font-head); font-size:1rem; font-weight:600;
  padding:0 12px; border-radius:3px;
  margin-bottom:12px;
}
.sy-lightbox__title{ color:#fff; font-family:var(--sy-font-body); font-weight:600; font-size:1.5rem; margin-bottom:16px; }
.sy-lightbox__img img{ width:100%; border-radius:6px; }
.sy-lightbox__close{
  position:absolute; top:-4px; right:0; transform:translateY(-120%);
  color:#fff; width:38px; height:38px; display:flex; align-items:center; justify-content:center;
}
.sy-lightbox__close svg{ width:24px; height:24px; }

/* ==========================================================================
   Mobile navigation panel (shared)
   ========================================================================== */
.sy-mobile-nav{
  position:fixed; top:var(--sy-header-h); left:0; right:0; z-index:99;
  background:#fff; border-bottom:1px solid var(--sy-line);
  box-shadow:0 20px 40px rgba(20,40,70,.12);
  transform:translateY(-150%); transition:transform .35s ease;
  max-height:calc(100vh - var(--sy-header-h)); overflow-y:auto;
}
.sy-mobile-nav.is-open{ transform:translateY(0); }
.sy-mobile-nav a{ display:flex; padding:14px var(--sy-gutter); font-family:var(--sy-font-head); font-weight:500; color:var(--sy-ink); border-bottom:1px solid var(--sy-line); justify-content:space-between; }
.sy-mobile-nav .sy-sub a{ padding-left:calc(var(--sy-gutter) + 18px); font-weight:400; font-size:.9rem; color:var(--sy-text); }
.sy-mobile-nav .sy-sub{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.sy-mobile-nav .sy-msub.is-open .sy-sub{ max-height:320px; }
.sy-mobile-nav .sy-msub > a .sy-caret{ float:right; transition:transform .25s ease; width:15px;}
.sy-mobile-nav .sy-msub.is-open > a .sy-caret{ transform:rotate(180deg); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:991px){
  :root{ --sy-gutter:22px; }
  .sy-about{ gap:40px; }
  .sy-svc-grid{ grid-template-columns:repeat(2,1fr); border-top:none; }
  .sy-svc-grid__item{ border-left:none; border-top:1px solid var(--sy-line); padding:30px 0; }
  .sy-svc-grid__item:nth-child(even){ padding-left:26px; border-left:1px solid var(--sy-line); }
  .sy-footer__grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .sy-project{ flex-basis:calc((100% - 22px)/2); }
}

/* ---------- Tablet: 767px ---------- */
@media (max-width:767px){
  .sy-section{ padding:60px 0; }
  .sy-howwework{ padding:76px 0; }

  /* nav → burger */
  .sy-nav{ display:none; }
  .sy-burger{ display:block; }

  .sy-hero--home{ min-height:520px; }
  .sy-hero--inner{ min-height:320px; margin: var(--sy-header-h) 0 0;}
	
  .sy-filters button{font-size:1rem;}

  .sy-about{ grid-template-columns:1fr; gap:30px; }
  .sy-about__img img{ aspect-ratio:16/10; }

  .sy-svc-row{ grid-template-columns:1fr; gap:26px; padding:40px 0; }
  .sy-svc-row--flip .sy-svc-row__text{ order:0; }
  .sy-svc-row__text p{ max-width:none; }
  .sy-svc-row__imgs img{ height:180px; }

  .sy-contact{ grid-template-columns:1fr; gap:34px; }
  .sy-contact__rail{ flex-direction:row; flex-wrap:wrap; gap:24px; }
	.sy-contact__cols{grid-template-columns: 1fr 1fr;}

  .sy-footer__grid{ grid-template-columns:1fr 1fr; }
  .sy-map iframe{ height:360px; }

  .sy-project{ flex-basis:calc((100% - 22px)/2); }
  .sy-carousel__nav--prev{ left:-8px; }
  .sy-carousel__nav--next{ right:-8px; }
}

/* ---------- Mobile: 599px ---------- */
@media (max-width:599px){
  :root{ --sy-radius:26px; --sy-header-h:70px; }
  .sy-section{ padding:48px 0; }
	
  .sy-svc-grid{ grid-template-columns:1fr; }
  .sy-svc-grid__item,
  .sy-svc-grid__item:nth-child(even){ padding:26px 0; border-left:none; }

  .sy-contact__cols{ grid-template-columns:1fr; gap:24px; }
  .sy-form__row{ grid-template-columns:1fr; }
  .sy-contact__rail{ flex-direction:column; }

  .sy-svc-row__imgs{ grid-template-columns:repeat(3,1fr); gap:8px; }
  .sy-svc-row__imgs img{ height:100px; }

	.sy-footer__logo img {height:88px;}
  .sy-footer__grid{ grid-template-columns:1fr; gap:28px; }
  .sy-footer__bar .sy-container{ flex-direction:column; text-align:center; gap:12px; }

  .sy-project{ flex-basis:100%; }
  .sy-project img{ height:250px; }
  .sy-carousel__nav{ width:44px; height:44px; }
  .sy-carousel__nav--prev{ left:6px; }
  .sy-carousel__nav--next{ right:6px; }

	.sy-hero--home .sy-hero__inner{padding-bottom:22px;}
  .sy-hero--home h1{ font-size:2.25rem; margin-bottom:unset;}
	
	.sy-about h2{font-size:2.25rem;}
	.sy-about__lead{font-size:1.3rem;line-height:1.5;}
	
	.sy-howwework h2{font-size:3rem;}
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* ==========================================================================
   WordPress additions (theme conversion)
   ========================================================================== */
.sy-logo-img{ height:44px; width:auto; display:block; }

/* Generic page.php content (WP editor output) */
.sy-page-content{ font-family:var(--sy-font-body); color:var(--sy-text); line-height:1.7; }
.sy-page-content h1,.sy-page-content h2,.sy-page-content h3{ font-family:var(--sy-font-head); color:var(--sy-ink); }
.sy-page-content a{ color:var(--sy-blue); text-decoration:underline; text-underline-offset:3px; }
.sy-page-content img{ max-width:100%; height:auto; }
.sy-page-content ul,.sy-page-content ol{ margin:0 0 1em 1.2em; }
.sy-page-content p{ margin-bottom:1em; }

/* Bare inner hero (generic pages w/ no featured image) keeps the title readable */
.sy-hero--inner:not(.sy-hero--services):not(.sy-hero--contact){ background-color:var(--sy-blue); }

/* ==========================================================================
   Footer menus (wp_nav_menu — Quick Links & Services)
   ========================================================================== */
.sy-footer__menu{ list-style:none; margin:0; padding:0; }
.sy-footer__menu li{ margin-bottom:10px; }
.sy-footer__menu li a{
  position:relative; display:inline-block; padding-left:14px;
  color:var(--sy-text); transition:color .2s ease;
}
.sy-footer__menu li a::before{
  content:""; position:absolute; left:0; top:.62em;
  width:5px; height:5px; border-radius:50%; background:var(--sy-ink);
}
.sy-footer__menu li a:hover{ color:var(--sy-blue); }

/* ==========================================================================
   Contact Form 7 — inherit the .sy-form look
   ========================================================================== */
.sy-form--cf7 .wpcf7-form > p{ margin:0; }                 /* CF7 wraps stray fields in <p> */
.sy-form--cf7 .wpcf7-form-control-wrap{ display:block; width:100%; }
.sy-form--cf7 .sy-form__row{ margin-bottom:16px; }

/* Submit — works whether the CF7 tag uses class:sy-btn or a plain [submit] */
.sy-form--cf7 .wpcf7-submit{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--sy-font-body); font-weight:600; font-size:1rem; text-transform:uppercase;
  color:#fff; background:var(--sy-blue); border:0; cursor:pointer;
  padding:10px 30px; transition:background .25s ease, transform .25s ease;
}
.sy-form--cf7 .wpcf7-submit:hover{ background:var(--sy-blue-dark); transform:translateY(-2px); }

/* CF7 validation / response messages */
.sy-form--cf7 .wpcf7-not-valid-tip{ font-family:var(--sy-font-body); font-size:.82rem; color:#c0392b; margin-top:4px; }
.sy-form--cf7 .wpcf7-spinner{ margin:10px 0 0 8px; }
.wpcf7-response-output{
  font-family:var(--sy-font-body); font-size:.9rem; line-height:1.5;
  margin:14px 0 0 !important; padding:10px 14px !important; border-radius:4px;
}
