/* =========================================================
   INSIDE EDGE ADVISORY — Design System
   Palette pulled from brand mark: deep navy + steel blue + silver
   Signature motif: the diagonal "edge" (skate-blade cut) from the
   logo's E/A slash, used as a recurring structural divider.
   ========================================================= */

:root{
  /* --- Color: named + hex, drawn from the logo --- */
  --navy-deep:   #0B2338;   /* darkest ground, headers/footer */
  --navy:        #12314C;   /* primary dark panels */
  --blue-steel:  #1E5C8C;   /* mid brand blue */
  --blue-accent: #2C82C0;   /* primary interactive accent */
  --blue-bright: #5AA9DE;   /* hover / highlight */
  --silver:      #9BA4AC;   /* secondary text on dark, dividers */
  --silver-light:#D7DBDE;   /* faint lines on dark */
  --ink:         #16202A;   /* body text on light */
  --paper:       #F5F6F7;   /* page background */
  --paper-dim:   #ECEEEF;   /* alt section background */
  --white:       #FFFFFF;

  /* --- Type --- */
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --edge: 46px; /* diagonal cut size, reused everywhere */
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

/* ---------- Typography scale ---------- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: var(--navy-deep);
}
h1{ font-size: clamp(2.8rem, 6vw, 5.2rem); text-transform: uppercase; }
h2{ font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
h3{ font-size: clamp(1.3rem, 2.2vw, 1.7rem); text-transform: uppercase; }
h4{ font-size: 1.1rem; text-transform: uppercase; letter-spacing:0.04em;}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-accent);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:'';
  width: 22px;
  height: 2px;
  background: var(--blue-accent);
  display:inline-block;
}

p{ max-width: 62ch; }
.lede{ font-size: 1.15rem; color:#3B4753; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.btn-primary{
  background: var(--blue-accent);
  color: var(--white);
}
.btn-primary:hover{ background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  border-color: var(--silver);
  color: var(--navy-deep);
}
.btn-ghost:hover{ border-color: var(--blue-accent); color: var(--blue-accent); transform: translateY(-2px); }
.btn-ghost.on-dark{ color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost.on-dark:hover{ border-color: var(--blue-bright); color: var(--blue-bright); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 148px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height: 130px; width:auto; }

.nav{ display:flex; align-items:center; gap: 6px; }
.nav a{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-light);
  padding: 10px 14px;
  position: relative;
}
.nav a:hover, .nav a.active{ color: var(--white); }
.nav a.active::after{
  content:'';
  position:absolute;
  left:14px; right:14px; bottom:4px;
  height:2px;
  background: var(--blue-accent);
}
.nav .dropdown{ position: relative; }
.nav .dropdown-menu{
  position:absolute;
  top: 100%;
  left:0;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 200px;
  display:none;
  flex-direction: column;
  padding: 6px;
}
.nav .dropdown:hover .dropdown-menu{ display:flex; }
.nav .dropdown-menu a{ padding: 12px 14px; }

.nav-cta{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing:0.06em;
  color: var(--navy-deep) !important;
  background: var(--blue-accent);
  padding: 11px 18px !important;
  margin-left: 8px;
}
.nav-cta:hover{ background: var(--blue-bright); color: var(--navy-deep) !important; }

.social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--silver-light);
  transition: color .18s ease;
}
.social-link:hover{ color: var(--blue-bright); }
.nav-social{ margin-left: 6px; }

.menu-toggle{ display:none; }

@media (max-width: 900px){
  .nav{
    position: fixed; inset: 148px 0 0 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y:auto;
  }
  .nav.open{ transform: translateX(0); }
  .nav a{ width:100%; padding: 16px 4px; border-bottom:1px solid rgba(255,255,255,0.06); }
  .nav .dropdown-menu{ position:static; display:flex; background:none; border:none; padding-left:14px; }
  .nav-cta{ margin-left:0; margin-top:12px; text-align:center; justify-content:center; }
  .menu-toggle{
    display:flex; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:8px;
  }
  .menu-toggle span{ width:24px; height:2px; background:var(--white); display:block; }
  .site-header .wrap{ height: 90px; }
  .brand img{ height: 70px; }
  .nav{ inset: 90px 0 0 0; }
}

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue-steel) 130%);
  color: var(--white);
  padding: 120px 0 140px;
  position: relative;
  overflow:hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--edge)), calc(100% - var(--edge)) 100%, 0 100%);
}
.hero-bg{
  background-image:
    linear-gradient(155deg, rgba(11,35,56,0.94) 0%, rgba(18,49,76,0.9) 45%, rgba(30,92,140,0.82) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center 78%;
}
.hero::after{
  content:'';
  position:absolute;
  right:-10%; top:-20%;
  width:60%; height:140%;
  background: linear-gradient(120deg, transparent 40%, rgba(90,169,222,0.14) 42%, transparent 44%, transparent 48%, rgba(90,169,222,0.08) 50%, transparent 52%);
  pointer-events:none;
}
.hero .eyebrow{ color: var(--blue-bright); }
.hero h1{ color: var(--white); max-width: 15ch; }
.hero .lede{ color: var(--silver-light); margin-top: 22px; }
.hero-actions{ display:flex; gap:16px; margin-top: 38px; flex-wrap:wrap; }

.page-hero{
  padding: 74px 0 60px;
}
.page-hero h1{ max-width: 20ch; }

/* ---------- Sections ---------- */
section{ padding: 96px 0; }
.section-dim{ background: var(--paper-dim); }
.section-dark{ background: var(--navy-deep); color: var(--white); }
.section-dark h2, .section-dark h3{ color: var(--white); }
.section-dark p{ color: var(--silver-light); }

.section-head{ max-width: 640px; margin-bottom: 56px; }

/* ---------- Cards / pillars ---------- */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--silver-light);
}
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--silver-light);
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--silver-light);
}
@media (max-width: 860px){
  .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}

