/* ==========================================================================
   Clearcon — site styles
   Rebuilt from the original Webflow design (tokens, sizes, breakpoints).
   Breakpoints: 991px (tablet), 767px (large phone), 479px (phone)
   ========================================================================== */

@font-face {
  font-family: Grifter;
  src: url("/assets/fonts/grifter-bold.otf") format("opentype"),
       url("https://cdn.prod.website-files.com/62c7bddbd294f46b28f27255/62c7bffdd1f7c86b568838c6_GRIFTER%CE%93%C3%A4%C3%B3%2BBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fff;
  --maya: #62b0ee;
  --oxford-blue: #0b0c2d;
  --text-grey: #555;
  --text-grey-soft: #555555b3;
  --dark-slate-blue: #1b3684;
  --steel-blue: #347ed0;
  --img-overlay: #0b0c2d26;
  --heading: Grifter, "Archivo Black", "Arial Black", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --grad-text: linear-gradient(to right, var(--maya), var(--oxford-blue));
  /* Recreates the original "Gradient-Section" background image */
  --grad-section:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(11,12,45,0) 45%, rgba(11,12,45,.28) 100%),
    linear-gradient(90deg, #1a3482 0%, #1b4aa0 20%, #2466bc 40%, #3d83d0 60%, #66b0e9 80%, #91d3f1 100%);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  line-height: 20px;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; vertical-align: middle; border: 0; }
a { color: var(--white); text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
button { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: var(--oxford-blue); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--maya); outline-offset: 3px; }

/* ---------- Typography (mirrors the original utility classes) ---------- */
.h1 {
  display: block;
  color: var(--white);
  font-family: var(--heading);
  font-size: 80px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}
.h1.clear {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.h1.gradient, .h3.gradient, .heading-gradient {
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--oxford-blue);
}
.h1.center, .center { text-align: center; }

.h2 {
  display: block;
  color: var(--white);
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.h2.clear { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 5px 10px; }
.h2.subhead { margin-top: 15px; }
.h2.light { color: var(--text-grey); text-align: center; margin-bottom: 12px; }
.h2.light.left { color: var(--steel-blue); text-align: left; font-size: 16px; }

.h3 {
  color: var(--white);
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}
.h3.gradient { line-height: 1; }

.h6.light { color: var(--text-grey-soft); font-size: 14px; font-weight: 500; line-height: 1; margin-top: 1px; }

.paragraph { color: var(--white); text-align: center; font-weight: 400; line-height: 1.7; }
.paragraph + .paragraph { margin-top: 1em; }
.paragraph.light { color: var(--text-grey); line-height: 1.8; }
.paragraph.left { text-align: left; font-size: 14px; line-height: 1.8; }
.w-70 { width: 70%; margin-left: auto; margin-right: auto; }
.text-light { color: var(--text-grey-soft); font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.button, .button--inverse {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  padding: 15px 20px;
  border: .5px solid var(--white);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.button:hover { background-color: rgba(255,255,255,.08); }
.button--inverse { border-color: var(--img-overlay); color: var(--steel-blue); }
.button--inverse:hover { background-color: rgba(11,12,45,.04); }
.button.on-cta, .button.on-hero { margin-top: 30px; }
.button.top-30 { margin-top: 30px; }
.button.in-form { margin-top: 40px; letter-spacing: 1px; }
.button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Layout helpers ---------- */
.section { display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1; position: relative; }
.section.light { background: #fff; }
.section.gradient { background-image: var(--grad-section); background-size: cover; background-position: 50% 0; }
.wrap { width: 100%; max-width: 940px; align-self: center; display: flex; }
.container { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; padding: 8% 0; }
.container.pad-15 { padding-top: 15%; padding-bottom: 15%; }
.margin-30 { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; margin-top: 30px; }
.margin-3 { padding-top: 3%; padding-bottom: 3%; }
.spacer-30 { width: 30px; height: 30px; }
.spacer-60 { width: 60px; height: 60px; }
.bg-fixed { background-size: cover; background-repeat: no-repeat; background-position: 50%; background-attachment: fixed; background-color: var(--oxford-blue); }
/* iOS/Android don't support fixed backgrounds well */
@media (hover: none), (max-width: 991px) {
  .bg-fixed { background-attachment: scroll; }
}

/* ---------- Navigation ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: transform .4s ease; }
.navbar.is-hidden { transform: translateY(-100%); }
.nav-bg {
  position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 1px 0 14px 0 var(--img-overlay);
  transition: opacity .35s;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 50px; }
.brand { position: relative; display: flex; align-items: center; }
.logo { height: auto; width: 160px; transition: opacity .35s; }
.logo-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.nav-menu { display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center;
  padding: 15px 0 15px 30px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .35s;
}
.nav-link:hover, .nav-link.is-current { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; flex-direction: column; justify-content: space-between; width: 35px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); transition: transform .3s, opacity .3s, background-color .3s; }

/* Scrolled state: light bar with dark logo + grey links */
.navbar.is-scrolled .nav-bg { opacity: 1; }
.navbar.is-scrolled .logo-white { opacity: 0; }
.navbar.is-scrolled .logo-dark { opacity: 1; }
.navbar.is-scrolled .nav-link { color: var(--text-grey); }
.navbar.is-scrolled .nav-toggle span { background: var(--oxford-blue); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 30px) 30px 30px;
  background-image: var(--grad-section); background-size: cover;
  overflow-y: auto;
}
.mobile-links { display: flex; flex-direction: column; }
.mobile-link { color: var(--white); font-family: var(--heading); font-size: 55px; font-weight: 700; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; }
.mobile-link.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
body.menu-open { overflow: hidden; }
body.menu-open .navbar .nav-bg { opacity: 0; }
body.menu-open .navbar .logo-white { opacity: 1; }
body.menu-open .navbar .logo-dark { opacity: 0; }
body.menu-open .nav-toggle span { background: var(--white); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.socials { display: flex; gap: 10px; padding-top: 5px; }
.social-link { display: inline-flex; color: var(--white); opacity: .4; transition: opacity .25s; }
.social-link:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 420px;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden;
}
.hero--full { height: 100vh; min-height: 560px; }
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%; padding: 5%;
}
.hero-lines { display: flex; flex-direction: column; align-items: center; margin: 0; }
.hero-line { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Intro (about us / our services) ---------- */
.intro { padding: 8% 0; }
.eyebrow { width: 100%; padding-bottom: 30px; }
.intro-grid {
  display: flex; align-items: flex-start; column-gap: 100px;
  width: 100%; max-width: 1300px; padding: 0;
}
.intro-col { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; }
.intro-heading { text-align: left; }
.intro-text { text-align: left; }
.intro .spacer-30 { height: 30px; }

/* ---------- Featured project tiles (home) ---------- */
.featured-list { width: 100%; }
.featured-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%; padding: 8% 5%;
  min-height: 420px;
}
.featured-tile::before { content: ""; position: absolute; inset: 0; background: rgba(11,12,45,0); transition: background .4s; }
.featured-tile:hover::before { background: rgba(11,12,45,.12); }
.featured-name, .featured-tile .subhead, .featured-tile .button { position: relative; }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0; text-align: center; }
.testimonial-heading { margin-bottom: 40px; height: auto; line-height: 1.2; }
.testimonial-quote { margin: 0 0 40px; }
.testimonial-quote p { font-size: 14px; line-height: 1.8; max-width: 720px; margin: 0 auto; }
.testimonial--light .testimonial-quote p { color: var(--text-grey); }
.testimonial--gradient .testimonial-quote p { color: var(--white); }
.testimonial-client { display: flex; flex-direction: column; align-items: center; }
.testimonial-photo { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.testimonial-name { font-size: 20px; font-weight: 600; line-height: 1.2; }
.testimonial-company { padding-top: 9px; font-size: 14px; font-weight: 400; }
.testimonial--light .testimonial-name { color: var(--steel-blue); }
.testimonial--light .testimonial-company { color: var(--text-grey); }
.testimonial--gradient .testimonial-name, .testimonial--gradient .testimonial-company { color: var(--white); }

/* ---------- Image call-to-action ---------- */
.image-cta { width: 100%; }
.image-cta .container { padding: 8% 5%; }
.cta-lines { display: flex; flex-direction: column; align-items: center; margin: 0; }

/* ---------- About: process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; row-gap: 30px; width: 100%; }
.process-item .h2.light { margin-bottom: 12px; }
.process-icon { display: flex; justify-content: center; margin-bottom: 30px; }
.process-icon img { width: 65px; height: 65px; object-fit: contain; }
.team-photo img { display: block; width: 100%; height: auto; object-fit: cover; }

/* ---------- Projects listing ---------- */
.section.projects { width: 100%; }
.tabs { width: 100%; }
.tabs-menu {
  display: flex; justify-content: center; flex-wrap: wrap;
  padding: 3% 0;
  background-image: var(--grad-section); background-size: cover;
}
.tab-link {
  display: flex; justify-content: center; align-items: center;
  margin: 0 1.04em; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  color: var(--white);
}
.tab-name { font-size: 16px; letter-spacing: 1px; }
.tab-link.is-current .tab-name, .tab-link:hover .tab-name { text-decoration: underline; text-underline-offset: 4px; }
.tabs-content { padding: 5% 5% 3%; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.project-card { width: 100%; }
.project-card.is-filtered { display: none; }
.project-link { display: block; }
.project-image { position: relative; width: 100%; padding-top: 70%; overflow: hidden; background: #eef1f6; }
.project-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-link:hover .project-image img { transform: scale(1.04); }
.project-overlay {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; transition: opacity .35s;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  background: rgba(11,12,45,.15);
}
.project-link:hover .project-overlay, .project-link:focus-visible .project-overlay { opacity: 1; }
.blur-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 6%; gap: 8px; }
.stat { display: flex; align-items: flex-end; color: var(--white); font-family: var(--heading); font-size: 16px; line-height: 1; letter-spacing: 1.5px; text-transform: uppercase; }
.stat-value { padding-right: 15px; }
.project-details { padding-top: 20px; margin-bottom: 20px; }
.project-details .h2.light.left { margin-bottom: 12px; }
.no-projects { text-align: center; color: var(--text-grey); padding: 40px 0; }

.works { display: flex; flex-direction: column; align-items: center; width: 100%; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 20px; row-gap: 40px; width: 100%; }
.work-item .h2.light.left { margin-bottom: 12px; }

/* ---------- Forms ---------- */
.form-block { width: 100%; }
.form { display: flex; flex-direction: column; justify-content: center; width: 100%; }
.form-flex { display: flex; column-gap: 40px; }
.form-flex > .field { flex: 1 1 0; }
.field { position: relative; width: 100%; }
.text-field {
  display: block; width: 100%;
  height: 38px; margin-bottom: 20px; padding: 8px 0;
  border: 0; border-bottom: 1px solid var(--white); border-radius: 0;
  background: transparent; color: var(--white);
  font-family: var(--body); font-size: 14px; line-height: 1.43;
  -webkit-appearance: none; appearance: none;
}
textarea.text-field { height: auto; min-height: 90px; resize: vertical; }
.text-field::placeholder { color: var(--white); opacity: 1; font-weight: 400; }
.text-field:focus { outline: none; border-bottom-width: 2px; }
.text-field.has-error { border-bottom-color: #ffb4b4; }
.text-field:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s; }
.field-error { display: block; margin: -14px 0 14px; min-height: 0; color: #ffd2d2; font-size: 12px; line-height: 1.4; text-align: left; }
.field-error:empty { display: none; }
.file-field {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 20px; padding: 10px 0;
  border-bottom: 1px solid var(--white);
  color: var(--white); cursor: pointer; text-align: left;
}
.file-field.has-error { border-bottom-color: #ffb4b4; }
.file-label { font-size: 14px; }
.file-label::before { content: "+ "; font-weight: 700; }
.file-help { font-size: 12px; opacity: .75; }
.file-field input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-field:focus-within { border-bottom-width: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { color: #ffd2d2; font-size: 13px; line-height: 1.5; text-align: center; }
.form-status:empty { display: none; }
.form-status { margin-top: 10px; }
.form-done { padding: 20px; color: var(--white); text-align: center; font-size: 16px; line-height: 1.6; border: .5px solid rgba(255,255,255,.5); }
.cf-turnstile { margin-top: 10px; align-self: center; }

/* ---------- Contact map ---------- */
.map-section { width: 100%; }
.map { display: block; width: 100%; height: 627px; border: 0; }

/* ---------- Project detail ---------- */
.preview-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500; padding: 10px; background: #ffb400; color: #000; text-align: center; font-weight: 600; }
.project-intro { padding: 8% 0; }
.proj-summary { display: grid; grid-template-columns: 1fr 3fr; column-gap: 16px; row-gap: 16px; width: 40%; min-width: 560px; }
.proj-desc { margin-bottom: 20px; }
.proj-row { line-height: 1.8; }
.proj-deets { color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.7; }
.proj-deets.subdeets { font-weight: 400; }
.proj-deets a { text-decoration: none; }
.proj-deets a:hover { text-decoration: underline; }
.fixed-img { width: 100%; height: 100vh; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; width: 100%; padding: 5%; }
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img { display: block; width: 100%; height: auto; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section.similar { width: 100%; }
.similar-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.similar-tile { position: relative; background: var(--oxford-blue); display: flex; flex-direction: column; justify-content: center; align-items: center; height: 300px; overflow: hidden; }
.similar-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s ease; }
.similar-overlay { position: absolute; inset: 0; z-index: 1; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.similar-name {
  position: relative; z-index: 2;
  padding: 7px 5px 5px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--white); font-family: var(--heading); font-size: 32px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-align: center;
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s;
}
.similar-button { position: relative; z-index: 2; margin-top: 10px; opacity: 0; transition: opacity .35s .05s; }
.similar-tile:hover .similar-name, .similar-tile:focus-visible .similar-name { opacity: 1; transform: none; }
.similar-tile:hover .similar-button, .similar-tile:focus-visible .similar-button { opacity: 1; }
.similar-tile:hover img { transform: scale(1.04); }
@media (hover: none) {
  .similar-name, .similar-button { opacity: 1; transform: none; }
}
.project-cta { display: flex; flex-direction: column; align-items: center; width: 50%; padding: 8% 0; }

.not-found { min-height: 70vh; padding-top: var(--nav-h); }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: center; align-items: center;
  min-height: 400px; padding: 70px 50px 50px;
  background: var(--oxford-blue);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  width: 100%; height: 100%; min-height: 280px;
}
.footer-brand { grid-area: 1 / 1 / 2 / 3; align-self: start; }
.footer-brand img { width: 160px; height: auto; position: relative; bottom: 15px; }
.footer-copyright { grid-area: 2 / 1 / 3 / 3; align-self: end; color: #fff6; font-size: 9px; line-height: 2; letter-spacing: .3px; text-transform: uppercase; }
.footer-nav { display: flex; flex-direction: column; align-self: start; }
.footer-nav a, .footer-address, .footer-address a, .footer-credit, .footer-credit a { color: var(--white); font-size: 13px; line-height: 2; }
.footer-nav a:hover, .footer-address a:hover, .footer-credit a:hover { text-decoration: underline; }
.footer-nav-1 { grid-area: 1 / 3 / 2 / 4; }
.footer-nav-2 { grid-area: 1 / 4 / 2 / 5; }
.footer-credit { grid-area: 2 / 5 / 3 / 6; align-self: end; color: #fff6 !important; font-size: 9px !important; text-transform: uppercase; letter-spacing: .3px; }
.footer-credit a { color: #fff6; font-size: 9px; }
.footer-address { grid-area: 1 / 5 / 2 / 7; align-self: start; }
.footer-socials { grid-area: 1 / 7 / 2 / 9; justify-self: end; align-self: start; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-line { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Tablet (≤ 991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
  :root { --nav-h: 64px; }
  .h1 { font-size: 50px; }
  .h1.clear { line-height: .8; }
  .h2 { font-size: 13px; }
  .h2.subhead { margin-top: 12px; }
  .h2.light.left { font-size: 15px; }
  .h3 { font-size: 24px; }
  .testimonial-heading { line-height: 1.1; }
  .button, .button--inverse { font-size: 13px; }

  .nav-inner { padding: 10px 30px; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .wrap { padding-left: 10%; padding-right: 10%; }
  .container.pad-15 { padding-top: 15%; padding-bottom: 15%; }
  .container { padding: 15% 0; }

  .intro { padding: 15% 30px; }
  .intro-grid { flex-direction: column; align-items: center; }
  .intro-col { align-items: center; width: 100%; }
  .intro-heading { text-align: center; margin-bottom: 30px; }
  .intro-text { text-align: center; width: 60%; margin-left: auto; margin-right: auto; }
  .paragraph.light { line-height: 1.5; }

  .featured-tile { padding: 15% 30px; min-height: 380px; }
  .image-cta .container { padding: 15% 30px; }

  .process-grid { column-gap: 30px; }

  .tabs-menu { padding: 5% 0; }
  .tab-name { font-size: 15px; }
  .tabs-content { padding-left: 5%; padding-right: 5%; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .works-grid { grid-template-columns: 1fr 1fr; }

  .form-block { width: 90%; }

  .map { height: 450px; }

  .proj-summary { width: 90%; min-width: 0; }
  .fixed-img { height: 75vh; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 30px; }
  .similar-name { font-size: 24px; }
  .project-cta { width: 80%; padding: 15% 0; }

  .footer { padding: 50px 30px 40px; }
  .footer-grid { grid-template-rows: auto auto auto; row-gap: 0; }
  .footer-brand { grid-area: 1 / 1 / 2 / 5; }
  .footer-socials { grid-area: 1 / 5 / 2 / 9; justify-self: end; }
  .footer-nav-1 { grid-area: 2 / 1 / 3 / 3; }
  .footer-nav-2 { grid-area: 2 / 3 / 3 / 5; }
  .footer-address { grid-area: 2 / 5 / 3 / 9; }
  .footer-copyright { grid-area: 3 / 1 / 4 / 5; align-self: end; padding-top: 30px; }
  .footer-credit { grid-area: 3 / 5 / 4 / 9; align-self: end; padding-top: 30px; }
}

/* ==========================================================================
   Large phone (≤ 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 12px; }
  .h2.subhead { margin-top: 10px; }
  .h3 { font-size: 22px; }
  .button, .button--inverse { font-size: 12px; }
  .button.on-cta, .button.on-hero { margin-top: 25px; }

  .mobile-link { font-size: 40px; }

  .container, .container.pad-15 { padding: 30% 0; }
  .paragraph { font-size: 16px; }
  .w-70 { width: 100%; }
  .intro-text { width: 85%; }

  .project-grid { grid-template-columns: 1fr; }
  .form-flex { flex-direction: column; column-gap: 0; }
  .form-block { width: 100%; }
  .map { height: 400px; }
  .proj-summary { grid-template-columns: 1fr; }
  .fixed-img { height: 35vh; }
  .gallery { grid-template-columns: 1fr; }
  .similar-name { font-size: 22px; }

  .footer { height: auto; }
}

/* ==========================================================================
   Phone (≤ 479px)
   ========================================================================== */
@media screen and (max-width: 479px) {
  .h1 { font-size: 21px; line-height: 1; }
  .h2 { font-size: 11px; }
  .h2.subhead { margin-top: 9px; }
  .h2.light.left { font-size: 15px; }
  .h3 { font-size: 18px; line-height: 1; }
  .testimonial-heading { margin-bottom: 30px; }
  .testimonial-quote p { font-size: 14px; }
  .testimonial-name { font-size: 14px; }
  .testimonial-company { font-size: 12px; }
  .button, .button--inverse { font-size: 11px; border-width: 1px; }
  .button.on-cta, .button.on-hero { margin-top: 20px; }

  .nav-inner { padding: 10px 20px; }
  .logo { width: 130px; }
  .mobile-menu { padding-left: 20px; padding-right: 20px; }
  .mobile-link { font-size: 30px; }

  .hero { min-height: 360px; }
  .hero--full { height: 736px; max-height: 100vh; }

  .wrap { padding-left: 5%; padding-right: 5%; }
  .container, .container.pad-15 { padding: 20% 0; }
  .intro { padding: 20% 5%; }
  .intro-text { width: 100%; }
  .paragraph, .paragraph.left { font-size: 14px; }
  .featured-tile { padding: 20% 20px; min-height: 300px; }

  .tabs-menu { flex-direction: column; align-items: center; padding: 5% 0; }
  .tab-link { padding-bottom: .7em; }
  .process-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .map { height: 350px; }
  .fixed-img { height: 30vh; }
  .gallery { gap: 20px; }
  .similar-grid { grid-template-columns: 1fr; }
  .similar-tile { height: 170px; }
  .similar-name { font-size: 18px; }
  .project-cta { width: 100%; padding: 20% 20px; }

  .footer { padding: 20% 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 5px; }
  .footer-brand { grid-area: 1 / 1 / 2 / 2; }
  .footer-brand img { width: 130px; bottom: 0; }
  .footer-socials { grid-area: 1 / 2 / 2 / 3; }
  .footer-nav-1 { grid-area: 2 / 1 / 3 / 2; padding-top: 23px; }
  .footer-nav-2 { grid-area: 2 / 2 / 3 / 3; padding-top: 23px; }
  .footer-address { grid-area: 3 / 1 / 4 / 3; padding: 23px 0; font-size: 12px; line-height: 1.8; }
  .footer-copyright { grid-area: 4 / 1 / 5 / 2; padding-top: 0; }
  .footer-credit { grid-area: 4 / 2 / 5 / 3; padding-top: 0; justify-self: end; }
}
