/* One Man Stonecraft — site styles */
:root {
  --bg: #07090a;
  --bg-2: #0b0d0e;
  --bg-3: #111416;
  --bg-4: #161a1d;
  --text: #ffffff;
  --muted: #d9d9d9;
  --muted-2: rgba(255, 255, 255, 0.65);
  --line: rgba(255, 255, 255, 0.14);
  --orange: #f47a00;
  --orange-dark: #d96b00;
  --stone: #b9a78c;
  --concrete: #8a9196;
  --max: 1240px;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --radius: 0;
  --shadow: 5px 5px 0 rgba(255, 255, 255, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(244, 122, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(185, 167, 140, 0.08), transparent 50%),
    linear-gradient(180deg, #07090a 0%, #0a0c0e 40%, #07090a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  padding-bottom: 78px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 16px;
  z-index: 10000;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  width: 100%;
  background: var(--bg);
  border-bottom: 4px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  text-decoration: none;
  color: #fff;
  display: block;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-main span {
  display: block;
  color: var(--orange);
  letter-spacing: 5px;
}

.logo-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-desktop a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--orange);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-call {
  background: #fff;
  color: var(--bg);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.menu-btn {
  display: none;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
}

.mobile-menu {
  display: none;
  background: var(--bg-3);
  padding: 8px 20px 22px;
  border-top: 1px solid var(--line);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

.mobile-menu .mobile-actions a {
  border: none;
  text-align: center;
  padding: 14px 16px;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 12px;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 18px;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h3 {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 54ch;
  margin: 0 0 18px;
}

.hero-note {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 3px solid rgba(244, 122, 0, 0.45);
  box-shadow: 12px 12px 0 rgba(244, 122, 0, 0.2);
}

.hero-photo figcaption {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 700;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 20, 22, 0.85), rgba(11, 13, 14, 0.95));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
  max-width: 70ch;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-item {
  background: var(--bg-4);
  border: 1px solid var(--line);
  padding: 18px 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.trust-item span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  margin-bottom: 6px;
}

/* Featured / gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  color: inherit;
  text-align: left;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-tile {
  background: var(--bg-4);
  border: 1px solid var(--line);
  padding: 22px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-tile:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.service-tile h3 {
  color: #fff;
}

.service-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid rgba(185, 167, 140, 0.35);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.areas-list li {
  background: var(--bg-4);
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(135deg, rgba(244, 122, 0, 0.18), transparent 50%),
    var(--bg-3);
  border: 1px solid rgba(244, 122, 0, 0.35);
  padding: 36px 28px;
  text-align: center;
}

.cta-band p {
  color: var(--muted);
  max-width: 55ch;
  margin: 0 auto 22px;
}

/* Page hero small */
.page-hero {
  padding: 42px 0 24px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-2);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.prose {
  max-width: 72ch;
}

.prose p {
  color: var(--muted);
}

.prose ul {
  color: var(--muted);
  padding-left: 1.2em;
}

.faq details {
  background: var(--bg-4);
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
}

.faq p {
  color: var(--muted);
  margin: 12px 0 0;
}

/* Work feed */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

.controls input,
.controls select,
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-4);
  border: 1px solid var(--line);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
  min-height: 48px;
  width: 100%;
}

.controls input,
.controls select {
  width: auto;
  min-width: 220px;
  flex: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  background: var(--bg-4);
  border: 1px solid var(--line);
  overflow: hidden;
}

.work-card a {
  text-decoration: none;
  color: inherit;
}

.work-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.work-card-body {
  padding: 14px;
}

.tag {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.work-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

/* Contact form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-field .hint {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 600;
  text-transform: none;
}

.form-field .error {
  color: #ff8a8a;
  font-size: 13px;
  min-height: 1.2em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.ok {
  background: rgba(60, 160, 80, 0.2);
  border: 1px solid rgba(60, 160, 80, 0.5);
}

.form-status.err {
  background: rgba(180, 40, 40, 0.2);
  border: 1px solid rgba(180, 40, 40, 0.5);
}

/* Footer */
.site-footer {
  background: var(--bg-2);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.92;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-logo span {
  display: block;
  color: var(--orange);
  letter-spacing: 5px;
}

.site-footer h3 {
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 14px;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-note {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-social {
  margin-top: 4px;
}

.footer-social a {
  display: inline-block;
  margin-right: 14px;
  margin-bottom: 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-copy {
  flex: 1 1 280px;
  max-width: 70ch;
}

.footer-credit {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

.footer-credit a {
  display: inline;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: var(--orange);
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #0b0d0e;
  border-top: 3px solid var(--orange);
}

.mobile-bar a {
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-bar a:nth-child(2) {
  background: #128c7e;
}

.mobile-bar a:nth-child(3) {
  background: var(--orange);
}

@media (min-width: 901px) {
  .mobile-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: min(85vh, 900px);
  max-width: min(92vw, 1100px);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--orange);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 700;
  text-align: center;
  max-width: 90vw;
}

/* Project detail */
.project-hero img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  aspect-ratio: 1;
  border: 2px solid var(--line);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

@media (max-width: 1080px) {
  .nav-desktop,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .trust-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container,
  .site-header-inner {
    width: min(100% - 32px, var(--max));
  }

  .services-grid,
  .trust-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }
}
