/* Newport Beach Drafting and Design — shared styles
   Black & white, modern. */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Dark theme: --black is the foreground (text), --white is the background */
  --black: #f5f5f5;   /* foreground / text */
  --white: #0a0a0a;   /* background */
  --gray: #9a9a9a;
  --line: #2a2a2a;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; letter-spacing: 0.14em;
  font-size: 13px; text-transform: uppercase; line-height: 1.25;
}
.brand-mark span { display: block; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; color: var(--gray); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--black); margin:5px 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 76px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 0;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(48px, 11vw, 148px);
}
.hero-title span { display: block; }
.hero-sub {
  margin-top: 36px; max-width: 540px;
  font-size: 18px; color: var(--gray); font-weight: 300;
}
.hero-cta {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border-bottom: 2px solid var(--black); padding-bottom: 6px; width: fit-content;
  transition: gap .2s;
}
.hero-cta:hover { gap: 20px; }

/* ---------- Section headings ---------- */
.section { padding: 100px 0; }
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 40px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 24px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.gallery figure {
  position: relative; overflow: hidden; background: #161616;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(100%); transition: filter .5s, transform .6s; }
.gallery figure:hover img { filter: grayscale(0%); transform: scale(1.03); }
.g-tall { grid-column: span 6; aspect-ratio: 4/5; }
.g-wide { grid-column: span 6; aspect-ratio: 4/3; }
.g-full { grid-column: span 12; aspect-ratio: 21/9; }
figcaption {
  position: absolute; left: 0; bottom: 0; padding: 14px 18px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  width: 100%;
}
/* placeholder look */
.ph {
  display: flex; align-items: center; justify-content: center;
  color: #666; font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px dashed #333;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.bio p { font-size: 18px; margin-bottom: 22px; color: #c7c7c7; }
.bio p:first-of-type { font-size: 22px; color: var(--black); font-weight: 400; }
.portrait { aspect-ratio: 3/4; background: #161616; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.feature-media { overflow: hidden; background: #161616; aspect-ratio: 4/3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s; }
.feature-media:hover img { filter: grayscale(0%); }
.feature-text p { font-size: 18px; color: #c7c7c7; max-width: 460px; }

.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family:'Space Grotesk',sans-serif; font-size: 12px; letter-spacing:0.14em; text-transform:uppercase; color: var(--gray); }
.facts dd { font-size: 15px; text-align: right; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); }
.service {
  background: var(--white); padding: 44px 40px; transition: background .25s, color .25s;
}
.service:hover { background: var(--black); color: var(--white); }
.service-num { font-family:'Space Grotesk',sans-serif; font-size: 13px; color: var(--gray); }
.service:hover .service-num { color: #999; }
.service h3 { font-family:'Space Grotesk',sans-serif; font-weight: 600; font-size: 24px; margin: 18px 0 14px; }
.service p { font-size: 15px; color: #a8a8a8; }
.service:hover p { color: #444; }

/* ---------- Form ---------- */
.form-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 80px; }
.form-intro h2 { font-family:'Space Grotesk',sans-serif; font-weight:600; font-size: clamp(28px,4vw,42px); line-height:1.1; margin-bottom: 20px; }
.form-intro p { color: var(--gray); font-size: 17px; max-width: 380px; }
.service-area { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.sa-label { display: inline-block; font-family:'Space Grotesk',sans-serif; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--black); margin-bottom: 12px; }
.service-area p { font-size: 15px; color: var(--gray); max-width: 380px; margin: 0; }
form { display: grid; gap: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; }
label { font-family:'Space Grotesk',sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
input, textarea, select {
  font-family: 'Inter', sans-serif; font-size: 16px; color: var(--black);
  border: 0; border-bottom: 1px solid var(--black); padding: 10px 0; background: transparent;
}
input:focus, textarea:focus, select:focus { outline: none; border-bottom-width: 2px; }
textarea { resize: vertical; min-height: 90px; }
.btn {
  font-family:'Space Grotesk',sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--black); color: var(--white); border: 0; padding: 18px 28px;
  cursor: pointer; width: fit-content; transition: opacity .2s;
}
.btn:hover { opacity: 0.82; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; }
.footer-brand { font-family:'Space Grotesk',sans-serif; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; font-size:13px; line-height:1.3; }
.footer-brand span { display:block; }
.footer-meta { font-size: 13px; color: var(--gray); }
.footer-meta a { border-bottom: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: var(--white);
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); 