:root {
  --ink: #0e0e0e;
  --charcoal: #161616;
  --charcoal-2: #1f1f1f;
  --paper: #f4f1ec;
  --muted: #9a948c;
  --orange: #f08a18;
  --orange-deep: #d6720a;
  --maroon: #7a1518;
  --white: #ffffff;
  --line: rgba(244, 241, 236, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(240, 138, 24, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(122, 21, 24, 0.18), transparent 45%),
    var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--space);
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0.92), rgba(14, 14, 14, 0));
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.logo-mark {
  width: 2.75rem;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(244, 241, 236, 0.82);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(240, 138, 24, 0.55);
  color: var(--orange) !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--paper);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(14, 14, 14, 0.72) 12%, rgba(14, 14, 14, 0.28) 52%, rgba(122, 21, 24, 0.28) 100%),
    linear-gradient(to top, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.35) 38%, transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
}

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 5.2vw, 3.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero-lede {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(244, 241, 236, 0.82);
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  border: 1px solid rgba(244, 241, 236, 0.35);
  color: var(--paper);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(244, 241, 236, 0.06);
}

/* Sections shared */
.services,
.gallery,
.about,
.contact {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-intro {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  margin-bottom: 0.85rem;
}

.section-intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.service-list li:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.service-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.service-list p {
  color: var(--muted);
  max-width: 28rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--charcoal-2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item--wide {
  grid-column: 1 / -1;
}

.gallery-item--wide img,
.gallery-item--full img {
  aspect-ratio: 16 / 10;
}

.gallery-item--full {
  grid-column: 1 / -1;
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }

  .gallery-item--wide {
    grid-column: span 4;
  }

  .gallery-item--wide + .gallery-item {
    grid-column: span 2;
  }

  .gallery-item:nth-child(3) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 4;
  }

  .gallery-item--full {
    grid-column: 1 / -1;
  }

  .gallery-item--wide + .gallery-item img,
  .gallery-item:nth-child(3) img {
    aspect-ratio: 3 / 4;
  }
}

/* About */
.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-copy h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.1rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy p:not(.eyebrow) {
  color: rgba(244, 241, 236, 0.8);
  max-width: 36rem;
  font-size: 1.08rem;
}

.about-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding-top: 0.25rem;
}

.about-aside p {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.about-aside span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--paper);
  letter-spacing: 0.02em;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 4rem;
    align-items: end;
  }
}

/* Contact */
.contact-panel {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(145deg, rgba(240, 138, 24, 0.12), transparent 42%),
    linear-gradient(to bottom right, var(--charcoal-2), #121212);
  border-left: 4px solid var(--orange);
}

.contact-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.8rem;
}

.contact-intro p:last-child {
  color: var(--muted);
  max-width: 32rem;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.contact-details a,
.contact-details address {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.1rem;
}

.social-handle {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

@media (min-width: 800px) {
  .contact-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

/* Footer */
.site-footer {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-tag {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.88rem;
  align-self: center;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5rem var(--space) 1.5rem;
    background: rgba(14, 14, 14, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    width: auto;
    border-bottom: 1px solid rgba(240, 138, 24, 0.55) !important;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .brand-lockup,
  .hero h1,
  .hero-lede,
  .hero-actions,
  .reveal,
  .gallery-item img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
