:root{
  --viridian: #007F6C;
  --gold:     #D4A72C;
  --evergreen:#014037;
  --copper:   #A56A37;
  --charcoal: #2B2B2E;
  --mist:     #F2F3F2;
  --sand:     #E6D9C4;

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif:"Playfair Display", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --maxw: 1100px;
  --pad: 18px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--mist);
}

/* ---- Sticky footer (modern, correct) ---- */

html, body {
  height: 100%;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-body main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

header.site-header{
  background: var(--evergreen);
  color: var(--mist);
}

/* ---- Sticky header ---- */
header.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

header.site-header{
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
}

header .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.mark{
  width:70px;height:90px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: var(--viridian);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight:700;
}

.mark{
  border-width: 1px;
  background: color-mix(in srgb, var(--viridian) 90%, black 10%);
}

.mark--svg svg{
  width: 54px;
  height: 80px;
  display: block;
}

/* Try to force the SVG to use the gold colour */
/*
.mark--svg svg *{
  fill: var(--gold);
  stroke: var(--gold);
}
*/
.brand .name{
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1.1;
}

.brand .tag{
  font-size: 16px;
  opacity: .85;
  color: var(--sand);
}

nav a{
  color: var(--mist);
  text-decoration:none;
  margin-left: 18px;
  font-size: 14px;
}

nav a:hover{ color: var(--gold); }

/* =========================
   NAV (desktop + mobile)
   ========================= */

/* Container positioning so dropdown can anchor correctly */
.site-header { position: sticky; top: 0; z-index: 1000; }
.site-header .inner { position: relative; } /* if you have an .inner wrapper */

/* Nav layout (desktop default) */
.site-nav{
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-list{
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;          /* kills the bullets */
}

.nav-item{ margin: 0; padding: 0; }

/* Links (desktop) */
.nav-link{
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  text-decoration: none;
  color: rgba(255,255,255,.88);   /* readable on your evergreen header */
  font-weight: 600;
}

.nav-link:hover{ color: #fff; }

/* Active state (desktop) */
.nav-link.is-active{
  color: #fff;
}

.nav-link.is-active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Hamburger button (hidden on desktop) */
.nav-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.08);
  cursor: pointer;
}

.nav-toggle__bars{
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  display: inline-block;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after{
  content:"";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-toggle__bars::before{ top: -6px; }
.nav-toggle__bars::after{ top: 6px; }

/* Utility */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 860px){

  .nav-toggle{ display: inline-flex; }

  /* hide list until opened */
  .nav-list{
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 32px));
    padding: 10px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-list.is-open{ display: flex; }

  .nav-link{
    color: var(--evergreen);       /* readable in white dropdown */
    padding: 12px 12px;
    border-radius: 12px;
  }

  .nav-link:hover{
    background: rgba(0,0,0,.04);
  }

  .nav-link.is-active{
    background: rgba(0,0,0,.06);
  }

  /* no underline in dropdown */
  .nav-link.is-active::after{ display: none; }
}

main{ padding: 28px 0 40px; }

.card{
  background:#fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  overflow:hidden;
}

.hero{
  padding: 34px;
  background: var(--viridian);
  color: var(--mist);
}

.hero h1{
  margin:0;
  font-family: var(--font-serif);
  font-size: 44px;
  line-height:1.05;
}

.hero p{
  margin: 12px 0 0;
  color: var(--sand);
  font-size: 18px;
}

.grid{
  display:grid;
  gap: 18px;
}

@media(min-width:900px){
  .grid.two{ grid-template-columns: 1fr 1fr; }
}

.section{
  padding: 22px 34px 34px;
}

.btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration:none;
  transition: .15s;
}

.btn-primary{
  background: var(--gold);
  color: var(--charcoal);
}

.btn-primary:hover{ background: var(--copper); }
.btn-secondary{
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-secondary:hover{
  background: var(--gold);
  color: var(--charcoal);
}

footer.site-footer{
  margin-top: 40px;
  background: var(--evergreen);
  color: var(--sand);
  font-size: 13px;
}

footer .foot{
  padding: 20px 0;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
