/* ==========================================================================
   Brew City Robotics LLC — site stylesheet
   Brand colors sampled from the company logo and shop sign.
   ========================================================================== */

:root{
  --blue:        #07689F;   /* logo background blue */
  --blue-dark:   #044B75;
  --blue-deep:   #06304A;
  --ink:         #10171E;   /* near-black, from logo wordmark */
  --ink-2:       #38434E;
  --gold:        #F5B32B;   /* logo robot arm / tagline gold */
  --gold-dark:   #C88A12;
  --line:        #DDE3E9;
  --bg:          #FFFFFF;
  --bg-soft:     #F4F6F8;
  --bg-softer:   #FAFBFC;
  --white:       #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(16,23,30,.06), 0 2px 8px rgba(16,23,30,.05);
  --shadow-md: 0 4px 12px rgba(16,23,30,.09), 0 12px 28px rgba(16,23,30,.07);
  --shadow-lg: 0 10px 30px rgba(16,23,30,.13), 0 30px 60px rgba(16,23,30,.10);

  --wrap: 1180px;
  --radius: 4px;

  --font-head: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.68;
  color:var(--ink-2);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:var(--blue); text-decoration:none}
a:hover{color:var(--blue-dark); text-decoration:underline}
h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:600;
  color:var(--ink);
  line-height:1.12;
  letter-spacing:.005em;
  margin:0 0 .5em;
}
h1{font-size:clamp(2.4rem,5.2vw,3.9rem); text-transform:uppercase; letter-spacing:.01em}
h2{font-size:clamp(1.75rem,3.2vw,2.5rem); text-transform:uppercase}
h3{font-size:1.28rem; text-transform:uppercase; letter-spacing:.02em}
h4{font-size:1.02rem; text-transform:uppercase; letter-spacing:.05em}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}
ul{margin:0 0 1.1em; padding-left:1.2em}
li{margin-bottom:.4em}

.wrap{max-width:var(--wrap); margin:0 auto; padding:0 24px}
.narrow{max-width:820px}

/* skip link */
.skip{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--ink);
  padding:12px 20px;z-index:200;font-weight:700}
.skip:focus{left:0}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.header-inner{
  max-width:var(--wrap); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:28px; min-height:82px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:0}
.brand:hover{text-decoration:none}
.brand-text{display:flex; flex-direction:column; line-height:1}
.brand-name{
  font-family:var(--font-head); font-weight:700; font-size:1.24rem;
  text-transform:uppercase; letter-spacing:.03em; color:var(--ink); white-space:nowrap;
}
.brand-tag{
  font-family:var(--font-head); font-size:.62rem; letter-spacing:.19em;
  text-transform:uppercase; color:var(--blue); margin-top:4px; white-space:nowrap;
}

.nav{margin-left:auto; display:flex; align-items:center; gap:6px}
.nav a{
  font-family:var(--font-head); font-size:.89rem; text-transform:uppercase;
  letter-spacing:.04em; color:var(--ink); padding:10px 11px; border-radius:var(--radius);
  text-decoration:none; white-space:nowrap; transition:background .15s,color .15s;
}
.nav a:hover{background:var(--bg-soft); color:var(--blue); text-decoration:none}
.nav a.active{color:var(--blue); box-shadow:inset 0 -3px 0 var(--gold)}

.btn{
  display:inline-block; font-family:var(--font-head); font-size:.95rem;
  text-transform:uppercase; letter-spacing:.06em; font-weight:600;
  padding:13px 26px; border-radius:var(--radius); border:2px solid transparent;
  cursor:pointer; text-decoration:none; transition:all .15s; text-align:center;
}
.btn-primary{background:var(--gold); color:var(--ink); border-color:var(--gold)}
.btn-primary:hover{background:var(--gold-dark); border-color:var(--gold-dark); color:var(--ink); text-decoration:none}
.btn-outline{background:transparent; color:var(--white); border-color:rgba(255,255,255,.65)}
.btn-outline:hover{background:var(--white); color:var(--ink); border-color:var(--white); text-decoration:none}
.btn-dark{background:var(--blue); color:var(--white); border-color:var(--blue)}
.btn-dark:hover{background:var(--blue-dark); border-color:var(--blue-dark); color:var(--white); text-decoration:none}
.nav .btn{margin-left:10px; padding:11px 20px}

