/* === TOKENS === */
:root {
  --trulou-blue: #0f6ea8;
  --trulou-blue-deep: #083a5a;
  --trulou-blue-light: #eef6fb;
  --trulou-blue-soft: #f7fbfe;
  --trulou-gold: #f2c94c;
  --trulou-gold-soft: #ffd96a;
  --trulou-ink: #0b2233;
  --trulou-text: #173042;
  --trulou-muted: #3e6278;
  --trulou-border: #dce6ee;
  --trulou-card: #ffffff;
  --trulou-shadow: 0 12px 30px rgba(0,0,0,.08);
  --trulou-radius-lg: 22px;
  --trulou-radius-md: 16px;
  --trulou-radius-pill: 999px;
  --trulou-space-xs: 6px;
  --trulou-space-sm: 12px;
  --trulou-space-md: 20px;
  --trulou-space-lg: 32px;
  --trulou-space-xl: 48px;
  --header-h: 80px;
}
html { scroll-padding-top: var(--header-h); scroll-behavior: smooth; }
/* === BASE === */
body{margin:0;font-family:'DM Sans',Arial,Helvetica,sans-serif;background:#f5f7fa;color:var(--trulou-text);-webkit-text-size-adjust:100%;font-weight:400}
img{max-width:100%;height:auto}

/* === HEADER === */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--trulou-border);box-shadow:0 2px 12px rgba(0,0,0,.04)}
.site-header-inner{max-width:1280px;margin:0 auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-header-brand{display:flex;flex-direction:column;gap:4px}
.site-logo{display:flex;align-items:center;gap:12px;text-decoration:none}
.site-logo-mark{width:52px;height:52px;display:block;flex:0 0 auto}
.site-logo-text-wrap{display:flex;flex-direction:column;gap:3px}
.site-logo-text{font-size:2.1rem;font-weight:800;line-height:1;color:var(--trulou-blue-deep);letter-spacing:.05em;font-family:'EB Garamond',Georgia,serif}
.site-logo-sub{font-size:.72rem;font-weight:700;line-height:1.1;letter-spacing:.12em;text-transform:uppercase;color:var(--trulou-muted)}
.site-tagline{margin:0;font-size:.92rem;color:var(--trulou-muted);letter-spacing:.03em;font-style:italic}
.site-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.site-nav a{text-decoration:none;color:#23465f;font-weight:700;transition:color .18s ease}
.site-nav a:hover{color:var(--trulou-blue)}
.site-nav a.active{color:var(--trulou-blue)}
.site-header-cta{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto}

/* === BUTTONS === */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 20px;border-radius:12px;font-weight:700;font-size:.92rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .18s ease,filter .18s ease,border-color .18s ease,box-shadow .18s ease;white-space:nowrap}
.btn-primary{background:linear-gradient(135deg,#2a92d0 0%,#0a5a94 100%);color:#fff;border-color:transparent;box-shadow:0 4px 14px rgba(10,90,148,.32),inset 0 1px 0 rgba(201,168,76,.22)}
.btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.btn-outline-secondary{background:#fff;color:var(--trulou-blue);border:1px solid rgba(15,110,168,.28)}
.btn-outline-secondary:hover{background:#eef7fd;transform:translateY(-1px)}
.btn-outline-light{background:transparent;color:var(--trulou-blue-deep);border:1px solid rgba(11,34,51,.28)}
.btn-outline-light:hover{background:rgba(11,34,51,.06)}

/* === HERO SPLIT === */
.hero.hero--split{background:linear-gradient(180deg,var(--trulou-blue-light) 0%,var(--trulou-blue-soft) 100%);border-bottom:1px solid #e3edf4;position:relative;overflow:hidden}
.hero.hero--split:before{content:"";position:absolute;right:-80px;top:-60px;width:260px;height:260px;background:radial-gradient(circle at center,rgba(242,201,76,.18) 0%,rgba(242,201,76,.07) 35%,rgba(242,201,76,0) 70%);pointer-events:none}
.hero-split-inner{max-width:1320px;margin:0 auto;padding:52px 18px 36px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:40px;align-items:start;position:relative;z-index:1}
.hero-split-copy{padding-bottom:40px;display:flex;flex-direction:column}
.hero-page-kicker{margin:0 0 10px;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--trulou-blue)}
.hero-page-title{margin:0 0 14px;font-size:clamp(2.6rem,4.5vw,4.4rem);line-height:1.0;color:var(--trulou-blue-deep);max-width:760px;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600;letter-spacing:-.01em}
.hero-page-text{max-width:760px;margin:0 0 18px;font-size:1.05rem;line-height:1.7;color:#355466}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.hero-meta span{display:inline-flex;align-items:center;padding:7px 16px;border-radius:999px;background:#fff;border:1px solid #cfe0ec;font-size:.84rem;font-weight:500;color:var(--trulou-ink);letter-spacing:.01em;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.hero-split-featured{align-self:end}
.hero-split-featured .hero-tile-main{min-height:480px;border-radius:22px 22px 0 0;box-shadow:0 -8px 40px rgba(0,0,0,.14)}

/* === GALLERY PAGE === */
.gallery-page-container{max-width:1320px;margin:0 auto;padding:20px 16px 48px}
.hero-gallery-card{margin:0 0 22px}

/* 4-up grid: tiles left, copy right */
.hero-4up-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:start}
.hero-4up-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hero-4up-tiles .hero-tile{min-height:200px;border-radius:18px}
.hero-4up-copy{display:flex;flex-direction:column;gap:14px;padding:48px 0 8px;align-items:center;text-align:center}
.hero-4up-copy .btn{margin-top:34px}
.hero-4up-kicker{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--trulou-blue)}
.hero-4up-title{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(1.7rem,2.4vw,2.3rem);line-height:1.08;color:#083a5a}
.hero-4up-text{margin:0;color:#476476;font-size:.97rem;line-height:1.65}

.hero-tile{position:relative;overflow:hidden;border-radius:22px;cursor:pointer;min-height:220px;background:#031322;box-shadow:0 12px 30px rgba(0,0,0,.12)}
.hero-tile img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.hero-tile:hover img,.hero-tile:focus img{transform:scale(1.03)}
.hero-tile-overlay{position:absolute;left:0;right:0;bottom:0;padding:22px 20px;background:linear-gradient(180deg,rgba(4,16,28,0) 0%,rgba(4,16,28,.82) 100%);color:#fff}
.hero-tile-overlay--small{padding:16px 14px}
.hero-tile-tag{display:inline-block;margin:0 0 8px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.15);backdrop-filter:blur(6px);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero-tile-title{margin:0 0 6px;font-size:1.9rem;line-height:1.1;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600}
.hero-tile-title--small{margin:0;font-size:1.15rem;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600}
.hero-tile-copy{margin:0;font-size:.96rem;line-height:1.45;color:rgba(255,255,255,.9)}

/* === GALLERY INTRO === */
.gallery-intro-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,260px);gap:20px;align-items:end;background:#fff;border:1px solid #e4edf4;border-radius:18px;box-shadow:0 12px 30px rgba(0,0,0,.08);padding:20px 20px 18px;margin-bottom:20px}
.gallery-kicker{margin:0 0 6px;font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1f6faf}
.gallery-title{margin:0 0 8px;font-size:clamp(1.9rem,2.8vw,2.6rem);line-height:1.08;color:#083a5a;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600}
.gallery-lead{margin:0;color:#355466;font-size:1rem}

.gallery-toolbar{display:flex;flex-direction:column;gap:8px;min-width:0}
.gallery-search-label{font-size:.9rem;font-weight:700;color:#083a5a}
.gallery-search{width:100%;max-width:100%;box-sizing:border-box;height:48px;padding:0 14px;border:1px solid #cfe0ec;border-radius:12px;background:#f9fcff;font:inherit;color:#0b2233;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.gallery-search:focus{border-color:#3fa9e5;box-shadow:0 0 0 4px rgba(63,169,229,.16);background:#fff}

/* === GALLERY STATS === */
.gallery-stats{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.gallery-stat{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.8);border:1px solid #dce8f1;border-radius:999px;padding:10px 16px;color:#083a5a}
.gallery-stat strong{font-size:1rem}
.gallery-stat span{font-size:.92rem;color:#446274}

/* === GALLERY GRID === */
.gallery-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.gallery-item{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #dfe9f0;border-radius:16px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.08);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.gallery-item:hover,.gallery-item:focus{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.12);border-color:#bfd7e6;outline:none}
.gallery-media{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;background:#031322}
.gallery-media img{width:100%;height:100%;display:block;object-fit:cover}
.gallery-caption-wrap{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 15px 16px}
.gallery-caption{display:block;font-size:.97rem;font-weight:700;line-height:1.35;color:#0f4c75}
.gallery-type{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#eef7fd;color:#1f6faf;font-size:.76rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}

/* === CTA BAND === */
.cta-band{margin-top:28px;padding:48px 44px;background:var(--trulou-blue-light);border:1px solid #dce8f2;border-radius:22px;display:grid;grid-template-columns:60% 40%;gap:32px;align-items:center}
.cta-band-copy{display:flex;flex-direction:column;gap:10px}
.cta-band-kicker{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--trulou-blue)}
.cta-band-title{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.08;color:var(--trulou-blue-deep)}
.cta-band-lead{margin:0;color:#355466;font-size:.97rem;line-height:1.65;max-width:520px}
.cta-band-actions{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:center;width:100%}
.cta-band-actions .btn{padding:8px 18px;font-size:.88rem}
@media(max-width:900px){
.cta-band{grid-template-columns:1fr;gap:20px;padding:36px 32px}
}
@media(max-width:575px){
.cta-band{padding:28px 22px;border-radius:16px}
}

/* === MODAL === */
.modal{display:none;position:fixed;inset:0;z-index:1050;background:rgba(0,0,0,.88);overflow:auto}
.modal-content{position:relative;box-sizing:border-box;background:#fff;margin:72px auto 36px;max-width:1180px;width:min(92%,1180px);padding:10px;border-radius:14px;text-align:center}
.modal-image-container{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;max-width:100%}
.modal-image-container img,.modal-image-container video{max-width:100%;max-height:80vh;width:auto;height:auto;display:block;background:#000;border-radius:10px}
.modal-filename{margin-top:8px;font-size:.98rem;font-weight:700;color:#1a2d39;line-height:1.4}
.fullscreen{position:absolute;right:16px;bottom:16px;padding:8px 12px;font-size:.8rem;font-weight:700;border:none;border-radius:8px;background:rgba(0,0,0,.68);color:#fff;cursor:pointer}
.close,.prev,.next{position:fixed;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border:none;border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:2rem;font-weight:700;cursor:pointer;user-select:none;text-shadow:0 0 6px rgba(0,0,0,.7);z-index:1100}
.close{top:16px;right:18px;transform:none;font-size:2.2rem}
.prev{left:12px}
.next{right:12px}
.close:hover,.prev:hover,.next:hover{background:rgba(255,255,255,.16)}
.modal.is-fullscreen{background:#000}
.modal.is-fullscreen .modal-content{margin:0;max-width:none;width:100%;height:100%;border-radius:0;padding:0;background:#000}
.modal.is-fullscreen .modal-image-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.modal.is-fullscreen .modal-image-container img,.modal.is-fullscreen .modal-image-container video{max-width:100%;max-height:100vh;border-radius:0}

/* === VESSEL SPECS === */
.vessel-specs{margin:22px 0 0;padding:22px 24px 18px;background:#fff;border:1px solid #dfe9f0;border-radius:14px}
.vessel-specs-header{margin:0 0 14px}
.vessel-specs-kicker{margin:0 0 4px;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1f6faf}
.vessel-specs-title{margin:0 0 14px;color:#083a5a}
.spec-list{display:grid;grid-template-columns:max-content 1fr max-content 1fr;column-gap:16px;margin:0;padding:0;border-top:1px solid #e8f0f6}
.spec-list dt,.spec-list dd{padding:8px 0;border-bottom:1px solid #e8f0f6;margin:0;font-size:.91rem;line-height:1.3;align-self:center}
.spec-list dt{color:#7a9db5;font-weight:500;white-space:nowrap}
.spec-list dd{color:#0d3550;font-weight:600}
.spec-list dd:nth-child(4n+2){padding-right:20px;border-right:1px solid #e8f0f6}

/* === FOOTER === */
.site-footer{margin-top:48px;background:var(--trulou-ink);color:#fff}
.site-footer-inner{max-width:1280px;margin:0 auto;padding:30px 18px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.site-footer-brand{display:flex;flex-direction:column;gap:8px}
.site-footer-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;justify-content:flex-start}
.site-footer-logo-mark{width:51px;height:51px;display:block;flex:0 0 auto}
.site-footer-logo-text-wrap{display:flex;flex-direction:column;gap:3px;text-align:left}
.site-footer-logo-text{font-size:2.18rem;font-weight:800;line-height:1;color:#fff;letter-spacing:.05em;font-family:'EB Garamond',Georgia,serif}
.site-footer-logo-sub{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.site-footer-text{margin:0;color:rgba(255,255,255,.76);font-size:.95rem;line-height:1.65;max-width:560px}
.site-footer-instagram{display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:rgba(255,255,255,.6);font-size:.88rem;font-weight:500;text-decoration:none;transition:color .18s ease}
.site-footer-instagram:hover{color:#fff}
.site-footer-cta{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.site-footer-cta-text{margin:0;font-size:.9rem;color:rgba(255,255,255,.76)}
.site-footer-button{display:inline-flex;align-items:center;justify-content:center;padding:8px 20px;border-radius:12px;background:linear-gradient(135deg,#2a92d0 0%,#0a5a94 100%);color:#fff;text-decoration:none;font-weight:700;font-size:.9rem;box-shadow:0 4px 14px rgba(10,90,148,.32),inset 0 1px 0 rgba(201,168,76,.22);transition:transform .18s ease,filter .18s ease}
.site-footer-button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.site-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:14px 18px;display:flex;justify-content:center;align-items:center;text-align:center}
.site-footer-bottom p{margin:0;width:100%;max-width:1280px;text-align:center;color:rgba(255,255,255,.6);font-size:.85rem}

/* === FLOORPLAN SHELL === */
.floorplan-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:48px;align-items:start;margin:64px 0 48px;padding:40px 44px;background:#fff;border:1px solid var(--trulou-border);border-radius:22px;box-shadow:0 8px 28px rgba(0,0,0,.06)}
.floorplan-copy{display:flex;flex-direction:column;gap:14px}
.floorplan-shell-kicker{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--trulou-blue)}
.floorplan-shell-title{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(1.7rem,2.4vw,2.3rem);line-height:1.08;color:#083a5a}
.floorplan-features{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.floorplan-features li{display:flex;gap:12px;align-items:flex-start;line-height:1.55;font-size:.96rem;color:#476476}
.floorplan-features li::before{content:"⚓";color:var(--trulou-blue);font-size:.8rem;flex-shrink:0;margin-top:.2em}
.floorplan-feature-body{display:flex;flex-direction:column;gap:3px}
.floorplan-feature-title{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--trulou-blue)}
.floorplan-card{background:#f7fbfe;border:1px solid #e3edf4;border-radius:16px;padding:24px;display:flex;align-items:center;justify-content:center}
.floorplan-card .floorplan-image-wrap{width:100%}
.floorplan-card .floorplan-image-wrap img{width:100%;height:auto;display:block;border-radius:8px}

/* === RESPONSIVE === */
@media(max-width:1100px){
.hero-split-inner{grid-template-columns:1fr 1fr;gap:28px}
.hero-4up-grid{grid-template-columns:1fr 1fr}
.gallery-container{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
.site-header{position:static}
.site-header-inner{flex-direction:column;align-items:flex-start}
.site-nav{width:100%;gap:14px}
.hero-split-inner{grid-template-columns:1fr;padding:38px 18px 0;gap:24px}
.hero-split-copy{padding-bottom:0}
.hero-split-featured .hero-tile-main{border-radius:18px 18px 0 0;min-height:360px}
.hero-4up-grid{grid-template-columns:1fr}
.hero-4up-copy{order:-1}
.gallery-intro-card{grid-template-columns:1fr}
.site-footer-inner{grid-template-columns:1fr;text-align:center}
.site-footer-cta{align-items:center}
}
@media(max-width:768px){
.hero-tile{min-height:220px;border-radius:18px}
.hero-tile-overlay{padding:18px 16px}
.hero-tile-title{font-size:1.35rem}
.hero-tile-title--small{font-size:.95rem}
.gallery-container{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gallery-caption-wrap{flex-direction:column;align-items:flex-start}
.gallery-type{margin-top:2px}
.modal-content{margin:52px auto 24px;width:94%;padding:8px}
.close{top:10px;right:10px}
.prev,.next{width:44px;height:44px;font-size:1.6rem}
.prev{left:8px}
.next{right:8px}
.site-logo-mark{width:44px;height:44px}
.floorplan-shell{grid-template-columns:1fr;gap:28px;padding:28px 24px;margin:40px 0 32px}
.floorplan-shell-lead{max-width:none}
}
@media(max-width:580px){
.spec-list{grid-template-columns:max-content 1fr}
.spec-list dd:nth-child(4n+2){padding-right:0;border-right:none}
}
@media(max-width:575px){
.site-header-cta .btn{padding:10px 14px;font-size:.9rem}
.hero-page-title{font-size:clamp(2rem,8vw,2.8rem)}
.hero-page-text{font-size:.98rem;line-height:1.6}
.gallery-page-container{padding:16px 12px 32px}
.hero-gallery-card,.gallery-intro-card,.gallery-stats{display:none}
.gallery-container{grid-template-columns:1fr;gap:18px}
.gallery-item{cursor:default;transform:none !important;box-shadow:none}
.gallery-item:hover,.gallery-item:focus{transform:none;box-shadow:none;border-color:#dfe9f0}
.gallery-search{height:46px}
.gallery-stat{width:100%;justify-content:center}
.hero-tile{min-height:200px}
.hero-tile-tag{font-size:.68rem}
.hero-tile-copy{font-size:.9rem}
.gallery-caption-wrap{padding:12px 12px 16px}
.gallery-caption{font-size:.95rem}
.gallery-type{display:none}
.modal-content{margin:44px auto 20px;width:96%}
.modal-image-container img,.modal-image-container video{max-height:72vh}
.modal-filename{font-size:.9rem}
.fullscreen{position:static;margin-top:10px}
.site-footer-inner{padding:24px 16px}
.site-footer-button{width:100%;max-width:260px;align-self:stretch}
.site-nav{gap:10px}
.btn{width:100%;max-width:280px}
.site-logo-sub{font-size:.68rem}
.site-tagline{display:none}
.floorplan-shell{padding:22px 18px;border-radius:16px}
.floorplan-shell-title{font-size:clamp(1.6rem,7vw,2rem)}
}
@media(max-width:420px){
.site-header-inner{padding:12px 14px;flex-wrap:wrap;justify-content:center;text-align:center}
.site-header-brand{align-items:center}
.site-logo{justify-content:center}
.site-logo-mark{width:40px;height:40px}
.site-logo-text-wrap{align-items:flex-start}
.site-header-cta{width:100%;justify-content:center}
.site-nav{justify-content:center}
.site-nav a{font-size:.95rem}
.hero-page-kicker{font-size:.75rem}
.gallery-caption{font-size:.92rem}
.close,.prev,.next{width:40px;height:40px;font-size:1.4rem}
}
