:root{
  /* Brand */
  --navy:#13344C;       /* Elephant */
  --blue:#005792;       /* Bahama Blue */
  --offwhite:#F6F6E9;   /* Ecru White */
  --orange:#FD5F00;     /* Blaze Orange */
  --grey:#7F7F7F;       /* Medium Grey */
  --yellow:#FFCC00;     /* Yellow */

  /* Site tokens */
  --bg: var(--navy);             /* hero background */
  --text: var(--navy);           /* default text */
  --muted: var(--grey);          /* muted text */
  --card:#ffffff;                /* card background */
  --alt: var(--offwhite);        /* alternate section background */
  --accent: var(--orange);       /* primary buttons/links */
  --border: rgba(19,52,76,0.18); /* subtle navy border */
  --max: 1000px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  line-height:1.5;
  background:#fff;
}

.container{
  max-width: var(--max);
  padding: 0 20px;
  margin: 0 auto;
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  background: rgba(246,246,233,0.92); /* offwhite */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 20px;
}

/* LOGO */
.logo{
  display: flex;
  align-items: center;
}

.logo-frame{
  height: 52px;        /* visible height in nav */
  width: 220px;        /* forces horizontal crop */
  margin-top: 2px;
  overflow: hidden;
}

.logo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* crops square into wide */
  object-position: center; /* center the real logo */
  display: block;
}



/* LINKS */
.links a{
  margin-left: 14px;
  text-decoration:none;
  color: var(--text);
}

.links a:hover{
  color: var(--blue);
  text-decoration: underline;
}

/* BUTTONS */
.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  text-decoration:none;
  border: none;
  cursor:pointer;
  font-weight:600;
}

.btn:hover{
  filter: brightness(0.95);
}

.btn:active{
  transform: translateY(1px);
}

/* HERO */
.hero{
  background: var(--bg);
  color:#fff;
  padding: 70px 0;
}

.hero h1{
  margin: 0 0 12px 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
}

.hero p{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  font-size: 18px;
}

.cta{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

/* Hero secondary link */
.link{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,204,0,0.6);
  padding-bottom: 2px;
}

.link:hover{
  border-bottom-color: rgba(255,204,0,1);
}

/* SECTIONS */
.section{padding: 48px 0;}
.section.alt{background: var(--alt);}

h2{margin: 0 0 16px 0; font-size: 28px;}
h3{margin: 0 0 8px 0;}

/* GRID + CARDS */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

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

/* FORM */
.form{
  display:grid;
  gap: 12px;
  max-width: 560px;
}

label{
  display:grid;
  gap:6px;
  font-weight:600;
}

input, textarea{
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.small{
  color:var(--muted);
  font-size: 13px;
  margin: 6px 0 0 0;
}

/* FOOTER */
.footer{
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 720px){
  .grid{grid-template-columns: 1fr;}
  .links{display:none;}
  .logo img{height: 44px;}
}
