:root{
  --ink:#111827;
  --muted:#687386;
  --paper:#f6f1e8;
  --cream:#fffaf1;
  --gold:#d8aa55;
  --gold2:#f5d68d;
  --charcoal:#0b0f17;
  --line:rgba(17,24,39,.12);
  --max:1180px;
  --radius:26px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.55;
  max-width:100%;
  overflow-x:hidden;
}

img,video,svg{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:30;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px clamp(18px,4vw,54px);
  background:linear-gradient(180deg,rgba(7,10,15,.86),rgba(7,10,15,.22));
  backdrop-filter:blur(12px);
  color:white;
}

.brand{
  font-size:clamp(23px,3vw,34px);
  font-weight:800;
  letter-spacing:-.035em;
}

.brand em{
  font-style:normal;
  color:var(--gold2);
  font-weight:500;
}

.site-header nav{
  display:flex;
  gap:22px;
  align-items:center;
  font-size:14px;
  letter-spacing:.02em;
}

.nav-cta{
  border:1px solid rgba(255,255,255,.4);
  padding:9px 14px;
  border-radius:999px;
}

.hero{
  min-height:100vh;
  position:relative;
  display:grid;
  align-items:center;
  padding:140px clamp(22px,5vw,72px) 80px;
  color:white;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image:url('images/hero-miami-skyline.jpg');
  background-size:cover;
  background-position:center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,6,12,.82) 0%,rgba(4,6,12,.60) 42%,rgba(4,6,12,.24) 100%),
    linear-gradient(0deg,rgba(4,6,12,.62),rgba(4,6,12,.10) 50%,rgba(4,6,12,.58));
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:860px;
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:800;
  color:var(--gold2);
  margin:0 0 18px;
}

.eyebrow.dark{
  color:#926c23;
}

/* Corrected: less compressed, more readable, prevents right-edge cutoff */
.hero h1{
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(52px,9.2vw,132px);
  line-height:.95;
  margin:0 0 34px;
  letter-spacing:-.03em;
  max-width:100%;
  overflow-wrap:normal;
  word-break:normal;
}

.hero-subhead{
  font-size:clamp(24px,3.2vw,44px);
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.035em;
  max-width:820px;
  margin:0 0 24px;
}

.hero-copy{
  font-size:clamp(17px,2vw,22px);
  max-width:720px;
  color:rgba(255,255,255,.88);
  margin:0 0 34px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:14px 22px;
  font-weight:800;
  font-size:14px;
  letter-spacing:.01em;
  transition:.2s ease;
}

.primary{
  background:var(--gold2);
  color:#0e1117;
}

.secondary{
  border:1px solid rgba(255,255,255,.45);
  color:white;
}

