
:root{
  --navy:#0E2F4B;
  --blue:#2797DC;
  --ink:#1f2933;
  --muted:#66727d;
  --line:#e5e9ed;
  --soft:#f7f9fb;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

/* Header */
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.header-inner{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.logo{
  width:215px;
  max-width:42vw;
}
nav{display:flex;gap:30px;flex-wrap:wrap}
nav a{font-size:.96rem;color:var(--navy)}
nav a:hover,nav a.active{color:var(--blue)}

/* Typography */
.eyebrow{
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--blue);
  font-weight:700;
  margin-bottom:12px;
}
h1,h2,h3{color:var(--navy);line-height:1.15;margin:0}
h1{font-size:clamp(2.15rem,4.5vw,3.65rem);font-weight:650}
h2{font-size:clamp(1.8rem,3.6vw,2.7rem);font-weight:650}
h3{font-size:1.38rem}
.lead{
  color:var(--muted);
  font-size:1.08rem;
  max-width:720px;
  margin:18px 0 0;
}

/* Hero */
.hero{padding:64px 0 60px}
.hero-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:54px;
  align-items:center;
}
.hero-copy p{color:var(--muted);margin:16px 0 0;max-width:620px}
.hero-copy .intro{font-size:1.12rem}
.hero-img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:3px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border:1px solid var(--navy);
  border-radius:2px;
  font-weight:700;
  font-size:.95rem;
  margin-top:28px;
}
.btn.primary{background:var(--navy);color:#fff}

/* Sections */
.section{padding:70px 0;border-top:1px solid var(--line)}
.section.soft{background:var(--soft)}
.about-grid{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:58px;
  align-items:start;
}
.about-kicker{
  color:var(--blue);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:700;
  margin-bottom:10px;
}
.about-copy p{color:var(--muted);margin:0 0 14px}

.home-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.home-link{
  border-top:2px solid var(--navy);
  padding:22px 0 0;
}
.home-link p{color:var(--muted);margin:8px 0 0}

/* Page hero */
.page-hero{padding:64px 0 42px}
.page-hero h1{font-size:clamp(2.2rem,4.8vw,3.8rem)}

/* Services */
.services-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:52px 70px;
}
.service p{color:var(--muted);margin:13px 0 0}

/* Work */
.project{
  padding:0 0 60px;
  margin-bottom:60px;
  border-bottom:1px solid var(--line);
}
.project:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.project-head{max-width:760px;margin-bottom:24px}
.project-head p{color:var(--muted);margin:10px 0 0}
.project-images{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.project-images.single{grid-template-columns:1fr}
.project-images img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:3px;
}
.project-note{font-size:.86rem;color:var(--muted);margin-top:9px}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:64px;
  align-items:start;
}
.contact-details p{color:var(--muted)}
.form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px;
}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
label{font-size:.88rem;color:var(--navy);font-weight:700}
input,select,textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #cfd6dc;
  border-radius:2px;
  font:inherit;
  background:#fff;
}
textarea{min-height:145px;resize:vertical}
.form-note{font-size:.86rem;color:var(--muted);margin-top:12px}

/* Footer */
footer{
  border-top:1px solid var(--line);
  padding:30px 0 40px;
  color:var(--muted);
  font-size:.84rem;
}
.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

@media(max-width:860px){
  .header-inner{padding:18px 0;align-items:flex-start;flex-direction:column}
  .logo{width:190px;max-width:70vw}
  nav{gap:18px}
  .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .home-links{grid-template-columns:1fr}
}
@media(max-width:600px){
  .container{width:calc(100% - 26px)}
  .hero{padding:44px 0}
  .section{padding:54px 0}
  .page-hero{padding:48px 0 34px}
  .project-images,.form{grid-template-columns:1fr}
  .field.full{grid-column:auto}
  nav{gap:13px;font-size:.9rem}
}

/* V3 refinements */
.home-about-heading{
  font-size:clamp(1.9rem,3.6vw,2.7rem);
  margin-bottom:18px;
}
.contact-link{
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:3px;
}
.phone-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 14px;
  margin-top:6px;
  border:1px solid var(--navy);
  border-radius:2px;
  color:var(--navy);
  text-decoration:none;
  font-weight:700;
}
.phone-link:hover{
  background:var(--navy);
  color:#fff;
}

/* V4 final refinements */
.home-phone{
  margin-top:10px;
  font-size:.91rem;
  color:var(--muted);
}
.home-phone a{
  color:var(--navy);
  font-weight:700;
  text-decoration:none;
}
.home-phone a:hover{
  color:var(--blue);
}
.portrait-project{
  display:flex;
  justify-content:center;
}
.portrait-project img{
  width:auto;
  max-width:min(100%,520px);
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}

/* Live form refinements */
.honeypot{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.form-error{
  min-height:1.4em;
  color:#9b1c1c;
  font-size:.9rem;
  margin-bottom:4px;
}
[aria-invalid="true"]{
  border-color:#9b1c1c;
}

.form-success{
  margin-top:18px;
  padding:14px 16px;
  border:1px solid #cfd8df;
  background:#f7f9fb;
  color:var(--navy);
  border-radius:2px;
}
button:disabled{
  opacity:.7;
  cursor:wait;
}
