/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111413;
  --dark:    #192220;
  --mid:     #243330;
  --teal:    #4AAFA0;
  --teal-dim:#3a8c80;
  --silver:  #9aacaa;
  --light:   #c8d4d2;
  --offwhite:#e8e4dc;
  --white:   #f5f5f3;
  --rule:    rgba(74,175,160,.45);
  --nav-h:   72px;
  --sans:    'Jost', sans-serif;
  --serif:   'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--teal); }

.section-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.section-heading.light { color: var(--offwhite); }

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn-outline {
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: .5rem 1.4rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--teal); color: var(--dark); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(255,255,255,.4);
  color: var(--offwhite);
  padding: .75rem 2rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  transition: border-color .25s, color .25s, background .25s;
  margin-top: 2rem;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(74,175,160,.08); }

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: var(--dark);
  padding: .75rem 2rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  transition: background .25s;
  margin-top: 2rem;
}
.btn-teal:hover { background: var(--teal-dim); }

/* ─── REVEAL ANIMATION ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── NAVBAR ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /*background: var(--black);*/
  background-color: #494748;
  border-bottom: 1px solid rgba(74,175,160,.12);
  transition: background .35s;
}
#navbar.scrolled { background: rgba(17,20,19,.97); backdrop-filter: blur(8px); }

.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-shrink: 0;
}
.logo-img {
  max-height: 62px;
  width: auto;
}
.logo-icon { width: 40px; height: 44px; }
.logo-text { display: flex; flex-direction: column; gap: .1rem; }
.logo-name {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--offwhite);
}
.logo-tagline {
  font-family: var(--sans);
  font-size: .5rem;
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--light);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width .25s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--offwhite);
  transition: all .3s;
}

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--black);
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid rgba(74,175,160,.12);
}
.mobile-menu.open { display: flex; }
.mob-link {
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--light);
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.mob-link:hover { color: var(--teal); }

/* ─── HERO ──────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-image {
  width: 100%; height: 100%;
  background:
    linear-gradient(to bottom right, rgba(17,20,19,.7) 0%, rgba(17,20,19,.15) 55%),
    url('Images/Outside_Tank.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(17,20,19,.82) 38%, transparent 70%);
  z-index: 1;
}

.license-badge {
  position: absolute;
  top: calc(var(--nav-h) + 1.5rem);
  right: 1.5rem;
  z-index: 2;
  max-width: 200px;
  opacity: .95;
  transition: opacity .3s;
}
.license-badge:hover { opacity: 1; }
.license-badge img {
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: var(--nav-h) 2.5rem 3rem;
}

.hero-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.08;
  color: var(--offwhite);
  letter-spacing: -.01em;
  max-width: 700px;
}
.hero-heading .line { display: block; }

.hero-rule {
  width: 48px; height: 2px;
  background: var(--teal);
  margin: 2rem 0;
}

.hero-body {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--light);
  max-width: 380px;
}

/* ─── PILLARS ───────────────────────────────────────────────────── */
#pillars {
  background: var(--dark);
  padding: 3.5rem 2.5rem;
}

.pillars-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pillar {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(74,175,160,.12);
  transition: background .25s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(74,175,160,.05); }

.pillar-icon {
  width: 44px; height: 44px;
  margin: 0 auto 1.2rem;
}

.pillar h3 {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--offwhite);
  margin-bottom: .75rem;
}

.pillar p {
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
  max-width: 200px;
  margin: 0 auto;
}

/* ─── ABOUT ─────────────────────────────────────────────────────── */
#about {
  padding: 8rem 2.5rem;
  background: var(--white);
}

.about-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4a5c5a;
  margin-bottom: 1.2rem;
}

.about-vision {
  background: var(--dark);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-vision .section-label { margin-bottom: 0; }

.about-vision p {
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--silver);
}

.about-vision p:last-child { margin-bottom: 0; }

/* ─── SERVICES ──────────────────────────────────────────────────── */
#services {
  background: var(--dark);
  padding: 8rem 2.5rem;
}

.services-inner { max-width: 1380px; margin: 0 auto; }

.section-header { margin-bottom: 4rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(74,175,160,.1);
}

.service-card {
  background: var(--mid);
  padding: 2.8rem 2.5rem;
  transition: background .3s;
  cursor: default;
}
.service-card:hover { background: #2d4441; }

.service-num {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--teal);
  margin-bottom: 1rem;
  opacity: .7;
}

.service-card h3 {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--offwhite);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: .84rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--silver);
}

/* ─── PROJECTS ──────────────────────────────────────────────────── */
#projects {
  background: var(--white);
  padding: 8rem 2.5rem;
}

.projects-header {
  max-width: 1380px;
  margin: 0 auto 3rem;
  text-align: center;
}

.projects-inner {
  max-width: 1380px;
  margin: 0 auto;
}

.projects-placeholder {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(74,175,160,.25);
  background: rgba(74,175,160,.04);
}