.card{
  background: var(--white);
  padding: 44px 36px;
  position:relative;
}
.card .eyebrow{ font-size:0.68rem; }
.card ul{ margin-top:18px; }
.card ul li{
  padding: 8px 0 8px 20px;
  position:relative;
  color: #3B4753;
  font-size: 0.96rem;
  border-top: 1px solid var(--paper-dim);
}
.card ul li:first-child{ border-top:none; }
.card ul li::before{
  content:'';
  position:absolute; left:0; top:16px;
  width:8px; height:2px;
  background: var(--blue-accent);
}

.card-dark{ background: var(--navy); color: var(--white); }
.card-dark h3{ color:var(--white); }
.card-dark p{ color: var(--silver-light); }

/* Angled corner cut on cards, echoing the logo's slash */
.cut-corner{
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

/* ---------- Team ---------- */
.team-member{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--paper-dim);
  align-items:start;
}
.team-member:first-of-type{ border-top:none; }
.team-photo{
  aspect-ratio: 4/5;
  overflow:hidden;
  background: linear-gradient(150deg, var(--navy), var(--blue-steel));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.placeholder-photo{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(150deg, var(--navy), var(--blue-steel));
}
.placeholder-photo span{
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.55);
}
.team-role{ font-family: var(--font-mono); color: var(--blue-accent); font-size:0.82rem; letter-spacing:0.06em; text-transform:uppercase; margin: 6px 0 18px; }
.team-email{ font-family: var(--font-mono); font-size:0.85rem; color:var(--navy); margin-top:16px; display:inline-block; border-bottom:1px solid var(--blue-accent); }
.team-placeholder{
  border: 1px dashed var(--silver);
  padding: 40px;
  color: #5B6670;
  font-size: 0.95rem;
}
@media (max-width: 700px){
  .team-member{ grid-template-columns: 1fr; }
  .team-photo{ max-width: 260px; }
}

