@import url('https://fonts.googleapis.com/css2?family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400&family=Quattrocento:wght@400;700&family=Oswald:wght@300;400;500;700&display=swap');

@font-face {
  font-family: 'wsocial';
  src: url('//cdn2.editmysite.com/fonts/wSocial/wsocial.woff?cachebust=true') format('woff'),
       url('//cdn2.editmysite.com/fonts/wSocial/wsocial.ttf?cachebust=true') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *:before, *:after { box-sizing: border-box; }
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote { margin: 0; padding: 0; }
li { list-style: none; }

body {
  background: #ffffff;
  color: #3e3e3e;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  -webkit-font-smoothing: antialiased;
}

a { color: #b9b9b9; text-decoration: none; transition: color 300ms ease; }
a:hover { color: #333333; }

p {
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  margin-bottom: 12px;
}

/* ─── HEADER ─────────────────────────────── */
.cento-header {
  width: 100%;
  background: #ffffff;
  padding: 40px 0 0;
  text-align: center;
}
.cento-header .logo { display: block; margin-bottom: 20px; }
.cento-header .logo img { display: inline-block; max-width: 200px; }
.cento-header .nav-wrap { width: 100%; padding: 10px 0; background: #ffffff; }

/* Hamburger – hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  line-height: 1;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #888;
  margin: 4px 0;
  transition: transform 400ms ease-in-out, opacity 300ms ease-in-out;
  transform-origin: center;
}
.nav-toggle:hover span { background: #333; }

/* Hamburger → X animation when open */
.nav-toggle.open span { background: #3e3e3e; }
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ─── TOP-LEVEL NAV ───────────────────────── */
.nav { text-align: center; }
.nav > ul { display: inline-block; }
.nav > ul > li {
  position: relative;
  display: inline-block;
  padding: 0 5px;
}
.nav > ul > li > a {
  display: block;
  padding: 5px 15px;
  color: #b9b9b9;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  transition: color 300ms linear;
}
.nav > ul > li > a:hover { color: #333333; }

/* ─── DROPDOWNS ───────────────────────────── */
.dropdown, .subdropdown {
  display: none;
  position: absolute;
  background: #ffffff;
  border: 1px solid #b9b9b9;
  min-width: 260px;
  z-index: 500;
  padding: 0;
  margin: 0;
}
.dropdown { top: 100%; left: 0; }
.subdropdown { top: -1px; left: 100%; }

.has-dropdown:hover > .dropdown { display: block; }
.has-subdropdown:hover > .subdropdown { display: block; }

.dropdown > li, .subdropdown > li {
  display: block;
  position: relative;
  float: none;
  padding: 0;
}
.dropdown > li > a, .subdropdown > li > a {
  display: block;
  padding: 8px 15px;
  color: #b9b9b9;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  white-space: nowrap;
  line-height: 1.5;
  transition: color 300ms linear;
}
.dropdown > li:last-child > a, .subdropdown > li:last-child > a { border-bottom: none; }
.dropdown > li > a:hover, .subdropdown > li > a:hover { color: #333333; }

/* ─── CONTENT ─────────────────────────────── */
.content-wrap { background: #ffffff; }
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* HOME PAGE */
.home-wrap { text-align: center; }
.home-wrap img.main-photo {
  max-width: 100%;
  display: block;
  margin: 0 auto 30px auto;
}
.home-text {
  text-align: left;
  display: inline-block;
  max-width: 600px;
  width: 100%;
}
.home-text p { margin-bottom: 12px; }
.home-text a { color: #b9b9b9; }
.home-text a:hover { color: #333333; }

/* PROJECT PAGES */
.project-image { margin-bottom: 30px; }
.project-image img { max-width: 100%; display: block; }
.text-block { margin-bottom: 30px; }
.text-block p { margin-bottom: 12px; }
.text-block a { color: #b9b9b9; }
.text-block a:hover { color: #333333; }

/* CAPTION / PROJECT INFO */
.project-caption {
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #3e3e3e;
  margin-bottom: 30px;
}

/* ─── ALLPLACES HERO ──────────────────────── */
.allplaces-section {
  background-image: url('images/849005387.jpg');
  background-size: cover;
  background-position: center;
  max-width: 1140px;
  margin: 0 auto 40px;
}
.allplaces-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 20px;
}
.allplaces-section p {
  color: #ffffff;
  font-family: Oswald, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 16px;
}
.allplaces-section em { font-style: italic; }
.allplaces-section img {
  width: auto;
  max-width: 100%;
  display: block;
  margin: 10px auto 0;
}

/* OLD WORKS HERO */
.old-works-hero {
  position: relative;
  background-image: url('images/1335835388.jpg');
  background-size: cover;
  background-position: center;
  height: 585px;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.old-works-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.old-works-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.old-works-tagline {
  color: #ffffff;
  font-family: Oswald, sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 20px;
}
.old-works-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background 500ms ease, color 500ms ease, border-color 500ms ease;
}
.old-works-btn:hover {
  background: #ffffff;
  color: #333333;
  border-color: #ffffff;
}

/* THUMBNAIL GRID */
.thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 30px;
}
.thumb-grid a { display: block; overflow: hidden; }
.thumb-grid img { width: 100%; display: block; transition: opacity 200ms ease; }
.thumb-grid a:hover img { opacity: 0.85; }

/* OLD WORKS intro */
.old-works-intro {
  margin-bottom: 30px;
}
.old-works-intro p { margin-bottom: 6px; }
.old-works-intro a { color: #b9b9b9; }
.old-works-intro a:hover { color: #333; }

/* OLD WORKS: 4-column thumbnail row */
.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 30px;
}
.thumb-row a { display: block; overflow: hidden; }
.thumb-row img { width: 100%; display: block; transition: opacity 200ms ease; }
.thumb-row a:hover img { opacity: 0.85; }

/* AWARDS ROW */
.awards-row {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.awards-row img { max-height: 100px; max-width: 220px; }

/* ─── ABOUT PAGE ──────────────────────────── */
.about-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.about-photo {
  flex: 0 0 200px;
}
.about-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.about-text { flex: 1; }
.about-text p {
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 24px;
}
.about-text a { color: #b9b9b9; }
.about-text a:hover { color: #333; }
.about-contact {
  margin-top: 60px;
  padding-top: 0;
}
.about-contact p {
  font-family: Oswald, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.about-contact a { color: #b9b9b9; }
.about-contact a:hover { color: #333; }
.about-contact strong a { color: #3e3e3e; }
.about-contact strong a:hover { color: #333; }

/* ─── FOOTER ──────────────────────────────── */
.footer-wrap {
  width: 100%;
  background: #ffffff;
  border-top: 2px solid #f7f7f7;
  margin-top: 40px;
}
.footer-inner, .wsite-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}
.footer-social a {
  color: #b9b9b9;
  font-size: 16px;
  font-family: 'wsocial', 'Quattrocento Sans', sans-serif;
  speak: none;
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  transition: color 300ms ease;
  -webkit-font-smoothing: antialiased;
}
.footer-social a::before {
  font-family: 'wsocial', sans-serif;
}
.footer-social a.social-linkedin::before { content: '\e602'; }
.footer-social a.social-mail::before { content: '\e603'; }
.footer-social a:hover { color: #333; }
.footer-sep {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0 0 20px 0;
}
.footer-contact { color: #3e3e3e; }
.footer-contact table { border-collapse: collapse; }
.footer-contact td { padding: 0 60px 0 0; vertical-align: top; }
.footer-contact h2 {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
  text-transform: none;
  color: #3e3e3e;
}
.footer-contact .footer-val {
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #b9b9b9;
}
.footer-contact a { color: #b9b9b9; }
.footer-contact a:hover { color: #333333; }

/* ─── RESPONSIVE ──────────────────────────── */
@media screen and (max-width: 767px) {
  /* Header: fixed 60px top bar, nav expands below */
  .cento-header {
    padding: 0;
    position: relative;
  }
  .cento-header .logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 10px;
    height: 60px;
    transform: none;
    padding: 0 5px;
  }

  /* Nav: height animated by JS, CSS provides the transition */
  .cento-header .nav-wrap {
    width: 100%;
    height: 0;
    overflow: hidden;
    display: block;
    transition: height 0.4s ease-in-out;
    padding: 0;
  }
  .cento-header .nav-wrap.open {
    padding: 10px 0 15px;
  }

  .nav > ul { display: block; width: 100%; }
  .nav > ul > li { display: block; text-align: center; padding: 0; }
  .nav > ul > li > a { padding: 8px 15px; }

  /* Dropdowns on mobile: hidden, toggled by JS */
  .dropdown, .subdropdown {
    position: static;
    border: none;
    border-top: 1px solid #f0f0f0;
    min-width: 0;
    display: none;
    padding-left: 0;
  }
  .dropdown.open, .subdropdown.open { display: block; }
  .has-dropdown:hover > .dropdown { display: none; }
  .has-subdropdown:hover > .subdropdown { display: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .has-subdropdown.open > .subdropdown { display: block; }

  /* Content */
  .container { padding: 25px 15px; }
  .home-wrap img.main-photo { margin-bottom: 20px; }

  /* About layout: stacked */
  .about-layout { flex-direction: column; align-items: center; gap: 25px; }
  .about-photo { flex: none; }
  .about-photo img { width: 260px; height: 260px; }
  .about-text { width: 100%; }
  .about-text p { text-align: justify; }

  /* Awards: each on own line */
  .awards-row { flex-direction: column; gap: 25px; align-items: flex-start; }

  /* Grids: 1 column on mobile */
  .thumb-grid { grid-template-columns: 1fr; }
  .thumb-row { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-contact td { display: block; padding: 0 0 15px 0; }
  .footer-contact table, .footer-contact tbody, .footer-contact tr { display: block; width: 100%; }
}

@media screen and (max-width: 480px) {
  .cento-header .logo img { max-width: 160px; }
  .thumb-row { grid-template-columns: repeat(2, 1fr); }
}