/* mobile nav toggle */
.nav-toggle{
  display:none; margin-left:auto; background:none; border:1.5px solid var(--line);
  border-radius:var(--radius); padding:9px 12px; cursor:pointer; color:var(--ink);
  font-family:var(--font-head); text-transform:uppercase; letter-spacing:.06em; font-size:.85rem;
}

/* ---------- hero ---------- */
.hero{
  position:relative; color:var(--white);
  background:var(--blue-deep);
  overflow:hidden;
}
.hero-media{position:absolute; inset:0}
.hero-media img{width:100%; height:100%; object-fit:cover}
.hero-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(6,48,74,.94) 0%, rgba(6,48,74,.86) 42%, rgba(7,104,159,.62) 100%);
}
.hero-inner{position:relative; max-width:var(--wrap); margin:0 auto; padding:104px 24px 96px}
.hero-home .hero-inner{padding:130px 24px 118px}

/* --- logo tile: own tile, 8x, overlaid upper-left of every page ---------- */
.logo-tile{
  position:absolute; top:0; left:24px; z-index:20;
  background:var(--white); border:7px solid var(--ink);
  padding:22px 24px; line-height:0;
  box-shadow:var(--shadow-lg);
}
.logo-tile img{height:416px; width:auto}          /* 8 x the former 52px mark */
.hero-has-tile .hero-inner{padding-left:calc(24px + 415px + 56px)}
.hero-has-tile.hero-home .hero-inner{min-height:520px; display:flex;
  flex-direction:column; justify-content:center; padding-top:96px; padding-bottom:96px}
.hero-has-tile.hero-page .hero-inner{min-height:472px; display:flex;
  flex-direction:column; justify-content:center}

/* --- A3 member seal overlaid on the main page hero, right corner --------- */
.hero-seal{
  position:absolute; top:34px; right:34px; z-index:20;
  width:172px; height:auto;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.4));
}
.eyebrow{
  font-family:var(--font-head); font-size:.8rem; letter-spacing:.24em;
  text-transform:uppercase; color:var(--gold); margin:0 0 18px; font-weight:500;
}
.hero h1{color:var(--white); max-width:16ch; margin-bottom:.35em}
.hero-sub{font-size:1.16rem; max-width:56ch; color:rgba(255,255,255,.92); margin-bottom:2em}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap}
.hero-page h1{max-width:22ch}
.hero-page .hero-sub{margin-bottom:0}

/* stat strip */
.stats{background:var(--ink); color:var(--white)}
.stats-grid{
  max-width:var(--wrap); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:repeat(4,1fr);
}
.stat{padding:30px 20px; text-align:center; border-right:1px solid rgba(255,255,255,.11)}
.stat:last-child{border-right:none}
.stat-num{
  font-family:var(--font-head); font-size:2.05rem; color:var(--gold);
  line-height:1; margin-bottom:8px; font-weight:600;
}
.stat-label{font-size:.79rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.78)}

/* ---------- sections ---------- */
.section{padding:88px 0}
.section-soft{background:var(--bg-soft)}
.section-dark{background:var(--blue-deep); color:rgba(255,255,255,.9)}
.section-dark h2,.section-dark h3{color:var(--white)}
.section-tight{padding:62px 0}
.section-head{max-width:760px; margin-bottom:48px}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center}
.section-head p{font-size:1.08rem}
.rule{width:56px; height:4px; background:var(--gold); margin:0 0 22px}
.center .rule{margin-left:auto; margin-right:auto}

/* two-column */
.split{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center}
.split-media img{border-radius:var(--radius); box-shadow:var(--shadow-md)}

