
:root {
  --navy: #03162a;
  --navy-soft: #0b1f36;
  --navy-deep: #020d1a;
  --gold: #d8a84d;
  --gold-soft: #f2c66c;
  --ivory: #f5f3ef;
  --white: #ffffff;
  --ink: #16202a;
  --text: rgba(22, 32, 42, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(8, 20, 33, 0.12);
  --shadow: 0 26px 70px rgba(3, 22, 42, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px clamp(18px, 4vw, 46px);
}
.site-header-solid {
  position: sticky;
  background: linear-gradient(180deg, rgba(3,22,42,0.98), rgba(3,22,42,0.94));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.brand-image img {
  width: clamp(160px, 17vw, 295px);
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
}
.nav a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav a:hover { color: var(--gold-soft); }
.nav a[aria-current="page"] { color: var(--gold-soft); }
.nav-cta {
  padding: 15px 22px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold-soft) !important;
}
.nav-cta:hover { background: rgba(216, 168, 77, 0.12); }

.hero { position: relative; overflow: hidden; }
.hero-home {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(2,13,26,0.94) 0%, rgba(2,13,26,0.88) 35%, rgba(2,13,26,0.6) 58%, rgba(2,13,26,0.82) 100%),
    radial-gradient(circle at 15% 40%, rgba(15,45,75,0.6), transparent 45%),
    var(--navy-deep);
}
.hero-split {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-top: 120px;
  padding-bottom: 70px;
}
.hero-copy {
  max-width: 700px;
  color: var(--white);
}
.hero-subhead { margin-top: 8px; }
.hero-visual-card {
  min-height: 430px;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
  background-image: url('assets/hero-excavator-approved-mockup.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.84rem;
  font-weight: 700;
}
.hero-rule {
  width: 52px;
  height: 4px;
  background: var(--gold);
  margin: 26px 0 28px;
  border-radius: 99px;
}
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.9rem, 6.8vw, 5.1rem); color: var(--white); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); color: #0d1a26; }
h3 { font-size: 1.45rem; color: inherit; }
.light { color: var(--white); }
p { margin: 0; font-size: 1.03rem; color: var(--text); }
.hero-copy p, .page-copy p, .contact-strip p { color: rgba(255,255,255,0.9); }
.lead { max-width: 620px; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions, .contact-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.gold { background: var(--gold); color: #1e1b16; }
.outline-light { border-color: rgba(255,255,255,0.68); color: var(--white); background: rgba(255,255,255,0.03); }
.button-dark { background: var(--navy); color: var(--white); }

.section { padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px); }
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--ivory);
}
.content-block { max-width: 720px; }
.content-block p + p { margin-top: 18px; }
.image-card {
  min-height: 430px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.second-image { background-image: url('https://commons.wikimedia.org/wiki/Special:FilePath/South%20Thoresby%2C%20old%20limestone%20quarry%2C%20aerial%202013%20-%20geograph.org.uk%20-%203451544.jpg?width=1400'); }

.band-dark { background: radial-gradient(circle at top, rgba(12,35,60,0.85), rgba(2,13,26,1)); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.narrow { max-width: 860px; }
.icon-grid { display: grid; gap: 22px; }
.icon-grid.four { grid-template-columns: repeat(4, 1fr); }
.icon-grid.three { grid-template-columns: repeat(3, 1fr); }
.icon-card, .approach-card, .application-form, .note, .thank-card { border-radius: var(--radius); box-shadow: var(--shadow); }
.icon-card-dark {
  min-height: 100%;
  padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
}
.icon-card-dark p { color: rgba(255,255,255,0.82); }
.icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(216,168,77,0.35);
  color: var(--gold-soft);
  font-size: 1.65rem;
  font-weight: 700;
}
.approach-section { background: #f7f5f2; }
.approach-card {
  padding: 32px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-dark);
}
.approach-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(216,168,77,0.55); color: #c59539; font-size: 1.55rem; font-weight: 700;
}
.approach-card p { max-width: 320px; margin: 10px auto 0; }

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(180deg, rgba(7,25,44,0.96), rgba(2,13,26,1));
}
.contact-strip > div:first-child { max-width: 680px; }

