:root{--paper:#f6f1e8;--card:#fffaf2;--ink:#1f2923;--muted:#627167;--green:#285f43;--green2:#173629;--accent:#c4813a;--line:#ded4c3;--shadow:0 22px 58px rgba(49,43,33,.14)}
      *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Segoe UI,Arial,sans-serif;font-size:18px;line-height:1.65}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}img{max-width:100%}button,input{font:inherit}
      .wrap{width:min(100% - 40px,1480px);margin:auto}.header{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px clamp(18px,4vw,76px);background:rgba(255,250,242,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}
      .brand{display:flex;align-items:center;gap:14px}.logo{display:grid;place-items:center;width:58px;height:58px;border-radius:9px;background:var(--green);color:white;font-weight:900}.brand strong{display:block;font-size:20px}.brand small{display:block;color:var(--muted);line-height:1.2}.nav{display:flex;gap:26px;font-weight:900}.actions{display:flex;align-items:center;gap:10px}.btn,.lang{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:8px;border:1px solid var(--line);background:white;font-weight:900;cursor:pointer}.btn.primary{background:var(--green);color:white;border-color:var(--green);box-shadow:0 14px 30px rgba(40,95,67,.22)}.btn.dark{background:var(--green2);color:white;border-color:var(--green2)}
      .hero{display:grid;grid-template-columns:1fr .95fr;gap:44px;align-items:center;padding:70px 0}.eyebrow{color:var(--accent);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:13px}.hero h1{margin:12px 0 16px;font-size:clamp(42px,6vw,86px);line-height:.98;letter-spacing:0}.lead{font-size:22px;color:var(--muted);max-width:850px}.hero-ctas,.section-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px}.stat,.card,.service,.problem,.project,.step,.review,.faq,.audience,.contact-card{background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 32px rgba(49,43,33,.05)}.stat{padding:18px}.stat b{display:block;color:var(--green);font-size:28px;line-height:1}.hero-media{position:relative}.hero-media img,.hero-media video{width:100%;height:620px;object-fit:cover;border-radius:10px;box-shadow:var(--shadow);display:block}.hero-video{background:#17251d}.note{position:absolute;right:-10px;bottom:24px;width:min(370px,82%);padding:22px;background:white;border-radius:10px;box-shadow:var(--shadow)}
      .section{padding:74px 0}.section-head{max-width:1040px;margin-bottom:30px}.section-head h2{margin:0 0 12px;font-size:clamp(36px,4.4vw,66px);line-height:1.04}.section-head p{margin:0;color:var(--muted);font-size:20px}.grid{display:grid;gap:20px}.grid.four{grid-template-columns:repeat(4,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.two{grid-template-columns:repeat(2,1fr)}
      .service,.project,.problem{overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.service>button,.project .case-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}.media{height:250px;overflow:hidden;background:#ddd}.media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1s ease}.body{padding:24px}.body h3{margin:0 0 10px;font-size:25px;line-height:1.2}.body p{margin:0;color:var(--muted)}.service:hover,.project:hover,.problem:hover,.card:hover{transform:translateY(-8px);box-shadow:var(--shadow);border-color:rgba(40,95,67,.28)}.service:hover img,.project:hover img,.problem:hover img{transform:scale(1.07)}.link{display:inline-block;margin-top:18px;color:var(--green);font-weight:900}
      .problem .media{height:205px;position:relative}.tag{position:absolute;left:14px;bottom:14px;padding:7px 11px;border-radius:999px;background:rgba(23,54,41,.9);color:white;font-size:13px;font-weight:900}.solution{margin-top:14px;padding:14px;background:#eee4d6;border-radius:8px;color:#314239}.project .media{height:285px}.phases{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.phases span{padding:7px 10px;border-radius:999px;background:#edf2ed;color:var(--green);font-size:12px;font-weight:900;text-transform:uppercase}
      .cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:34px;padding:26px;background:var(--green2);color:white;border-radius:10px;box-shadow:var(--shadow)}.cta p{margin:4px 0 0;color:rgba(255,255,255,.76)}.split{display:grid;grid-template-columns:.85fr 1.15fr;gap:34px}.steps{display:grid;gap:14px}.step{display:grid;grid-template-columns:58px 1fr;gap:18px;padding:20px}.num{display:grid;place-items:center;width:50px;height:50px;border-radius:9px;background:var(--green);color:white;font-weight:900}.step h3,.audience h3,.review h3,.faq h3{margin:0 0 6px}.step p,.audience p,.review p,.faq p{margin:0;color:var(--muted)}
      .showreel{display:grid;grid-template-columns:.72fr 1.28fr;overflow:hidden;border-radius:10px;background:var(--green2);color:white;box-shadow:var(--shadow)}.show-copy{padding:42px}.show-copy p{color:rgba(255,255,255,.78)}.show-stage{position:relative;min-height:420px;background:#111;overflow:hidden}.show-stage img{width:100%;height:100%;min-height:420px;object-fit:cover;transition:opacity .35s ease,transform 4s ease}.show-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7))}.show-caption{position:absolute;left:24px;right:24px;bottom:24px;z-index:2}.show-caption strong{display:block;font-size:36px;line-height:1}
      .reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review,.faq,.audience{padding:24px}.contact{display:grid;grid-template-columns:1fr 430px;gap:28px;align-items:start;padding:44px;border-radius:10px;background:var(--green2);color:white}.contact p{color:rgba(255,255,255,.78)}.contact-card{padding:24px;color:var(--ink);display:grid;gap:12px}.footer{display:flex;justify-content:space-between;gap:18px;padding:28px clamp(18px,4vw,76px);color:var(--muted)}
      .modal{position:fixed;inset:0;z-index:90;display:none}.modal.open{display:block}.backdrop{position:absolute;inset:0;background:rgba(17,24,20,.75);border:0}.panel{position:relative;margin:24px auto;width:min(1280px,calc(100% - 24px));max-height:calc(100vh - 48px);overflow:auto;background:var(--paper);border-radius:12px;box-shadow:0 28px 90px rgba(0,0,0,.35)}.close{position:sticky;top:12px;float:right;z-index:5;margin:12px;width:44px;height:44px;border:0;border-radius:9px;background:white;font-size:26px;cursor:pointer}
      .project-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;padding:30px}.compare{--split:50%;position:relative;height:min(58vh,58vw);min-height:420px;overflow:hidden;border-radius:10px;background:#111}.compare img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.compare .before{z-index:2;clip-path:inset(0 calc(100% - var(--split)) 0 0)}.compare .after{z-index:1}.label{position:absolute;z-index:3;top:14px;padding:8px 12px;border-radius:999px;background:rgba(0,0,0,.68);color:white;font-weight:900}.label.left{left:14px}.label.right{right:14px}.handle{position:absolute;z-index:3;top:0;bottom:0;left:var(--split);width:3px;background:white}.range{width:100%;margin:18px 0 12px}.thumb-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.thumb-grid button{padding:0;border:0;border-radius:8px;overflow:hidden;cursor:pointer;background:#ddd}.thumb-grid img{width:100%;height:90px;object-fit:cover;display:block}.details ul{padding-left:20px}.details li{margin:8px 0}.result{padding:18px;background:#edf2ed;border-radius:9px}
      .gallery-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:22px;padding:26px}.gallery-main{position:relative;border-radius:10px;overflow:hidden;background:#111}.gallery-main img{width:100%;height:min(62vh,68vw);object-fit:cover;display:block}.arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:46px;border:0;border-radius:999px;background:white;font-size:30px;cursor:pointer}.prev{left:14px}.next{right:14px}.counter{position:absolute;left:16px;bottom:16px;z-index:2;padding:8px 12px;border-radius:999px;background:rgba(0,0,0,.7);color:white}.mobile-cta{display:none}
      [data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s ease}.visible{opacity:1;transform:none}
      @media(max-width:1050px){.hero,.split,.showreel,.contact,.project-layout,.gallery-layout{grid-template-columns:1fr}.grid.four{grid-template-columns:repeat(2,1fr)}.grid.three,.reviews{grid-template-columns:1fr 1fr}.hero-media img{height:480px}.compare{height:54vh}.thumb-grid{grid-template-columns:repeat(3,1fr)}}
      @media(max-width:680px){body{font-size:16px}.header{padding:12px 14px}.nav{display:none}.brand small{display:none}.actions .phone{display:none}.wrap{width:min(100% - 28px,1480px)}.hero{padding:42px 0}.hero h1{font-size:44px}.lead{font-size:18px}.stats,.grid.four,.grid.three,.grid.two,.reviews{grid-template-columns:1fr}.media,.project .media{height:230px}.cta{align-items:flex-start;flex-direction:column}.panel{width:calc(100% - 12px);margin:8px auto;max-height:calc(100vh - 16px)}.project-layout,.gallery-layout{padding:16px}.compare{min-height:340px;height:56vh}.thumb-grid{grid-template-columns:repeat(2,1fr)}.gallery-main img{height:50vh}.mobile-cta{position:fixed;left:10px;right:10px;bottom:10px;z-index:50;display:flex;gap:8px}.mobile-cta a{flex:1;text-align:center;padding:12px 10px;border-radius:9px;background:var(--green);color:white;font-weight:900;box-shadow:var(--shadow)}.footer{padding-bottom:76px}.note{position:relative;right:auto;bottom:auto;width:100%;margin-top:12px}}

.reference-panel{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);gap:22px;align-items:stretch;margin:0 0 28px;padding:26px;border-radius:12px;background:linear-gradient(135deg,var(--green2),#2d6448);color:white;box-shadow:var(--shadow)}
      .reference-panel h3{margin:6px 0 8px;font-size:clamp(26px,3vw,42px);line-height:1.05}.reference-panel p{margin:0;color:rgba(255,255,255,.78)}.reference-proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.reference-proof{padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.08)}.reference-proof b{display:inline-grid;width:38px;height:38px;margin-bottom:12px;place-items:center;border-radius:9px;background:rgba(255,255,255,.16);color:#f2c885}.reference-proof strong{display:block;font-size:18px}.reference-proof p{font-size:15px;line-height:1.55}
      .filterbar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.filterbar button{border:1px solid var(--line);border-radius:999px;padding:10px 14px;background:white;color:var(--green2);font-weight:900;cursor:pointer;transition:background .22s ease,color .22s ease,transform .22s ease}.filterbar button:hover{transform:translateY(-2px)}.filterbar button.active{background:var(--green);border-color:var(--green);color:white}
      .project-grid-rich{grid-template-columns:repeat(3,1fr)}.project-card.rich{position:relative;overflow:hidden}.project-card.rich .case-open{height:auto}.case-preview{position:relative;display:grid;grid-template-columns:1fr 1fr;height:260px;overflow:hidden;background:#17251d}.case-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.62))}.case-preview img{width:100%;height:100%;object-fit:cover;transition:transform 1s ease,filter .5s ease}.project-card.rich:hover .case-preview img{transform:scale(1.08);filter:saturate(1.06)}.case-preview .divider{position:absolute;top:0;bottom:0;left:50%;z-index:2;width:2px;background:rgba(255,255,255,.85)}.case-preview .mini-label{position:absolute;z-index:3;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(23,54,41,.88);color:white;font-size:12px;font-weight:900;text-transform:uppercase}.case-preview .mini-label.before{left:12px}.case-preview .mini-label.after{right:12px}.case-type{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:#edf2ed;color:var(--green);font-size:12px;font-weight:900;text-transform:uppercase}.case-topline{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.case-topline span,.evidence-chip,.phase-filter button{border-radius:999px;padding:7px 10px;background:#f0e6d8;color:#334439;font-size:12px;font-weight:900}.case-proof-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.case-proof-row div{padding:12px;border-radius:9px;background:#f7efe4}.case-proof-row b{display:block;color:var(--green);font-size:20px;line-height:1}.case-proof-row small{display:block;color:var(--muted);line-height:1.25}.case-link{display:inline-flex;align-items:center;gap:8px;margin-top:4px;color:var(--green);font-weight:900}.case-link:after{content:"→";transition:transform .2s ease}.project-card.rich:hover .case-link:after{transform:translateX(4px)}
      .project-spotlight{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;margin-top:20px}.details .project-meta-line{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 20px}.details .project-meta-line span{border-radius:999px;padding:8px 11px;background:#f0e6d8;color:#314239;font-size:13px;font-weight:900}.project-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.project-metrics div{padding:14px;border-radius:9px;background:#fff7ec;border:1px solid var(--line)}.project-metrics b{display:block;color:var(--green);font-size:26px;line-height:1}.project-metrics small{color:var(--muted);font-weight:800}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.story-card{padding:16px;border-radius:9px;background:white;border:1px solid var(--line)}.story-card strong{display:block;margin-bottom:6px}.story-card p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}.evidence-list{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.phase-filter{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 12px}.phase-filter button{border:0;cursor:pointer}.phase-filter button.active{background:var(--green);color:white}.thumb-grid button.hidden{display:none}.compare-hint{margin:8px 0 0;color:var(--muted);font-size:14px}
      .project-carousel{margin:0 18px 20px;padding:14px;border-radius:10px;background:#f8efe3;border:1px solid var(--line)}.project-carousel.large{margin:18px 0 0;padding:16px;background:#fff8ee}.carousel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#2f4238}.carousel-head strong{font-size:14px;text-transform:uppercase;letter-spacing:.04em}.carousel-head span{font-size:13px;color:var(--muted);font-weight:900}.carousel-stage{position:relative}.carousel-viewport{overflow:hidden;border-radius:9px;background:#17251d;touch-action:pan-y}.carousel-track{display:flex;transition:transform .38s ease}.carousel-slide{min-width:100%;border:0;padding:0;background:#17251d;cursor:pointer}.carousel-slide[hidden]{display:none}.carousel-slide img{width:100%;height:170px;object-fit:cover;display:block;transition:transform 1.2s ease}.project-carousel.large .carousel-slide img{height:min(44vh,520px)}.carousel-slide:hover img{transform:scale(1.04)}.carousel-arrow{position:absolute;top:50%;z-index:4;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(0,0,0,.16);color:#173629;font-size:30px;line-height:1;cursor:pointer;transform:translateY(-50%);transition:transform .2s ease,background .2s ease}.carousel-arrow:hover{background:white;transform:translateY(-50%) scale(1.06)}.carousel-prev{left:10px}.carousel-next{right:10px}.carousel-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:10px}.project-carousel.compact .carousel-thumbs{grid-template-columns:repeat(10,1fr)}.carousel-thumbs button{height:38px;padding:0;border:2px solid transparent;border-radius:7px;background:#ddd;overflow:hidden;cursor:pointer;opacity:.72;transition:opacity .2s ease,border-color .2s ease,transform .2s ease}.carousel-thumbs button[hidden]{display:none}.carousel-thumbs button.active{opacity:1;border-color:var(--green);transform:translateY(-1px)}.carousel-thumbs img{width:100%;height:100%;object-fit:cover;display:block}.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.video-card{overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 32px rgba(49,43,33,.05);transition:transform .28s ease,box-shadow .28s ease}.video-card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}.video-card button{width:100%;height:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}.video-poster{position:relative;height:260px;overflow:hidden;background:#17251d}.video-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1s ease}.video-card:hover img{transform:scale(1.06)}.play-mark{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:62px;height:62px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--green);font-size:24px;transform:translate(-50%,-50%);box-shadow:0 16px 34px rgba(0,0,0,.2)}.video-type{position:absolute;left:14px;bottom:14px;padding:7px 10px;border-radius:999px;background:rgba(23,54,41,.9);color:white;font-size:12px;font-weight:900;text-transform:uppercase}.video-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;padding:26px}.video-player{width:100%;max-height:70vh;border-radius:10px;background:#111;display:block}.video-details{padding:12px 0}.video-details p{color:var(--muted)}.video-note{margin-top:18px;padding:16px;border-radius:9px;background:#edf2ed;color:#334439}
      @media(max-width:1050px){.reference-panel,.project-spotlight{grid-template-columns:1fr}.project-grid-rich{grid-template-columns:1fr 1fr}.reference-proof-grid,.story-grid{grid-template-columns:1fr}.case-preview{height:240px}}
      @media(max-width:1050px){.video-grid{grid-template-columns:repeat(2,1fr)}.video-layout{grid-template-columns:1fr}}
      @media(max-width:680px){.reference-panel{padding:20px}.project-grid-rich,.project-metrics,.case-proof-row{grid-template-columns:1fr}.case-preview{height:260px}.story-grid{grid-template-columns:1fr}.filterbar{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.filterbar button{white-space:nowrap}.project-metrics div{padding:12px}.project-carousel{margin:0 12px 16px}.project-carousel.compact .carousel-thumbs{grid-template-columns:repeat(5,1fr)}.carousel-slide img{height:190px}.project-carousel.large .carousel-slide img{height:300px}.video-grid{grid-template-columns:1fr}.video-poster{height:230px}.video-layout{padding:16px}.video-player{max-height:58vh}}

.hero-media img,.hero-media video{height:500px}.media{height:210px}.problem .media{height:185px}.project .media{height:220px}.case-preview{height:220px}.video-poster{height:220px}
      .compare{height:min(52vh,52vw);min-height:360px}.gallery-main img{height:min(54vh,60vw)}.project-carousel.large .carousel-slide img{height:min(38vh,420px)}
      .counter{top:16px;bottom:auto}.gallery-caption{position:absolute;left:16px;right:16px;bottom:16px;z-index:2;padding:14px 16px;border-radius:10px;background:rgba(17,24,20,.78);color:white;backdrop-filter:blur(8px);line-height:1.35}.gallery-caption b{display:block;margin-bottom:4px;color:#f3c275;text-transform:uppercase;font-size:12px;letter-spacing:.05em}
      .carousel-slide{position:relative;text-align:left;color:white}.slide-caption{position:absolute;left:12px;right:12px;bottom:12px;z-index:2;padding:10px 12px;border-radius:9px;background:rgba(17,24,20,.76);backdrop-filter:blur(7px);font-size:13px;line-height:1.35}.slide-caption b{display:block;margin-bottom:2px;color:#f3c275;text-transform:uppercase;font-size:11px;letter-spacing:.05em}
      @media(max-width:1050px){.hero-media img,.hero-media video{height:420px}.case-preview{height:220px}.compare{height:48vh}.video-poster{height:210px}}
      @media(max-width:680px){.media,.project .media{height:210px}.case-preview{height:220px}.compare{min-height:320px;height:50vh}.gallery-main img{height:46vh}.gallery-caption{position:relative;left:auto;right:auto;bottom:auto;border-radius:0;background:#173629}.slide-caption{font-size:12px;line-height:1.25}.project-carousel.large .carousel-slide img{height:300px}.hero-media img,.hero-media video{height:340px}}

/* Consolidated layout, accessibility and mobile overrides. */
:root {
  --paper: #f5f0e7;
  --card: #fffdf8;
  --ink: #18231d;
  --muted: #56655c;
  --green: #275c43;
  --green2: #153629;
  --accent: #96501f;
  --line: #d8cebd;
  --shadow: 0 18px 48px rgba(39, 43, 35, 0.12);
}

html {
  scroll-padding-top: 100px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overscroll-behavior: none;
}

h1,
h2,
.show-caption strong {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #d18742;
  outline-offset: 3px;
}

.header {
  min-height: 78px;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  gap: clamp(30px, 5vw, 72px);
  min-height: calc(100vh - 78px);
  padding: clamp(54px, 8vw, 96px) 0;
}

.hero > *,
.hero-ctas > *,
.stats > * {
  min-width: 0;
  max-width: 100%;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.7vw, 78px);
  line-height: 1.01;
}

.hero-media img {
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.note {
  border: 1px solid rgba(39, 92, 67, 0.15);
}

.illustration-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: -26px;
  padding: 18px 22px;
  border: 1px solid #d8c8b1;
  border-radius: 12px;
  background: #fff8ed;
  color: #46564d;
  box-shadow: 0 8px 24px rgba(49, 43, 33, 0.06);
}

.illustration-note span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.illustration-note p {
  margin: 1px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.example-badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0e3d2;
  color: #6d3c1d;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(58px, 7vw, 88px) 0;
}

.grid > *,
.project-layout > *,
.gallery-layout > * {
  min-width: 0;
}

.service,
.project,
.problem,
.review,
.faq,
.audience,
.video-card,
.reference-panel,
.showreel,
.contact {
  border-radius: 14px;
}

.service:hover,
.project:hover,
.problem:hover,
.card:hover,
.video-card:hover {
  transform: translateY(-3px);
}

.body {
  padding: 22px;
}

.body h3 {
  font-size: 23px;
}

.project-grid-rich {
  align-items: stretch;
}

.project-card.rich {
  display: flex;
  flex-direction: column;
}

.project-card.rich .case-open {
  flex: 1;
}

.show-stage img {
  object-position: center;
}

.modal.open {
  display: grid;
  place-items: start center;
  overflow: hidden;
  padding: 18px;
}

.backdrop {
  cursor: default;
}

.panel {
  width: min(1280px, 100%);
  max-height: calc(100dvh - 36px);
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.close {
  top: 10px;
  width: 46px;
  height: 46px;
  margin: 10px 10px -56px auto;
  float: none;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

#projectModal .project-layout,
#projectModal .project-layout > *,
#projectModal .details,
#projectModal .project-carousel,
#projectModal .carousel-stage,
#projectModal .carousel-viewport,
#projectModal .carousel-track {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

#projectModal .project-layout,
#projectModal .details {
  overflow-x: clip;
}

.compare {
  cursor: grab;
  outline: 0;
  overscroll-behavior: contain;
  touch-action: pan-y;
  user-select: none;
}

.compare img,
.compare .label,
.compare .handle {
  pointer-events: none;
}

.compare .before {
  will-change: clip-path;
}

.compare.is-dragging {
  cursor: grabbing;
}

.compare:focus-visible {
  outline: 3px solid #f3c275;
  outline-offset: 4px;
}

.handle {
  width: 2px;
  box-shadow: 0 0 0 1px rgba(18, 35, 27, 0.22), 0 0 18px rgba(18, 35, 27, 0.32);
  transform: translateX(-50%);
}

.handle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  content: "↔";
  border: 2px solid white;
  border-radius: 50%;
  background: rgba(21, 54, 41, 0.92);
  box-shadow: 0 8px 24px rgba(9, 24, 17, 0.28);
  color: white;
  transform: translate(-50%, -50%);
}

.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.carousel-arrow,
.arrow {
  min-width: 44px;
  min-height: 44px;
}

.gallery-main {
  touch-action: pan-y;
}

.thumb-grid button.active {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (hover: none) {
  .service:hover,
  .project:hover,
  .problem:hover,
  .card:hover,
  .video-card:hover {
    transform: none;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 140px;
  }

  body {
    font-size: 16px;
  }

  .header {
    flex-wrap: wrap;
    min-height: 68px;
    padding: 10px 14px;
  }

  .nav {
    display: flex;
    order: 3;
    width: calc(100% + 28px);
    margin: 0 -14px -10px;
    padding: 8px 14px;
    gap: 18px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.98);
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 3px 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .logo {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .brand strong {
    font-size: 16px;
  }

  .lang {
    min-width: 52px;
    min-height: 46px;
    padding: 0 12px;
  }

  .wrap {
    width: min(100% - 24px, 1480px);
  }

  .hero {
    min-height: 0;
    gap: 30px;
    padding: 42px 0 32px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    overflow-wrap: anywhere;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-ctas .btn:first-child {
    grid-column: 1 / -1;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .illustration-note {
    margin-top: 0;
    padding: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .section-head p,
  .lead {
    font-size: 17px;
  }

  .reference-panel,
  .contact,
  .show-copy {
    padding: 22px;
  }

  .filterbar {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 0;
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .filterbar button {
    min-height: 44px;
  }

  .panel {
    width: 100%;
    max-height: calc(100dvh - 8px);
    border-radius: 10px;
  }

  .modal.open {
    padding: 4px;
  }

  .close {
    top: 6px;
    margin: 6px 6px -52px auto;
  }

  #projectModal .project-layout,
  #galleryModal .gallery-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 14px;
  }

  .project-layout {
    gap: 20px;
  }

  .compare {
    min-height: 270px;
    height: 42dvh;
    max-height: 390px;
  }

  .label {
    top: 10px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .label.left {
    left: 10px;
  }

  .label.right {
    right: 10px;
  }

  .phase-filter {
    overflow-x: visible;
    flex-wrap: wrap;
    padding: 2px 2px 8px;
  }

  .phase-filter button {
    min-height: 44px;
  }

  #projectModal .carousel-arrow {
    display: grid;
    width: 44px;
    height: 44px;
  }

  #projectModal .carousel-prev {
    left: 8px;
  }

  #projectModal .carousel-next {
    right: 8px;
  }

  #projectModal .carousel-thumbs,
  .thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-carousel.large .carousel-slide img {
    height: min(38dvh, 320px);
  }

  .gallery-main img {
    height: min(44dvh, 390px);
  }

  .gallery-caption {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    border-radius: 0;
    background: #173629;
  }

  .gallery-layout > div:last-child {
    padding-bottom: 18px;
  }

  .mobile-cta {
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .mobile-cta a {
    display: grid;
    min-height: 50px;
    place-items: center;
  }
}

@media (max-width: 480px) {
  .nav {
    justify-content: space-between;
    gap: 8px;
    padding-inline: 10px;
    overflow-x: visible;
  }

  .nav a {
    font-size: 12px;
  }
}

/* Final agency polish: editorial rhythm, purposeful interaction and quieter surfaces. */
:root {
  --paper: #f7f3eb;
  --card: #fffdf8;
  --soft: #ece9df;
  --ink: #17231d;
  --muted: #59665f;
  --green: #24583f;
  --green2: #143428;
  --accent: #9a5525;
  --line: #d9d0c2;
  --shadow: 0 24px 64px rgba(30, 45, 36, 0.12);
}

body {
  background:
    radial-gradient(circle at 8% 2%, rgba(188, 148, 94, 0.09), transparent 28rem),
    var(--paper);
}

main {
  overflow: clip;
}

.header {
  min-height: 82px;
  border-bottom-color: rgba(84, 75, 61, 0.14);
  background: rgba(250, 247, 240, 0.93);
  box-shadow: 0 8px 30px rgba(30, 45, 36, 0.04);
}

.logo,
.btn,
.lang,
.service,
.project,
.video-card,
.contact,
.contact-card,
.panel {
  border-radius: 14px;
}

.btn,
.lang {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.lang:hover {
  border-color: rgba(36, 88, 63, 0.48);
  transform: translateY(-2px);
}

.btn.primary:hover {
  background: #1b4833;
  box-shadow: 0 16px 34px rgba(36, 88, 63, 0.28);
}

.text-btn {
  border-color: transparent;
  background: transparent;
  color: var(--green);
}

.lang {
  min-width: 82px;
  color: var(--green2);
  letter-spacing: 0.02em;
}

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 6vw, 94px);
  min-height: 0;
  padding: clamp(72px, 8vw, 118px) 0 clamp(58px, 7vw, 92px);
}

.hero-copy {
  align-self: center;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0 22px;
  font-size: clamp(50px, 5.5vw, 82px);
  line-height: 0.98;
}

.hero .lead {
  max-width: 720px;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.62;
}

.hero-ctas {
  align-items: center;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
}

.hero-image-shell {
  overflow: hidden;
  border-radius: 22px;
  background: #d9d2c6;
  box-shadow: var(--shadow);
}

.hero-media .hero-image-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-media:hover .hero-image-shell img {
  transform: scale(1.025);
}

.note {
  position: static;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: none;
}

.note-mark {
  color: var(--accent);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.stats {
  grid-column: 1 / -1;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stat:last-child {
  border-right: 0;
}

.stat summary {
  display: flex;
  min-height: 126px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.stat summary:hover,
.stat[open] summary {
  background: rgba(255, 253, 248, 0.66);
}

.stat b {
  margin-bottom: 9px;
  color: var(--green);
  font-size: 23px;
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.stat p {
  margin: -4px 18px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.disclosure-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

details[open] > summary .disclosure-icon,
details[open] .disclosure-link span {
  transform: rotate(45deg);
}

.illustration-note {
  margin-top: 0;
  padding: 16px 20px;
  border-color: rgba(154, 85, 37, 0.22);
  background: rgba(255, 249, 239, 0.76);
  box-shadow: none;
}

.section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.section-band {
  width: 100%;
  border-top: 1px solid rgba(84, 75, 61, 0.1);
  border-bottom: 1px solid rgba(84, 75, 61, 0.1);
  background: rgba(232, 230, 220, 0.62);
}

.section-head {
  position: relative;
  max-width: 900px;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.section-head h2 {
  margin: 8px 0 16px;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1;
}

.section-head p {
  max-width: 820px;
  font-size: 19px;
  line-height: 1.68;
}

.section-index {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-grid {
  gap: 24px;
}

.service {
  border-color: rgba(74, 67, 56, 0.16);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 34px rgba(31, 44, 36, 0.06);
}

.service .media {
  height: 230px;
}

.service .body {
  padding: 26px;
}

.service .link,
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service .link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.service:hover .link::after,
.service:focus-within .link::after {
  transform: translateX(5px);
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 5vw, 76px);
}

.problem {
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.problem:hover {
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}

.problem summary {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 172px;
  cursor: pointer;
}

.problem .media {
  height: 132px;
  margin: 20px 0;
  border-radius: 12px;
}

.problem .body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 0 24px 22px;
}

.problem .body strong {
  margin: 6px 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.disclosure-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.disclosure-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.problem-detail {
  padding: 0 0 28px 152px;
}

.problem-detail p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
}

.reference-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 42px;
  margin-bottom: 38px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.reference-panel p {
  color: var(--muted);
}

.reference-proof-grid {
  gap: 0;
}

.reference-proof {
  padding: 0 22px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.reference-proof b {
  background: var(--green);
  color: white;
}

.reference-proof strong {
  margin-bottom: 5px;
}

.reference-proof p {
  margin: 0;
}

.filterbar {
  margin-bottom: 34px;
}

.filterbar button {
  min-height: 46px;
  padding-inline: 18px;
  background: rgba(255, 253, 248, 0.7);
}

.project-grid-rich {
  gap: 24px;
}

.project-card.rich {
  border-color: rgba(74, 67, 56, 0.16);
  background: var(--card);
  box-shadow: 0 14px 42px rgba(31, 44, 36, 0.07);
}

.project-card.rich .case-open {
  height: 100%;
}

.case-preview {
  height: 245px;
}

.case-proof-row div {
  background: #f1ede4;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 56px);
}

.video-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.video-card:hover {
  box-shadow: none;
  transform: translateY(-4px);
}

.video-poster {
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(31, 44, 36, 0.1);
}

.video-card .body {
  padding: 22px 4px 4px;
}

.media-reference-card button {
  cursor: zoom-in;
}

.video-card .body h3 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(27px, 2.3vw, 35px);
}

.video-type {
  bottom: 16px;
  left: 16px;
}

.audience-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: start;
}

.audience-layout .section-head,
.faq-layout .section-head {
  position: sticky;
  top: 130px;
  margin-bottom: 0;
}

.audience-list,
.faq-list {
  border-top: 1px solid var(--line);
}

.audience,
.faq {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.audience summary,
.faq summary {
  display: grid;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.audience summary {
  grid-template-columns: 44px 1fr auto;
  min-height: 116px;
  padding: 20px 4px;
}

.audience summary:hover,
.audience[open] summary,
.faq summary:hover,
.faq[open] summary {
  color: var(--green);
}

.audience-number {
  color: var(--accent);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 22px;
}

.audience summary strong {
  display: block;
  font-size: 21px;
  line-height: 1.2;
}

.audience summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.audience > p {
  margin: -6px 52px 26px 66px;
  color: var(--muted);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: start;
}

.steps {
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.num {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(36, 88, 63, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
}

.step h3 {
  font-size: 22px;
}

.step p {
  max-width: 680px;
}

.trust-panel {
  position: sticky;
  top: 126px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: 20px;
  background: var(--green2);
  color: white;
  box-shadow: var(--shadow);
}

.trust-panel h2 {
  margin: 10px 0 18px;
  font-size: clamp(36px, 3.7vw, 54px);
  line-height: 1.02;
}

.trust-panel > p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.74);
}

.trust-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-list > div > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #f1c48a;
}

.trust-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.trust-list strong {
  display: block;
  margin-bottom: 4px;
  color: white;
  font-size: 17px;
}

.faq summary {
  grid-template-columns: 1fr auto;
  min-height: 92px;
  padding: 20px 4px;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}

.faq-answer {
  padding: 0 58px 28px 4px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.contact {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(48px, 7vw, 110px);
  padding: clamp(38px, 6vw, 76px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 164, 100, 0.16), transparent 24rem),
    var(--green2);
  box-shadow: 0 30px 78px rgba(20, 52, 40, 0.22);
}

.contact-copy h2 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.98;
}

.contact-copy > p {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.7;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.contact-card {
  align-self: stretch;
  align-content: center;
  gap: 14px;
  padding: 30px;
  background: #fffaf1;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.contact-number {
  margin-bottom: 8px;
  color: var(--green2);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 700;
}

.contact-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  align-items: center;
  padding-block: 34px;
  border-top: 1px solid rgba(84, 75, 61, 0.12);
  font-size: 14px;
}

.project-carousel.large {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.carousel-thumbs,
.thumb-grid {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding: 3px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.carousel-thumbs button,
.thumb-grid button {
  flex: 0 0 76px;
  width: 76px;
  height: 56px;
  border-radius: 8px;
}

.thumb-grid img {
  height: 100%;
}

.gallery-layout {
  gap: 30px;
  padding: 34px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(380px, calc(100% - 32px));
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: var(--green2);
  color: white;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-media {
    max-width: 900px;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .trust-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .audience-layout .section-head,
  .faq-layout .section-head {
    position: static;
    margin-bottom: 32px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header {
    min-height: 68px;
  }

  .hero {
    gap: 34px;
    padding: 52px 0 42px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(41px, 12vw, 58px);
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-ctas .btn:first-child {
    grid-column: 1 / -1;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .stat:last-child {
    border-right: 0;
  }

  .stat summary {
    min-height: 112px;
    padding: 16px 10px;
  }

  .stat b {
    font-size: 19px;
  }

  .stat small {
    font-size: 11px;
  }

  .stat .disclosure-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    font-size: 17px;
  }

  .stat p {
    margin: -2px 10px 16px;
    font-size: 12px;
  }

  .hero-media .hero-image-shell img {
    aspect-ratio: 16 / 11;
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .section-head p {
    font-size: 17px;
  }

  .situation-grid {
    grid-template-columns: 1fr;
  }

  .reference-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reference-proof-grid {
    grid-template-columns: 1fr;
  }

  .reference-proof {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card .body h3 {
    font-size: 28px;
  }

  .audience summary {
    min-height: 102px;
  }

  .contact {
    gap: 34px;
    padding: 30px 22px;
  }

  .contact-copy h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .contact-card {
    padding: 24px;
  }

  .gallery-layout {
    gap: 18px;
    padding: 18px;
  }

  .toast {
    right: 16px;
    bottom: 78px;
  }
}

@media (max-width: 560px) {
  .hero-ctas .text-btn {
    min-height: 42px;
  }

  .note {
    grid-template-columns: 1fr;
  }

  .note-mark {
    font-size: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .problem summary {
    grid-template-columns: 100px 1fr;
  }

  .problem .media {
    height: 110px;
  }

  .problem .body {
    padding-left: 16px;
  }

  .problem .body strong {
    font-size: 19px;
  }

  .problem-detail {
    padding-left: 0;
  }

  .project-grid-rich {
    grid-template-columns: 1fr;
  }

  .audience summary {
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
  }

  .audience > p {
    margin-right: 0;
    margin-left: 48px;
  }

  .step {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .num {
    width: 42px;
    height: 42px;
  }

  .trust-panel {
    padding: 28px 22px;
  }

  .faq summary {
    min-height: 84px;
    font-size: 21px;
  }

  .faq-answer {
    padding-right: 2px;
  }

  .contact-number {
    font-size: 27px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Project image inspection: extends the existing cards and modal without changing page structure. */
.project-card.rich {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-card.rich .case-preview {
  position: relative;
  display: grid;
  width: 100%;
  height: 280px;
  min-height: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #17251d;
  color: inherit;
  cursor: zoom-in;
}

.project-card.rich .case-open {
  height: auto;
  flex: 1;
}

.project-card.rich .case-preview:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.inspect-icon,
.thumb-zoom,
.carousel-slide::before {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(18, 45, 34, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: white;
  content: "+";
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.inspect-icon {
  top: 14px;
  right: 14px;
}

.inspect-icon::after,
.thumb-zoom::after,
.carousel-slide::after {
  position: absolute;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(10px, 10px) rotate(45deg);
}

.carousel-slide {
  cursor: zoom-in;
}

.carousel-slide::before {
  top: 12px;
  right: 12px;
}

.carousel-slide::after {
  top: 40px;
  right: 7px;
  transform: rotate(45deg);
}

.carousel-thumbs {
  gap: 9px;
}

.carousel-thumbs button {
  height: 56px;
  cursor: zoom-in;
}

#galleryModal {
  z-index: 120;
  padding: 0;
}

#galleryModal .backdrop {
  background: rgba(7, 13, 10, 0.96);
}

#galleryModal .panel {
  width: 100%;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  border-radius: 0;
  background: #0d1511;
  color: white;
  scrollbar-gutter: auto;
}

#galleryModal #galleryInner {
  height: 100%;
}

#galleryModal .close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(15, 35, 27, 0.9);
  color: white;
  backdrop-filter: blur(10px);
}

#galleryModal .gallery-layout {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 0;
  padding: 0;
}

#galleryModal .gallery-main {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #09100c;
}

.gallery-viewport {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}

#galleryModal .gallery-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform-origin: center;
  transition: transform 180ms ease;
  will-change: transform;
  -webkit-user-drag: none;
}

.gallery-viewport.is-zoomed {
  cursor: grab;
}

.gallery-viewport.is-zoomed:active {
  cursor: grabbing;
}

.gallery-viewport.is-zoomed img {
  transition: none;
}

#galleryModal .arrow {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  color: var(--green2);
}

#galleryModal .prev {
  left: 18px;
}

#galleryModal .next {
  right: 18px;
}

#galleryModal .counter {
  top: 18px;
  bottom: auto;
  left: 18px;
  background: rgba(7, 18, 13, 0.78);
  backdrop-filter: blur(8px);
}

#galleryModal .gallery-caption {
  right: 86px;
  bottom: 20px;
  left: 86px;
  max-width: 820px;
  margin-inline: auto;
  background: rgba(7, 18, 13, 0.8);
}

.gallery-tools {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 8;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 18, 13, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.gallery-tools button {
  display: grid;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 24px;
}

.gallery-tools button:hover,
.gallery-tools button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: 0;
}

.gallery-tools .zoom-level {
  min-width: 72px;
  font-size: 13px;
  font-weight: 900;
}

.gallery-info {
  min-width: 0;
  overflow: auto;
  padding: 82px 22px 28px;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}

.gallery-info h2 {
  margin: 8px 0 12px;
  font-size: 31px;
  line-height: 1.05;
}

.gallery-info > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

#galleryModal .thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  overflow: visible;
  padding: 3px 2px 10px;
}

#galleryModal .thumb-grid button {
  position: relative;
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  cursor: zoom-in;
  opacity: 0.76;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

#galleryModal .thumb-grid button:hover,
#galleryModal .thumb-grid button.active {
  border-color: var(--accent);
  opacity: 1;
  transform: translateY(-2px);
}

#galleryModal .thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-zoom {
  right: 7px;
  bottom: 7px;
  width: 28px;
  height: 28px;
  font-size: 18px;
}

.thumb-zoom::after {
  width: 7px;
  transform: translate(7px, 7px) rotate(45deg);
}

@media (max-width: 1050px) {
  .project-card.rich .case-preview {
    height: 255px;
  }

  #galleryModal .gallery-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 820px) {
  #galleryModal.open {
    padding: 0;
  }

  #galleryModal .panel {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  #galleryModal .gallery-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(190px, 34dvh);
    padding: 0;
  }

  #galleryModal .gallery-main,
  #galleryModal .gallery-viewport img {
    height: 100%;
  }

  #galleryModal .close {
    top: 8px;
    right: 8px;
  }

  #galleryModal .counter {
    top: 10px;
    left: 10px;
  }

  .gallery-tools {
    top: 8px;
  }

  .gallery-tools button {
    min-width: 46px;
    height: 46px;
  }

  #galleryModal .prev {
    left: 8px;
  }

  #galleryModal .next {
    right: 8px;
  }

  #galleryModal .gallery-caption {
    position: absolute;
    right: 60px;
    bottom: 10px;
    left: 60px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(7, 18, 13, 0.8);
    font-size: 13px;
  }

  .gallery-info {
    overflow: auto;
    padding: 18px 14px max(18px, env(safe-area-inset-bottom));
  }

  .gallery-info h2 {
    margin: 5px 0 8px;
    font-size: 25px;
  }

  .gallery-info > p {
    margin-bottom: 14px;
    font-size: 14px;
  }

  #galleryModal .thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .carousel-thumbs button {
    height: 52px;
  }
}

@media (max-width: 560px) {
  .header {
    column-gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .actions {
    margin-left: auto;
  }

  .lang {
    min-width: 68px;
    min-height: 44px;
    padding-inline: 9px;
  }

  .project-card.rich .case-preview {
    height: 235px;
  }

  .gallery-tools {
    left: 50%;
  }

  .gallery-tools .zoom-level {
    min-width: 58px;
  }

  #galleryModal .gallery-caption {
    right: 54px;
    left: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
