:root {
  --bg: #000000;
  --text: #FFFFFF;
  --accent: #FFD700;
}

/* Base */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: sans-serif;
}

.top-line {
  width: 100%;
  border-top: 1px solid var(--text);
}

/* Header */
header {
  display: flex;
  justify-content: flex-start; /* instead of space-between */
  align-items: center;
  gap: 1rem;
  padding: 12px 16px;
}

.pencil-note {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 12px;
  color: #FFD700; /* gold tone */
  opacity: 0.9;
  margin-right: 0.75rem; /* lock spacing between pencil-note and compass */
}

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

/* Compass button */
.compass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  text-decoration: none;
  font-size: 18px;
  transform: rotate(-20deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
  margin-left: 0; /* prevent extra drift */
}

.compass:hover {
  transform: rotate(0deg);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Hero block */
.hero {
  display: flex;
  min-height: 80vh;
}

.hero-wrap {
  display: flex;
  flex: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw;
}

.hero-headline {
  font-family: "Great Vibes", "Playfair Display", serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 400;
}

.headline-top {
  display: block;
  font-size: 0.8em;
  font-family: "Courier New", monospace;
  color: var(--text);
}

.hero-headline .headline-bottom {
  display: block;
  font-family: 'Satisfy', cursive;
  font-size: clamp(66px, 25vw, 75px); /* doubled */
  font-weight: bold; /* fixed */
  color: var(--text);
}

.hero-copy {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text);
}

.hero-banner {
  flex: 1;
  position: relative;
}

/* Desktop palette (div background version) */
.palette {
  position: absolute;
  inset: 0;
  background: url('arch-image.jpg') center/cover no-repeat;
  clip-path: path("M 62% 15% C 75% 20%, 87% 30%, 92% 44% C 97% 58%, 93% 73%, 82% 83% C 72% 92%, 58% 96%, 44% 94% C 34% 93%, 25% 89%, 17% 82% C 9% 74%, 5% 63%, 6% 52% C 7% 41%, 14% 31%, 25% 25% C 36% 19%, 50% 16%, 62% 15% Z M 34% 50% C 34% 44%, 39% 39%, 45% 39% C 51% 39%, 56% 44%, 56% 50% C 56% 56%, 51% 61%, 45% 61% C 39% 61%, 34% 56%, 34% 50% Z");
  -webkit-clip-path: path("M 62% 15% C 75% 20%, 87% 30%, 92% 44% C 97% 58%, 93% 73%, 82% 83% C 72% 92%, 58% 96%, 44% 94% C 34% 93%, 25% 89%, 17% 82% C 9% 74%, 5% 63%, 6% 52% C 7% 41%, 14% 31%, 25% 25% C 36% 19%, 50% 16%, 62% 15% Z M 34% 50% C 34% 44%, 39% 39%, 45% 39% C 51% 39%, 56% 44%, 56% 50% C 56% 56%, 51% 61%, 45% 61% C 39% 61%, 34% 56%, 34% 50% Z");
}

/* Tablet breakpoint */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }
}

/* Mobile breakpoint — consolidated and corrected */
@media (max-width: 600px) {
  .hero-wrap {
    display: flex;
    flex-direction: column;   /* stack content and banner vertically */
    align-items: center;      /* center them horizontally */
    text-align: center;
    overflow-x: hidden;       /* prevent sideways scrolling */
  }

  .hero-content {
    width: 100%;
    margin-bottom: 1rem;      /* space before palette */
  }

  .hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 320px;
    position: relative;
  }

  /* Mobile image version — applies silhouette path to the <img> */
  .palette-image {
    display: block;
    max-width: 80vw;          /* scale image to viewport */
    height: auto;
    margin: 0 auto;
    z-index: 5;

    /* Painter’s palette silhouette (same as desktop) */
    clip-path: path("M 62% 15% C 75% 20%, 87% 30%, 92% 44% C 97% 58%, 93% 73%, 82% 83% C 72% 92%, 58% 96%, 44% 94% C 34% 93%, 25% 89%, 17% 82% C 9% 74%, 5% 63%, 6% 52% C 7% 41%, 14% 31%, 25% 25% C 36% 19%, 50% 16%, 62% 15% Z M 34% 50% C 34% 44%, 39% 39%, 45% 39% C 51% 39%, 56% 44%, 56% 50% C 56% 56%, 51% 61%, 45% 61% C 39% 61%, 34% 56%, 34% 50% Z");
    -webkit-clip-path: path("M 62% 15% C 75% 20%, 87% 30%, 92% 44% C 97% 58%, 93% 73%, 82% 83% C 72% 92%, 58% 96%, 44% 94% C 34% 93%, 25% 89%, 17% 82% C 9% 74%, 5% 63%, 6% 52% C 7% 41%, 14% 31%, 25% 25% C 36% 19%, 50% 16%, 62% 15% Z M 34% 50% C 34% 44%, 39% 39%, 45% 39% C 51% 39%, 56% 44%, 56% 50% C 56% 56%, 51% 61%, 45% 61% C 39% 61%, 34% 56%, 34% 50% Z");
  }

  /* Optional: slightly scale headline for balance on mobile */
  .hero-headline .headline-bottom {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1.05;
  }
}

/* Drawer menu */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  transition: right 0.3s ease;
  padding: 20px;
  z-index: 1000;
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer ul {
  list-style: none;
  padding: 0;
}

.nav-drawer a {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 8px 0;
}

.submenu {
  display: none;
  margin-left: 20px;
}

.submenu-toggle.active + .submenu {
  display: block;
}

.back-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
}

/* Links reset */
a {
  color: #fff;              /* default link color on dark background */
  text-decoration: none;    /* remove underline */
}

a:visited {
  color: #fff;              /* keep visited links same as default */
}

a:hover {
  color: #FFD700;           /* gold on hover */
}

a:active {
  color: #FFA500;           /* orange-gold when clicked */
}
.nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav .divider {
  border-left: 2px solid gold; /* matches your compass theme */
  height: 20px;
  margin: auto 0;
}
/* Default nav styling (desktop) */
.nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Center nav items on mobile */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;   /* stack buttons vertically */
    align-items: center;      /* center them horizontally */
    gap: 0.75rem;             /* adjust spacing for mobile */
  }

  .nav ul li {
    text-align: center;
  }
}
/* Desktop compass styling */
.compass {
  color: white;
  border: 2px solid gold;
  padding: 0.5rem;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Mobile overrides */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .nav ul li:first-child {
    margin-bottom: 0.75rem; /* breathing room below crescent */
  }

  .compass {
    border-right: none; /* remove only the right edge of the outline */
  }
}
.header {
  display: flex;
  align-items: center; /* aligns all children vertically */
  gap: 1rem;            /* spacing between quote, icon, and nav */
  padding: 0.5rem 1rem;
}

.header .quote {
  font-size: 1rem;
  color: gold;
}

.header .compass {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid gold;
  padding: 0.5rem;
}

.nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center; /* ensures nav buttons align with compass */
}
