/*
Theme Name: Graham Warman Photography Child
Description: Child theme of Hello Elementor for Graham Warman Photography. Built by Caddie Digital.
Author: Caddie Digital
Author URI: https://caddiedigital.co.nz
Template: hello-elementor
Version: 1.3.0
Text Domain: hello-elementor-child
*/

/* ==========================================================
   Base
   Design tokens live in Elementor (Variables + Global Classes).
   This file only holds what classes can't express:
   reveal motion, child hover effects, header states, lightbox,
   Gravity Forms skin and shortcode markup.
   ========================================================== */
:root{
  --gw-ink:#141414; --gw-charcoal:#1C1D1F; --gw-stone:#F5F3EF; --gw-line:#E3DED6;
  --gw-muted:#6B675F; --gw-accent:#A9814A;
  --gw-ease:cubic-bezier(.2,.7,.2,1);
  --gw-font:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--gw-font);color:var(--gw-ink);background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
::selection{background:var(--gw-ink);color:#fff}
img{max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--gw-accent);outline-offset:3px;border-radius:2px}
.gw-h1,.gw-h2,.gw-display,.gw-h3{text-wrap:balance}
.gw-body,.gw-lead,.gw-subtitle,.gw-quote-text{text-wrap:pretty}
.gw-body a,.gw-lead a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(20,20,20,.3);transition:text-decoration-color .3s}
.gw-body a:hover,.gw-lead a:hover{text-decoration-color:currentColor}
.gw-bg-dark .gw-body a{text-decoration-color:rgba(255,255,255,.35)}
.skip-link.screen-reader-text:focus{z-index:1000;background:#fff;padding:12px 18px}

/* ==========================================================
   Soft reveal (JS adds .is-in when in view)
   ========================================================== */
.gw-js .gw-reveal,
.gw-js .gw-reveal-stagger > *{opacity:0;transform:translate3d(0,26px,0);transition:opacity 1s var(--gw-ease),transform 1.15s var(--gw-ease);transition-delay:var(--gw-d,0s);will-change:opacity,transform}
.gw-js .gw-reveal.is-in,
.gw-js .gw-reveal-stagger > .is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .gw-js .gw-reveal,.gw-js .gw-reveal-stagger > *{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

/* Hero entrance: slow settle of the photo + text lift */
@keyframes gw-settle{from{transform:scale(1.07)}to{transform:scale(1)}}
@keyframes gw-rise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}
.gw-hero-media{animation:gw-settle 2.8s var(--gw-ease) both}
.gw-hero-content > *{animation:gw-rise 1.2s var(--gw-ease) both}
.gw-hero-content > *:nth-child(2){animation-delay:.12s}
.gw-hero-content > *:nth-child(3){animation-delay:.24s}
.gw-hero-content > *:nth-child(4){animation-delay:.36s}
.gw-hero-text > *{animation:gw-rise 1.2s var(--gw-ease) both}
.gw-hero-text > *:nth-child(2){animation-delay:.12s}
.gw-hero-text > *:nth-child(3){animation-delay:.24s}
@media (prefers-reduced-motion:reduce){.gw-hero-media,.gw-hero-content > *,.gw-hero-text > *{animation:none}}

/* ==========================================================
   Service tiles - Graham's favourite hover, refined:
   overlay lifts, photo breathes, title rises, link appears
   ========================================================== */
.gw-tile,.gw-tile-tall{transform:translateZ(0)}
.gw-tile .gw-tile-img,.gw-tile-tall .gw-tile-img{transition:transform 1.4s var(--gw-ease),filter 1s var(--gw-ease);filter:saturate(.92)}
.gw-tile .gw-tile-shade,.gw-tile-tall .gw-tile-shade{transition:opacity .8s var(--gw-ease)}
.gw-tile .gw-tile-body,.gw-tile-tall .gw-tile-body{transition:transform .7s var(--gw-ease)}
.gw-tile .gw-tile-more,.gw-tile-tall .gw-tile-more{opacity:0;transform:translate3d(0,8px,0);transition:opacity .6s var(--gw-ease),transform .6s var(--gw-ease)}
.gw-tile-more::after{content:"\2192";display:inline-block;transition:transform .5s var(--gw-ease)}
@media (hover:hover){
  .gw-tile:hover .gw-tile-img,.gw-tile-tall:hover .gw-tile-img{transform:scale(1.05);filter:saturate(1.05)}
  .gw-tile:hover .gw-tile-shade,.gw-tile-tall:hover .gw-tile-shade{opacity:.42}
  .gw-tile:hover .gw-tile-body,.gw-tile-tall:hover .gw-tile-body{transform:translate3d(0,-6px,0)}
  .gw-tile:hover .gw-tile-more,.gw-tile-tall:hover .gw-tile-more{opacity:1;transform:none}
  .gw-tile:hover .gw-tile-more::after{transform:translateX(4px)}
}
@media (hover:none){.gw-tile .gw-tile-more,.gw-tile-tall .gw-tile-more{opacity:1;transform:none}}
.gw-tile:focus-visible .gw-tile-more{opacity:1;transform:none}

/* Cards (Elementor-built) */
.gw-card .gw-card-media img,.gw-card-media .gw-img{transition:transform 1.3s var(--gw-ease)}
.gw-card .gw-card-title{transition:color .4s}
@media (hover:hover){.gw-card:hover .gw-card-media img{transform:scale(1.045)}.gw-card:hover .gw-card-title{color:var(--gw-accent)}}

/* Buttons + links: arrow nudge */
.gw-btn,.gw-btn-ghost,.gw-btn-light,.gw-btn-line-light{position:relative}
.gw-link::after{content:"\2192";display:inline-block;transition:transform .5s var(--gw-ease)}
.gw-link:hover::after{transform:translateX(4px)}

/* Images in frames */
.gw-frame img{transition:transform 1.6s var(--gw-ease)}
@media (hover:hover){.gw-frame:hover img{transform:scale(1.03)}}

/* ==========================================================
   Header: transparent over hero -> solid on scroll
   ========================================================== */
.elementor-location-header{position:relative;z-index:100}
.gw-header .gw-logo{transition:filter .5s var(--gw-ease),width .5s var(--gw-ease)}
.gw-header .gw-logo img,.gw-header img.gw-logo{filter:invert(1) brightness(2)}
body.is-scrolled .gw-header{background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);color:var(--gw-ink);box-shadow:0 1px 0 rgba(20,20,20,.06);padding-top:12px;padding-bottom:12px}
body.is-scrolled .gw-header .gw-logo img,body.is-scrolled .gw-header img.gw-logo{filter:none}
/* Sticky: logo shrinks back once scrolled (initial size set on gw-logo class: 315px desktop / 240px mobile) */
body.is-scrolled .gw-header .gw-logo{width:210px}
@media (max-width:767px){body.is-scrolled .gw-header .gw-logo{width:160px}}
body.is-scrolled .gw-btn-nav{background:var(--gw-ink);color:#fff;border-color:var(--gw-ink)}
body.is-scrolled .gw-burger{border-color:rgba(20,20,20,.2)}
body.is-scrolled .gw-burger-line{background:var(--gw-ink)}
.admin-bar .gw-header{top:32px}
@media (max-width:782px){.admin-bar .gw-header{top:46px}}
/* Dropdowns */
.gw-nav-item:hover > .gw-drop,.gw-nav-item:focus-within > .gw-drop{opacity:1;visibility:visible;transform:none}
.gw-nav-item .gw-drop::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.gw-has-drop > .gw-nav-link::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .35s var(--gw-ease);margin-left:2px}
.gw-has-drop:hover > .gw-nav-link::after{transform:translateY(1px) rotate(225deg)}
.gw-drop-sep{height:1px;background:var(--gw-line);margin:6px 12px}
/* Mobile nav */
body.nav-open{overflow:hidden}
body.nav-open .gw-mnav{opacity:1;visibility:visible}
body.nav-open .gw-header{background:transparent;box-shadow:none;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
body.nav-open .gw-header .gw-logo img,body.nav-open .gw-header img.gw-logo{filter:invert(1) brightness(2)}
body.nav-open .gw-burger-line{background:#fff}
body.nav-open .gw-burger{border-color:rgba(255,255,255,.4)}
body.nav-open .gw-burger-line:first-child{transform:translateY(3.25px) rotate(45deg)}
body.nav-open .gw-burger-line:last-child{transform:translateY(-3.25px) rotate(-45deg)}
.gw-mnav > *{opacity:0;transform:translate3d(0,14px,0);transition:opacity .5s var(--gw-ease),transform .6s var(--gw-ease)}
body.nav-open .gw-mnav > *{opacity:1;transform:none}
body.nav-open .gw-mnav > *:nth-child(2){transition-delay:.05s}
body.nav-open .gw-mnav > *:nth-child(3){transition-delay:.1s}
body.nav-open .gw-mnav > *:nth-child(4){transition-delay:.15s}
body.nav-open .gw-mnav > *:nth-child(5){transition-delay:.2s}
@media (min-width:1025px){.gw-mnav{display:none!important}}

/* ==========================================================
   Galleries + lightbox
   ========================================================== */
.gw-gallery img{display:block;width:100%;height:auto;margin:0 0 16px;border-radius:4px;break-inside:avoid;cursor:zoom-in;transition:opacity .6s var(--gw-ease)}
@media (hover:hover){.gw-gallery img:hover{opacity:.86}}
@media (max-width:767px){.gw-gallery img{margin-bottom:12px}}
.gw-lb{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(14,14,15,.96);opacity:0;visibility:hidden;transition:opacity .45s var(--gw-ease),visibility .45s}
.gw-lb.is-open{opacity:1;visibility:visible}
.gw-lb-fig{margin:0;max-width:92vw;max-height:88vh;display:flex;flex-direction:column;align-items:center;gap:14px}
.gw-lb-fig img{max-width:92vw;max-height:80vh;width:auto;height:auto;object-fit:contain;opacity:0;transform:scale(.985);transition:opacity .5s var(--gw-ease),transform .6s var(--gw-ease);border-radius:2px}
.gw-lb-fig img.is-loaded{opacity:1;transform:none}
.gw-lb-fig figcaption{color:rgba(255,255,255,.65);font:500 14px/1.4 var(--gw-font);text-align:center;max-width:70ch}
.gw-lb button{position:absolute;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#fff;width:52px;height:52px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;transition:background .3s,border-color .3s;padding:0}
.gw-lb button:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.35)}
.gw-lb-close{top:22px;right:22px;font-size:28px!important}
.gw-lb-prev{left:22px;top:50%;margin-top:-26px}
.gw-lb-next{right:22px;top:50%;margin-top:-26px}
@media (max-width:767px){.gw-lb-prev,.gw-lb-next{top:auto;bottom:22px;margin:0}.gw-lb-prev{left:calc(50% - 62px)}.gw-lb-next{right:calc(50% - 62px)}}
html.gw-lb-lock{overflow:hidden}

/* ==========================================================
   Project cards + facts (shortcodes)
   ========================================================== */
.gw-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px;width:100%}
@media (max-width:1024px){.gw-projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.gw-projects{grid-template-columns:1fr;gap:32px}}
.gw-pcard{display:flex;flex-direction:column;gap:18px;text-decoration:none;color:var(--gw-ink)}
.gw-pcard-media{position:relative;display:block;overflow:hidden;border-radius:6px;aspect-ratio:3/2;background:var(--gw-line)}
.gw-pcard-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.3s var(--gw-ease)}
.gw-pcard-body{display:flex;flex-direction:column;gap:6px}
.gw-pcard-title{font:600 22px/1.3 var(--gw-font);letter-spacing:-.01em;transition:color .4s}
.gw-pcard-meta{font:500 14px/1.5 var(--gw-font);color:var(--gw-muted)}
.gw-pcard-more{margin-top:6px;font:600 14px/1.4 var(--gw-font);display:inline-flex;gap:8px}
.gw-pcard-more span{transition:transform .5s var(--gw-ease)}
@media (hover:hover){.gw-pcard:hover .gw-pcard-media img{transform:scale(1.045)}.gw-pcard:hover .gw-pcard-title{color:var(--gw-accent)}.gw-pcard:hover .gw-pcard-more span{transform:translateX(4px)}}
.gw-bg-dark .gw-pcard{color:#fff}.gw-bg-dark .gw-pcard-meta{color:rgba(255,255,255,.6)}
.gw-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0 32px;margin:0;width:100%;border-top:1px solid var(--gw-line)}
.gw-facts > div{padding:18px 0;border-bottom:1px solid var(--gw-line)}
.gw-facts dt{font:600 12px/1.4 var(--gw-font);letter-spacing:.12em;text-transform:uppercase;color:var(--gw-muted);margin:0 0 6px}
.gw-facts dd{font:600 17px/1.45 var(--gw-font);margin:0;color:var(--gw-ink)}
.gw-entry{font:400 18px/1.8 var(--gw-font);color:#3a3833;max-width:720px}
.gw-entry p{margin:0 0 1.2em}
.gw-entry h2,.gw-entry h3{font-weight:600;letter-spacing:-.02em;color:var(--gw-ink);margin:1.6em 0 .6em;line-height:1.2}

/* ==========================================================
   Video embeds
   ========================================================== */
.gw-video{position:relative;width:100%;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:var(--gw-charcoal)}
.gw-video iframe,.gw-video video{position:absolute;inset:0;width:100%;height:100%;border:0}
.gw-video-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.7);font:500 15px/1.5 var(--gw-font);text-align:center;padding:24px}

