/* ============ FONTS ============ */
@font-face{
  font-family: 'Mattone';
  src: url('../assets/fonts/Mattone-Regular.woff2') format('woff2');
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Mattone';
  src: url('../assets/fonts/Mattone-Bold.woff2') format('woff2');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

/* ============ TOKENS ============ */
:root{
  --blue: #000CFD;
  --blue-bright: #2E38FD;
  --blue-dim: #0008B1;
  --dark: #0A0A0D;
  --dark-2: #131318;
  --dark-3: #1B1B22;
  --white: #FFFFFF;
  --off-white: #F4F4F7;
  --gray: #8C8C99;
  --gray-dim: #55555F;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(0,0,0,0.08);

  --font-display: 'Mattone', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.25,.1,.25,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  background: var(--off-white);
  color: var(--dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
svg{ display:block; }

::selection{ background: var(--blue); color: var(--white); }

/* ============ CURSOR + PROGRESS ============ */
.cursor-dot{
  position: fixed;
  top:0; left:0;
  width: 22px; height:22px;
  background-color: var(--blue);
  -webkit-mask-image: url('../assets/images/logo-icon.png');
  mask-image: url('../assets/images/logo-icon.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events:none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .2s;
  opacity: 0;
}
.cursor-dot.active{ opacity:1; }
.cursor-dot.big{
  width: 36px; height:36px;
}
@media (hover:none), (pointer:coarse){
  .cursor-dot{ display:none; }
}

/* ============ BRAND MARK (pinned, centered) ============ */
.brand-mark{
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 460;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  mix-blend-mode: difference;
}
.brand-mark img{
  display: block;
  height: 34px;
  width: auto;
}
.brand-mark-label{
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

/* ============ EDGE NAV (fixed corner labels) ============ */
.edge-nav{ position: relative; }
.edge-link{
  position: fixed;
  z-index: 400;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  mix-blend-mode: difference;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.edge-link span{
  position: relative;
  display: inline-block;
  padding: 2px 0;
}
.edge-link span::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s var(--ease);
}
.edge-link:hover span::after{ transform: scaleY(1); }

.edge-tl{ top: 100px; left: 28px; }
.edge-bl{ bottom: 40px; left: 28px; }
.edge-tr{ top: 100px; right: 28px; }
.edge-br{ bottom: 40px; right: 28px; }

@media (max-width: 720px){
  .edge-link{ display: none; }
  .brand-mark{ top: 24px; font-size: 13px; }
}

/* ============ MOBILE MENU ============ */
.menu-toggle{
  display: none;
  position: fixed;
  top: 27px; right: 24px;
  z-index: 470;
  width: 26px; height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  mix-blend-mode: difference;
}
.menu-toggle span{
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s ease;
}
.menu-toggle.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 420;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-nav.is-open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav-link{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .3s ease;
}
.mobile-nav-link:hover{ color: var(--blue-bright); }

@media (max-width: 720px){
  .menu-toggle{ display: flex; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal-up{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal-up.in{
  opacity: 1;
  transform: translateY(0);
}

/* ============ ICON ASSETS (masked PNGs) ============ */
.icon{
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}
.icon-arrow{
  width: 14px; height: 14px;
  -webkit-mask-image: url('../assets/icons/arrow.png');
  mask-image: url('../assets/icons/arrow.png');
}
.icon-arrow.is-lg{ width: 16px; height: 16px; }
.icon-email{
  width: 17px; aspect-ratio: 328 / 249;
  -webkit-mask-image: url('../assets/icons/email.png');
  mask-image: url('../assets/icons/email.png');
}
.icon-phone{
  width: 16px; aspect-ratio: 242 / 245;
  -webkit-mask-image: url('../assets/icons/phone.png');
  mask-image: url('../assets/icons/phone.png');
}
.icon-instagram{
  width: 16px; aspect-ratio: 244 / 245;
  -webkit-mask-image: url('../assets/icons/instagram.png');
  mask-image: url('../assets/icons/instagram.png');
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 100px;
  transition: transform .45s var(--ease), background .3s ease, color .3s ease, box-shadow .4s ease, border-color .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .icon-arrow{ transition: transform .35s var(--ease); }
.btn:hover .icon-arrow{ transform: translateX(3px); }

.btn-primary{
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover{
  background: var(--blue-bright);
  box-shadow: 0 8px 30px -4px rgba(0,12,253,0.5);
  transform: translateY(-2px);
}

.btn-ghost{
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover{
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline{
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover{
  background: var(--white);
  color: var(--dark);
}

.btn-small{ padding: 10px 22px; font-size: 13.5px; }

@media (max-width: 900px){
  .btn-small{ display:none; }
}

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  display:flex;
  flex-direction: column;
  align-items:center;
  overflow: hidden;
}

.hero-bg{
  position:absolute; inset:0;
  z-index:0;
  background: var(--dark);
}
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
}
.hero-overlay{
  position:absolute; inset:0;
  background: rgba(6,6,8,0.78);
}
.hero-noise{
  position:absolute; inset:0;
  width:100%; height:100%;
  opacity: 0.035;
  pointer-events:none;
}

/* asset placeholder flag, reused wherever real media is needed */
.asset-flag{
  position: absolute;
  bottom: 24px; right: 28px;
  z-index: 3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 100px;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero .eyebrow{ color: var(--white); }

.hero-statement{
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 5vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-top: clamp(100px, 22vh, 260px);
  margin-bottom: clamp(48px, 8vh, 96px);
  color: var(--white);
}
.hero-statement .line{ display:block; }
.hero-statement .line-accent{ color: var(--blue); }

.hero-caption{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-bottom: 96px;
}
.hero-caption .eyebrow{ margin-bottom: 14px; }

.hero-sub{
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--white);
  max-width: 380px;
  margin-bottom: 26px;
}

.hero-actions{
  display:flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.text-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
}
.text-link .icon-arrow{ transition: transform .35s var(--ease); }
.text-link:hover .icon-arrow{ transform: translateX(3px); }

.scroll-cue{
  position:absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity .3s ease;
  opacity: 0.7;
}
.scroll-cue:hover{ opacity: 1; }
.scroll-cue-line{
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.18);
  overflow:hidden;
}
.scroll-cue-dot{
  width:1px; height: 12px;
  background: var(--blue-bright);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot{
  0%{ transform: translateY(-14px); }
  100%{ transform: translateY(34px); }
}

/* ============ SECTION SHARED ============ */
.section-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 40px;
}
.section-head{
  max-width: 640px;
  margin-bottom: 72px;
}
.section-head .eyebrow{ color: var(--blue); }
.section-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section-sub{
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-dim);
  max-width: 480px;
}

/* ============ SERVICES ============ */
.services{ background: var(--off-white); position: relative; }

.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 32px;
  display:flex;
  flex-direction:column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.service-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -16px rgba(10,10,20,0.14);
  border-color: rgba(0,12,253,0.25);
}

.service-index{
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.service-media{
  aspect-ratio: 4/3;
  border-radius: 14px;
  margin-bottom: 26px;
  overflow: hidden;
}
.service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-media img{ transform: scale(1.03); }
.placeholder-media{
  background: #EDEDF1;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  transition: transform .6s var(--ease);
}
.service-card:hover .placeholder-media{ transform: scale(1.03); }
.placeholder-tag{
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray);
  background: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px dashed rgba(0,0,0,0.15);
}

.service-title{
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-desc{
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-dim);
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.service-link .icon-arrow{ transition: transform .35s var(--ease); background-color: var(--blue); }
.service-card:hover .service-link .icon-arrow{ transform: translateX(4px); }

@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr; }
  .section-inner{ padding: 100px 24px; }
}

/* ============ WORK WE'VE DONE ============ */
.work{ background: var(--dark); position: relative; }
.work .eyebrow{ color: var(--blue-bright); }
.work .section-title{ color: var(--white); }
.work .section-sub{ color: rgba(255,255,255,0.55); }

.work-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 72px;
}
.filter-btn{
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.filter-btn:hover{ color: var(--white); border-color: rgba(255,255,255,0.4); }
.filter-btn.is-active{
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.work-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.work-item{
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work-item.is-hidden{
  display: none;
}

.work-media{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--dark-2);
  cursor: pointer;
}
.work-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-media:hover .work-video{ transform: scale(1.045); }

.work-media::after{
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}

.work-play{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  z-index: 2;
  opacity: 1;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.work-play svg{ margin-left: 3px; }
.work-media:hover .work-play{ opacity: 0; transform: translate(-50%,-50%) scale(0.8); }

.work-media .asset-flag{
  top: 16px; right: 16px; bottom: auto;
  z-index: 2;
}

.work-caption{
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  pointer-events: none;
}
.work-title{
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.work-title em{
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}
.work-cat{
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 980px){
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .work-grid{ grid-template-columns: 1fr; }
}

/* ============ PAGE HEADER (subpages) ============ */
.page-header{
  background: var(--dark);
  padding: 200px 40px 100px;
  text-align: center;
}
.page-header .eyebrow{ color: var(--blue-bright); justify-content: center; display: flex; }
.page-header .section-title{ color: var(--white); white-space: nowrap; }
.about-preview .section-title,
.principles-head .section-title{ white-space: nowrap; }
@media (max-width: 640px){
  .page-header .section-title,
  .about-preview .section-title,
  .principles-head .section-title{ white-space: normal; }
}
.page-header .section-sub{
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
}
.page-header .section-head{ margin-bottom: 0; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ============ ABOUT ============ */
.about-split{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
  align-items: center;
  padding: 60px 0 200px;
}
.about-media{
  aspect-ratio: 3/4;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-2);
}
.about-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy .lede{
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 28px;
  max-width: 480px;
}
.about-copy p{
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-dim);
  margin-bottom: 22px;
  max-width: 480px;
}
.about-copy p:last-child{ margin-bottom: 0; }

.principles-head{
  max-width: 640px;
  margin-bottom: 72px;
}
.principles{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
  padding-bottom: 180px;
}
.principle{
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
}
.principle-index{
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
}
.principle-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.principle-desc{
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--gray-dim);
  max-width: 340px;
}

@media (max-width: 900px){
  .about-split{ grid-template-columns: 1fr; gap: 40px; }
  .about-media{ aspect-ratio: 16/10; }
  .principles{ grid-template-columns: 1fr; gap: 36px; }
}

/* ============ CONTACT ============ */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  padding-bottom: 140px;
}

.form-title{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field{ margin-bottom: 26px; }
.form-label{
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select{
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2355555F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select:invalid{ color: var(--gray); }
.form-input:focus, .form-textarea:focus, .form-select:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,12,253,0.12);
}
.form-textarea{ resize: vertical; min-height: 120px; }
.form-note{
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
}
.form-honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info{ display: flex; flex-direction: column; gap: 40px; }
.contact-info-block .form-label{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}
.contact-info-block a, .contact-info-block p{
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0;
  line-height: 1.6;
}
.contact-info-block a{ transition: color .3s ease; }
.contact-info-block a:hover{ color: var(--blue); }

.contact-info-row{
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon-badge{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .footer-social a{
  border-color: var(--line-soft);
  color: var(--gray-dim);
}
.contact-info .footer-social a:hover{
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0,12,253,0.06);
}

.contact-map{
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.contact-map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 480px){
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .page-header{ padding: 160px 24px 72px; }
}

/* ============ SITE FOOTER ============ */
.site-footer{
  background: var(--dark);
  border-top: 1px solid var(--line);
  padding: 88px 40px 32px;
}
.footer-inner{
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer-brand{ display: flex; align-items: center; gap: 16px; }
.footer-logo{ height: 40px; width: auto; }
.footer-tagline{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.footer-col-title{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p{
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}
.footer-col a{ transition: color .3s ease; }
.footer-col a:hover{ color: var(--white); }

.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.footer-bottom p{
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-social{ display: flex; gap: 14px; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.footer-social a:hover{
  border-color: var(--blue-bright);
  color: var(--white);
  background: rgba(0,12,253,0.15);
}

@media (max-width: 700px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .site-footer{ padding: 64px 24px 24px; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ============ HOME PAGE PREVIEWS ============ */
.section-foot{
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.about-preview .about-split{ padding-bottom: 0; }
.about-preview .about-copy p{ margin-bottom: 28px; }

.services-preview .services-grid,
.work-preview .work-grid{ margin-bottom: 0; }

/* ============ LIGHTBOX ============ */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(5,5,8,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.is-open{
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content{
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform .35s var(--ease);
}
.lightbox.is-open .lightbox-content{ transform: scale(1); }
.lightbox-content video,
.lightbox-content img{
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  background: #000;
}
.lightbox-caption{
  margin-top: 20px;
  text-align: center;
}
.lightbox-caption .work-title{
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}
.lightbox-caption .work-cat{ color: rgba(255,255,255,0.55); }
.lightbox-close{
  position: fixed;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.lightbox-close:hover{
  border-color: var(--blue-bright);
  background: rgba(0,12,253,0.15);
  transform: rotate(90deg);
}

/* ============ WORK GRID: PHOTO GALLERY TILES ============ */
.work-photo{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .35s ease, transform .6s var(--ease);
}
.work-media:hover .work-photo{ transform: scale(1.045); }

.work-gallery-badge{
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.work-gallery-badge svg{ display: block; }

/* ============ LIGHTBOX: GALLERY NAV ============ */
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: border-color .3s ease, background .3s ease;
}
.lightbox-nav:hover{
  border-color: var(--blue-bright);
  background: rgba(0,12,253,0.25);
}
.lightbox-prev{ left: -24px; }
.lightbox-next{ right: -24px; }

.lightbox-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.lightbox-dots button{
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, transform .3s ease;
}
.lightbox-dots button.is-active{
  background: var(--blue-bright);
  transform: scale(1.3);
}

@media (max-width: 900px){
  .lightbox-prev{ left: 8px; }
  .lightbox-next{ right: 8px; }
}

@media (max-width: 700px){
  .lightbox{ padding: 24px; }
}