.page-hero {
  min-height: 500px;
  display: grid;
  align-items: center;
  padding: 140px 0 80px;
  background-image: linear-gradient(90deg, rgba(2,13,26,0.87), rgba(2,13,26,0.42)), url('https://commons.wikimedia.org/wiki/Special:FilePath/National%20Lime%20%26%20Stone%20quarry%20from%20air%202.jpg?width=1800');
  background-size: cover;
  background-position: center;
}
.page-copy { max-width: 860px; width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.page-copy h1, .page-copy .lead { color: var(--white); }

.application-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.note { margin-top: 24px; padding: 20px; background: var(--white); border: 1px solid var(--line-dark); }
.note p { margin-top: 8px; }
.application-form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 38px); background: var(--white); border: 1px solid var(--line-dark); }
label { display: grid; gap: 8px; font-weight: 700; }
input, select, textarea {
  width: 100%; border: 1px solid rgba(8,20,33,0.12); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fffdf9; color: var(--ink);
}
textarea { resize: vertical; }
.form-button { width: fit-content; margin-top: 8px; }
.hidden { display: none; }

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 28px clamp(20px, 5vw, 64px);
}
.footer-dark { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); color: var(--white); }
.footer-brand img { width: clamp(140px, 13vw, 220px); }
.footer-brand p, .footer-meta p, .footer a { color: rgba(255,255,255,0.78); }
.footer-meta { max-width: 620px; }
.small { font-size: 0.84rem; }

.thank-body { background: linear-gradient(180deg, rgba(3,22,42,1), rgba(6,25,43,1)); }
.thank-you { min-height: calc(100vh - 110px); display: grid; place-items: center; padding: 28px; }
.thank-card {
  width: min(680px, 100%); padding: clamp(32px, 5vw, 56px); text-align: center; background: var(--white); border: 1px solid var(--line-dark);
}
.thank-logo { width: min(240px, 70%); margin: 0 auto 20px; }
.thank-card p { margin-top: 14px; }

@media (max-width: 1100px) {
  .icon-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual-card { min-height: 320px; max-width: 680px; width: 100%; }
}
@media (max-width: 900px) {
  .site-header, .site-header-solid {
    position: relative;
    background: linear-gradient(180deg, rgba(3,22,42,0.98), rgba(3,22,42,0.94));
    border-bottom: 1px solid rgba(255,255,255,0.06);
    align-items: flex-start; flex-direction: column;
  }
  .nav { width: 100%; justify-content: flex-start; }
  .hero-home, .hero-split { min-height: auto; }
  .hero-split { padding-top: 70px; padding-bottom: 70px; }
  .about-split, .application-grid, .icon-grid.three, .icon-grid.four { grid-template-columns: 1fr; }
  .contact-strip, .footer { flex-direction: column; }
}
@media (max-width: 560px) {
  .brand-image img { width: 178px; }
  .nav { gap: 12px 16px; }
  .nav a { font-size: 0.8rem; }
  .nav-cta { padding: 12px 16px; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.95rem; }
  .section { padding-left: 18px; padding-right: 18px; }
}


.email-card {
  margin: 24px 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.email-label {
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--gold);
}

.email-address {
  display: inline-block;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
}

.email-address:hover {
  text-decoration: underline;
}

.copy-button {
  display: block;
  margin-top: 16px;
  padding: 11px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.helper-text {
  margin-top: 12px;
}

.email-application-card h3 {
  color: var(--navy);
}

.email-application-card p {
  margin-top: 10px;
}

.manual-application {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.manual-application ol {
  margin: 10px 0 0;
  padding-left: 20px;
}

.manual-application li {
  margin-bottom: 8px;
}
