:root{
  --phf-nd-blue:#0C2340;
  --phf-nd-gold-dome:#C99700;
  --phf-nd-gold-metallic:#AE9142;
  --phf-nd-green:#00843D;
  --phf-nd-sky-blue:#C1CDDD;
  --phf-nd-warm-white:#EFE9D9;
  --phf-ink:#10213E;
  --phf-surface:#132947;
  --phf-surface-2:#173255;
  --phf-hero-overlay:rgba(201,151,0,.18);
  --phf-line:rgba(255,255,255,.12);
  --phf-text-on-dark:#F8F3E8;
  --phf-text-muted:rgba(248,243,232,.78);
  --phf-header-text-dark:#10213E;
  --phf-header-text-light:#F8F3E8;
  --phf-white:#ffffff;
  --phf-shadow:0 18px 50px rgba(7,19,41,.18);
  --phf-card-radius:22px;
  --phf-card-bg:rgba(255,255,255,.06);
  --phf-card-border:rgba(255,255,255,.10);
  --phf-body-bg:#ffffff;
  --phf-body-text:#10213E;
  --phf-header-bg:#0C2340;
  --phf-header-text:#F8F3E8;
  --phf-footer-bg:#0C2340;
  --phf-section-max:1200px;
  --phf-section-padding:88px;
  --phf-header-height:86px;
}

/* =========================================================
   BASE RESET + GLOBALS
========================================================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  background:var(--phf-body-bg);
  color:var(--phf-body-text);
  line-height:1.6;
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

ul{
  padding-left:1.1rem;
}

.phf-shell,
.phf-shell-narrow{
  width:100%;
  margin:0 auto;
  padding-left:16px;
  padding-right:16px;
}

.phf-shell{
  max-width:var(--phf-section-max);
}

.phf-shell-narrow{
  max-width:860px;
}

.phf-main{
  min-height:60vh;
}

.phf-section{
  padding:var(--phf-section-padding) 0;
}

.phf-section-light{
  background:linear-gradient(180deg,#fff,#f7f8fb);
}

.phf-stack{
  display:grid;
  gap:18px;
}

.phf-meta{
  color:#6c768a;
  font-weight:700;
}

/* =========================================================
   HEADER
========================================================= */

.phf-site-header{
  position:sticky;
  top:0;
  z-index:999;
  width:100%;
  background:var(--phf-header-bg);
  border-bottom:1px solid transparent;
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.phf-site-header.is-solid{
  background:var(--phf-header-bg);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

body.phf-header-transparent .phf-site-header.is-solid{
  background:rgba(255,255,255,.96);
  border-color:rgba(16,33,62,.1);
  box-shadow:0 10px 30px rgba(7,19,41,.12);
}

body.phf-header-transparent .phf-site-header.is-solid .phf-site-title,
body.phf-header-transparent .phf-site-header.is-solid .phf-menu a,
body.phf-header-transparent .phf-site-header.is-solid .phf-mobile-menu a,
body.phf-header-transparent .phf-site-header.is-solid .phf-mobile-toggle{
  color:var(--phf-header-text-dark);
}

.phf-header-inner{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:16px;
  align-items:center;
  min-height:var(--phf-header-height);
  width:100%;
}

.phf-branding{
  min-width:0;
  display:flex;
  align-items:center;
}

.phf-site-title{
  font-size:1.25rem;
  font-weight:800;
  color:var(--phf-header-text);
  line-height:1.1;
}

.custom-logo{
  max-height:56px;
  width:auto;
  height:auto;
}

.phf-main-nav{
  justify-self:center;
  min-width:0;
}

.phf-menu,
.phf-mobile-menu,
.phf-plain-list{
  list-style:none;
  margin:0;
  padding:0;
}

.phf-menu{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  align-items:center;
  justify-content:center;
}

.phf-menu a,
.phf-mobile-menu a{
  color:var(--phf-header-text);
  font-weight:700;
}

.phf-mobile-toggle{
  display:none;
}

.phf-mobile-panel{
  display:none;
  padding:0 16px 16px;
}

.phf-mobile-menu{
  display:grid;
  gap:12px;
}

/* =========================================================
   BUTTONS
========================================================= */

.phf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
  transition:transform .2s ease,opacity .2s ease;
  max-width:100%;
  text-align:center;
}

.phf-btn:hover{
  transform:translateY(-2px);
  opacity:.96;
}

.phf-btn-primary{
  background:linear-gradient(135deg,var(--phf-nd-gold-dome),var(--phf-nd-gold-metallic));
  color:#0C2340;
}

.phf-btn-secondary{
  background:transparent;
  color:var(--phf-header-text);
  border-color:currentColor;
}

.phf-site-header.is-solid .phf-btn-secondary{
  color:var(--phf-header-text-dark);
  border-color:currentColor;
}

/* =========================================================
   HERO + STANDARD CONTENT
========================================================= */

.phf-hero{
  padding:110px 0 88px;
  background:
    radial-gradient(circle at top right,var(--phf-hero-overlay),transparent 32%),
    linear-gradient(180deg,var(--phf-nd-blue),var(--phf-surface-2));
  color:var(--phf-text-on-dark);
}

.phf-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr);
  gap:34px;
  align-items:center;
}

