/* Natbuilder — alt look
   Royal blue field, yellow type, black hairlines.
   Construction-sign, not a recolored charcoal theme.
*/

:root {
  --blue: #004FB6;
  --yellow: #FFCB00;
  --black: #0a0a0a;
  --max: 68rem;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  color: var(--yellow);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff3a0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--black);
  color: var(--yellow);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  text-decoration: none;
  font-family: Oswald, Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip:focus {
  top: 0.75rem;
}

/* Header — black bar, yellow wordmark */

.site-header {
  background: var(--black);
  color: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  color: var(--yellow);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--yellow);
}

.wordmark-text {
  font-family: Oswald, Impact, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 0.15rem 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--yellow);
  text-decoration: none;
  font-family: Oswald, Impact, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff8c4;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--yellow);
  padding-bottom: 0.12rem;
}

/* Layout */

main {
  flex: 1;
}

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

.hero {
  padding: 4.25rem 0 3.25rem;
}

.hero::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 12rem;
  height: 6px;
  background: var(--black);
  margin-top: 2.25rem;
}

.eyebrow {
  font-family: Oswald, Impact, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
  margin: 0 0 1rem;
}

.hero h1,
.page-head h1,
.service-list h2,
.contact-block h2,
.work-section h2 {
  font-family: Oswald, Impact, "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1.35rem;
  max-width: 16ch;
}

.lede {
  font-size: 1.18rem;
  color: var(--yellow);
  max-width: 38rem;
  margin: 0;
  opacity: 0.95;
}

.actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  font-family: Oswald, Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border: 3px solid var(--black);
}

.btn:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--yellow);
  border-color: var(--black);
}

.btn-ghost:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

/* Band — yellow caution panel */

.band {
  background: var(--yellow);
  color: var(--black);
  border-top: 6px solid var(--black);
  border-bottom: 6px solid var(--black);
  padding: 2.25rem 0;
}

.band p {
  margin: 0;
  max-width: 42rem;
  color: var(--black);
  font-weight: 600;
}

.band a {
  color: var(--black);
  text-decoration-thickness: 2px;
}

.band a:hover {
  color: var(--blue);
}

.page-head {
  padding: 3.25rem 0 0.5rem;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.page-head p {
  margin: 0;
  max-width: 38rem;
  color: var(--yellow);
}

/* Services — ruled list, sign numbers */

.service-list {
  list-style: none;
  margin: 2.5rem 0 4rem;
  padding: 0;
  border-top: 2px solid var(--black);
}

.service-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.5rem 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 2px solid var(--black);
}

.num {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  color: var(--yellow);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  padding-top: 0.1rem;
}

.service-list h2 {
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
  letter-spacing: 0.04em;
}

.service-list p {
  margin: 0;
  color: var(--yellow);
  max-width: 40rem;
}

.note {
  margin: 0 0 4rem;
  color: var(--yellow);
  font-size: 0.98rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-block h2 {
  font-size: 1.2rem;
  margin: 0 0 0.7rem;
  letter-spacing: 0.08em;
}

.email-link {
  font-family: Oswald, Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 3px solid var(--black);
  letter-spacing: 0.04em;
}

.email-link:hover {
  color: #fff8c4;
}

.contact-block p {
  color: var(--yellow);
  margin: 0.85rem 0 0;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-family: Oswald, Impact, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
}

input,
textarea {
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--black);
  background: var(--yellow);
  border: 3px solid var(--black);
  padding: 0.7rem 0.8rem;
  width: 100%;
  border-radius: 0;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

button[type="submit"] {
  justify-self: start;
  cursor: pointer;
  font-family: inherit;
}

.form-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--yellow);
}

/* Footer */

.site-footer {
  background: var(--black);
  color: var(--yellow);
  padding: 1.6rem 0;
  margin-top: auto;
  border-top: 3px solid var(--yellow);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--yellow);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff8c4;
}

.footer-nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.footer-nav a {
  font-family: Oswald, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 700;
}

.look-link {
  font-family: "Source Sans 3", sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  font-weight: 400 !important;
  font-size: 0.78rem !important;
  opacity: 0.7;
}

.look-link:hover {
  opacity: 1;
}

@media (max-width: 560px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    min-height: 0;
  }

  .hero {
    padding: 2.75rem 0 2.25rem;
  }

  .service-list li {
    grid-template-columns: 2.4rem 1fr;
  }
}

/* Work gallery */

.work-section {
  padding: 2.5rem 0 3.5rem;
}

.work-section h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
}

.work-year {
  margin: 0 0 1.15rem;
  color: var(--yellow);
  font-family: Oswald, Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.55rem;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black);
  border: 3px solid var(--black);
  text-decoration: none;
}

.gallery-grid a:hover {
  border-color: var(--yellow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.45rem;
  }
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  padding: 1.75rem 0 1.5rem;
  margin: 0 0 0.5rem;
  border-bottom: 3px solid var(--black);
}

.jump-nav a {
  color: var(--yellow);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: Oswald, Impact, sans-serif;
}

.jump-nav a:hover {
  color: #fff3a0;
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.75rem 4.25rem 0.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: min(100%, 72rem);
  max-height: 100%;
  min-width: 0;
}

.lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 7.25rem);
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-caption {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0.15rem 1rem;
  color: var(--yellow);
  font-family: Oswald, Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.lightbox-loc {
  color: var(--yellow);
  font-weight: 700;
}

.lightbox-count {
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0.9;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  border: 3px solid var(--yellow);
  background: var(--black);
  color: var(--yellow);
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Oswald, Impact, sans-serif;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--yellow);
  color: var(--black);
}

.lightbox-close {
  top: 0.6rem;
  right: 0.6rem;
  font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0.45rem;
}

.lightbox-next {
  right: 0.45rem;
}

@media (max-width: 560px) {
  .lightbox {
    padding: 4rem 0.5rem 0.25rem;
  }

  .lightbox-prev,
  .lightbox-next,
  .lightbox-close {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
  }

  .lightbox-img {
    max-height: calc(100dvh - 8rem);
  }

  .lightbox-caption {
    padding: 0.55rem 3.4rem 1.1rem;
    font-size: 0.85rem;
  }
}