/* ==========================================================
   Gravity Forms skin (Orbital theme variables + tidy layout)
   ========================================================== */
.gform-theme--framework{
  --gf-color-primary:#141414;--gf-color-primary-rgb:20,20,20;--gf-color-primary-contrast:#fff;--gf-color-primary-darker:#000;--gf-color-primary-lighter:#2E2F33;
  --gf-ctrl-border-color:#D9D4CB;--gf-ctrl-radius:8px;--gf-ctrl-size-md:52px;--gf-ctrl-font-size:16px;--gf-ctrl-label-font-size-primary:14px;--gf-ctrl-label-font-weight-primary:600;
  --gf-ctrl-btn-radius:999px;--gf-ctrl-btn-font-size:15px;--gf-ctrl-btn-font-weight:600;--gf-ctrl-btn-padding-x:30px;
  --gf-font-family-base:var(--gw-font);--gf-font-family-primary:var(--gw-font);--gf-font-family-secondary:var(--gw-font);--gf-font-family-tertiary:var(--gw-font);
  --gf-form-gap-y:22px;--gf-color-in-ctrl:#fff;--gf-ctrl-shadow:none;--gf-ctrl-outline-color-focus:rgba(169,129,74,.35);--gf-ctrl-border-color-focus:#A9814A
}
.gform_wrapper .gform_footer input[type=submit],.gform_wrapper .gform-button{transition:background-color .45s var(--gw-ease),transform .45s var(--gw-ease),box-shadow .45s var(--gw-ease)!important}
.gform_wrapper .gform_footer input[type=submit]:hover,.gform_wrapper .gform-button:hover{transform:translateY(-2px);box-shadow:0 14px 30px -14px rgba(20,20,20,.55)}
.gform_wrapper .gfield_required{color:var(--gw-accent)}
.gform_confirmation_message{font:500 18px/1.6 var(--gw-font);padding:28px;border-radius:8px;background:var(--gw-stone)}

