@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root{
  --ink:#173042;
  --muted:#60707a;
  --cream:#f7f5ef;
  --paper:#fffdfa;
  --sky:#e8f1f2;
  --accent:#b69057;
  --line:#dfe5e3;
  --dark:#11242f;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'DM Sans',sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.65;
}

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

.container{
  width:min(1160px,92%);
  margin:auto;
}


/* =========================
   NAVIGATION
========================= */

.nav{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,253,250,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(23,48,66,.08);
}

.navin{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo{
  font-weight:700;
  letter-spacing:-.8px;
  font-size:24px;
}

.logo span{
  color:var(--accent);
}

.links{
  display:flex;
  gap:24px;
  font-size:14px;
}

.links a{
  transition:.2s ease;
}

.links a:hover{
  color:var(--accent);
}

.menu{
  display:none;
  background:none;
  border:0;
  font-size:24px;
}


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

.btn{
  display:inline-block;
  background:var(--ink);
  color:#fff;
  padding:13px 21px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  transition:.25s ease;
}

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

.btn.light{
  background:#fff;
  color:var(--ink);
}

.btn.gold{
  background:var(--accent);
  color:#fff;
}


/* =========================
   HERO
========================= */

.hero{
  min-height:calc(100vh - 78px);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:var(--cream);
}

.hero-copy{
  padding:clamp(70px,9vw,135px) max(4vw,40px);
  display:flex;
  justify-content:center;
  flex-direction:column;
}

.eyebrow{
  font-size:11px;
  letter-spacing:2px;
  font-weight:700;
  color:var(--accent);
  text-transform:uppercase;
}

.hero h1,
.display{
  font-family:'Playfair Display',serif;
  line-height:1.06;
  font-size:clamp(46px,6vw,82px);
  letter-spacing:-2px;
  margin:18px 0 22px;
  max-width:850px;
}

.hero h1 strong{
  font-weight:700;
}

.hero p{
  max-width:600px;
  color:var(--muted);
  font-size:18px;
}

.hero-img{
  min-height:580px;
  background:
    linear-gradient(
      180deg,
      rgba(17,36,47,.08),
      rgba(17,36,47,.38)
    ),
    url('hero section.jpg')
    center/cover;
}


/* =========================
   GENERAL SECTIONS
========================= */

.section{
  padding:95px 0;
}

.section.alt{
  background:var(--sky);
}

.section.dark{
  background:var(--dark);
  color:#edf3f1;
}

.section h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(36px,5vw,62px);
  line-height:1.12;
  letter-spacing:-1px;
  margin:10px 0 20px;
  max-width:850px;
}

.section.dark h2{
  color:#fff;
}

.kicker{
  color:var(--accent);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:700;
}

.lead{
  font-size:18px;
  color:var(--muted);
  max-width:720px;
}

.section.dark .lead{
  color:#b9c8c9;
}

.center{
  text-align:center;
}

.center .lead{
  margin-left:auto;
  margin-right:auto;
}


/* =========================
   STORY SECTIONS
========================= */

.story{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:65px;
  align-items:center;
}

.story-img{
  height:540px;
  background:center/cover;
  border-radius:3px;
}


/* =========================
   STORY QUOTE
========================= */

.quote{
  font-family:'Playfair Display',serif;
  font-size:clamp(36px,5vw,70px);
  line-height:1.15;
  max-width:950px;
}


/* =========================
   PHOTO BAND
========================= */

.photo-band{
  padding:0;
  background:var(--paper);
}

.photo-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:12px;
  min-height:480px;
}

.photo-grid .photo{
  min-height:250px;
  background:center/cover;
  position:relative;
}

.photo-grid .photo:first-child{
  grid-row:span 2;
}

.photo-grid .photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    transparent 50%,
    rgba(10,25,34,.38)
  );
}

.photo-caption{
  position:absolute;
  z-index:1;
  left:22px;
  bottom:18px;
  color:#fff;
  font-family:'Playfair Display',serif;
  font-size:21px;
  line-height:1.15;
  max-width:250px;
}


/* =========================
   DIGITAL GAP
========================= */

.gap{
  display:grid;
  grid-template-columns:1fr 70px 1fr;
  align-items:stretch;
  margin-top:45px;
}

.gap>div{
  padding:32px;
  border:1px solid var(--line);
}