/* ---------- cards ---------- */
.grid{display:grid; gap:26px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s;
}
.card-link:hover{box-shadow:var(--shadow-md); transform:translateY(-3px)}
.card-media{aspect-ratio:16/10; overflow:hidden; background:var(--bg-soft)}
.card-media img{width:100%; height:100%; object-fit:cover; transition:transform .35s}
.card-link:hover .card-media img{transform:scale(1.04)}
.card-body{padding:26px 26px 28px; flex:1; display:flex; flex-direction:column}
.card-body h3{margin-bottom:.55em}
.card-body p{font-size:.97rem}
.card-more{
  margin-top:auto; padding-top:16px; font-family:var(--font-head);
  text-transform:uppercase; letter-spacing:.07em; font-size:.87rem; color:var(--blue);
}
.card-more::after{content:" →"}

/* benefit card */
.benefit{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px; border-top:4px solid var(--blue);
}
.benefit h4{color:var(--ink); margin-bottom:.55em; font-size:.98rem}
.benefit p{font-size:.94rem; margin:0}

/* ---------- capability chips & list ---------- */
.chips{display:flex; flex-wrap:wrap; gap:10px; margin:0 0 8px; padding:0; list-style:none}
.chips li{
  background:var(--white); border:1px solid var(--line); border-radius:100px;
  padding:8px 18px; font-size:.9rem; margin:0; color:var(--ink-2);
}
.section-dark .chips li{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:rgba(255,255,255,.92)}

.caplist{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,1fr); gap:2px 34px}
.caplist li{
  position:relative; padding:14px 0 14px 34px; margin:0;
  border-bottom:1px solid var(--line); font-size:1rem; color:var(--ink);
}
.caplist li::before{
  content:""; position:absolute; left:6px; top:22px; width:9px; height:9px;
  background:var(--gold); transform:rotate(45deg);
}
.caplist li span{display:block; font-size:.9rem; color:var(--ink-2); margin-top:2px}

/* ---------- project blocks ---------- */
.project{padding-top:14px; margin-bottom:64px}
.project:last-child{margin-bottom:0}
.project-head{display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:22px;
  padding-bottom:14px; border-bottom:2px solid var(--line)}
.project-head h3{margin:0; font-size:1.35rem}
.project-note{font-size:.92rem; color:var(--ink-2)}
.shots{display:grid; gap:20px}
.shots-3{grid-template-columns:repeat(3,1fr)}
.shots-5{grid-template-columns:repeat(5,1fr)}
.shots-4{grid-template-columns:repeat(4,1fr)}
.shots-2{grid-template-columns:repeat(2,1fr)}
.shots-1{grid-template-columns:1fr; max-width:900px}
.shot{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); background:var(--bg-soft)}
.shot img{width:100%; aspect-ratio:4/3; object-fit:cover}
.shot-tall img{aspect-ratio:3/4}
.shot-wide img{aspect-ratio:16/9}

/* gallery */
.gallery{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.gallery figure{margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); background:var(--white)}
.gallery img{width:100%; aspect-ratio:1/1; object-fit:cover; transition:transform .35s}
.gallery figure:hover img{transform:scale(1.05)}

