/* =========================================================
   Boreal Aquaculture — single-page site
   Palette: forest green / sage / cream
   ========================================================= */

:root {
  --green-dark:  #19302C;
  --green-mid:   #355839;
  --sage:        #9FA679;
  --sage-light:  #A7C09C;
  --cream:       #F8F6F1;
  --cream-warm:  #EFEBE0;
  --ink:         #2B2926;
  --line:        rgba(43, 41, 38, 0.12);
  --line-light:  rgba(255, 255, 255, 0.18);

  --font-head: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, Segoe UI, sans-serif;

  --max-w: 1180px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

/* ======= Buttons ======= */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  padding: 0.95rem 1.7rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn--primary {
  background: var(--green-dark);
  color: var(--cream);
  border-color: var(--green-dark);
}
.btn--primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  text-decoration: none;
  color: var(--cream);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost:hover {
  background: var(--cream);
  color: var(--green-dark);
  text-decoration: none;
}
.btn--lg { padding: 1.1rem 2.2rem; }
.btn--full { width: 100%; }

/* ======= Nav ======= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green-dark);
}
.nav__brand:hover { text-decoration: none; }
.nav__mark { width: 26px; height: 26px; }
.nav__wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  color: var(--green-dark);
}
.nav__links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.nav__links a:hover { color: var(--green-dark); text-decoration: none; }
.nav__cta {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--green-dark);
  padding: 0.7rem 1.2rem;
  border-radius: 2px;
}
.nav__cta:hover { background: var(--green-mid); text-decoration: none; color: var(--cream); }

.nav__toggle {
  display: none;
  width: 32px; height: 32px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
}

/* ======= Hero ======= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(25, 48, 44, 0.85), rgba(53, 88, 57, 0.65)),
    linear-gradient(180deg, #2c4d3a 0%, #19302C 100%);
  /* TODO: replace gradient with a TB 0045 / boreal lakeside photo
     e.g. background-image: url('hero.jpg');
          background-size: cover;
          background-position: center; */
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(159, 166, 121, 0.25), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(25, 48, 44, 0.55), transparent 70%);
}
.hero__content {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.hero__title {
  color: var(--cream);
  max-width: 760px;
  margin-bottom: 1.2rem;
}
.hero__sub {
  font-size: 1.1rem;
  max-width: 620px;
  color: rgba(248, 246, 241, 0.92);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ======= Feature cards ======= */
.features {
  background: var(--cream);
  padding: 4.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.features__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature {
  text-align: center;
  padding: 1rem 0.5rem;
}
.feature__icon {
  color: var(--green-dark);
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__title {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}
.feature__copy {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}

/* ======= Generic section ======= */
.section { padding: 5.5rem 1.5rem; }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--green-dark);
  color: var(--cream);
}
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark a { color: var(--sage-light); }
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__inner--narrow {
  max-width: 760px;
  text-align: center;
}
.section__title { margin-bottom: 2.2rem; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--green-mid);
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--sage-light); }

.lead { font-size: 1.1rem; line-height: 1.7; }

/* ======= Two-column ======= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col--contact { align-items: start; gap: 4rem; }
.two-col__media { width: 100%; }
.placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, var(--cream-warm) 0 12px, #e8e3d2 12px 24px);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.15em;
}
.placeholder span { font-size: 1.3rem; }
.placeholder small {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  opacity: 0.7;
  margin-top: 0.5rem;
  font-size: 0.78rem;
}

/* ======= Operation 3-col ======= */
.ops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.ops__col {
  border-top: 1px solid var(--line-light);
  padding-top: 1.5rem;
}
.ops__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--sage-light);
  margin-bottom: 0.8rem;
}
.ops__col h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.ops__col p {
  font-size: 0.98rem;
  color: rgba(248, 246, 241, 0.85);
  line-height: 1.65;
  margin: 0;
}

/* ======= Contact ======= */
.contact-list {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1.5rem;
}
.contact-list dt {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--sage-light);
  padding-top: 0.1rem;
}
.contact-list dd {
  margin: 0;
  color: var(--cream);
}
.contact-list dd small {
  display: block;
  color: rgba(248, 246, 241, 0.6);
  font-size: 0.82rem;
}

.contact-form {
  background: rgba(248, 246, 241, 0.06);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 2rem;
}
.hp { position: absolute; left: -9999px; }
.field { display: block; margin-bottom: 1.1rem; }
.field span {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.field em { font-style: normal; color: rgba(248, 246, 241, 0.55); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  background: rgba(248, 246, 241, 0.95);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--sage-light);
  box-shadow: 0 0 0 3px rgba(167, 192, 156, 0.25);
}

/* ======= Footer ======= */
.footer {
  background: #11221F;
  color: rgba(248, 246, 241, 0.7);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer p { margin: 0; }
.footer__land { font-style: italic; }

/* ======= Responsive ======= */
@media (max-width: 960px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .ops { grid-template-columns: 1fr; gap: 2rem; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
  }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero__content { padding: 4rem 1.5rem; }
  .section { padding: 4rem 1.25rem; }
  .footer__inner { flex-direction: column; text-align: left; }
}
