@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --ink: #1a120c;
  --panel: #261910;
  --panel-raised: #312016;
  --line: rgba(246, 239, 230, 0.1);
  --line-strong: rgba(246, 239, 230, 0.2);
  --text: #f6efe6;
  --muted: #c4b09a;
  --accent: #c4a574;
  --accent-light: #e4c99a;
  --accent-dark: #8a6840;
  --amber: #e2a23a;
  --amber-light: #f0c16a;
  --sidebar-width: 18rem;
  --header-height: 4.75rem;
  --content-width: 78rem;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--ink);
  color: var(--text);
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a[hidden],
.button[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.nav-link,
.work-card span {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.lead {
  max-width: 44rem;
  color: #eadfce;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.desktop-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid var(--line);
  background: rgba(22, 14, 9, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.desktop-sidebar .brand {
  display: block;
  width: min(100%, 12.5rem);
}

.mobile-header .brand {
  width: 11.5rem;
}

.site-footer .brand {
  width: 11rem;
}

.sidebar-nav {
  display: grid;
  gap: 0.2rem;
  margin: auto 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding-left: 1rem;
  color: #b7a48e;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  transition: color var(--transition), padding var(--transition);
}

.nav-link::before {
  position: absolute;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--amber);
  content: "";
  transition: height var(--transition);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  padding-left: 1.35rem;
  color: var(--text);
}

.nav-link:hover::before,
.nav-link[aria-current="page"]::before {
  height: 1.4rem;
}

.sidebar-bottom {
  color: var(--muted);
  font-size: 0.78rem;
}

.sidebar-cta {
  display: block;
  margin-bottom: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.sidebar-cta strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.sidebar-cta span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar-cta:hover strong {
  color: var(--amber-light);
}

.credential {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.mobile-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  display: none;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(26, 18, 12, 0.94);
  backdrop-filter: blur(14px);
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-call {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--amber);
}

.icon-call svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.menu-toggle {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-lines {
  position: relative;
  width: 1.1rem;
  height: 0.75rem;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  content: "";
  transition: transform var(--transition), top var(--transition);
}

.menu-toggle-lines::before {
  top: 0.15rem;
}

.menu-toggle-lines::after {
  top: 0.6rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0.37rem;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0.37rem;
  transform: rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  z-index: 35;
  inset: var(--header-height) 0 0;
  display: none;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  background: #140e09;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer .sidebar-nav {
  margin: 0;
}

.mobile-drawer .nav-link {
  min-height: 3.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.45rem;
}

.mobile-drawer-meta {
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-shell {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.page-content {
  min-height: 70vh;
}

.content-wrap {
  width: min(calc(100% - 4rem), var(--content-width));
  margin-inline: auto;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
}

.section--panel {
  background: var(--panel);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  min-height: 70vh;
  overflow: hidden;
  align-items: end;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(18, 11, 7, 0.92) 0%, rgba(18, 11, 7, 0.72) 46%, rgba(18, 11, 7, 0.28) 100%),
    url("img/hero.jpg") center 42% / cover no-repeat;
}

.hero-inner {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.hero-title span {
  color: var(--amber-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-points li::before {
  color: var(--amber);
  content: "\2713";
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--amber-light);
  border-color: var(--amber-light);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 247, 238, 0.04);
  color: var(--text);
}

.button--ghost:hover {
  border-color: var(--accent-light);
  background: rgba(196, 165, 116, 0.14);
  color: var(--accent-light);
}

.button[disabled] {
  cursor: progress;
  opacity: 0.65;
  transform: none;
}

.ticker {
  position: relative;
  display: flex;
  min-height: 3.6rem;
  align-items: stretch;
  overflow: hidden;
  border-block: 1px solid rgba(226, 162, 58, 0.35);
  background: #140e09;
}

.ticker-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 1.4rem;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ticker-viewport {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  min-width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker-item {
  padding: 0 3rem;
  color: #eadfce;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-item::after {
  margin-left: 3rem;
  color: var(--amber);
  content: "\25C6";
  font-size: 0.5rem;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.page-hero {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2.25rem, 4vw, 3rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(18, 11, 7, 0.55), rgba(18, 11, 7, 0.82)),
    url("img/hero.jpg") center 30% / cover no-repeat;
}

.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 0.6rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.page-hero .lead {
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.work-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color var(--transition), transform var(--transition);
}

.work-card:hover {
  border-color: rgba(226, 162, 58, 0.55);
  transform: translateY(-3px);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card span {
  display: block;
  padding: 0.95rem 1rem 1.15rem;
  font-size: 1.25rem;
}

.figure-row {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.figure-row figure {
  margin: 0;
}

.figure-row img {
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.figure-row figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-photo {
  margin: 0 0 2rem;
}

.feature-photo img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.feature-photo figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.service-list li {
  padding-left: 1.1rem;
  text-indent: -1.1rem;
}

.service-list li::before {
  margin-right: 0.55rem;
  color: var(--amber);
  content: "\2014";
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(226, 162, 58, 0.35);
  background:
    radial-gradient(circle at 85% 20%, rgba(226, 162, 58, 0.12), transparent 42%),
    var(--panel);
}

.callout h2 {
  margin-bottom: 0.5rem;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--amber);
  background: rgba(196, 165, 116, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  background: var(--panel);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #140e09;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  outline: none;
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #d9534f;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-status[data-state="error"] {
  color: #f0b4a8;
}

.form-status[data-state="pending"] {
  color: var(--accent-light);
}

.form-success {
  padding: 1.5rem 0;
}

.form-success h3 {
  margin-bottom: 0.4rem;
}

.form-success p {
  margin: 0;
  color: var(--muted);
}

.contact-lines {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-lines strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--accent-light);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-lines a:hover {
  color: var(--amber-light);
}

.site-footer {
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  background: #140e09;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.footer-column p,
.footer-column a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  color: #8d7b68;
  font-size: 0.75rem;
}

@media screen and (max-width: 1100px) {
  :root {
    --sidebar-width: 15.5rem;
  }

  .desktop-sidebar {
    padding: 1.5rem;
  }

  .work-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 800px) {
  .desktop-sidebar {
    display: none;
  }

  .mobile-header,
  .mobile-drawer {
    display: flex;
  }

  .mobile-drawer {
    flex-direction: column;
  }

  .site-shell {
    margin-left: 0;
    padding-top: var(--header-height);
  }

  .content-wrap {
    width: min(calc(100% - 2.5rem), var(--content-width));
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .hero-inner {
    padding-block: 3.25rem;
  }

  .hero-actions {
    display: grid;
    max-width: 25rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading,
  .split-layout,
  .callout,
  .figure-row {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .callout {
    gap: 1rem;
  }

  .figure-row img,
  .feature-photo img {
    max-height: 18rem;
  }
}

@media screen and (max-width: 560px) {
  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .eyebrow {
    letter-spacing: 0.12em;
  }

  .work-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .ticker-label {
    padding-inline: 0.8rem;
  }

  .callout-actions .button {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