/* Footer spacing when the mobile action bar shows */
@media (max-width:767px){body{padding-bottom:0}}

/* ==========================================================
   Refinements
   ========================================================== */
.gw-footer img.gw-logo,.gw-footer .gw-logo img{filter:invert(1) brightness(2);opacity:.92}
.elementor .gw-bg-dark .gw-subtitle,.elementor .gw-bg-dark .gw-cite-role{color:rgba(255,255,255,.66)}
.gw-faq-q{list-style:none}
.gw-faq-q::-webkit-details-marker,.gw-faq-q::marker{display:none;content:""}
.gw-faq details[open] .gw-faq-q{color:var(--gw-accent)}
@media (min-width:1025px) and (max-width:1200px){.elementor .gw-phone{display:none}.elementor .gw-nav{column-gap:22px}}
.gw-crumb a{text-decoration:none}
.gw-prose em{font-style:italic}

/* FAQ plus icon */
.gw-faq-q::after{content:"";flex:0 0 auto;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center/14px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 14px no-repeat;transition:transform .45s var(--gw-ease)}
.gw-faq details[open] > .gw-faq-q::after{transform:rotate(45deg)}
.gw-faq .e-accordion-item-icon:empty{display:none}
/* Project galleries (shortcode) */
.gw-pgallery{column-count:2;column-gap:16px;width:100%}
.gw-pgallery--few{column-count:1;max-width:1100px}
@media (max-width:767px){.gw-pgallery{column-count:1}}
/* Gravity Forms - brand the Orbital theme (inline GF vars use an ID selector, so !important) */
.gform_wrapper.gform-theme{
  --gf-color-primary:#141414!important;--gf-color-primary-rgb:20,20,20!important;--gf-color-primary-contrast:#fff!important;
  --gf-color-primary-darker:#000!important;--gf-color-primary-lighter:#2E2F33!important;
  --gf-ctrl-btn-radius:999px!important;--gf-ctrl-radius:8px!important;--gf-ctrl-border-color:#D9D4CB!important;
  --gf-font-family-base:var(--gw-font)!important;--gf-ctrl-label-color-primary:#141414!important;
  --gf-ctrl-outline-color-focus:rgba(169,129,74,.35)!important;--gf-ctrl-border-color-focus:#A9814A!important
}
.gform_wrapper .gform_required_legend{display:none}
.gform_wrapper .gform-button,.gform_wrapper input[type=submit]{padding:16px 32px!important;font-weight:600!important;letter-spacing:.01em}