.primary:hover,
.secondary:hover{
  transform:translateY(-2px);
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-card{
  position:absolute;
  z-index:3;
  right:clamp(22px,5vw,70px);
  bottom:42px;
  width:min(420px,calc(100% - 44px));
  padding:22px;
  border-radius:24px;
  background:rgba(11,15,23,.58);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(14px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.hero-card span{
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  padding:9px 12px;
  color:rgba(255,255,255,.9);
  font-size:13px;
}

.intro-panel,
.closing{
  max-width:var(--max);
  margin:0 auto;
  padding:88px clamp(22px,5vw,30px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:54px;
  align-items:start;
}

.intro-panel h2,
.closing h2,
.section-heading h2,
.split-copy h2,
.history h2,
.inquire h2{
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(36px,5vw,72px);
  line-height:.98;
  letter-spacing:-.045em;
  margin:0;
}

.intro-panel p,
.closing p{
  font-size:20px;
  color:#465163;
  margin:0 0 18px;
}

.capture-commerce-callout{
  margin:28px 0;
  padding:26px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(216,170,85,.12),rgba(245,214,141,.08));
  border:1px solid rgba(216,170,85,.25);
}

.capture-commerce-callout h3{
  margin:0 0 8px;
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(30px,4vw,52px);
  line-height:1;
  letter-spacing:-.035em;
}

.capture-commerce-callout p{
  margin:0;
  color:#926c23;
  font-weight:700;
  font-size:clamp(20px,2vw,30px);
}

.market-grid{
  max-width:var(--max);
  margin:0 auto 90px;
  padding:0 clamp(22px,5vw,30px);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.market-grid article{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:0 20px 60px rgba(17,24,39,.06);
}

.market-grid h3{
  font-size:22px;
  margin:0 0 12px;
}

.market-grid p{
  color:var(--muted);
  margin:0;
}

.dark-section{
  background:var(--charcoal);
  color:white;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:670px;
}

.split-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.split-copy{
  padding:clamp(44px,7vw,92px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.split-copy p{
  font-size:19px;
  color:rgba(255,255,255,.78);
  max-width:620px;
}

.logo-cloud{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}

.logo-cloud span{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  border-radius:999px;
  padding:9px 14px;
  font-weight:800;
  color:rgba(255,255,255,.88);
}

.ecosystem,
.vision{
  max-width:var(--max);
  margin:0 auto;
  padding:96px clamp(22px,5vw,30px);
}

.section-heading{
  max-width:850px;
  margin-bottom:40px;
}

.section-heading p{
  font-size:19px;
  color:var(--muted);
}

.section-heading.compact{
  margin-bottom:28px;
}

.photo-mosaic{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:238px;
  gap:14px;
}

.photo-mosaic figure{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:#ddd;
}

.photo-mosaic figure.wide{
  grid-column:span 2;
}

.photo-mosaic img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s ease;
}

.photo-mosaic figure:hover img{
  transform:scale(1.05);
}

.photo-mosaic figcaption{
  position:absolute;
  left:12px;
  bottom:12px;
  background:rgba(0,0,0,.58);
  color:white;
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
  font-weight:800;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:999px;
}

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

.vision-grid div{
  background:#111827;
  color:white;
  border-radius:var(--radius);
  padding:28px;
  min-height:230px;
}

.vision-grid span{
  display:inline-block;
  color:var(--gold2);
  font-weight:900;
  margin-bottom:28px;
}

.vision-grid h3{
  font-size:24px;
  line-height:1.05;
  margin:0 0 12px;
}

.vision-grid p{
  color:rgba(255,255,255,.7);
  margin:0;
}

.history{
  background:var(--paper);
  padding:96px clamp(22px,5vw,72px);
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:46px;
  align-items:center;
}

.history p{
  font-size:18px;
  color:#596274;
}

.history-image{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 30px 90px rgba(17,24,39,.18);
  border:1px solid rgba(0,0,0,.1);
}

.inquire{
  padding:96px clamp(22px,5vw,30px);
  background:linear-gradient(135deg,#111827,#05070b);
}

.inquire-card{
  max-width:900px;
  margin:0 auto;
  background:var(--cream);
  border-radius:32px;
  padding:clamp(34px,6vw,70px);
  text-align:center;
  box-shadow:0 36px 100px rgba(0,0,0,.28);
}

.inquire-card p{
  font-size:18px;
  color:#596274;
}

.contact-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin:28px 0 18px;
}

.button.dark.secondary{
  color:#111827;
  border-color:rgba(17,24,39,.24);
}

.placeholder-note{
  font-size:14px!important;
}

.closing{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:28px clamp(22px,5vw,72px);
  background:#06080c;
  color:white;
}

footer span{
  color:rgba(255,255,255,.6);
}

@media (max-width:900px){
  .site-header{
    position:absolute;
  }

  .site-header nav{
    display:none;
  }

  .hero{
    min-height:860px;
  }

  .hero-card{
    position:relative;
    right:auto;
    bottom:auto;
    margin-top:36px;
  }

  .intro-panel,
  .closing,
  .split,
  .history{
    grid-template-columns:1fr;
  }

  .market-grid,
  .vision-grid{
    grid-template-columns:1fr 1fr;
  }

  .photo-mosaic{
    grid-template-columns:1fr 1fr;
    grid-auto-rows:210px;
  }

  .split{
    min-height:0;
  }

  .split-image img{
    max-height:480px;
  }

  .history{
    padding-top:70px;
  }
}

@media (max-width:640px){
  .hero,
  .hero *,
  .container,
  .section,
  .card,
  .button,
  .btn{
    max-width:100%;
  }

  .hero{
    padding-left:24px;
    padding-right:24px;
  }

  .hero h1{
    font-size:clamp(2.15rem,9.2vw,3.15rem);
    line-height:.98;
    letter-spacing:-.025em;
    white-space:normal;
    max-width:100%;
  }

  .hero-subhead{
    font-size:clamp(1.45rem,6.5vw,2.05rem);
    line-height:1.12;
    letter-spacing:-.025em;
  }

  .hero p,
  p{
    overflow-wrap:break-word;
  }
}

@media (max-width:560px){
  .hero h1{
    font-size:clamp(2.05rem,9vw,3rem);
  }

  .hero-actions .button{
    width:100%;
  }

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

  .intro-panel,
  .closing,
  .ecosystem,
  .vision,
  .history,
  .inquire{
    padding-top:64px;
    padding-bottom:64px;
  }

  .market-grid,
  .vision-grid,
  .photo-mosaic{
    grid-template-columns:1fr;
  }

  .photo-mosaic figure.wide{
    grid-column:span 1;
  }

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

  .brand{
    font-size:24px;
  }
}

/* SEO specialty sections */
.seo-section{
  padding-top:84px;
}

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

.specialty-grid article{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:0 20px 60px rgba(17,24,39,.06);
}

.specialty-grid h3{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.08;
  letter-spacing:-.025em;
}

.specialty-grid p,
.seo-resources p{
  color:var(--muted);
}

@media (max-width:900px){
  .specialty-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:640px){
  .hero h1{
    font-size:clamp(2.3rem,10vw,3.4rem);
    line-height:.9;
    letter-spacing:-.08em;
    white-space:nowrap;
    max-width:100%;
  }
}

@media (max-width:560px){
  .specialty-grid{
    grid-template-columns:1fr;
  }
}