.gap h3{
  font-size:14px;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.gap ul{
  padding-left:18px;
  color:var(--muted);
}

.vs{
  display:grid;
  place-items:center;
  background:var(--ink);
  color:#fff;
  font-family:'Playfair Display',serif;
  font-size:23px;
}


/* =========================
   REVEAL / QUOTE SECTION
========================= */

.reveal{
  text-align:center;
  padding:120px 0;
}

.reveal p{
  font-family:'Playfair Display',serif;
  font-size:clamp(36px,5vw,68px);
  line-height:1.18;
  margin:0 auto;
  max-width:980px;
}


/* =========================
   BRANDIVA SYSTEM
========================= */

.services{
  border-top:1px solid rgba(23,48,66,.15);
  margin-top:45px;
}

.service{
  display:grid;
  grid-template-columns:70px 1fr 1.4fr;
  gap:25px;
  padding:30px 0;
  border-bottom:1px solid rgba(23,48,66,.15);
  align-items:start;
}

.num{
  color:var(--accent);
  font-weight:700;
}

.service h3{
  margin:0;
  font-size:24px;
}

.service p{
  margin:0;
  color:var(--muted);
}


/* =========================
   CARDS
========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:40px;
}

.card{
  background:#fff;
  padding:28px;
  border:1px solid var(--line);
}

.card h3{
  margin-top:0;
  margin-bottom:10px;
}

.card p{
  color:var(--muted);
  margin-bottom:0;
}

.section.dark .card{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.12);
}

.section.dark .card p{
  color:#b9c8c9;
}


/* =========================
   CTA
========================= */

.cta{
  padding:110px 0;
  background:
    linear-gradient(
      rgba(17,36,47,.58),
      rgba(17,36,47,.72)
    ),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=85')
    center/cover;
  color:white;
}

.cta h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(40px,5vw,66px);
  line-height:1.1;
  max-width:850px;
  margin:10px 0 20px;
  color:#fff;
}

.cta p{
  color:#edf3f1;
}


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

.footer{
  background:#0e1e27;
  color:#cbd6d7;
  padding:60px 0 30px;
}

.footgrid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:40px;
}

.footer a{
  display:block;
  margin:7px 0;
}

.footer .logo{
  display:inline-block;
  margin-bottom:8px;
}

.small{
  font-size:13px;
  color:#7f9297;
}


/* =========================
   OTHER EXISTING PAGES
========================= */

.pagehero{
  padding:110px 0 80px;
  background:var(--cream);
}

.pagehero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(48px,7vw,88px);
  line-height:1.05;
  max-width:900px;
  margin:15px 0;
}

.seo p{
  color:var(--muted);
}

.faq{
  border-top:1px solid var(--line);
}

.faq details{
  padding:20px 0;
  border-bottom:1px solid var(--line);
}

.faq summary{
  cursor:pointer;
  font-weight:700;
}

.contactbox{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  background:var(--sky);
  padding:45px;
}

.form input,
.form textarea,
.form select{
  width:100%;
  padding:14px;
  margin:7px 0 14px;
  border:1px solid #ccd7d7;
  background:#fff;
  font:inherit;
}

.badge{
  display:inline-block;
  padding:7px 11px;
  border:1px solid var(--line);
  font-size:12px;
  border-radius:99px;
  margin:5px;
}

.note{
  padding:16px 18px;
  background:#fff6df;
  border-left:3px solid var(--accent);
  font-size:14px;
}


/* =========================
   VISUAL PAGE HEROES
========================= */

.pagehero.visual{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:#fff;
  background:#173042 center/cover no-repeat;
}

.pagehero.visual:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(10,25,34,.88),
      rgba(10,25,34,.42),
      rgba(10,25,34,.18)
    );
}

.pagehero.visual .container{
  position:relative;
  z-index:1;
  padding-bottom:70px;
}

.pagehero.visual .lead{
  color:#e4eceb;
}

.pagehero.visual .eyebrow{
  color:#ead5ad;
}

.school-hero{
  background-image:url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=90');
}

.services-hero{
  background-image:url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=90');
}

.work-hero{
  background-image:url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=90');
}

.about-hero{
  background-image:url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=90');
}

.contact-hero{
  background-image:url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=90');
}


/* =========================
   OTHER VISUAL COMPONENTS
========================= */

.visual-split{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  min-height:680px;
}

.visual-split .visual-image{
  background:center/cover;
}