/* ---------- process ---------- */
.phases{counter-reset:phase; display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.phase{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px 28px; position:relative; counter-increment:phase;
}
.phase::before{
  content:"0" counter(phase);
  font-family:var(--font-head); font-size:2.7rem; line-height:1;
  color:var(--gold); display:block; margin-bottom:12px; font-weight:600;
}
.phase h3{font-size:1.1rem; margin-bottom:.6em}
.phase p{font-size:.94rem; margin:0}

/* ---------- vendor wall ---------- */
.vendors{display:grid; grid-template-columns:repeat(5,1fr); gap:14px}
.vendors-6{grid-template-columns:repeat(3,1fr)}
.vendor{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center; padding:18px;
  min-height:104px; transition:box-shadow .18s, border-color .18s, transform .18s;
}
.vendor:hover{box-shadow:var(--shadow-md); border-color:var(--blue); transform:translateY(-2px); text-decoration:none}
.vendor img{max-height:60px; width:auto; object-fit:contain}

/* ---------- CTA band ---------- */
.cta-band{background:var(--blue); color:var(--white); padding:66px 0}
.cta-band h2{color:var(--white); margin-bottom:.3em}
.cta-inner{display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap}
.cta-copy{max-width:60ch}
.cta-copy p{margin:0; color:rgba(255,255,255,.92); font-size:1.06rem}

/* ---------- contact ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start}
.field{margin-bottom:20px}
.field label{
  display:block; font-family:var(--font-head); font-size:.83rem; text-transform:uppercase;
  letter-spacing:.08em; color:var(--ink); margin-bottom:7px;
}
.field input,.field select,.field textarea{
  width:100%; padding:13px 14px; font:inherit; font-size:.98rem; color:var(--ink);
  border:1.5px solid var(--line); border-radius:var(--radius); background:var(--white);
  transition:border-color .15s, box-shadow .15s;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(7,104,159,.14);
}
.field textarea{min-height:150px; resize:vertical}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.form-note{font-size:.87rem; color:var(--ink-2); margin-top:14px}

.info-block{border-left:3px solid var(--gold); padding:2px 0 2px 20px; margin-bottom:30px}
.info-block h4{margin-bottom:.35em; color:var(--ink)}
.info-block p{margin:0; font-size:1rem}
.placeholder{
  background:#FFF6DF; border:1px dashed var(--gold-dark); border-radius:3px;
  padding:1px 8px; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.87em; color:#7A5400; white-space:nowrap;
}
.notice{
  background:#FFF6DF; border:1px solid var(--gold); border-left:5px solid var(--gold);
  border-radius:var(--radius); padding:20px 24px; margin-bottom:36px; font-size:.96rem; color:#5E4200;
}
.notice strong{color:#4A3400}

/* ---------- people ---------- */
.people{display:grid; grid-template-columns:repeat(2,1fr); gap:22px; margin-top:8px}
.person{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  border-top:4px solid var(--blue); padding:26px 24px;
}
.person h3{margin-bottom:.2em; font-size:1.12rem}
.person .role{font-size:.9rem; color:var(--ink-2); margin:0 0 14px; line-height:1.45}
.person dl{margin:0; display:grid; grid-template-columns:auto 1fr; gap:6px 12px; font-size:.95rem}
.person dt{
  font-family:var(--font-head); text-transform:uppercase; letter-spacing:.07em;
  font-size:.76rem; color:var(--ink-2); padding-top:3px;
}
.person dd{margin:0; word-break:break-word}

/* ---------- social ---------- */
.social{display:flex; flex-wrap:wrap; gap:12px; margin-top:6px; padding:0; list-style:none}
.social li{margin:0}
.social a{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:12px 18px; color:var(--ink); font-family:var(--font-head);
  text-transform:uppercase; letter-spacing:.05em; font-size:.9rem;
  transition:border-color .15s, box-shadow .15s, transform .15s;
}
.social a:hover{border-color:var(--blue); box-shadow:var(--shadow-sm);
  transform:translateY(-2px); text-decoration:none; color:var(--blue)}
.social svg{width:22px; height:22px; flex-shrink:0}
.social .social-img{width:26px; height:26px; flex-shrink:0; object-fit:contain}
.social .pending{opacity:.55; cursor:not-allowed}
.social .pending:hover{transform:none; border-color:var(--line); box-shadow:none; color:var(--ink)}

.map-slot{
  border:2px dashed var(--line); border-radius:var(--radius); background:var(--bg-softer);
  padding:46px 30px; text-align:center; color:var(--ink-2); font-size:.95rem;
}
.map-slot strong{display:block; font-family:var(--font-head); text-transform:uppercase;
  letter-spacing:.07em; color:var(--ink); margin-bottom:8px}

/* ---------- footer ---------- */
.site-footer{background:var(--ink); color:rgba(255,255,255,.72); padding:62px 0 0; font-size:.95rem}
.footer-grid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:48px}
.site-footer h4{color:var(--white); margin-bottom:1.1em; font-size:.86rem; letter-spacing:.11em}
.site-footer a{color:rgba(255,255,255,.72)}
.site-footer a:hover{color:var(--gold); text-decoration:none}
.site-footer ul{list-style:none; padding:0; margin:0}
.site-footer li{margin-bottom:.6em}
.footer-logo{height:288px; width:auto; margin-bottom:22px}   /* 4 x the former 72px */
.footer-tag{font-family:var(--font-head); letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold); font-size:.8rem; margin-bottom:14px}
.footer-seal{width:192px; height:auto; margin-top:14px}      /* 2 x the former 96px */
.footer-bar{
  border-top:1px solid rgba(255,255,255,.12); padding:22px 0 28px;
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; font-size:.87rem;
}