/* ==========================================================
   Home hero: full-screen carousel, text revealed on scroll
   (markup is built by the gw-hero script in functions.php)
   ========================================================== */
.gw-hero.gw-hero--x{height:175vh;height:175svh;min-height:0;padding:0;display:block;overflow:visible}
.gw-hero--x.gw-hero--still{height:100vh;height:100svh}
.gw-hero--x .gw-hero-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;align-items:flex-end;padding:0 var(--gw-gutter) clamp(96px,13vh,150px);background:#0c0c0c}
.gw-hero--x .gw-hero-stage::before{content:"";position:absolute;inset:0 0 auto 0;height:26%;z-index:1;pointer-events:none;background:linear-gradient(rgba(12,12,12,.45),rgba(12,12,12,0))}
.gw-hero--x .gw-slides{position:absolute;inset:0;z-index:0}
.gw-hero--x .gw-slide{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity 1.4s var(--gw-ease),transform 8s linear;animation:none!important}
.gw-hero--x .gw-slide.is-active{opacity:1;transform:scale(1)}
.gw-hero--x .gw-hero-shade{z-index:1;opacity:calc(.25 + var(--gw-p,0) * .75)}
.gw-hero--x .gw-hero-content{position:relative;z-index:2;width:100%;max-width:1440px;margin-inline:auto}
.gw-hero--x .gw-hero-content > *,.gw-hero--x .gw-hero-text > *{animation:none!important}
.gw-hero--x [data-gw-i]{--gw-k:clamp(0, calc((var(--gw-p,0) - var(--gw-d,0)) * 2.4), 1);opacity:var(--gw-k);transform:translate3d(0,calc((1 - var(--gw-k)) * 56px),0);will-change:opacity,transform}
.gw-hero--x:not(.is-revealed) .gw-hero-content{pointer-events:none}

