/* Nav link styling */
.navbar .dropmenu a {
  color: #000000 !important;
  text-decoration: none;
}

.navbar .dropmenu a:hover {
  text-decoration: underline;
}

body, body * {
  font-family: "Garamond", serif !important;
  font-variant: normal !important;
  text-transform: none !important;
  color: #000000 !important;
  line-height: 1.2 !important;
}


/* Mobile: keep desktop menu visible */
@media (max-width: 768px) {
  .navbar-section.desktop-menu {
    display: flex !important;
    justify-content: flex-end;
    width: 100%;
  }

  .navbar .dropmenu {
    display: block !important;
  }

  .navbar .dropmenu > ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
  }

  .navbar .dropmenu > ul > li {
    margin: 0;
    padding: 0;
  }

  .navbar .dropmenu a {
    font-size: 15px;
    white-space: nowrap;
  }
}

/* Desktop: pull header content inward */
@media (min-width: 841px) {
  #header .container.grid-lg {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Header layout stability */
#header .navbar {
  min-height: 72px;
  align-items: center;
}

/* Prevent logo distortion */
#header .navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}

#header {
  height: 72px;
}

#header .container {
  height: 72px;
}

#header .navbar {
  height: 72px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

#header .navbar-section.logo,
#header .navbar-section.desktop-menu {
  display: flex;
  align-items: center;
}


html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove extra top space from Grav wrapper */
#body-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
section#body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}


/* Centered column */
.landing-wrap {
  max-width: 600px;
  margin: 12px auto 32px auto;
  padding: 0 16px;
}

/* Visual */
.landing-wrap img {
  display: block;
  margin: 8px auto;
  max-width: 420px;
  height: auto;
}

/* Core text blocks */
.landing-wrap p.under {
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  max-width: 520px;
  margin: 12px auto;
}

.landing-wrap p.intro-top {
  margin-top: 24px; /* was 0 */
  margin-bottom: 10px;
  font-size: 19px;
}


/* Under visual */
.landing-wrap p.under-main {
  margin-top: 14px;
  margin-bottom: 10px;
}

/* Forwarding line */
.landing-wrap p.forward-line {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  max-width: 520px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* Form */
.landing-wrap form {
  max-width: 520px;
  margin: 10px auto 0 auto;
}

.landing-wrap label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.landing-wrap input,
.landing-wrap select {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #000;
  padding: 6px 8px;
  background: #fff;
  margin-bottom: 14px;
}

/* Button */
.landing-wrap button {
  width: 100%;
  border: none;
  background: #000;
  color: #fff !important;
  padding: 9px 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin: 6px 0;
}

.landing-wrap button:hover {
  opacity: 0.85;
}

/* MOBILE */
@media (max-width: 600px) {
  .landing-wrap {
    margin: 8px auto 28px auto;
    padding: 0 12px;
  }

  .landing-wrap img {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .landing-wrap p.under {
    font-size: 17px;
  }
}


    /* Mobile menu: restyle ul.tree so it looks like a clean white bar */


/* Main column */
.about-wrapper {
  max-width: 600px;
  margin: -16px auto 40px auto; /* reduced top space */
  padding: 0 16px;
}

/* Top area */
.about-top {
  margin-bottom: 24px;
}

/* Row with photo left and links right */
.about-top-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

/* Photo 30 percent smaller (180 -> 126) */
.about-photo img {
  display: block;
  max-width: 126px;
  height: auto;
}

/* Right column: name and links */
.about-links {
  font-size: 17px;
  text-align: left;
}

/* Name line above links, same size as text */
.about-name {
  margin-bottom: 4px;
}

/* Links */
.about-links p {
  margin: 2px 0;
}

.about-links p::before {
  content: "→ ";
  font-weight: 600;
}

.about-links a {
  text-decoration: none;
  color: #000000;
}

.about-links a:hover {
  text-decoration: underline;
}

/* Main content */
.about-main {
  font-size: 17px;
  text-align: left;
}

/* Inline logo, reduced */
.about-logo-inline img {
  display: block;
  margin: 10px auto 18px auto;
  max-width: 146px;
  height: auto;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .about-wrapper {
    margin-top: -8px;
  }

  .about-links {
    font-size: 16px;
  }

  .about-main {
    font-size: 16px;
  }
}

.landing-wrap {
  margin-top: 0 !important;
}
#start {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#body-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.landing-wrap {
  margin-top: -16px !important;
}

.landing-wrap p.intro-top {
  margin-top: 0 !important;
}

.about-name {
  font-weight: 700;
}

/* Home: make base text normal, keep selective bold via strong */
.landing-wrap p.under {
  font-weight: 400 !important;
}

.landing-wrap p.under strong {
  font-weight: 700 !important;
}

/* About: align with Home typography and measure */
.about-wrapper .about-main {
  font-size: 18px !important;
}

.about-wrapper .about-main p {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* About top: align measure with About main */
.about-wrapper .about-top {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.about-wrapper .about-top {
  font-size: 18px !important;
}

.about-wrapper .about-separator {
  border: none;
  border-top: 1px solid #000;
  max-width: 520px;
  margin: 32px auto;
}