.projects-placeholder p {
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4a5c5a;
  margin-bottom: 1.2rem;
}

.projects-placeholder p:last-child { margin-bottom: 0; }

.projects-tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--black);
  margin: 2rem 0 !important;
}

.projects-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 480px;
  gap: 1.2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-card.tall { grid-row: span 1; }

.project-img {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.project-card:hover .project-img { transform: scale(1.04); }

.p1 { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=900&auto=format&fit=crop&q=75'); }
.p2 { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=800&auto=format&fit=crop&q=75'); }
.p3 { background-image: url('https://images.unsplash.com/photo-1518780664697-55e3ad937233?w=800&auto=format&fit=crop&q=75'); }

.project-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.6rem;
  background: linear-gradient(to top, rgba(17,20,19,.9) 0%, transparent 100%);
}
.project-type {
  display: block;
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--teal);
  margin-bottom: .4rem;
}
.project-info h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--offwhite);
  margin-bottom: .2rem;
}
.project-info p {
  font-size: .72rem;
  font-weight: 300;
  color: var(--silver);
  letter-spacing: .06em;
}

/* ─── SUSTAINABILITY ────────────────────────────────────────────── */
#sustainability {
  background: var(--mid);
  padding: 8rem 2.5rem;
}

.sustain-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.sustain-content p {
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--silver);
  margin-bottom: 2rem;
}

.sustain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.sustain-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--light);
}
.check {
  color: var(--teal);
  font-size: .9rem;
}

.sustain-visual { display: flex; justify-content: center; }

.sustain-box {
  background: var(--dark);
  padding: 3rem;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.philosophy-goal {
  font-size: .93rem;
  font-weight: 400;
  color: var(--offwhite);
  margin-bottom: 1rem !important;
}

.philosophy-quote {
  border: none;
  margin: 0;
  text-align: center;
}

.philosophy-quote p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--offwhite);
}

.sustain-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  background: rgba(74,175,160,.12);
}
.metric {
  background: var(--dark);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.m-val {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
}
.m-lab {
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--silver);
}

/* ─── CONTACT ───────────────────────────────────────────────────── */
#contact {
  background: var(--white);
  padding: 8rem 2.5rem;
}

.contact-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-left p {
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4a5c5a;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.cd-item { display: flex; flex-direction: column; gap: .25rem; }
.cd-label {
  font-size: .58rem;
  letter-spacing: .2em;
  color: var(--teal);
  font-weight: 500;
}
.cd-val {
  font-size: .88rem;
  font-weight: 300;
  color: var(--black);
}

/* form */
form { display: flex; flex-direction: column; gap: 1.4rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-group { display: flex; flex-direction: column; gap: .5rem; }

.form-group label {
  font-size: .6rem;
  letter-spacing: .18em;
  color: var(--teal);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 300;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid #c0cac8;
  padding: .65rem 0;
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234AAFA0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .5rem center;
  padding-right: 2rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0b0ae; font-weight: 300; }

.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  align-self: flex-start;
  background: var(--dark);
  color: var(--offwhite);
  border: none;
  padding: .9rem 2.4rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background .25s;
  margin-top: .5rem;
}
.btn-submit:hover { background: var(--teal); color: var(--dark); }

.form-success {
  display: none;
  font-size: .84rem;
  color: var(--teal);
  font-weight: 300;
  letter-spacing: .04em;
  padding-top: .4rem;
}
.form-success.show { display: block; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(74,175,160,.15);
  padding: 3rem 2.5rem;
}

.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: .25rem; margin-right: auto; }
.footer-name {
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--offwhite);
}
.footer-sub {
  font-size: .5rem;
  letter-spacing: .2em;
  color: var(--teal);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .1em;
  color: var(--silver);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--teal); }

.footer-copy {
  font-size: .65rem;
  font-weight: 300;
  color: #566866;
  letter-spacing: .06em;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid rgba(74,175,160,.12); }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3),
  .pillar:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .project-card.tall { grid-column: span 2; height: 400px; }
  .project-card { height: 300px; }
}

@media (max-width: 860px) {
  .nav-links, .btn-outline { display: none; }
  .hamburger { display: flex; }

  .about-inner,
  .contact-inner,
  .sustain-inner { grid-template-columns: 1fr; gap: 3.5rem; }

  .about-vision { padding: 2.5rem 2rem; }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .project-card.tall,
  .project-card { grid-column: span 1; height: 300px; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-vision { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .hero-heading { font-size: clamp(2.2rem, 10vw, 3.2rem); }

  #about, #services, #projects, #sustainability, #contact { padding: 5rem 1.5rem; }
  #pillars { padding: 3rem 1.5rem; }
  .nav-inner { padding: 0 1.5rem; }
  footer { padding: 2.5rem 1.5rem; }
  .license-badge { max-width: 110px; top: calc(var(--nav-h) + 1.2rem); right: 1.5rem; }
}