.phf-kicker,
.phf-footer-kicker{
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.78rem;
  font-weight:800;
  color:var(--phf-nd-sky-blue);
}

.phf-hero h1{
  font-size:clamp(2.4rem,5vw,4.6rem);
  line-height:1.02;
  margin:.2rem 0 1rem;
}

.phf-lead{
  font-size:1.08rem;
  max-width:64ch;
  color:var(--phf-text-muted);
}

.phf-actions,
.phf-footer-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.phf-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.phf-card,
.phf-article{
  background:var(--phf-card-bg);
  border:1px solid var(--phf-card-border);
  border-radius:var(--phf-card-radius);
  box-shadow:var(--phf-shadow);
  padding:24px;
}

.phf-section-light .phf-card,
.phf-section-light .phf-article,
.single .phf-article,
.page .phf-article{
  background:#fff;
  border-color:rgba(12,35,64,.10);
}

.phf-card:hover{
  transform:translateY(-4px);
}

.phf-front-page-content{
  padding-top:calc(var(--phf-section-padding) + 8px);
}

.phf-entry-title{
  margin-top:0;
  line-height:1.1;
  font-size:clamp(1.8rem,3.5vw,3rem);
  color:var(--phf-nd-blue);
}

/* =========================================================
   FOOTER
========================================================= */

.phf-site-footer{
  background:var(--phf-footer-bg);
  color:var(--phf-nd-warm-white);
  padding-top:72px;
}

.phf-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:24px;
}

.phf-footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:28px;
  padding:16px 0;
  color:rgba(255,255,255,.7);
}

.phf-review-badge iframe{
  max-width:100%;
}

/* =========================================================
   NIPW CITY PAGE SYSTEM
========================================================= */

.nipw-city-page{
  --nd-blue:#0C2340;
  --nd-gold-dome:#C99700;
  --nd-gold-metallic:#AE9142;
  --nd-green:#00843D;
  --nd-sky-blue:#C1CDDD;
  --nd-warm-white:#EFE9D9;
  --ink:#10213E;
  --surface:#132947;
  --surface-2:#173255;
  --hero-overlay:rgba(201,151,0,.18);
  --line:rgba(255,255,255,.12);
  --text-on-dark:#F8F3E8;
  --text-muted:rgba(248,243,232,.78);
  --header-text-dark:#10213E;
  --header-text-light:#F8F3E8;
  --white:#ffffff;
  --shadow:0 18px 50px rgba(7,19,41,.18);
  --radius:22px;
  color:var(--ink);
  font-family:inherit;
}

