/* =============================================================
   STUDIO1 — COMPLETE POST PRODUCTION
   Brand palette pulled from the five-petal logo mark:
   Purple / Sky Blue / Olive Green / Gold / Orange-Red
   ============================================================= */

:root{
  /* ---- five brand petal colours ---- */
  --purple:#8A4FC9;
  --blue:#28ABE3;
  --green:#8DC63F;
  --yellow:#FFC10E;
  --orange:#F1592A;

  --petal-gradient: linear-gradient(90deg, var(--purple), var(--blue), var(--green), var(--yellow), var(--orange));

  /* ---- neutrals: cinematic dark stage (default theme) ---- */
  --bg-rgb: 10,10,12;
  --bg:#0A0A0C;
  --bg-alt:#111114;
  --footer-bg:#08080A;
  --card:#17171B;
  --card-hover:#1D1D22;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.22);
  --surface-tint: rgba(255,255,255,0.04);
  --surface-tint-strong: rgba(255,255,255,0.07);
  --text:#F4F2ED;
  --text-dim:#B7B4AE;
  --text-faint:#797670;
  --map-filter: grayscale(.3) invert(.92) contrast(.85);

  --radius:14px;
  --radius-sm:8px;
  --shadow: 0 20px 50px rgba(0,0,0,0.45);

  --font-display:'Bebas Neue', 'Anton', sans-serif;
  --font-body:'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  color-scheme: dark;
  transition: background-color .35s ease, color .35s ease;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
.brand-logo,.hero-logo,.contact-logo,.footer-logo{
  object-fit:contain; object-position:left center; flex:none;
  filter:none;
  backface-visibility:hidden;
  transform:translateZ(0);
  box-sizing:content-box;
  padding:6px 10px;
  border-radius:12px;
  background:rgba(5,5,7,.72);
  border:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input,textarea,select{ font-family:inherit; }

.section-inner{
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}

/* subtle film-grain overlay for atmosphere */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:999;
  opacity:.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type helpers ---------- */
.eyebrow{
  font-size:13px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--text-dim); font-weight:600; margin:0 0 14px;
  display:flex; align-items:center; gap:8px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--orange); display:inline-block; }
.eyebrow.center{ justify-content:center; }

.section-title{
  font-family:var(--font-display);
  font-size:clamp(34px,5vw,56px);
  line-height:1.05;
  letter-spacing:.01em;
  font-weight:400;
  margin:0 0 18px;
  text-transform:uppercase;
}
.section-title.center{ text-align:center; }

.section-sub{
  color:var(--text-dim); font-size:17px; max-width:620px; line-height:1.6;
  margin:0 0 48px;
}
.section-sub.center{ margin-left:auto; margin-right:auto; text-align:center; }

.grad-text{
  background:var(--petal-gradient);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.grad-text-bold{
  background:var(--petal-gradient);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  font-family:var(--font-display); font-size:26px; letter-spacing:.02em;
}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:15px 30px; border-radius:999px; font-weight:600; font-size:15px;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--petal-gradient); background-size:220% 100%; background-position:0% 0;
  color:#0A0A0C;
}
.btn-primary:hover{ background-position:100% 0; transform:translateY(-2px); box-shadow:0 10px 30px rgba(241,89,42,.3); }
.btn-ghost{
  border:1px solid var(--line-strong); color:var(--text);
}
.btn-ghost:hover{ border-color:var(--blue); background:var(--surface-tint); transform:translateY(-2px); }
.btn-outline{
  border:1px solid var(--line); color:var(--text); padding:14px 26px; border-radius:999px; font-weight:600;
  display:inline-block; margin-top:8px; transition:.25s;
}
.btn-outline:hover{ border-color:var(--green); color:var(--green); }
.full-width{ width:100%; }

/* =============================================================
   NAVBAR
   ============================================================= */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:500;
  background:rgba(var(--bg-rgb),.55);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
  transition:background .3s ease, padding .3s ease, border-color .3s ease;
}
.navbar.scrolled{ background:rgba(var(--bg-rgb),.92); }

