/* Seaglass Operations — site styles
   Palette: Deep Current #1B4B4A · Turquoise #3AAFA9 · Seaglass #8FBFB3
            Cool Sage #7FA89C · Sea Mist #E7F1EE · Periwinkle #7B7FB0
   Type: Lora (headings) · Nunito (body) */

:root {
  --deep: #1B4B4A;
  --turquoise: #3AAFA9;
  --seaglass: #8FBFB3;
  --sage: #7FA89C;
  --mist: #E7F1EE;
  --periwinkle: #7B7FB0;
  --text-dim: rgba(27,75,74,0.72);
  --line: rgba(27,75,74,0.14);
  --font-head: 'Lora', serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--deep);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--turquoise); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Eyebrow label — used everywhere */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 14px;
}
.eyebrow-center { display: block; text-align: center; }

/* Section headline / subhead defaults */
h1, h2, h3 { font-family: var(--font-head); color: var(--deep); margin: 0 0 12px; line-height: 1.3; }
h1 { font-size: 44px; font-weight: 700; line-height: 1.15; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 16px; color: var(--text-dim); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 17px; }
#process .section-head p { font-weight: 300; font-size: 18px; color: var(--deep); }

section { padding: 88px 0; }
.section-alt { background: var(--mist); }

/* Header / nav */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 0.5px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--deep); }
.logo:hover { text-decoration: none; }
.nav-links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--deep);
}
.nav-links a:hover { color: var(--turquoise); text-decoration: none; }
.nav-cta {
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px;
  background: var(--turquoise); color: #FFFFFF; padding: 10px 20px;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em;
}
.nav-cta:hover { background: var(--deep); text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--deep); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: 15px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--turquoise); color: #FFFFFF; }
.btn-primary:hover { background: var(--deep); }
.btn-secondary { border-color: var(--deep); color: var(--deep); }
.btn-secondary:hover { background: var(--deep); color: #FFFFFF; }

/* Hero */
.hero { position: relative; padding: 120px 0 160px; overflow: hidden; }
.hero .wrap { max-width: 760px; text-align: center; position: relative; z-index: 2; }
.hero .lede { font-size: 19px; margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-primary { text-transform: uppercase; letter-spacing: 0.03em; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 140px; z-index: 1; }

/* Testimonial */
.testimonial { padding: 56px 0; background: var(--deep); text-align: center; }
.testimonial .wrap { max-width: 640px; }
.testimonial-label {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--seaglass); display: block; margin-bottom: 16px;
}
.testimonial blockquote {
  font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 22px;
  line-height: 1.5; color: #FFFFFF; margin: 0 0 12px;
}
.testimonial cite { color: var(--seaglass); font-size: 14px; font-style: normal; }

/* What We Build */
.build-grid { margin-top: 8px; }
.build-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.build-card {
  background: #FFFFFF; border: 0.5px solid var(--line); border-radius: 16px;
  padding: 26px 22px; text-align: left;
}
.build-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: currentColor; margin-bottom: 16px;
}
.build-icon svg { width: 20px; height: 20px; color: #FFFFFF; }
.build-card:nth-child(1) .build-icon { color: var(--turquoise); }
.build-card:nth-child(2) .build-icon { color: var(--periwinkle); }
.build-card:nth-child(3) .build-icon { color: var(--sage); }
.build-card h3 { font-size: 16px; margin-bottom: 8px; }
.build-card p { font-size: 14.5px; margin: 0; }

/* Hover-to-reveal descriptions (How We Work Together) */
.reveal-title {
  transition: color 0.2s ease;
}
.process-step:hover .reveal-title {
  color: var(--periwinkle);
}
.reveal-desc {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
.reveal-desc p { margin: 0; padding-top: 10px; }
.process-step:hover .reveal-desc {
  max-height: 160px;
  opacity: 1;
}
@media (hover: none) {
  .reveal-desc { max-height: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-desc, .reveal-title, .num { transition: none; }
}

/* Values — fill-on-hover cards */
.value-step {
  text-align: center; background: #FFFFFF; border: 0.5px solid var(--line);
  border-radius: 16px; padding: 26px 16px; transition: background 0.3s ease, border-color 0.3s ease;
}
.value-step h3 {
  font-size: 14.5px; margin: 0; transition: color 0.2s ease;
  min-height: 2.6em; display: flex; align-items: center; justify-content: center;
}
.value-desc {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
.value-desc p { margin: 0; padding-top: 10px; font-size: 13px; color: rgba(255,255,255,0.92); }
.value-step:nth-child(1) { --vcolor: var(--turquoise); }
.value-step:nth-child(2) { --vcolor: var(--seaglass); }
.value-step:nth-child(3) { --vcolor: var(--periwinkle); }
.value-step:nth-child(4) { --vcolor: var(--sage); }
.value-step:nth-child(5) { --vcolor: var(--deep); }
.value-step .value-icon { color: var(--vcolor); transition: color 0.2s ease; }
.value-step:hover {
  background: var(--vcolor); border-color: var(--vcolor);
}
.value-step:hover .value-icon { color: #FFFFFF; }
.value-step:hover h3 { color: #FFFFFF; }
.value-step:hover .value-desc { max-height: 160px; opacity: 1; }
@media (hover: none) {
  .value-desc { max-height: none; opacity: 1; }
  .value-desc p { color: var(--text-dim); }
}

/* Case study placeholder */
.case-study-placeholder {
  border: 1.5px dashed var(--line); border-radius: 16px; padding: 40px;
  text-align: center; margin-top: 16px;
}
.case-study-placeholder p { margin: 0; }

/* Who / Our Clients */
.who-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.who-body { font-size: 17px; }
.who-footnote { font-size: 14px; color: var(--sage); }
.fit-card {
  background: #FFFFFF; border: 0.5px solid var(--line); border-radius: 16px; padding: 32px;
}
.fit-card h3 { color: var(--turquoise); }
.fit-card p:last-child { margin-bottom: 0; font-weight: 700; color: var(--deep); }

/* Process */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.process::before {
  content: ''; position: absolute; top: 24px; left: 10%; right: 10%;
  height: 2px; background: var(--line); z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.num {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  margin: 0 auto 16px;
}
.num { background: var(--seaglass); color: #FFFFFF; transition: background 0.25s ease; }
.process-step:hover .num { background: var(--periwinkle); }
.process-step h3 { font-size: 16px; }
.process-step p { font-size: 14.5px; }

/* Why */
#why .wrap { text-align: center; }
.why-subline {
  font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.5;
  color: var(--deep); max-width: 620px; margin: 0 auto 48px;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; }
.why-card { background: #FFFFFF; border: 0.5px solid var(--line); border-radius: 16px; padding: 24px; }
.why-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.why-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: currentColor;
}
.why-icon svg { width: 22px; height: 22px; color: #FFFFFF; }
.why-card:nth-child(1) .why-icon { color: var(--turquoise); }
.why-card:nth-child(2) .why-icon { color: var(--seaglass); }
.why-card:nth-child(3) .why-icon { color: var(--periwinkle); }
.why-card:nth-child(4) .why-icon { color: var(--sage); }
.why-card h3 { font-size: 16px; margin: 0; }
.why-card p { font-size: 14.5px; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.about-photo-wrap { border-radius: 20px; overflow: hidden; }
.about-photo { width: 100%; height: auto; }
.about h2 { font-size: 26px; }
.highlight { color: var(--turquoise); font-weight: 700; }

.values-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start; }
.value-icon { width: 40px; height: 40px; margin: 0 auto 12px; }
.value-icon svg { width: 100%; height: 100%; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: 28px; }
.direct-email { font-weight: 700; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--deep); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--mist);
  color: var(--deep);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--turquoise); }
.contact-form .btn { align-self: flex-start; }

/* Footer */
footer { background: var(--deep); color: #FFFFFF; padding: 40px 0; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
footer a { color: var(--seaglass); }
.footer-bottom { font-size: 13px; color: var(--seaglass); }

/* Responsive */
@media (max-width: 900px) {
  .who-grid, .about, .contact-wrap { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .build-cards { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
}
@media (max-width: 600px) {
  .menu-toggle { display: block; }
  .nav { position: relative; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #FFFFFF;
    border-bottom: 0.5px solid var(--line);
    padding: 8px 32px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-bottom: 0.5px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .values-timeline { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
}
