/* Griggs Enterprises holding page, v8. Plain CSS: no scripts or trackers; fonts are self-hosted. */
/* Self-hosted fonts, SIL Open Font License 1.1 (see fonts/OFL-*.txt). No external requests. */
@font-face { font-family: "Michroma"; src: url("fonts/Michroma-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira Semi Condensed"; src: url("fonts/SairaSemiCondensed-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira Semi Condensed"; src: url("fonts/SairaSemiCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --ink: #0A0A0B;
  --graphite: #2A2C30;
  --sheen: #6E737B;
  --metal: linear-gradient(110deg, #0A0A0B 0%, #1C1D21 38%, #3A3E45 45%, #B4BAC3 48.6%, #F6F8FB 50%, #B4BAC3 51.4%, #3A3E45 55%, #1C1D21 62%, #0A0A0B 100%);
  --muted: #34373C;
  --sans: "Saira Semi Condensed", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Michroma", "Saira Semi Condensed", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: #FFFFFF; }
body {
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.page {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(4.25rem, 9vh, 5.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 5vh, 3rem);
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero { text-align: center; margin-top: auto; }
.mark {
  width: clamp(209px, 18vw, 232px);
  aspect-ratio: 1 / 1;
  margin: 0 auto clamp(1.75rem, 4.5vh, 2.75rem);
  background: var(--metal);
  background-size: 400% 100%;
  background-position: 100% 0;
  -webkit-mask: url("logo.svg") center / contain no-repeat;
          mask: url("logo.svg") center / contain no-repeat;
  animation: sheen 4.5s ease-in-out infinite;
}
.name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 4.6vw, 3.2rem);
  letter-spacing: 0.12em;
  margin-right: -0.12em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink); /* v7: solid single color, no streak on the name */
}
.line {
  margin: clamp(0.75rem, 2vh, 1.1rem) auto 0;
  max-width: 40rem;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
}
@keyframes sheen {
  0%, 12%   { background-position: 100% 0; }
  58%, 100% { background-position: 0% 0; }
}

/* Link row: centered under the hero; hero + row are centered together vertically */
.links { margin-bottom: auto; padding-top: clamp(2rem, 5vh, 3rem); }
.row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ghost:hover, .ghost:focus-visible { background: var(--ink); color: #FFFFFF; transform: translateY(-1px); }

/* Menu: hamburger (top left) + left slide-out drawer */
.menu-btn {
  position: fixed; z-index: 20;
  top: clamp(0.85rem, 2.2vw, 1.5rem); left: clamp(0.85rem, 2.2vw, 1.5rem);
  width: 44px; height: 44px; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  transition: background 0.2s ease;
}
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 1px; }
.menu-btn:hover { background: #F2F3F5; }
.backdrop {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(10, 10, 11, 0.12);
  opacity: 0; transition: opacity 0.28s ease;
}
.backdrop.show { opacity: 1; }
.drawer {
  position: fixed; z-index: 40; top: 0; bottom: 0; left: 0;
  width: min(20rem, 84vw);
  padding: 5.25rem 2rem 2rem;
  box-sizing: border-box;
  background: #FFFFFF;
  border-right: 1px solid #E6E7EA;
  box-shadow: 14px 0 36px -18px rgba(10, 10, 11, 0.28);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.28s ease, visibility 0s; }
.drawer-close {
  position: absolute;
  top: clamp(0.85rem, 2.2vw, 1.5rem); left: clamp(0.85rem, 2.2vw, 1.5rem);
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
}
.drawer-close::before, .drawer-close::after {
  content: ""; position: absolute; left: 11px; top: 21px;
  width: 22px; height: 1.5px; background: var(--ink); border-radius: 1px;
}
.drawer-close::before { transform: rotate(45deg); }
.drawer-close::after { transform: rotate(-45deg); }
.drawer-close:hover { background: #F2F3F5; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li + li { border-top: 1px solid #E6E7EA; }
.menu-list a {
  display: block; padding: 1rem 0;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: opacity 0.2s ease;
}
.menu-list a:hover { opacity: 0.55; }
body.menu-open { overflow: hidden; }
button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

@media (max-width: 600px) {
  .name { white-space: normal; font-size: clamp(1.3rem, 7.4vw, 2.1rem); line-height: 1.32; }
  .row { flex-wrap: nowrap; }
  .row .ghost { flex: 1 1 0; justify-content: center; padding-left: 0.75rem; padding-right: 0.75rem; }
}

@media (max-width: 370px) {
  .row { flex-direction: column; }
  .row .ghost { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mark { animation: none; background-position: 100% 0; }
  .ghost, .menu-btn, .backdrop, .drawer, .drawer.open, .menu-list a { transition: none; }
  .ghost:hover, .ghost:focus-visible { transform: none; }
}
