/* RMR Engineering */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --teal: #14b8a6;
  --teal-dim: rgba(20,184,166,0.2);
  --teal-faint: rgba(20,184,166,0.06);
  --dark: #080b0a;
  --border: rgba(255,255,255,0.06);
  --border-a: rgba(20,184,166,0.15);
  --white: #f0f5f4;
  --silver: #9ab0af;
  --muted: #506060;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --max-w: 1000px;
  --gap: 9rem;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  font-family:var(--sans);font-size:16px;font-weight:300;
  line-height:1.85;color:var(--silver);background:var(--dark);
  -webkit-font-smoothing:antialiased;
}

h1,h2{font-family:var(--serif);color:var(--white);font-weight:300;line-height:1.08;letter-spacing:-0.025em;}
h1{font-size:3.6rem;}
h2{font-size:2.5rem;}
h3{font-family:var(--sans);font-size:0.68rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--teal);}
h4{font-family:var(--sans);font-size:0.95rem;font-weight:400;color:var(--white);}
p{margin-bottom:1rem;}
p:last-child{margin-bottom:0;}
a{color:var(--teal);text-decoration:none;transition:color 0.2s;}
a:hover{color:#0d9488;}
em{font-style:italic;}
strong{font-weight:500;color:var(--white);}

.container{max-width:var(--max-w);margin:0 auto;padding:0 3rem;}
.section{padding:var(--gap) 0;}

/* Header */
.header{position:sticky;top:0;z-index:100;background:rgba(8,11,10,0.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:none;}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:1rem 3rem;max-width:var(--max-w);margin:0 auto;}
.logo img{height:44px;width:auto;display:block;}
.nav{display:flex;gap:1.75rem;align-items:center;justify-content:center;flex-wrap:nowrap;}
.nav a{font-size:0.65rem;font-weight:400;letter-spacing:0.09em;text-transform:uppercase;color:var(--silver);transition:color 0.2s;white-space:nowrap;}
.nav a:hover{color:var(--white);}
.nav-phone{font-size:0.65rem;font-weight:400;letter-spacing:0.06em;color:var(--muted);white-space:nowrap;}

/* Hero */
.hero{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:2rem 3rem 2rem 3rem;
  text-align:center;
  background:linear-gradient(to bottom,rgba(8,11,10,0.4),rgba(8,11,10,0.6)),url('/assets/images/ocean-wave.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero-inner{position:relative;z-index:2;max-width:680px;}
.hero-eyebrow{font-size:0.82rem;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;color:var(--teal);margin-bottom:1.5rem;display:block;}
.hero h1{font-size:3.8rem;font-weight:300;line-height:1.08;margin-bottom:1.5rem;}
.hero-vline{width:1px;height:56px;background:linear-gradient(to bottom,transparent,var(--teal-dim),transparent);margin:0 auto 2rem;}
.hero-body{font-size:1rem;color:var(--silver);margin-bottom:0.5rem;}
.hero-result{font-size:1rem;color:var(--white);font-weight:400;margin-bottom:0.5rem;}
.hero-tagline{font-size:1.2rem;color:var(--teal);font-family:var(--serif);font-style:italic;margin-bottom:1rem;}
.hero-links{display:flex;gap:2.5rem;justify-content:center;margin-top:2rem;}
.hero-links a{font-size:0.88rem;letter-spacing:0.07em;text-transform:uppercase;color:#b0c0c0;border-bottom:1px solid var(--border-a);padding-bottom:4px;transition:color 0.25s,border-color 0.25s;}
.hero-links a:hover{color:var(--white);border-color:var(--teal);}
.hero-whisper{margin-top:2rem;font-size:0.96rem;color:#b0c0c0;font-family:var(--serif);font-style:italic;line-height:2.15;opacity:0.8;}

/* Wave — full hero background like PeakWaves */
.hero-wave{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1;
  pointer-events:none;
}
.hero-wave svg{
  display:block;
  width:100%;
  height:100%;
}

/* Section labels */
.label{margin-bottom:3.75rem;}
.label h3{margin-bottom:1rem;}
.label h2{margin:0;}

/* Problem section specific spacing */
#problem .label{margin-bottom:1.5rem;margin-top:2rem;}

/* Process section specific spacing */
#process .label{margin-bottom:5rem !important;}
#process .label h3{font-size:0.88rem !important;}

/* Problem */
section#problem{
  padding:7.65rem 0;
  background:linear-gradient(to bottom,rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.55) 35%,rgba(0,0,0,0.60) 70%,rgba(0,0,0,0.75) 100%),url('/assets/images/storm-waves.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border:none !important;
}
.problem-lede{font-family:var(--serif);font-size:1.45rem;font-weight:300;font-style:italic;color:var(--silver);margin-bottom:1.9rem;max-width:900px;line-height:1.3;}
.problem-cols{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start;}
.p-col-label{font-size:0.63rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--teal);margin-bottom:0.6rem;padding-bottom:0.4rem;}
.problem-item{display:flex;gap:0.8rem;margin-bottom:0.3rem;font-size:0.92rem;align-items:baseline;color:var(--silver);line-height:1.15;}
.rx{color:#f87171;font-size:0.88rem;flex-shrink:0;font-weight:300;}
.problem-callout{margin-top:0.8rem;padding-top:0.8rem;font-family:var(--serif);font-style:italic;color:var(--teal);font-size:1.15rem;line-height:1.3;}
.problem-close{margin-top:0.6rem;font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--teal);font-weight:500;}

/* Resolves */
#solution{
  background:linear-gradient(to bottom,rgba(8,11,10,0.5),rgba(8,11,10,0.65)),url('/assets/images/calm-sea.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.resolves{display:grid;grid-template-columns:repeat(3,1fr);gap:4rem;}
.resolve{border-top:1px solid var(--border-a);padding-top:1.75rem;}
.resolve h4{color:var(--white);margin-bottom:0.75rem;font-size:0.98rem;letter-spacing:0.01em;}
.resolve p{font-size:0.87rem;color:var(--silver);line-height:1.75;font-weight:500;}
.resolves-close{margin-top:4.5rem;padding-top:2.25rem;border-top:1px solid var(--border);font-family:var(--serif);font-style:italic;font-size:1.25rem;color:var(--silver);line-height:1.6;}

/* Transformation */
.transformation{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:5rem;
  align-items:center;
  padding:6rem 3rem;
  margin:0 -3rem;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:linear-gradient(to right,rgba(8,11,10,0.7) 0%,rgba(8,11,10,0.5) 50%,rgba(8,11,10,0.25) 100%),url('/assets/images/chaos-order.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
.t-label{font-size:0.63rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;margin-bottom:1.25rem;}
.t-before .t-label{color:var(--muted);}
.t-after .t-label{color:var(--teal);}
.t-before p,.t-after p{font-size:0.92rem;line-height:1.95;color:var(--silver);}
.t-after p{color:var(--white);}
.t-arrow{font-size:1.1rem;color:var(--border-a);text-align:center;letter-spacing:0.1em;}

/* About */
.about-photo-container{max-width:800px;margin:0 auto 1.5rem auto;overflow:hidden;border-radius:2px;}
.about-photo{width:100%;display:block;object-fit:contain;height:auto;}
.photo-cap{text-align:center;font-size:0.78rem;color:var(--muted);font-style:italic;line-height:1.65;margin-bottom:3rem;}
.about-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;max-width:900px;margin:0 auto;}
.about-story p{font-size:0.92rem;line-height:1.7;color:var(--silver);margin-bottom:1.25rem;}

/* Testimonials */
#testimonials{
  background:linear-gradient(to bottom,rgba(8,11,10,0.5),rgba(8,11,10,0.65)),url('/assets/images/testimonials-ocean.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.testimonials{display:flex;flex-direction:column;gap:3.5rem;}
.testimonial{padding-left:2.25rem;border-left:1px solid var(--border-a);}
.t-text{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:1.12rem;font-weight:300;font-style:italic;line-height:1.7;color:var(--white);margin-bottom:1rem;}
.t-author{font-size:0.65rem;font-weight:500;letter-spacing:0.11em;text-transform:uppercase;color:var(--teal);}

/* Process */
#process{
  position:relative;
  overflow:hidden;
  min-height:80vh;
  padding-bottom:2.94rem !important;
}
.process-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-1;
}
#process .container{
  position:relative;
  z-index:1;
  padding-top:0.66rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:80vh;
}
#process .container::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(to bottom,rgba(8,11,10,0.5),rgba(8,11,10,0.65));
  z-index:-1;
}
.process{display:grid;grid-template-columns:repeat(3,1fr);gap:4.5rem;}
.p-step{border-top:1px solid var(--border);padding-top:2.25rem;padding-bottom:2.16rem;}
.p-num{width:56px;height:56px;border-radius:50%;border:2px solid var(--teal);display:inline-flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:1.4rem;font-weight:300;color:var(--teal);margin-bottom:1.8rem;}
.p-title{font-size:0.97rem;font-weight:500;color:var(--white);margin-bottom:0.6rem;letter-spacing:0.01em;}
.p-step p{font-size:0.87rem;color:var(--silver);line-height:1.8;}

/* Offers */
.offer-list{border-top:1px solid var(--border);}
.offer-item{padding-top:2.5rem;}
.offer-tag{font-size:0.62rem;font-weight:500;letter-spacing:0.13em;text-transform:uppercase;color:var(--teal);margin-bottom:0.5rem;display:block;}
.offer-item h4{color:var(--white);margin-bottom:0.5rem;font-size:0.98rem;letter-spacing:0.01em;}
.offer-item p{font-size:0.87rem;color:var(--silver);line-height:1.75;}
.offers-close{text-align:center;margin-top:3.5rem;font-family:var(--serif);font-style:italic;font-size:1.15rem;color:var(--teal);}

/* CTA */
.cta-center{text-align:center;max-width:600px;margin:0 auto;}
.cta-center h2{margin-bottom:1.75rem;}
.cta-center p{font-size:1rem;margin-bottom:0.875rem;color:var(--silver);}
.cta-muted{font-size:0.87rem;color:var(--muted);line-height:1.7;}
.cta-phrase{font-family:var(--serif);font-style:italic;font-size:1.15rem;color:var(--teal);margin-bottom:2.75rem;}
.cta-btns{display:flex;flex-direction:column;gap:1.25rem;align-items:center;}

/* Buttons */
.btn{display:inline-block;padding:1rem 2.75rem;font-size:0.7rem;font-weight:500;letter-spacing:0.11em;text-transform:uppercase;text-align:center;transition:all 0.3s ease;border-radius:1px;}
.btn-primary{background:transparent;color:#f4a460;border:1px solid #f4a460;}
.btn-primary:hover{background:#f4a460;color:#080b0a;transform:translateY(-1px);}
.btn-secondary{background:transparent;color:#f4a460;border:1px solid #f4a460;}
.btn-secondary:hover{background:#f4a460;color:#080b0a;transform:translateY(-1px);}

/* Support */
.support-features{display:flex;flex-direction:column;gap:1.75rem;margin:2.5rem 0;}
.support-feat{display:flex;gap:1.25rem;align-items:flex-start;}
.feat-icon{width:36px;height:36px;flex-shrink:0;border:1px solid var(--border-a);border-radius:50%;display:flex;align-items:center;justify-content:center;padding:8px;opacity:0.7;}
.feat-icon svg{width:100%;height:100%;}
.feat-text strong{display:block;color:var(--white);font-size:0.85rem;font-weight:500;margin-bottom:0.2rem;}
.feat-text p{font-size:0.8rem;color:var(--muted);}
.support-motto{font-family:var(--serif);font-style:italic;font-size:0.95rem;color:var(--muted);}

/* Closing */
#closing{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:1.5rem 3rem 5rem;
  text-align:center;
  min-height:100vh;
}
.closing-video-inline{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
}
.closing-wrap{position:relative;z-index:2;max-width:680px;padding-top:15vh;}
.closing-wrap h2{margin-bottom:1.75rem;color:var(--white);}
.closing-wrap .closing-main{font-size:1rem;margin-bottom:0.875rem;color:#1e3a5a;font-weight:normal;}
.closing-wrap .closing-sub{font-size:0.89rem;color:#1e3a5a;margin-bottom:1.5rem;line-height:1.7;font-weight:normal;}
.closing-wrap .closing-invite{font-family:var(--serif);font-style:italic;font-size:1.25rem;color:#1e3a5a;margin-bottom:2.75rem;font-weight:normal;}
.closing-wrap .cta-btns a{color:var(--white);}
.closing-quote{margin-top:5.75rem;text-align:left;padding-left:2.5rem;border-left:1px solid var(--border-a);}
.closing-quote p{font-family:Georgia,'Times New Roman',Times,serif;font-size:0.95rem;font-weight:bold;font-style:italic;color:var(--white);line-height:1.78;margin-bottom:0.875rem;}
.closing-quote cite{font-size:0.65rem;letter-spacing:0.11em;text-transform:uppercase;color:var(--white);font-style:normal;font-weight:bold;}

/* Audio Control */
.audio-control{
  display:flex;
  justify-content:center;
  margin-top:2rem;
}
.audio-toggle-btn{
  background:var(--teal);
  color:#0d1110;
  border:none;
  padding:0.75rem 1.5rem;
  border-radius:4px;
  font-size:0.9rem;
  cursor:pointer;
  transition:background 0.25s;
  display:flex;
  align-items:center;
  gap:0.5rem;
}
.audio-toggle-btn:hover{
  background:#3de0e5;
}
.audio-toggle-btn.playing{
  background:#d4af37;
}

/* Footer */
.footer{border-top:none;padding:2.75rem 0;text-align:center;}
.footer p{font-size:0.73rem;color:var(--muted);letter-spacing:0.05em;line-height:1.8;}
.footer a{color:var(--muted);text-decoration:underline;text-underline-offset:3px;}
.footer a:hover{color:var(--teal);}

/* Responsive */
@media(max-width:768px){
  h1,.hero h1{font-size:2.4rem;}
  h2{font-size:1.9rem;}
  .container,.header-inner{padding:0 1.5rem;}
  .nav{display:none;}
  .problem-cols,.about-grid,.resolves,.process{grid-template-columns:1fr;gap:2.5rem;}
  .transformation{grid-template-columns:1fr;gap:2rem;}
  .t-arrow{display:none;}
  .hero-links{flex-direction:column;gap:1.25rem;}
  .section{padding:5.5rem 0;}
}
