/* Site Groveline Mining Workshop — contemporary structured creative theme */
:root {
  --bg: #eef1f3;
  --bg-deep: #dfe5ea;
  --surface: #f7f9fa;
  --ink: #1c2429;
  --ink-soft: #4a5560;
  --muted: #6b7782;
  --line: rgba(28, 36, 41, 0.12);
  --accent: #0d7377;
  --accent-deep: #085456;
  --brass: #b8922a;
  --brass-soft: #d4b45a;
  --header-h: 4.25rem;
  --radius: 0.35rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --shadow-soft: 0 18px 40px rgba(28, 36, 41, 0.08);
  --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);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(13, 115, 119, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(184, 146, 42, 0.08), transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-deep) 48%, #e8edf0 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);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65em;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.header-inner {
  width: min(1120px, calc(100% - 2.5rem));
  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-weight: 700;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  letter-spacing: -0.02em;
  max-width: min(52vw, 20rem);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, var(--brass) 0%, var(--brass-soft) 45%, var(--accent) 100%);
  clip-path: polygon(20% 10%, 80% 10%, 95% 50%, 80% 90%, 20% 90%, 5% 50%);
}

.brand-text {
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  margin: 0.28rem 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 28, 0.35) 0%, rgba(17, 24, 28, 0.55) 42%, rgba(17, 24, 28, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  max-width: 14ch;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 34ch;
  margin: 0 0 0.55rem;
  color: rgba(244, 247, 248, 0.95);
  animation: riseIn 0.9s var(--ease) 0.12s both;
}

.hero-support {
  max-width: 42ch;
  color: rgba(244, 247, 248, 0.78);
  margin-bottom: 1.75rem;
  animation: riseIn 0.9s var(--ease) 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s var(--ease) 0.32s both;
}

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--brass);
  color: #1c2429;
}

.btn-primary:hover {
  background: var(--brass-soft);
  color: #1c2429;
}

.btn-ghost {
  background: transparent;
  color: #f4f7f8;
  border-color: rgba(244, 247, 248, 0.45);
}

.btn-ghost:hover {
  background: rgba(244, 247, 248, 0.1);
  color: #fff;
}

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

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

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

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

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: var(--shadow-soft);
}

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

.offer-item {
  padding: 0;
  border: none;
  background: transparent;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.offer-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.offer-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.offer-item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-deep);
}

.quote-band {
  background: linear-gradient(120deg, #1c2429 0%, #243038 55%, #0d4f52 100%);
  color: #eef2f4;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.35;
  max-width: 38rem;
  letter-spacing: -0.02em;
}

.quote-band cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(238, 242, 244, 0.7);
  font-family: var(--font-body);
}

.note-list {
  display: grid;
  gap: 1.1rem;
}

.note-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}

.note-row:last-child {
  border-bottom: 1px solid var(--line);
}

.note-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}

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

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

.page-hero-visual {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 22rem;
}

.page-hero-visual img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

/* Service detail */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.detail-panel dl {
  margin: 0;
}

.detail-panel dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.85rem;
}

.detail-panel dd {
  margin: 0.2rem 0 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}

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

.rate-table th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: rgba(13, 115, 119, 0.06);
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.factor {
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.factor-note {
  color: var(--ink-soft);
  margin-top: 1.25rem;
}

/* Reviews */
.review-stack {
  display: grid;
  gap: 1.5rem;
}

.review {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.review:last-child {
  border-bottom: 1px solid var(--line);
}

.review p {
  font-size: 1.05rem;
}

.review-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.story {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.story img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.blog-card h2 {
  font-size: 1.2rem;
}

.blog-card h2 a {
  text-decoration: none;
  color: var(--ink);
}

.blog-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.article-body {
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.article-hero img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

/* Schedule */
.schedule-list {
  display: grid;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.schedule-item:last-child {
  border-bottom: 1px solid var(--line);
}

.schedule-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.schedule-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}

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

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

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  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(13, 115, 119, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: #9b2c2c;
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(13, 115, 119, 0.12);
  color: var(--accent-deep);
}

.form-status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  color: #9b2c2c;
}

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

.contact-aside {
  padding-top: 0.25rem;
}

.contact-aside h2 {
  font-size: 1.35rem;
}

.legal-body h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-body th {
  background: rgba(13, 115, 119, 0.06);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: fadeSlide 0.45s var(--ease) both;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

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

.inline-error {
  margin: 0.75rem auto;
  width: min(1120px, calc(100% - 2.5rem));
  padding: 0.75rem 1rem;
  background: rgba(155, 44, 44, 0.08);
  color: #9b2c2c;
  border-radius: var(--radius);
  display: none;
}

.inline-error.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: #1c2429;
  color: rgba(238, 242, 244, 0.82);
  padding: 3rem 0 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.footer-tag {
  color: rgba(238, 242, 244, 0.7);
  max-width: 28ch;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.site-footer a {
  color: rgba(238, 242, 244, 0.78);
  text-decoration: none;
}

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

.footer-base {
  border-top: 1px solid rgba(238, 242, 244, 0.12);
  padding: 1rem 0;
}

.footer-base p {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  font-size: 0.88rem;
  color: rgba(238, 242, 244, 0.55);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 0.4rem;
}

/* Responsive */
@media (max-width: 960px) {
  .split,
  .detail-grid,
  .contact-layout,
  .story,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-panel {
    position: static;
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 249, 250, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .offer-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .note-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .brand {
    max-width: 70vw;
  }
}

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

  .hero-media img {
    transform: none;
  }
}