.nav-inner{
  max-width:1320px; margin:0 auto; padding:14px 32px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand{ display:flex; align-items:center; }
.brand-logo{
  height:clamp(36px,3.5vw,40px); width:auto; padding:0;
  border:0; border-radius:0; background:transparent;
  backdrop-filter:none; -webkit-backdrop-filter:none;
}

.nav-links ul{ display:flex; align-items:center; gap:6px; }
.nav-link{
  padding:10px 16px; font-size:14.5px; font-weight:500; color:var(--text-dim);
  border-radius:999px; transition:.25s; display:flex; align-items:center; gap:4px;
}
.nav-link:hover, .nav-link.active{ color:var(--text); background:var(--surface-tint-strong); }
.caret{ font-size:11px; transition:transform .25s; }

.has-dropdown{ position:relative; }
.dropdown{
  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(6px);
  width:340px;
  background:var(--card); border:1px solid var(--line); border-radius:16px;
  box-shadow:var(--shadow);
  padding:10px; display:grid; gap:2px;
  opacity:0; visibility:hidden; transition:.25s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
.has-dropdown:hover .caret{ transform:rotate(180deg); }

.dropdown-item{
  display:flex; align-items:center; gap:14px;
  padding:12px 14px; border-radius:10px; transition:.2s;
}
.dropdown-item:hover{ background:var(--card-hover); }
.dropdown-item strong{ display:block; font-size:14.5px; font-weight:600; }
.dropdown-item small{ display:block; font-size:12.5px; color:var(--text-faint); margin-top:2px; }
.dd-num{
  font-family:var(--font-display); font-size:20px; width:34px; flex:none;
  background:var(--petal-gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}

.nav-cta{
  padding:11px 22px; border-radius:999px; font-size:14px; font-weight:600;
  background:var(--petal-gradient); color:#0A0A0C; flex:none;
}
.nav-cta:hover{ opacity:.9; }

.hamburger{
  display:none; flex-direction:column; gap:5px; padding:6px; flex:none;
}
.hamburger span{ width:24px; height:2px; background:var(--text); border-radius:2px; transition:.3s; }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* mobile menu panel */
.mobile-menu{
  position:fixed; top:0; right:0; height:100dvh; width:min(88vw,380px);
  background:var(--bg-alt); border-left:1px solid var(--line);
  z-index:499; padding:100px 28px 32px;
  transform:translateX(100%); transition:transform .35s ease;
  display:flex; flex-direction:column; gap:28px; overflow-y:auto;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-nav-list{ display:flex; flex-direction:column; gap:4px; }
.mobile-link{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 4px; font-size:19px; font-weight:600; border-bottom:1px solid var(--line);
  width:100%; text-align:left;
}
.mobile-toggle .caret{ transition:transform .3s; }
.mobile-toggle.open .caret{ transform:rotate(180deg); }
.mobile-dropdown{
  max-height:0; overflow:hidden; transition:max-height .35s ease;
  display:flex; flex-direction:column;
}
.mobile-dropdown.open{ max-height:400px; }
.mobile-dropdown-item{
  padding:13px 4px 13px 18px; font-size:15.5px; color:var(--text-dim); border-bottom:1px solid var(--line);
  position:relative;
}
.mobile-dropdown-item::before{
  content:''; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:6px; height:6px; border-radius:50%; background:var(--petal-gradient);
}
.mobile-cta{
  margin-top:auto; text-align:center; padding:16px; border-radius:999px;
  background:var(--petal-gradient); color:#0A0A0C; font-weight:700;
}
.nav-scrim{ display:none; }

/* =============================================================
   HERO
   ============================================================= */
.hero{
  position:relative; min-height:100dvh; display:flex; flex-direction:column; justify-content:flex-end;
  padding-top:100px; overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-img{ width:100%; height:100%; object-fit:cover; }
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(10,10,12,1) 0%, rgba(10,10,12,.75) 32%, rgba(10,10,12,.35) 60%, rgba(10,10,12,.65) 100%),
    linear-gradient(100deg, rgba(10,10,12,.9) 0%, rgba(10,10,12,.35) 55%);
}

.hero-content{ position:relative; z-index:2; padding:0 32px; max-width:1240px; margin:0 auto; width:100%; }
.hero-logo{ height:clamp(48px,5vw,56px); width:auto; margin-bottom:26px; }
.hero-title{
  font-family:var(--font-display);
  font-size:clamp(46px, 8vw, 96px);
  line-height:.98; text-transform:uppercase; letter-spacing:.01em;
  margin:0 0 24px; font-weight:400;
}
.hero-sub{ color:var(--text-dim); font-size:18px; max-width:520px; line-height:1.65; margin:0 0 34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px; }

.hero-strip{
  position:relative; z-index:2;
  border-top:1px solid rgba(255,255,255,.12);
  display:grid; grid-template-columns:repeat(4,1fr);
  max-width:1240px; margin:0 auto; width:100%;
}
.strip-item{
  padding:22px 32px; border-right:1px solid rgba(255,255,255,.12);
  display:flex; flex-direction:column; gap:4px;
}
.strip-item:last-child{ border-right:none; }
.strip-item strong{ font-family:var(--font-display); font-size:26px; letter-spacing:.02em; }
.strip-item span{ font-size:12.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; }

.scroll-cue{
  position:absolute; right:32px; bottom:150px; z-index:2;
  width:30px; height:48px; border:1px solid rgba(255,255,255,.35); border-radius:20px;
  display:flex; justify-content:center; padding-top:8px;
}
.scroll-cue span{ width:4px; height:4px; border-radius:50%; background:var(--yellow); animation:cue 1.8s infinite; }
@keyframes cue{ 0%{ transform:translateY(0); opacity:1;} 70%{ transform:translateY(16px); opacity:0;} 100%{opacity:0;} }

/* =============================================================
   ABOUT
   ============================================================= */
.about{ padding:130px 0 110px; background:var(--bg); }
.about-grid{ display:grid; grid-template-columns:.85fr 1fr; gap:72px; align-items:center; }

.about-media{ position:relative; }
.about-img-main{ border-radius:var(--radius); width:100%; height:520px; object-fit:cover; box-shadow:var(--shadow); }
.about-img-float{
  position:absolute; bottom:-40px; left:-40px; width:52%;
  border-radius:var(--radius-sm); border:5px solid var(--bg); box-shadow:var(--shadow);
}
.about-badge{
  position:absolute; top:24px; right:-24px; background:var(--card); border:1px solid var(--line);
  border-radius:14px; padding:16px 20px; box-shadow:var(--shadow); text-align:center;
}
.about-badge small{ display:block; color:var(--text-faint); font-size:11.5px; margin-top:2px; letter-spacing:.04em; }

.about-copy .lede{ font-size:19px; line-height:1.6; color:var(--text); margin-bottom:18px; }
.about-copy p{ color:var(--text-dim); line-height:1.75; font-size:15.5px; }

.founder-message{
  position:relative; margin:28px 0 30px; padding:24px 26px 22px;
  background:var(--card); border:1px solid var(--line); border-left:3px solid var(--purple);
  border-radius:var(--radius-sm);
}
.founder-message-label{
  margin-bottom:12px; color:var(--text) !important; font-size:12px !important;
  font-weight:700; letter-spacing:.16em; text-transform:uppercase;
}
.founder-message blockquote{ margin:0; }
.founder-message blockquote p{ margin:0 0 12px; font-style:italic; }
.founder-message blockquote p:last-child{ margin-bottom:0; }

.about-checklist{ display:grid; gap:14px; margin:28px 0 8px; }
.about-checklist li{ display:flex; align-items:center; gap:12px; font-size:15px; color:var(--text); }
.chk{ width:10px; height:10px; border-radius:3px; flex:none; }
.chk-purple{ background:var(--purple); }
.chk-blue{ background:var(--blue); }
.chk-green{ background:var(--green); }
.chk-yellow{ background:var(--yellow); }

/* =============================================================
   SERVICES
   ============================================================= */
.services{ padding:110px 0; background:var(--bg-alt); position:relative; }
.service-list{ display:flex; flex-direction:column; gap:26px; }

.service-row{
  display:grid; grid-template-columns:1fr 1fr; gap:0; align-items:stretch;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; scroll-margin-top:110px;
  transition:border-color .3s ease, transform .3s ease;
}
.service-row:hover{ border-color:var(--line-strong); transform:translateY(-3px); }
.service-row.reverse{ grid-template-columns:1fr 1fr; }
.service-row.reverse .service-media{ order:2; }
.service-row.reverse .service-copy{ order:1; }

.service-media{ position:relative; min-height:320px; }
.service-media img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.service-tag{
  position:absolute; top:20px; left:20px; z-index:2;
  padding:7px 14px; border-radius:999px; font-size:12px; font-weight:700;
  letter-spacing:.03em; color:#0A0A0C;
}
.tag-purple{ background:var(--purple); color:#fff; }
.tag-blue{ background:var(--blue); color:#062230; }
.tag-green{ background:var(--green); }
.tag-yellow{ background:var(--yellow); }
.tag-orange{ background:var(--orange); color:#fff; }

.service-copy{ padding:44px 46px; display:flex; flex-direction:column; justify-content:center; gap:14px; }
.service-copy h3{ font-family:var(--font-display); font-size:32px; letter-spacing:.01em; margin:0; text-transform:uppercase; font-weight:400; }
.service-copy p{ color:var(--text-dim); line-height:1.7; font-size:15px; margin:0; }

.tool-list{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 2px; }
.tool-list li{
  font-size:12.5px; color:var(--text-dim); border:1px solid var(--line); padding:6px 12px; border-radius:999px;
}
.price-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; }
.price-chip{
  background:var(--surface-tint); border:1px solid var(--line); border-radius:10px;
  padding:10px 16px; display:flex; align-items:baseline; gap:8px; text-decoration:none;
  transition:border-color .2s ease, transform .2s ease;
}
.price-chip:hover{ border-color:var(--yellow); transform:translateY(-2px); }
.price-chip strong{ font-family:var(--font-display); font-size:20px; color:var(--yellow); font-weight:400; }
.price-chip span{ font-size:12px; color:var(--text-faint); }
.price-chip.note{ padding:10px 16px; }
.price-chip.note span{ color:var(--text-dim); font-style:italic; }

/* =============================================================
   PROJECTS
   ============================================================= */
.projects{ padding:110px 0; background:var(--bg); }

.filter-row{ display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-bottom:44px; }
.filter-btn{
  padding:10px 20px; border-radius:999px; border:1px solid var(--line); font-size:13.5px;
  font-weight:600; color:var(--text-dim); transition:.25s;
}
.filter-btn:hover{ color:var(--text); border-color:var(--line-strong); }
.filter-btn.active{ background:var(--petal-gradient); color:#0A0A0C; border-color:transparent; }

.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.project-card{
  margin:0; position:relative; border-radius:var(--radius); overflow:hidden;
  aspect-ratio:4/3; background:var(--card); transition:transform .25s ease;
}
.project-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.project-card:hover img{ transform:scale(1.06); }
.project-card figcaption{
  position:absolute; inset:auto 0 0 0; padding:22px;
  background:linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,0));
  display:flex; flex-direction:column; gap:2px;
}
.project-card figcaption span{ font-weight:700; font-size:15.5px; }
.project-card figcaption small{ color:var(--text-dim); font-size:12.5px; }
.project-cta-card{ border:1px solid var(--line); }
.project-cta-card::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  border-radius:inherit; box-shadow:inset 0 0 0 1px transparent;
  transition:box-shadow .25s ease;
}
.project-cta-card:hover::after, .project-cta-card:focus-visible::after{ box-shadow:inset 0 0 0 1px var(--blue); }
.project-cta-card figcaption{ padding-top:64px; }
.project-cta-card figcaption strong{
  display:inline-flex; align-items:center; width:max-content; margin-top:10px;
  color:var(--yellow); font-size:12.5px; letter-spacing:.04em; text-transform:uppercase;
}
.project-cta-card:hover figcaption strong{ color:#fff; }
.project-card.hide{ display:none; }

/* =============================================================
   TEAM
   ============================================================= */
.team{ padding:110px 0; overflow:hidden; position:relative; background:radial-gradient(circle at 15% 25%,rgba(36,168,211,.1),transparent 28%),radial-gradient(circle at 88% 75%,rgba(131,71,255,.1),transparent 28%),var(--bg-alt); }
.team-filmstrip{ max-width:1040px; margin:42px auto 0; padding:0; overflow:hidden; background:transparent; }
.team-sprockets{ display:none; }
.team-carousel-viewport{ overflow:hidden; margin:0; mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
.team-carousel-track{ display:flex; gap:22px; padding:10px 3.5% 30px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; cursor:grab; }
.team-carousel-track::-webkit-scrollbar{ display:none; }.team-carousel-track:active{ cursor:grabbing; }
.team-member-card{ flex:0 0 260px; min-height:244px; height:auto; padding:20px; overflow:hidden; position:relative; display:flex; flex-direction:column; text-align:left; scroll-snap-align:center; border:1px solid var(--line); border-radius:22px; background:linear-gradient(145deg,var(--card),var(--surface-tint)); box-shadow:0 14px 34px rgba(0,0,0,.1); transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease; }
.team-member-card:hover{ transform:translateY(-6px); border-color:rgba(36,168,211,.42); box-shadow:0 22px 42px rgba(0,0,0,.3); }
.team-card-top{ position:relative; display:grid; grid-template-columns:44px 1fr 36px; align-items:center; gap:10px; margin:0 0 18px; }
.team-discipline-icon{ width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(36,168,211,.22); border-radius:14px; background:rgba(36,168,211,.08); color:var(--blue); font-size:15px; }
.team-discipline-icon.icon-purple{ color:var(--purple); border-color:rgba(131,71,255,.25); background:rgba(131,71,255,.1); }.team-discipline-icon.icon-amber{ color:var(--yellow); border-color:rgba(255,193,77,.25); background:rgba(255,193,77,.1); }.team-discipline-icon.icon-green{ color:var(--green); border-color:rgba(141,198,63,.25); background:rgba(141,198,63,.1); }
.team-credit{ position:relative; width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(36,168,211,.28); border-radius:50%; background:rgba(36,168,211,.08); color:var(--green); font-family:monospace; font-size:10px; font-weight:700; }.team-credit.credit-purple,.team-credit.credit-amber,.team-credit.credit-green{ background:var(--surface-tint); }
.team-avatar-ring{ position:relative; width:100px; height:58px; justify-self:center; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:17px; background:var(--surface-tint); box-shadow:0 7px 18px rgba(0,0,0,.12); }
.team-avatar-ring.ring-purple{ border-color:rgba(131,71,255,.26); }.team-avatar-ring.ring-amber{ border-color:rgba(255,193,77,.26); }.team-avatar-ring.ring-green{ border-color:rgba(141,198,63,.26); }
.team-avatar-ring img{ width:100%; height:100%; display:block; object-fit:cover; object-position:center 18%; border-radius:inherit; filter:saturate(.9) contrast(1.03); transition:transform .45s ease,filter .4s ease; }
.team-member-card:hover img{ transform:scale(1.045); filter:saturate(1) contrast(1.04); }
.team-card-body{ position:relative; flex:1; padding:0; background:none; }.team-member-card h3{ margin:0 0 6px; color:var(--text); font-size:17px; line-height:1.2; }.team-member-card .team-role,.team-member-card .role-purple,.team-member-card .role-amber,.team-member-card .role-green{ margin:0 0 10px; overflow:hidden; color:var(--blue); font-size:9.5px; font-weight:700; line-height:1.4; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; text-overflow:ellipsis; }.team-member-card .role-purple{ color:var(--purple); }.team-member-card .role-amber{ color:var(--yellow); }.team-member-card .role-green{ color:var(--green); }
.team-member-card .team-bio{ display:-webkit-box; margin:0; overflow:hidden; color:var(--text-dim); font-size:10.5px; line-height:1.5; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.team-card-footer{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:14px; padding-top:12px; border-top:1px solid var(--line); }.team-card-footer a{ color:var(--yellow); font-size:9px; font-weight:700; }.team-card-footer small{ display:block; color:var(--text-faint); font-family:monospace; font-size:7px; white-space:nowrap; }
.team-carousel-controls{ display:flex; align-items:center; justify-content:center; gap:16px; margin-top:22px; }
.team-carousel-controls button{ width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--text); font-size:16px; transition:.25s; }
.team-carousel-controls button:hover{ color:#0a0a0c; border-color:transparent; background:var(--petal-gradient); }
.team-carousel-dots{ display:flex; gap:6px; }.team-carousel-dot{ width:6px; height:6px; padding:0; border-radius:50%; background:var(--line-strong); transition:.25s; }.team-carousel-dot.active{ width:17px; border-radius:4px; background:var(--yellow); }

/* Team showcase */
.team{ padding:110px 0; background:#000; color:#fff; }
.team-showcase{ max-width:1320px; text-align:center; }
.team .section-title{ color:#fff; }
.team .section-sub{ color:rgba(255,255,255,.72); }
.team-showcase-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:34px; align-items:start; }
.team-showcase-member{ min-width:0; text-align:center; }
.team-showcase-member img{ width:150px; height:150px; margin:0 auto 18px; object-fit:cover; object-position:center top; border:4px solid rgba(255,255,255,.92); border-radius:50%; box-shadow:0 14px 30px rgba(0,0,0,.35); transition:transform .35s ease,box-shadow .35s ease; }
.team-showcase-member:hover img{ transform:translateY(-5px) scale(1.035); box-shadow:0 20px 38px rgba(0,0,0,.5); }
.team-showcase-member h3{ margin:0 0 6px; color:#fff; font-family:var(--font-body); font-size:17px; font-weight:600; }
.team-showcase-member p{ margin:0 auto; color:rgba(255,255,255,.7); font-family:var(--font-body); font-size:13px; line-height:1.5; }
.team-showcase-member .team-showcase-role{ margin-bottom:8px; color:#fff; font-size:14px; font-weight:500; }
.team-showcase-member a{ display:inline-block; margin-top:7px; color:#fff; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.team-showcase-member small{ margin-left:6px; color:rgba(255,255,255,.9); font-size:11px; }

/* =============================================================
   ACHIEVEMENTS
   ============================================================= */
.achievements{
  padding:90px 0; background:var(--bg);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  position:relative;
}
.achievements::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--petal-gradient);
}
.achieve-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.achieve-item{ padding:0 12px; }
.achieve-num{
  font-family:var(--font-display); font-size:clamp(44px,6vw,64px);
  background:var(--petal-gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.achieve-plus{
  font-family:var(--font-display); font-size:clamp(30px,4vw,40px); color:var(--orange);
}
.achieve-item p{ margin:8px 0 0; color:var(--text-dim); font-size:14px; letter-spacing:.02em; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact{ padding:110px 0; background:var(--bg-alt); }
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:50px; }

.contact-logo{ height:clamp(40px,4vw,46px); width:auto; margin-bottom:32px; }
.info-card{ display:flex; gap:16px; margin-bottom:22px; align-items:flex-start; }
.info-icon{
  width:46px; height:46px; border-radius:12px; flex:none;
  display:flex; align-items:center; justify-content:center; font-size:18px; color:#fff;
}
.icon-purple{ background:var(--purple); }
.icon-blue{ background:var(--blue); }
.icon-orange{ background:var(--orange); }
.info-card h4{ margin:0 0 4px; font-size:15px; }
.info-card p{ margin:0; color:var(--text-dim); font-size:14.5px; line-height:1.6; }
.info-card a:hover{ color:var(--yellow); }

.contact-actions{ display:flex; flex-wrap:wrap; gap:10px; margin:28px 0 18px; }
.contact-action{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:42px; padding:10px 16px; border:1px solid var(--line);
  border-radius:999px; color:var(--text-dim); font-size:12.5px; font-weight:700;
  transition:.25s;
}
.contact-action:hover{ border-color:var(--blue); color:var(--text); background:var(--surface-tint); transform:translateY(-2px); }

.social-row{ display:flex; gap:10px; margin:0 0 28px; }
.social-btn{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
  transition:.25s;
}
.social-btn:hover{ background:var(--petal-gradient); color:#0A0A0C; border-color:transparent; }

.map-wrap{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); height:220px; }
.map-wrap iframe{ width:100%; height:100%; border:0; filter:var(--map-filter); }

.contact-form{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:38px; display:flex; flex-direction:column; gap:20px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; position:relative; }
.field label{ font-size:13px; color:var(--text-dim); font-weight:600; }
.field input, .field select, .field textarea{
  background:var(--surface-tint); border:1px solid var(--line); border-radius:10px;
  padding:13px 14px; color:var(--text); font-size:14.5px; outline:none; transition:.25s; resize:vertical;
}
.field select{
  appearance:none; -webkit-appearance:none;
  color-scheme: dark;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23B7B4AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  padding-right:40px;
}
.field select option{
  background:var(--card); color:var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--blue); background:var(--surface-tint-strong); }
.field.invalid input, .field.invalid textarea{ border-color:var(--orange); }
.error-msg{ display:none; font-size:12px; color:var(--orange); }
.field.invalid .error-msg{ display:block; }
.form-success{
  display:none; text-align:center; font-size:14px; color:var(--green); font-weight:600;
  background:rgba(141,198,63,.1); border:1px solid rgba(141,198,63,.3); padding:12px; border-radius:10px;
}
.form-success.show{ display:block; }
.form-note{ margin:-8px 0 0; text-align:center; color:var(--text-faint); font-size:12px; line-height:1.5; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer{ background:var(--footer-bg); padding:80px 0 0; border-top:1px solid var(--line); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; }
.footer-logo{ height:clamp(36px,4vw,40px); width:auto; margin-bottom:16px; }
.footer-brand p{ color:var(--text-faint); font-size:13.5px; line-height:1.7; max-width:280px; }
.footer-col h5{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-dim); margin:0 0 18px; }
.footer-col{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:var(--text-faint); transition:.2s; }
.footer-col a:hover{ color:var(--yellow); }
.footer-bottom{
  border-top:1px solid var(--line); padding:22px 32px; text-align:center;
}
.footer-bottom p{ margin:0; font-size:13px; color:var(--text-faint); }

.back-to-top{
  position:fixed; bottom:28px; right:28px; z-index:400;
  width:46px; height:46px; border-radius:50%; background:var(--card); border:1px solid var(--line);
  color:var(--text); font-size:18px; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.3s;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--petal-gradient); color:#0A0A0C; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width:1080px){
  .about-grid{ grid-template-columns:1fr; gap:80px; }
  .about-img-main{ height:420px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .team-grid{ max-width:720px; }
  .team-showcase-grid{ grid-template-columns:repeat(3,1fr); row-gap:48px; }
}

@media (max-width:960px){
  .nav-links, .nav-cta{ display:none; }
  .hamburger{ display:flex; }
  .hero-strip{ grid-template-columns:repeat(2,1fr); }
  .strip-item:nth-child(2){ border-right:none; }
  .service-row, .service-row.reverse{ grid-template-columns:1fr; }
  .service-row .service-media, .service-row.reverse .service-media{ order:1; min-height:260px; }
  .service-row .service-copy, .service-row.reverse .service-copy{ order:2; padding:34px 28px; }
  .project-grid{ grid-template-columns:repeat(2,1fr); }
  .achieve-grid{ grid-template-columns:repeat(2,1fr); gap:36px 20px; }
  .contact-grid{ grid-template-columns:1fr; }
  .team-grid{ max-width:610px; }
  .team-card{ flex-basis:calc((100% - 14px)/2); }
}

@media (max-width:640px){
  .section-inner{ padding:0 20px; }
  .nav-inner{ padding:14px 20px; }
  .brand-logo{ height:34px; padding:0; border-radius:0; }
  .hero{ padding-top:90px; }
  .hero-content{ padding:0 20px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-strip{ grid-template-columns:1fr 1fr; }
  .scroll-cue{ display:none; }
  .about{ padding:90px 0 70px; }
  .about-img-float{ width:60%; left:-16px; bottom:-24px; }
  .about-badge{ right:0; top:-20px; }
  .services, .projects, .team, .contact{ padding:80px 0; }
  .service-copy h3{ font-size:26px; }
  .project-grid{ grid-template-columns:1fr; }
  .team-slider-head{ margin-top:28px; }
  .team-grid{ gap:12px; max-width:none; }
  .team-card,.team-card:last-child{ display:block; flex:0 0 78%; width:auto; min-height:320px; }
  .team-photo{ width:150px; margin-top:20px; }
  .team-info{ padding:16px 12px 15px; }
  .team-index{ right:11px; top:-170px; bottom:auto; }
  .team-info h3{ font-size:14px; margin-right:24px; }
  .team-info p{ min-height:0; margin-bottom:6px; font-size:10px; }
  .team-profile{ opacity:1; transform:none; font-size:8px; }
  .team-filmstrip{ margin-top:32px; }
  .team-member-card{ flex-basis:235px; min-height:230px; padding:17px; }
  .team-card-top{ grid-template-columns:40px 1fr 34px; gap:8px; }
  .team-discipline-icon{ width:40px; height:40px; }
  .team-avatar-ring{ width:90px; height:52px; }
  .team-showcase-grid{ grid-template-columns:1fr 1fr; gap:38px 18px; }
  .team-showcase-member:last-child{ grid-column:1/-1; width:50%; justify-self:center; }
  .team-showcase-member img{ width:112px; height:112px; }
  .team-showcase-member p{ font-size:11px; }
  .team-showcase-member .team-showcase-role{ font-size:12px; }
  .form-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; padding:0 0 40px; }
  .achieve-grid{ grid-template-columns:1fr 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--blue); outline-offset:2px;
}
