/* Faith Marine interior page design system
   Consistent with the modern, minimalist homepage/About Us visual identity.
   Scoped to Services, Vessel Designs and Shipbuilding. */
:root{
  --fm-page-navy:#081b2b;
  --fm-page-ink:#122e43;
  --fm-page-paper:#f8fafb;
  --fm-page-blue:#41639c;
  --fm-page-red:#ed1c24;
  --fm-page-line:#dce6ec;
  --fm-page-muted:#607485;
}
.fm-interior-hero{
  background:linear-gradient(120deg,#081b2b 0%,#102e45 100%);
  border-bottom:1px solid #2b485e;
  padding-block:clamp(68px,7vw,105px);
}
.fm-interior-hero::before{opacity:.24}
.fm-interior-hero .shell{max-width:1280px}
.fm-interior-hero .kicker{
  color:#b8ccdc;
  font:700 11px/1.5 Manrope,Arial,sans-serif;
  letter-spacing:.145em;
  gap:12px;
}
.fm-interior-hero .kicker::before{
  width:8px;height:8px;background:var(--fm-page-red);
}
.fm-interior-hero h1{
  font-size:clamp(3rem,5.3vw,5.7rem);
  line-height:1.11;
  letter-spacing:-.067em;
  margin:22px 0 24px;
  max-width:17ch;
  color:#fff;
}
.fm-interior-hero h1 em{color:#9bc4e5}
.fm-interior-hero p{
  max-width:59ch;
  font-size:clamp(15px,1.35vw,17px);
  line-height:1.8;
  color:#c1d2dd;
  margin:0;
}
.fm-interior-body{background:var(--fm-page-paper)!important;color:var(--fm-page-ink)}
.fm-interior-body .textlink{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#274b81;
  font-size:12px;
  letter-spacing:.075em;
  line-height:1.5;
}
.fm-interior-body .textlink:hover{color:#17385f;text-decoration:underline;text-underline-offset:5px}
/* Match the homepage's existing WHY FAITH MARINE label language:
   short red line, muted corporate blue text, no background or rounded capsule. */
.fm-interior-body .future-section-tag.fm-light-label{
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:transparent;
  color:#496ca1;
  font:800 10px/1.5 Manrope,Arial,sans-serif;
  letter-spacing:.19em;
  text-transform:uppercase;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.fm-interior-body .future-section-tag.fm-light-label > i{
  display:inline-block;
  flex:0 0 20px;
  width:20px;
  height:3px;
  background:#ed1c24;
}
/* Services: fixed-width index, readable sections, structured service details. */
.fm-services-section{padding-block:clamp(64px,7vw,102px)}
.fm-services-section .services-layout{
  grid-template-columns:minmax(215px,255px) minmax(0,1fr);
  gap:clamp(35px,5vw,72px);
}
.fm-services-section .service-nav{top:143px;gap:0}
.fm-services-section .service-nav .fm-light-label{margin-bottom:16px}
.fm-services-section .service-nav>a{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:11px 12px;
  border-bottom:1px solid var(--fm-page-line);
  color:#425e70;
  font-size:13px;
  line-height:1.45;
  border-radius:0;
}
.fm-services-section .service-nav>a:hover,
.fm-services-section .service-nav>a:focus-visible{
  color:#183c64;
  background:#eaf0f7;
}
.fm-services-section .service-detail{
  scroll-margin-top:155px;
  padding:0 0 50px;
  margin-bottom:52px;
  border-bottom:1px solid var(--fm-page-line);
}
.fm-services-section .service-detail:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.fm-services-section .minimal-service-heading{gap:17px;margin:13px 0 16px;align-items:center}
.fm-services-section .minimal-service-icon{
  width:52px;height:52px;border-radius:8px;background:#edf3f8;color:#355b91;
}
.fm-services-section .service-detail h2{
  font-size:clamp(25px,2.65vw,37px);
  line-height:1.22;
  letter-spacing:-.045em;
  margin:0;color:#122e43;
}
.fm-services-section .service-detail>p{
  color:var(--fm-page-muted);
  font-size:15px;
  line-height:1.85;
  max-width:65ch;
}
.fm-services-section .detail-chips{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:25px 0;
}
.fm-services-section .detail-chips span{
  border:1px solid var(--fm-page-line);
  border-radius:6px;
  padding:13px 15px;
  background:#fff;
  color:#425f72;
  font-size:13px;
  line-height:1.55;
}
/* Accessible item cards — same paper / line / navy palette as About Us. */
.fm-vessels-section{padding-block:clamp(64px,7vw,105px)}
.fm-vessels-section .section-head{
  align-items:end;
  gap:clamp(25px,4vw,50px);
  margin-bottom:35px;
}
.fm-vessels-section .section-head h2{
  color:#102c40;
  font-size:clamp(2.35rem,3.8vw,4.3rem);
  line-height:1.14;
  margin-top:17px;
  max-width:13ch;
}
.fm-vessels-section .section-head>p{color:#607485;font-size:15px;line-height:1.85;max-width:45ch}
.fm-vessels-section .profile-vessel-grid{gap:22px;margin-top:28px}
.fm-vessels-section .fm-vessel-card{
  border:1px solid var(--fm-page-line);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  box-shadow:none;
  transition:border-color .2s ease;
}
.fm-vessels-section .fm-vessel-card:hover{border-color:#90a9c2}
.fm-vessels-section .profile-vessel-media{height:clamp(220px,25vw,320px)}
.fm-vessels-section .profile-vessel-media--empty{background:linear-gradient(135deg,#112a41,#234a6a)}
.fm-vessels-section .profile-vessel-monogram{padding:clamp(24px,3vw,38px)}
.fm-vessels-section .profile-vessel-monogram strong{font-size:clamp(32px,4vw,55px)}
.fm-vessels-section .profile-vessel-length{
  right:20px;bottom:18px;font-size:12px;border-radius:3px;
}
.fm-vessels-section .profile-vessel-copy{padding:26px 30px 31px}
.fm-vessels-section .profile-vessel-copy h3{
  color:#102c40;font-size:clamp(22px,2.2vw,28px);
  margin:15px 0 11px;line-height:1.24;
}
.fm-vessels-section .profile-vessel-copy p{font-size:14px;line-height:1.82;color:#607485}
/* Shipbuilding: separate roles with a matching clean light/dark editorial rhythm. */
.fm-shipbuilding-section{padding-block:clamp(70px,7vw,105px)}
.fm-shipbuilding-section .future-build-grid{gap:clamp(36px,6vw,80px);align-items:start}
.fm-shipbuilding-section .future-build-heading h2{
  color:#102c40;
  font-size:clamp(2.65rem,4.2vw,4.6rem);
  line-height:1.14;
  margin:20px 0 24px;
}
.fm-shipbuilding-section .future-build-heading h2 em{color:var(--fm-page-blue)}
.fm-shipbuilding-section .future-build-heading p{
  font-size:15px;line-height:1.9;
  color:#607485;max-width:60ch;
}
.fm-shipbuilding-section .future-build-chain{
  padding:31px 34px;
  background:#0c263c;
  border-top:3px solid var(--fm-page-red);
  border-radius:7px;
  box-shadow:none;
}
.fm-shipbuilding-section .future-build-chain>div{padding-block:17px 26px}
.fm-shipbuilding-section .future-build-chain>div+div{padding-top:26px}
.fm-shipbuilding-section .future-build-chain strong{
  font-size:clamp(18px,1.8vw,23px);
  overflow-wrap:anywhere;
}
.fm-shipbuilding-section .future-build-chain p{font-size:13px;line-height:1.8}
.fm-shipbuilding-section .future-button-outline{
  min-height:48px;
  border-radius:4px;
  padding:15px 20px;
  font-size:12px;
}
.fm-shipbuilding-applications{
  padding-block:clamp(60px,6vw,90px);
  border-top:1px solid var(--fm-page-line);
}
.fm-shipbuilding-applications h2{
  max-width:800px;
  font-size:clamp(2.15rem,3.4vw,3.9rem);
  line-height:1.17;
  margin:20px 0;
  color:#102c40;
}
.fm-shipbuilding-applications .fm-applications-copy{
  max-width:760px;color:#607485;font-size:15px;line-height:1.9;
}
/* One call-to-action treatment for all three pages. */
.fm-interior-cta{padding-block:0;background:#081b2b}
.fm-interior-cta .cta{
  background:#173d67;
  border-radius:0;
  box-shadow:none;
  padding:clamp(38px,5vw,62px);
}
.fm-interior-cta .cta::after{display:none}
.fm-interior-cta .cta h2{
  font-size:clamp(2rem,3.5vw,3.7rem);
  line-height:1.16;
  margin:15px 0 0;
}
.fm-interior-cta .cta .btn{
  border-radius:4px;min-height:48px;
  padding:15px 20px;
  font-size:12px;
  letter-spacing:.06em;
}
@media(max-width:980px){
  .fm-services-section .services-layout{grid-template-columns:215px minmax(0,1fr);gap:30px}
  .fm-shipbuilding-section .future-build-grid{grid-template-columns:1fr;gap:34px}
}
@media(max-width:750px){
  .fm-interior-hero{padding-block:65px}
  .fm-interior-hero h1{font-size:clamp(2.75rem,9vw,4.7rem)}
  .fm-services-section .services-layout{grid-template-columns:minmax(0,1fr);gap:25px}
  .fm-services-section .service-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .fm-services-section .service-nav .fm-light-label{grid-column:1/-1;margin-bottom:5px}
  .fm-services-section .service-nav>a{
    border:1px solid var(--fm-page-line);
    border-radius:5px;
    background:#fff;
    min-height:48px;
    padding:12px;
    font-size:12px;
  }
  .fm-services-section .service-detail{scroll-margin-top:110px;margin-bottom:35px;padding-bottom:35px}
  .fm-services-section .service-detail h2{font-size:clamp(24px,5vw,32px)}
  .fm-services-section .detail-chips{grid-template-columns:1fr}
  .fm-vessels-section .section-head h2{max-width:none}
  .fm-vessels-section .profile-vessel-grid{grid-template-columns:1fr;gap:18px}
  .fm-vessels-section .profile-vessel-media{height:245px}
  .fm-interior-cta .cta{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
  .fm-interior-cta .cta .btn{margin:0}
}
@media(max-width:430px){
  .fm-services-section .service-nav{grid-template-columns:1fr}
  .fm-interior-hero h1{font-size:clamp(2.6rem,10vw,3.6rem)}
  .fm-vessels-section .profile-vessel-copy{padding:23px}
  .fm-vessels-section .profile-vessel-media{height:215px}
  .fm-shipbuilding-section .future-build-chain{padding:24px}
  .fm-interior-cta .cta .btn{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  .fm-vessels-section .fm-vessel-card{transition:none}
}

/* Expertise: documentary work photography with restrained editorial captions. */
.fm-services-section .fm-work-disclaimer{max-width:1000px;margin:-21px 0 45px;padding:15px 18px;border-left:3px solid #b2c6d8;background:#edf3f7;color:#547084;font-size:12px;line-height:1.75}
.fm-services-section .fm-work-photo{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);min-height:252px;margin:25px 0 28px;overflow:hidden;border:1px solid #dce6ec;background:#fff;border-radius:5px}
.fm-services-section .fm-work-photo--reverse{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.fm-services-section .fm-work-photo--reverse .fm-work-photo-media{order:2}
.fm-services-section .fm-work-photo--reverse .fm-work-photo-caption{order:1}
.fm-services-section .fm-work-photo-media{min-width:0;min-height:252px;overflow:hidden;background:#dfe5eb}
.fm-services-section .fm-work-photo-media img{display:block;width:100%;height:100%;min-height:252px;object-fit:cover;object-position:center;filter:saturate(.82)}
.fm-services-section .fm-work-photo-caption{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-width:0;padding:clamp(20px,2.7vw,34px)}
.fm-services-section .fm-work-photo-kicker{color:#5b7a95;font:800 9px/1.5 Manrope,Arial,sans-serif;letter-spacing:.12em}
.fm-services-section .fm-work-photo-caption strong{font:800 clamp(18px,1.8vw,23px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.035em;color:#12334d}
.fm-services-section .fm-work-photo-caption p{margin:0;font-size:13px;line-height:1.75;color:#5d7485}
.fm-services-section .fm-work-photo-caption a{margin-top:7px;padding-top:9px;border-top:1px solid #dbe5ec;color:#365b7d;font-size:10px;letter-spacing:.07em;text-decoration:none}
.fm-services-section .fm-work-photo-caption a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1180px){.fm-services-section .fm-work-photo,.fm-services-section .fm-work-photo--reverse{grid-template-columns:1fr}.fm-services-section .fm-work-photo--reverse .fm-work-photo-media,.fm-services-section .fm-work-photo--reverse .fm-work-photo-caption{order:initial}.fm-services-section .fm-work-photo-media,.fm-services-section .fm-work-photo-media img{height:310px;min-height:0}.fm-services-section .fm-work-photo-caption{padding:20px 23px;gap:8px}}
@media(max-width:750px){.fm-services-section .fm-work-disclaimer{margin:0 0 29px}.fm-services-section .fm-work-photo-media,.fm-services-section .fm-work-photo-media img{height:240px}.fm-services-section .fm-work-photo-caption{padding:18px 20px}}