.gw-hero-arrow{position:absolute;bottom:clamp(20px,4vh,40px);z-index:3;width:60px;height:60px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(12,12,12,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .35s var(--gw-ease),color .35s var(--gw-ease),border-color .35s var(--gw-ease),transform .35s var(--gw-ease),opacity .35s}
.gw-hero-arrow:hover{background:#fff;color:var(--gw-ink);border-color:#fff}
.gw-hero-arrow:active{transform:scale(.94)}
.gw-hero-arrow svg{width:22px;height:22px;display:block}
.gw-hero-next{right:var(--gw-edge)}
.gw-hero-prev{right:calc(var(--gw-edge) + 72px)}
.gw-hero-count{position:absolute;z-index:3;right:calc(var(--gw-edge) + 160px);bottom:calc(clamp(20px,4vh,40px) + 24px);display:flex;align-items:center;gap:14px;color:#fff;font:600 13px/1 var(--gw-font);letter-spacing:.12em;font-variant-numeric:tabular-nums}
.gw-hero-bar{position:relative;display:block;width:72px;height:1px;background:rgba(255,255,255,.35);overflow:hidden}
.gw-hero-bar i{position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left}
.gw-hero-bar.is-run i{animation:gw-bar var(--gw-dur,6s) linear forwards}
.gw-hero-bar.is-full i{transform:scaleX(1)}
@keyframes gw-bar{to{transform:scaleX(1)}}
.gw-hero-cue{position:absolute;z-index:3;left:50%;bottom:clamp(24px,4vh,40px);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;color:#fff;font:600 11px/1 var(--gw-font);letter-spacing:.22em;text-transform:uppercase;opacity:calc(1 - var(--gw-p,0) * 5);pointer-events:none}
.gw-hero-cue i{display:block;width:1px;height:44px;background:linear-gradient(#fff,rgba(255,255,255,0));transform-origin:top;animation:gw-cue 2.2s var(--gw-ease) infinite}
@keyframes gw-cue{0%{transform:scaleY(0);opacity:1}60%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}
@media (max-width:767px){
  .gw-hero.gw-hero--x{height:160vh;height:160svh}
  .gw-hero--x .gw-hero-stage{padding-bottom:160px}
  .gw-hero-arrow{width:46px;height:46px;bottom:84px}
  .gw-hero-prev{right:calc(var(--gw-edge) + 56px)}
  .gw-hero-count{right:calc(var(--gw-edge) + 124px);bottom:101px}
  .gw-hero-arrow svg{width:18px;height:18px}
  .gw-hero-bar{width:44px}
  .gw-hero-cue{left:var(--gw-edge);bottom:88px;transform:none;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){.gw-hero--x .gw-slide{transition:opacity .01s;transform:none!important}.gw-hero-cue i{animation:none}}

/* Header stays transparent while over the home hero (still compacts after 40px) */
body.gw-compact .gw-header{padding-top:12px;padding-bottom:12px}
body.gw-compact .gw-header .gw-logo{width:210px}
@media (max-width:767px){body.gw-compact .gw-header .gw-logo{width:160px}}

/* ==========================================================
   Handwriting logo (inline SVG swapped in by script)
   ========================================================== */
.gw-logo-svg{display:block;height:auto;overflow:visible;color:inherit}
/* Hide the raster header logo until the script swaps in the SVG (3s fallback if JS fails) */
@media (prefers-reduced-motion:no-preference){html.gw-js .gw-header img.gw-logo{opacity:0;animation:gw-logo-show .4s ease 3s forwards}}
@keyframes gw-logo-show{to{opacity:1}}
.gw-header .gw-logo-svg{color:#fff;transition:color .5s var(--gw-ease),width .5s var(--gw-ease)}
body.is-scrolled .gw-header .gw-logo-svg{color:var(--gw-ink)}
.gw-logo-svg .gw-lf path{fill:currentColor}
.gw-logo-svg .gw-ll{display:none}
.gw-logo-svg.is-armed .gw-ll{display:inline}
.gw-logo-svg.is-armed .gw-ll path{fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:0 100 0}
.gw-logo-svg.is-armed .gw-lf path{fill-opacity:0}
.gw-logo-svg.is-writing .gw-ll path{animation:gw-pen var(--t) cubic-bezier(.5,.1,.4,1) var(--d) forwards,gw-pen-out .5s ease calc(var(--d) + var(--t)) forwards}
.gw-logo-svg.is-writing .gw-lf path{animation:gw-ink .6s ease var(--f) forwards}
@keyframes gw-pen{from{stroke-dasharray:0 100 0}to{stroke-dasharray:50 0 50}}
@keyframes gw-pen-out{to{stroke-opacity:0}}
@keyframes gw-ink{to{fill-opacity:1}}
@media (prefers-reduced-motion:reduce){.gw-logo-svg .gw-ll{display:none!important}.gw-logo-svg .gw-lf path{fill-opacity:1!important;animation:none!important}}

/* ==========================================================
   Home intro: single centred column
   ========================================================== */
.elementor .gw-intro-center.gw-intro-center{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:880px;margin-inline:auto;gap:clamp(24px,3vw,36px)}
.gw-intro-center > *{align-items:center;width:100%}
.gw-intro-center .gw-h2{max-width:24ch;margin-inline:auto;text-wrap:balance}
.gw-intro-center .gw-subtitle,.gw-intro-center .gw-lead,.gw-intro-center .gw-body{max-width:64ch;margin-inline:auto}
.gw-intro-center .gw-row{justify-content:center}

/* ==========================================================
   Footer
   ========================================================== */
.gw-footer .gw-foot-top.gw-foot-top{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(40px,6vw,120px);align-items:end;padding-bottom:clamp(56px,7vw,96px);border-bottom:1px solid rgba(255,255,255,.12)}
.gw-foot-cta{margin:0;color:#fff;font-family:var(--gw-font);font-weight:600;font-size:clamp(40px,6vw,88px);line-height:1;letter-spacing:-.035em;max-width:13ch;text-wrap:balance}
.gw-foot-top .gw-body{max-width:46ch}
.gw-footer .gw-foot-top .gw-label{max-width:none}
.gw-footer .gw-foot-contact.gw-foot-contact{display:flex;padding:0;flex-direction:column;align-items:flex-start;gap:8px}
.gw-foot-contact .gw-footer-title{margin-top:26px}
.gw-foot-contact .gw-footer-title:first-child{margin-top:0}
.gw-footer-link.gw-foot-big-link{font-size:clamp(20px,1.8vw,27px);font-weight:500;line-height:1.25;letter-spacing:-.01em;color:#fff;padding:0 0 4px;background:linear-gradient(currentColor,currentColor) left bottom/0 1px no-repeat;transition:background-size .5s var(--gw-ease),opacity .3s;word-break:break-word}
.gw-footer-link.gw-foot-big-link:hover{background-size:100% 1px;opacity:1}
.gw-footer .gw-foot-mid.gw-foot-mid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr));gap:clamp(28px,3vw,48px);padding:clamp(48px,6vw,80px) 0 clamp(32px,4vw,56px)}
.gw-foot-mid > :first-child{max-width:34ch}
.gw-foot-social .gw-footer-link::after{content:"\2197";display:inline-block;margin-left:6px;font-size:.85em;transition:transform .3s var(--gw-ease)}
.gw-foot-social .gw-footer-link:hover::after{transform:translate(2px,-2px)}
.gw-foot-sign{padding:clamp(8px,2vw,24px) 0 clamp(36px,4vw,56px);color:#fff}
.gw-foot-sign a{display:block;color:inherit}
.gw-foot-sign .gw-logo,.gw-foot-sign .gw-logo-svg{width:100%!important;max-width:none;height:auto;opacity:.94}
.gw-footer-bottom{gap:12px 32px;flex-wrap:wrap}
.gw-footer-link.gw-foot-top-link{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:13px}
.gw-footer-link.gw-foot-top-link::after{content:"\2191";transition:transform .3s var(--gw-ease)}
.gw-footer-link.gw-foot-top-link:hover::after{transform:translateY(-3px)}
@media (max-width:1024px){
  .gw-footer .gw-foot-top.gw-foot-top{grid-template-columns:1fr;align-items:start}
  .gw-footer .gw-foot-mid.gw-foot-mid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gw-foot-mid > :first-child{grid-column:1/-1}
}
@media (max-width:767px){
  .gw-foot-cta{font-size:clamp(36px,11vw,52px)}
  .gw-footer-link.gw-foot-top-link{margin-left:0}
}

/* -------------------------------------------------------------
 * Page hero: stronger fade behind the white text (services pages)
 * ----------------------------------------------------------- */
.elementor .gw-hero-page .gw-hero-shade{
  background-image:
    linear-gradient(90deg,rgba(12,12,12,.45) 0%,rgba(12,12,12,.2) 50%,rgba(12,12,12,0) 80%),
    linear-gradient(180deg,rgba(12,12,12,.45) 0%,rgba(12,12,12,0) 16%,rgba(12,12,12,.3) 32%,rgba(12,12,12,.66) 52%,rgba(12,12,12,.88) 100%);
}
.gw-hero-page .gw-hero-text > *{text-shadow:0 1px 18px rgba(12,12,12,.35)}

/* -------------------------------------------------------------
 * Interactive work reel - Elementor galleries become a full-width,
 * auto-scrolling strip. Pauses on hover, hovered image expands.
 * Add class "gw-gallery--grid" to a gallery to keep the old grid.
 * ----------------------------------------------------------- */
.gw-has-reel{overflow-x:clip}
.elementor .gw-gallery.gw-reel{
  --gw-reel-h:clamp(380px,64vh,600px);--gw-thin:clamp(120px,13vw,210px);
  display:flex;column-count:auto;gap:12px;
  width:100vw;max-width:none;margin-inline:calc(50% - 50vw);padding:0 12px;
  height:var(--gw-reel-h);overflow-x:auto;overflow-y:hidden;
  overscroll-behavior-x:contain;scroll-behavior:auto;scrollbar-width:none;
}
.gw-reel::-webkit-scrollbar{display:none}
.elementor .gw-gallery.gw-reel > img{
  flex:0 0 auto;width:var(--gw-thin);height:100%;max-width:none;margin:0;
  object-fit:cover;border-radius:4px;cursor:zoom-in;opacity:1;
  transition:width .75s var(--gw-ease);
}
@media (hover:hover){
  .elementor .gw-gallery.gw-reel > img:hover{width:calc(var(--gw-reel-h) * var(--ar,1.5));opacity:1}
}
@media (hover:none){
  .elementor .gw-gallery.gw-reel{--gw-reel-h:clamp(300px,52vh,440px)}
  .elementor .gw-gallery.gw-reel > img{width:min(82vw,calc(var(--gw-reel-h) * var(--ar,1.5)))}
}
@media (prefers-reduced-motion:reduce){.elementor .gw-gallery.gw-reel > img{transition:none}}

/* ==========================================================
   Mobile tweaks
   ========================================================== */
/* Remove Hello Elementor's pink (#c36) button states and the tap flash */
html{-webkit-tap-highlight-color:transparent}
.gw-burger,.gw-burger:hover,.gw-burger:focus,.gw-burger:active{background-color:transparent;color:inherit}
.gw-hero-arrow:focus{background:rgba(12,12,12,.2);color:#fff;border-color:rgba(255,255,255,.5)}
@media (hover:hover){.gw-hero-arrow:hover{background:#fff;color:var(--gw-ink);border-color:#fff}}
@media (hover:none){.gw-hero-arrow:hover{background:rgba(12,12,12,.2);color:#fff;border-color:rgba(255,255,255,.5)}}
.gw-lb button:focus{background:rgba(255,255,255,.08);color:#fff}
.gw-lb button:hover{background:rgba(255,255,255,.18);color:#fff}

@media (max-width:767px){
  /* Bigger logo */
  .elementor .gw-header .gw-header-inner{gap:12px}
  .elementor .gw-header .gw-logo{width:min(290px,calc(100vw - 104px))}
  body.is-scrolled .gw-header .gw-logo{width:200px}
  /* Footer email was causing a horizontal scroll */
  .elementor .gw-foot-big-link{font-size:clamp(14px,4.4vw,20px);overflow-wrap:anywhere;max-width:100%}
  /* Long footer menu links wrap instead of pushing the page sideways */
  .elementor .gw-footer .gw-footer-link{white-space:normal;max-width:100%}
}

/* Tablet and mobile: left-align the centred headings and intros */
@media (max-width:1024px){
  .elementor .gw-head-center,.elementor .gw-cta{text-align:left;align-items:flex-start;align-self:flex-start}
  .elementor .gw-intro-center.gw-intro-center{text-align:left;align-items:flex-start;margin-inline:0}
  .gw-intro-center > *{align-items:flex-start}
  .gw-intro-center .gw-h2,.gw-intro-center .gw-subtitle,.gw-intro-center .gw-lead,.gw-intro-center .gw-body{margin-inline:0}
  .gw-intro-center .gw-row{justify-content:flex-start}
}

@media (max-width:767px){
  /* Home hero: shorter photo with the slider arrows in view, text revealed in a dark panel below */
  .gw-hero.gw-hero--x{height:auto;--gw-ph:60vh}
  .gw-hero--x .gw-hero-stage{position:relative;display:block;height:auto;min-height:0;padding:0}
  .gw-hero--x .gw-hero-stage::before{height:calc(var(--gw-ph) * .3)}
  .gw-hero--x .gw-slides{position:relative;inset:auto;height:var(--gw-ph)}
  .gw-hero--x .gw-hero-shade{height:var(--gw-ph);bottom:auto}
  .gw-hero--x .gw-hero-content{padding:36px 20px 64px}
  .gw-hero-arrow{bottom:auto;top:calc(var(--gw-ph) - 62px)}
  .gw-hero-count{bottom:auto;top:calc(var(--gw-ph) - 45px)}
  .gw-hero-cue{bottom:auto;top:calc(var(--gw-ph) - 80px)}
  @supports (height:1svh){.gw-hero.gw-hero--x{--gw-ph:60svh}}
  /* Compact logo over the hero matches the scrolled size */
  body.gw-compact .gw-header .gw-logo{width:200px}
  /* Footer link columns stack full width */
  .gw-footer .gw-foot-mid.gw-foot-mid{grid-template-columns:1fr}
}

/* Mobile home hero: text fades in and up on load (not tied to scroll) */
@keyframes gw-hero-in{from{opacity:0;transform:translate3d(0,24px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media (max-width:767px){
  .gw-hero.gw-hero--x [data-gw-i]{opacity:1;transform:none;will-change:auto;animation:gw-hero-in .9s var(--gw-ease) both!important;animation-delay:calc(.2s + var(--gw-d,0) * 1.4s)!important}
  .gw-hero.gw-hero--x .gw-hero-content{pointer-events:auto}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){
  .gw-hero.gw-hero--x [data-gw-i]{animation:none!important}
}

/* Site gutter - matches .gw-header / .gw-section side padding so the hero aligns with the logo and content */
:root{--gw-gutter:32px;--gw-edge:max(var(--gw-gutter),calc((100% - 1440px) / 2))}
@media (max-width:1024px){:root{--gw-gutter:28px}}
@media (max-width:767px){:root{--gw-gutter:20px}}