/* ---------- Stat strip ---------- */
.stat-strip{
  display:flex;
  flex-wrap:wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.stat{
  flex:1;
  min-width:180px;
  padding: 32px 28px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.stat:first-child{ border-left:none; }
.stat .num{ font-family: var(--font-display); font-size: 2.4rem; color: var(--blue-bright); }
.stat .label{ font-family: var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color: var(--silver); margin-top:6px; }

/* ---------- Quote / testimonial ---------- */
.quote{
  border-left: 3px solid var(--blue-accent);
  padding-left: 28px;
  margin: 28px 0;
}
.quote p{ font-size: 1.05rem; font-style: italic; color: var(--navy-deep); }
.quote cite{ display:block; margin-top:12px; font-style:normal; font-family:var(--font-mono); font-size:0.78rem; color:var(--blue-accent); text-transform:uppercase; letter-spacing:0.05em; }

/* ---------- Product grid (apparel) ---------- */
.product{
  background: var(--white);
  padding: 30px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.product-img{
  aspect-ratio: 1/1;
  background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.product-price{ font-family: var(--font-display); font-size:1.6rem; color:var(--navy-deep); }

/* ---------- Product photo slideshow ---------- */
.slideshow{
  position:relative;
  aspect-ratio: 1/1;
  background: var(--paper-dim);
  overflow:hidden;
}
.slideshow .slide{
  position:absolute; inset:0;
  opacity:0;
  transition: opacity .25s ease;
  pointer-events:none;
}
.slideshow .slide.active{ opacity:1; pointer-events:auto; }
.slideshow .slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.slideshow-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px;
  background: rgba(11,35,56,0.55);
  color:#fff;
  border:none;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono);
  font-size:1rem;
  z-index:2;
  transition: background .18s ease;
}
.slideshow-arrow:hover{ background: rgba(11,35,56,0.85); }
.slideshow-arrow.prev{ left:10px; }
.slideshow-arrow.next{ right:10px; }
.slideshow-dots{
  position:absolute; bottom:12px; left:0; right:0;
  display:flex; justify-content:center; gap:7px;
  z-index:2;
}
.slideshow-dots button{
  width:8px; height:8px;
  border-radius:50%;
  border:none;
  background: rgba(255,255,255,0.55);
  cursor:pointer;
  padding:0;
}
.slideshow-dots button.active{ background:#fff; }

.color-options{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.btn-sm{
  padding: 10px 16px;
  font-size: 0.72rem;
  flex: 1 1 calc(50% - 5px);
  justify-content:center;
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--navy-deep), var(--blue-steel));
  color: var(--white);
  padding: 72px 0;
  text-align:center;
}
.cta-banner h2{ color: var(--white); }
.cta-banner .lede{ color: var(--silver-light); margin: 18px auto 34px; text-align:center; }
.cta-banner .hero-actions{ justify-content:center; }

/* ---------- Feature photography ---------- */
.feature-photo{
  position:relative;
  overflow:hidden;
  aspect-ratio: 21/9;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--edge)), calc(100% - var(--edge)) 100%, 0 100%);
}
.feature-photo img{ width:100%; height:100%; object-fit:cover; object-position: center 25%; display:block; }
.feature-photo .caption{
  position:absolute; left:0; bottom:0; right:0;
  background: linear-gradient(0deg, rgba(11,35,56,0.88) 0%, rgba(11,35,56,0.35) 60%, transparent 100%);
  color: var(--white);
  padding: 46px 40px 28px;
}
.feature-photo .caption p{ color: var(--silver-light); max-width:48ch; margin-top:6px; }

.photo-pair{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2px;
  background: var(--silver-light);
}
.photo-pair figure{ margin:0; position:relative; overflow:hidden; aspect-ratio: 4/3; }
.photo-pair figure img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-pair figure.contain-photo{
  background: linear-gradient(150deg, var(--navy), var(--blue-steel));
}
.photo-pair figure.contain-photo img{ object-fit:contain; }
.photo-pair figcaption{
  position:absolute; left:0; right:0; bottom:0;
  background: linear-gradient(0deg, rgba(11,35,56,0.85), transparent 65%);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 24px 20px 14px;
}
@media (max-width: 800px){ .photo-pair{ grid-template-columns: 1fr; } }

.inline-photo{
  overflow:hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  aspect-ratio: 4/3;
}
.inline-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

.split-hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items:center;
}
@media (max-width: 800px){
  .split-hero{ grid-template-columns: 1fr; }
}
.notice{
  border: 1px dashed var(--blue-accent);
  background: rgba(44,130,192,0.06);
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--navy);
  margin: 32px 0;
}
.notice strong{ color: var(--blue-accent); }

/* ---------- Contact ---------- */
.contact-block{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.email-cta{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--blue-accent);
  text-transform:lowercase;
  word-break: break-word;
  border-bottom: 2px solid var(--blue-accent);
  display:inline-block;
  padding-bottom: 6px;
}
@media (max-width: 800px){ .contact-block{ grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: var(--silver);
  padding: 60px 0 32px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4{ color: var(--white); margin-bottom:16px; font-size:0.85rem; }
.footer-grid a, .footer-grid p{ color: var(--silver); font-size:0.92rem; display:block; margin-bottom:10px; }
.footer-grid a.social-link{ display:inline-flex; margin-top:6px; }
.footer-grid a:hover{ color: var(--blue-bright); }
.footer-bottom{
  padding-top: 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing:0.04em;
  color: var(--silver);
  text-transform:uppercase;
}
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; } }