.nipw-city-page *{box-sizing:border-box;}

.nipw-city-page .nipw-container{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
}

.nipw-city-page .nipw-section{
  padding:64px 0;
}

.nipw-city-page .nipw-grid{
  display:grid;
  gap:24px;
}

.nipw-city-page .nipw-grid-2{
  grid-template-columns:1.08fr .92fr;
  align-items:center;
}

.nipw-city-page .nipw-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.nipw-city-page .nipw-card{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.nipw-city-page .nipw-dark-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--text-on-dark);
}

.nipw-city-page .nipw-light-card{
  background:#fff;
  border:1px solid rgba(16,33,62,.08);
  color:var(--ink);
}

.nipw-city-page .nipw-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text-on-dark);
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.nipw-city-page .nipw-badge::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--nd-gold-dome);
  display:inline-block;
}

.nipw-city-page h1,
.nipw-city-page h2,
.nipw-city-page h3{
  margin:0 0 14px;
  line-height:1.08;
}

.nipw-city-page h1{
  font-size:clamp(2.2rem, 4.6vw, 4.4rem);
  color:var(--header-text-light);
}

.nipw-city-page h2{
  font-size:clamp(1.7rem, 3vw, 2.5rem);
}

.nipw-city-page h3{
  font-size:1.15rem;
}

.nipw-city-page p{
  margin:0 0 16px;
  line-height:1.8;
  font-size:1rem;
}

.nipw-city-page .nipw-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(12,35,64,.98) 0%, rgba(19,41,71,.96) 58%, rgba(23,50,85,.97) 100%);
  color:var(--text-on-dark);
  padding:78px 0 62px;
}

.nipw-city-page .nipw-hero::before,
.nipw-city-page .nipw-hero::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(14px);
  pointer-events:none;
}

.nipw-city-page .nipw-hero::before{
  width:320px;
  height:320px;
  top:-120px;
  right:-80px;
  background:rgba(201,151,0,.16);
}

.nipw-city-page .nipw-hero::after{
  width:300px;
  height:300px;
  bottom:-120px;
  left:-100px;
  background:rgba(193,205,221,.08);
}

.nipw-city-page .nipw-hero-inner{
  position:relative;
  z-index:2;
}

.nipw-city-page .nipw-logo{
  max-height:64px;
  width:auto;
  margin:18px 0 18px;
  display:block;
}

.nipw-city-page .nipw-lead{
  color:rgba(248,243,232,.86);
  max-width:860px;
  font-size:1.05rem;
}

.nipw-city-page .nipw-btn-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:22px 0 24px;
}

.nipw-city-page .nipw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.nipw-city-page .nipw-btn:hover{
  transform:translateY(-2px);
}

.nipw-city-page .nipw-btn-primary{
  background:var(--nd-gold-dome);
  color:var(--ink);
  box-shadow:0 16px 34px rgba(0,0,0,.20);
}

.nipw-city-page .nipw-btn-secondary{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--white);
}

.nipw-city-page .nipw-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.nipw-city-page .nipw-stat{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
}

.nipw-city-page .nipw-stat-label{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(248,243,232,.72);
  margin-bottom:8px;
  font-weight:800;
}

.nipw-city-page .nipw-stat-text{
  font-size:1rem;
  font-weight:700;
  color:#fff;
  line-height:1.45;
}

.nipw-city-page .nipw-hero-image{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.10);
  min-height:560px;
}

.nipw-city-page .nipw-hero-image img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  display:block;
}

.nipw-city-page .nipw-hero-image-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:24px;
  background:linear-gradient(to top, rgba(12,35,64,.94), rgba(12,35,64,0));
  color:#fff;
}

