/*
Theme Name: BrandHouse
Theme URI: https://brandhouseinc.com
Author: BrandHouse Inc.
Author URI: https://brandhouseinc.com
Description: Official BrandHouse website theme — four-section single-page design.
Version: 1.0
License: All Rights Reserved
Text Domain: brandhouse
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #231f20;
  --grey:  #808080;
  --grey-light: #cccccc;
  --orange: #f45d05;
  --white:  #ffffff;
  --nav-h:  70px;
  --gl: 10.5vw;
  --gr: 4.8vw;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gl) 0 var(--gl);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
nav.scrolled { border-bottom-color: #e8e8e8; }
.nav-logo img { height: 40px; display: block; width: auto; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }

/* LANDING */
#landing {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) var(--gr) 80px var(--gl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  #landing {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 48px;
    justify-content: flex-start;
  }
}
.landing-copy {
  font-size: clamp(20px, 4.86vw, 70px);
  line-height: 1.14;
  margin-bottom: 48px;
}
.landing-copy .black { color: var(--black); font-weight: 500; }
.landing-copy .grey  { color: var(--grey);  font-weight: 400; }
.btn-contact {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 50px;
  transition: background .2s;
}
.btn-contact:hover { background: #444; }

/* WORK */
#work { padding-top: 0; }
.work-image { display: block; width: 100%; height: auto; }

/* ABOUT */
#about {
  border-top: 2px solid #e8e8e8;
  padding: calc(var(--nav-h) + 80px) var(--gr) 80px var(--gl);
}
.about-copy {
  font-size: clamp(20px, 4.86vw, 70px);
  line-height: 1.14;
}
.about-copy .black { color: var(--black); font-weight: 500; }
.about-copy .grey  { color: var(--grey);  font-weight: 400; }

/* CONTACT */
#contact {
  border-top: 2px solid #e8e8e8;
  padding: 80px 0 0;
  text-align: center;
}
.contact-map {
  width: 600px;
  max-width: 90vw;
  margin: 0 auto 40px;
  display: block;
}
.contact-map svg { width: 100%; height: auto; }
.contact-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 32px;
}
.contact-offices {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-bottom: 60px;
}
.contact-office h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.contact-office p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
}
.contact-office a {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  display: block;
  cursor: pointer;
  line-height: 1.4;
}
.contact-office a:hover { color: var(--orange); }
.contact-office .contact-phone { color: var(--black); }
.contact-office .contact-phone:hover { color: var(--orange); }
.contact-office h4.contact-email-trigger,
.contact-office p.contact-email-trigger {
  cursor: pointer;
}
.contact-office h4.contact-email-trigger:hover,
.contact-office p.contact-email-trigger:hover {
  color: var(--orange);
}
.site-footer {
  background: var(--black);
  color: var(--grey-light);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 18px 40px;
  margin-top: 0;
}

/* MODAL */
.email-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 2000;
  align-items: center; justify-content: center;
}
.email-modal-overlay.active { display: flex; }
.email-modal {
  background: var(--white); padding: 40px;
  max-width: 400px; width: 90%; position: relative;
}
.email-modal h3 { font-weight: 500; font-size: 16px; margin-bottom: 6px; }
.email-modal p  { font-size: 13px; color: var(--grey); margin-bottom: 20px; }
.email-modal input,
.email-modal textarea {
  width: 100%; border: 1px solid var(--grey-light);
  padding: 10px 12px; font-family: 'Roboto', sans-serif;
  font-size: 13px; color: var(--black); margin-bottom: 12px;
  outline: none; transition: border-color .2s;
}
.email-modal input:focus,
.email-modal textarea:focus { border-color: var(--black); }
.email-modal textarea { height: 100px; resize: vertical; }
.email-modal .modal-send {
  background: var(--black); color: var(--white); border: none;
  padding: 10px 24px; font-family: 'Roboto', sans-serif;
  font-weight: 500; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
  border-radius: 50px; transition: background .2s;
}
.email-modal .modal-send:hover { background: #444; }
.email-modal .modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--grey); line-height: 1;
}
.email-modal .modal-close:hover { color: var(--black); }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* RESPONSIVE */
@media (max-width: 768px) {
  :root { --gl: 6vw; --gr: 6vw; --nav-h: 56px; }
  .nav-logo img { height: 28px; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0 30px;
    border-bottom: 1px solid #e8e8e8;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 12px;
    letter-spacing: 0.18em;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links li:last-child a { border-bottom: none; }

  .contact-offices { flex-direction: column; gap: 32px; align-items: center; }
  .contact-map { width: 90vw; }
}