/* ---------- responsive ---------- */
@media (max-width:1240px){
  .logo-tile img{height:320px}
  .hero-has-tile .hero-inner{padding-left:calc(24px + 320px + 48px)}
  .hero-has-tile.hero-home .hero-inner{min-height:430px}
  .hero-has-tile.hero-page .hero-inner{min-height:392px}
  .hero-seal{width:138px}
}
@media (max-width:1080px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .vendors{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr; gap:34px}
  .nav-toggle{display:block}
  .nav{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--white); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; padding:12px 24px 20px; gap:2px;
    box-shadow:var(--shadow-md);
  }
  .nav.open{display:flex}
  .nav a{padding:14px 4px; border-bottom:1px solid var(--line)}
  .nav a.active{box-shadow:none; border-left:3px solid var(--gold); padding-left:12px}
  .nav .btn{margin:14px 0 0; padding:14px 20px}
  .logo-tile img{height:250px}
  .hero-has-tile .hero-inner{padding-left:calc(24px + 250px + 40px)}
  .hero-has-tile.hero-home .hero-inner{min-height:352px}
  .hero-has-tile.hero-page .hero-inner{min-height:326px}
}
@media (max-width:900px){
  /* tile drops out of the corner and leads the hero in normal flow */
  .logo-tile{position:static; margin:0 0 26px; display:inline-block;
    padding:16px 18px; border-width:5px; box-shadow:var(--shadow-md)}
  .logo-tile img{height:190px}
  .hero-has-tile .hero-inner{padding-left:24px}
  .hero-has-tile.hero-home .hero-inner,
  .hero-has-tile.hero-page .hero-inner{min-height:0; display:block}
  .hero-seal{position:static; width:112px; margin:26px 0 0}
  .footer-logo{height:200px}
  .footer-seal{width:150px}
  .split,.contact-grid{grid-template-columns:1fr; gap:38px}
  .grid-3,.phases,.shots-3,.shots-4{grid-template-columns:repeat(2,1fr)}
  .shots-5{grid-template-columns:repeat(3,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:none}
  .stat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.11)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .caplist{grid-template-columns:1fr}
  .section{padding:64px 0}
  .hero-home .hero-inner{padding:88px 24px 78px}
  .hero-inner{padding:70px 24px 64px}
}
@media (max-width:620px){
  body{font-size:16px}
  .grid-2,.grid-3,.grid-4,.phases,.shots-2,.shots-3,.field-row{grid-template-columns:1fr}
  .shots-4{grid-template-columns:repeat(2,1fr)}
  .vendors,.vendors-6{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .brand-name{font-size:1.06rem}
  .hero-actions .btn{width:100%}
  .header-inner{min-height:70px; gap:12px}
  .logo-tile img{height:140px}
  .footer-logo{height:150px}
  .footer-seal{width:120px}
  .people{grid-template-columns:1fr}
}

@media print{
  .site-header,.nav,.cta-band,.btn{display:none}
  .hero-media::after{background:none}
  body{font-size:11pt}
}