.visual-split .visual-copy{
  padding:clamp(55px,8vw,120px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#edf4f3;
}

.device-visual{
  margin-top:50px;
  min-height:420px;
  background:
    linear-gradient(
      120deg,
      rgba(17,36,47,.18),
      rgba(17,36,47,.05)
    ),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=90')
    center/cover;
  border-radius:3px;
  position:relative;
}

.device-visual:after{
  content:'A digital presence should feel as real as the institution behind it.';
  position:absolute;
  left:28px;
  bottom:28px;
  max-width:430px;
  color:#fff;
  font-family:'Playfair Display',serif;
  font-size:clamp(28px,4vw,48px);
  line-height:1.08;
}

.image-card{
  min-height:360px;
  background:center/cover;
  margin-top:30px;
}

.phone{
  background:#fff;
  border:10px solid #152c38;
  border-radius:32px;
  width:270px;
  height:500px;
  margin:auto;
  padding:16px;
  box-shadow:0 25px 70px rgba(17,36,47,.2);
}

.phone-screen{
  height:100%;
  border-radius:18px;
  background:linear-gradient(180deg,#eef4f2,#fff);
  padding:20px;
}


/* =========================
   CLIENT PAYMENT
========================= */

.client-payment{
  padding:55px 0;
  background:var(--cream);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.client-payment .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.client-payment h3{
  margin:0 0 5px;
  font-family:'Playfair Display',serif;
  font-size:28px;
}

.client-payment p{
  margin:0;
  color:var(--muted);
}


/* =========================
   MOBILE
========================= */
@media(max-width:800px){
.nav .links.open{
  display:flex;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  flex-direction:column;
  gap:0;
  background:var(--paper);
  padding:20px;
  border-top:1px solid var(--line);
  box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.nav .links.open a{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

  .links{
    display:none;
  }

  .menu{
    display:block;
  }

  .navin{
    height:68px;
  }

  .hero{
    min-height:auto;
    grid-template-columns:1fr;
  }

  .hero-copy{
    padding:70px 7%;
  }

  .hero h1{
    font-size:clamp(43px,12vw,62px);
    letter-spacing:-1.5px;
  }

  .hero p{
    font-size:16px;
  }

  .hero-img{
    min-height:400px;
  }

  .section{
    padding:70px 0;
  }

  .section h2{
    font-size:clamp(36px,10vw,52px);
  }

  .story{
    grid-template-columns:1fr;
    gap:35px;
  }

  .story-img{
    height:380px;
  }

  .story .story-img{
    order:2;
  }

  .photo-grid{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .photo-grid .photo:first-child{
    grid-row:auto;
    min-height:400px;
  }

  .photo-grid .photo{
    min-height:280px;
  }

  .gap{
    grid-template-columns:1fr;
    gap:0;
  }

  .gap>div{
    padding:27px;
  }

  .vs{
    min-height:55px;
  }

  .reveal{
    padding:90px 0;
  }

  .reveal p{
    font-size:clamp(35px,10vw,52px);
  }

  .services{
    margin-top:35px;
  }

  .service{
    grid-template-columns:45px 1fr;
    gap:15px;
    padding:27px 0;
  }

  .service p{
    grid-column:2;
  }

  .service h3{
    font-size:22px;
  }

  .grid{
    grid-template-columns:1fr;
    gap:15px;
    margin-top:30px;
  }

  .card{
    padding:25px;
  }

  .cta{
    padding:90px 0;
  }

  .cta h2{
    font-size:clamp(40px,10vw,55px);
  }

  .footgrid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer{
    padding:50px 0 25px;
  }

  .pagehero{
    padding:80px 0 60px;
  }

  .pagehero.visual{
    min-height:500px;
  }

  .pagehero.visual .container{
    padding-bottom:55px;
  }

  .visual-split{
    grid-template-columns:1fr;
  }

  .visual-split .visual-image{
    min-height:420px;
  }

  .contactbox{
    grid-template-columns:1fr;
    padding:30px;
  }

  .client-payment .container{
    flex-direction:column;
    align-items:flex-start;
  }

}
/* DESKTOP HERO FIX */
@media (min-width: 801px){

  .hero{
    display:grid;
    grid-template-columns: 50% 50%;
    width:100%;
    max-width:none;
    padding:0;
    margin:0;
    min-height:calc(100vh - 80px);
  }

  .hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:80px 7vw;
  }

  .hero-img{
    display:block;
    width:100%;
    min-height:calc(100vh - 80px);

    background-image:url("hero%20section.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
  }

}