.nipw-city-page .nipw-band-light{
  background:linear-gradient(180deg,#ffffff 0%, #f7f4ec 100%);
}

.nipw-city-page .nipw-band-warm{
  background:var(--nd-warm-white);
}

.nipw-city-page .nipw-band-dark{
  background:var(--nd-blue);
  color:var(--text-on-dark);
}

.nipw-city-page .nipw-content-card{
  padding:28px;
  height:100%;
}

.nipw-city-page .nipw-mini-box{
  padding:16px 18px;
  border-radius:16px;
  background:#f7f4ec;
  border:1px solid rgba(16,33,62,.08);
}

.nipw-city-page .nipw-mini-box strong{
  display:block;
  margin-bottom:6px;
  color:var(--ink);
}

.nipw-city-page .nipw-image-panel{
  background:var(--ink);
  color:var(--text-on-dark);
}

.nipw-city-page .nipw-image-panel img{
  width:100%;
  height:300px;
  object-fit:cover;
  display:block;
}

.nipw-city-page .nipw-image-panel .nipw-content-card{
  padding:24px 26px 28px;
}

.nipw-city-page .nipw-center{
  text-align:center;
}

.nipw-city-page .nipw-feature{
  padding:24px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(16,33,62,.08);
  box-shadow:0 18px 50px rgba(7,19,41,.08);
}

.nipw-city-page .nipw-split-proof{
  background:var(--ink);
  color:var(--text-on-dark);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.16);
}

.nipw-city-page .nipw-split-proof-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}

.nipw-city-page .nipw-split-proof img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  display:block;
}

.nipw-city-page .nipw-service-links{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.nipw-city-page .nipw-service-links a{
  display:block;
  padding:15px 18px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  transition:transform .2s ease, background .2s ease;
}

.nipw-city-page .nipw-service-links a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.10);
}

.nipw-city-page .nipw-map{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(16,33,62,.08);
  box-shadow:0 18px 50px rgba(7,19,41,.12);
  min-height:430px;
}

.nipw-city-page .nipw-map iframe{
  width:100%;
  height:100%;
  min-height:430px;
  border:0;
  display:block;
}

.nipw-city-page .nipw-cta-wrap{
  border-radius:24px;
  padding:30px;
  background:linear-gradient(135deg, rgba(201,151,0,.16), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow);
}

.nipw-city-page .nipw-cta-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:center;
}

.nipw-city-page .nipw-stack-btns{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.nipw-city-page .nipw-stack-btns .nipw-btn{
  width:100%;
}

@media (max-width: 1080px){
  .nipw-city-page .nipw-grid-2,
  .nipw-city-page .nipw-cta-grid{
    grid-template-columns:1fr;
  }

  .nipw-city-page .nipw-hero-image,
  .nipw-city-page .nipw-hero-image img{
    min-height:420px;
  }

  .nipw-city-page .nipw-grid-3{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 767px){
  .nipw-city-page .nipw-section{
    padding:42px 0;
  }

  .nipw-city-page .nipw-hero{
    padding:58px 0 44px;
  }

  .nipw-city-page .nipw-container{
    width:min(1200px, calc(100% - 24px));
  }

  .nipw-city-page .nipw-stat-grid,
  .nipw-city-page .nipw-grid-3,
  .nipw-city-page .nipw-split-proof-grid{
    grid-template-columns:1fr;
  }

  .nipw-city-page .nipw-content-card{
    padding:22px 18px;
  }

  .nipw-city-page .nipw-feature{
    padding:20px 18px;
  }

  .nipw-city-page .nipw-hero-image,
  .nipw-city-page .nipw-hero-image img{
    min-height:320px;
  }

  .nipw-city-page .nipw-split-proof img{
    min-height:240px;
  }

  .nipw-city-page .nipw-map,
  .nipw-city-page .nipw-map iframe{
    min-height:300px;
  }

  .nipw-city-page .nipw-btn{
    width:100%;
  }

  .nipw-city-page .nipw-btn-row{
    flex-direction:column;
    align-items:stretch;
  }

  .nipw-city-page .nipw-cta-wrap{
    padding:22px 18px;
  }
}

