/* Desktop Elmway Mining Lab — contemporary structured creativity */
:root {
  --ink: #17241f;
  --ink-soft: #3a4a43;
  --paper: #f3f6f4;
  --paper-deep: #e4ebe6;
  --surface: #ffffff;
  --accent: #2f6b5a;
  --accent-deep: #1c463b;
  --brass: #b8943f;
  --brass-soft: #e8d5a8;
  --line: rgba(23, 36, 31, 0.12);
  --danger: #8b3a2f;
  --ok: #2a6b45;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(23, 36, 31, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(184, 148, 63, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(47, 107, 90, 0.12), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(243, 246, 244, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  background:
    linear-gradient(135deg, var(--accent-deep), var(--accent)),
    var(--accent);
  box-shadow: inset 0 0 0 2px rgba(232, 213, 168, 0.55);
  flex-shrink: 0;
}

.brand-text {
  max-width: 14rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-deep);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #f7faf8 !important;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

main {
  min-height: 60vh;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-deep);
  color: #f7faf8;
  box-shadow: 0 10px 24px rgba(28, 70, 59, 0.22);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4f7f5;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 28, 24, 0.82) 8%, rgba(12, 28, 24, 0.45) 55%, rgba(12, 28, 24, 0.25) 100%),
    linear-gradient(0deg, rgba(12, 28, 24, 0.65), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 0.8rem;
  color: #fff;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(244, 247, 245, 0.9);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero .btn-primary {
  background: var(--brass);
  color: #1a160c;
  box-shadow: 0 10px 24px rgba(184, 148, 63, 0.28);
}

.hero .btn-primary:hover {
  background: var(--brass-soft);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero .btn-secondary:hover {
  background: #fff;
  color: var(--ink);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeSlide 0.7s ease both;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  min-height: 22rem;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.offer-list {
  display: grid;
  gap: 1.25rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.offer-row:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.offer-row img {
  width: 8.5rem;
  height: 6.2rem;
  object-fit: cover;
  border-radius: 0.7rem;
}

.offer-row h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.offer-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.offer-row .arrow {
  color: var(--accent);
  font-size: 1.4rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.quote-stack {
  display: grid;
  gap: 1.2rem;
}

.quote {
  background: var(--surface);
  border-left: 3px solid var(--brass);
  padding: 1.25rem 1.4rem;
  border-radius: 0 0.9rem 0.9rem 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
}

.quote cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.media-card {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.media-card h3 {
  font-size: 1.2rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.page-hero-full {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.page-hero-full .bg {
  position: absolute;
  inset: 0;
}

.page-hero-full .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-full .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 24, 0.25), rgba(12, 28, 24, 0.78));
}

.page-hero-full .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
  padding-top: 5rem;
}

.page-hero-full h1 {
  color: #fff;
}

.page-hero-full p {
  color: rgba(255, 255, 255, 0.88);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--paper-deep);
  font-weight: 600;
}

.fee-block {
  display: grid;
  gap: 1rem;
}

.fee-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.fee-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

.schedule-list {
  display: grid;
  gap: 1rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
}

.schedule-date {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--accent-deep);
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.form-row textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(47, 107, 90, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(42, 107, 69, 0.12);
  color: var(--ok);
  border: 1px solid rgba(42, 107, 69, 0.25);
}

.form-status.is-error {
  display: block;
  background: rgba(139, 58, 47, 0.1);
  color: var(--danger);
  border: 1px solid rgba(139, 58, 47, 0.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(243, 246, 244, 0.82);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: rgba(243, 246, 244, 0.9);
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-heading {
  color: var(--brass-soft);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-base {
  width: min(100% - 2.5rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  animation: riseIn 0.45s ease both;
}

.cookie-inner {
  width: min(100%, 52rem);
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
}

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  background: rgba(139, 58, 47, 0.1);
  color: var(--danger);
  border-radius: var(--radius);
  border: 1px solid rgba(139, 58, 47, 0.25);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
}

.muted {
  color: var(--ink-soft);
}

.cta-band {
  margin: 1rem 0 4rem;
  padding: 2.4rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(120deg, rgba(28, 70, 59, 0.95), rgba(47, 107, 90, 0.88)),
    var(--accent-deep);
  color: #f4f7f5;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(244, 247, 245, 0.88);
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: var(--brass);
  color: #1a160c;
  margin-top: 0.5rem;
}

@media (max-width: 960px) {
  .split,
  .contact-grid,
  .footer-grid,
  .grid-3,
  .schedule-item,
  .offer-row {
    grid-template-columns: 1fr;
  }

  .offer-row img {
    width: 100%;
    height: 10rem;
  }

  .schedule-item {
    align-items: start;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(243, 246, 244, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0.4rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.4rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .brand-text {
    max-width: 11rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
