/* 
  Dale Christopher Wells website
  Replace placeholder text, email addresses and image blocks as needed.
*/

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --soft: #f4f4f1;
  --line: #d8d8d2;
  --dark: #111111;
  --light: #ffffff;
  --accent: #c7b299;

  --container: 1180px;
  --radius: 0px;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 840px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: var(--light);
  padding: 10px 14px;
  z-index: 999;
}

.skip-link:focus {
  top: 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

/* Typography */

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.1rem, 9vw, 8.5rem);
  max-width: 1120px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-intro,
.page-hero p,
.intro-block p,
.rich-text p,
.cta-inner h2 + p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--light);
}

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

.button-light {
  background: transparent;
  color: var(--ink);
}

.button-light:hover {
  background: var(--ink);
  color: var(--light);
}

/* Placeholder graphics */

.placeholder-image {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.18), rgba(255,255,255,0.05)),
    linear-gradient(120deg, #d8d4ca, #eeeae2 45%, #bfb8aa);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.placeholder-image::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(17, 17, 17, 0.25);
}

.placeholder-image::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 65%;
  right: 10%;
  top: 18%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.placeholder-image span {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.image-one {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.12), rgba(255,255,255,0.08)),
    linear-gradient(120deg, #e7e2d8, #c8c1b6 50%, #f5f1ea);
}

.image-two {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.16), rgba(255,255,255,0.08)),
    linear-gradient(120deg, #d9d2c3, #b9aa98 48%, #efe8dc);
}

.image-three {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.14), rgba(255,255,255,0.08)),
    linear-gradient(120deg, #ece7dd, #cfc8bd 44%, #aaa395);
}

/* Real images */

.real-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.card-image.real-image {
  height: 310px;
}

.large-placeholder.real-image {
  height: 540px;
}

/* Home */

.hero {
  padding: 74px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 38px;
  align-items: stretch;
}

.hero-copy {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.hero-home .hero-image {
  min-height: 620px;
}

.intro-block {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-block p {
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.25;
}

.services-section {
  padding: 96px 0 110px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 46px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.2s ease;
}

.service-card:hover {
  background: var(--soft);
}

.service-card:hover .text-link {
  text-decoration-thickness: 2px;
}

.card-image {
  min-height: 310px;
}

.card-content {
  padding: 26px;
}

.card-number {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 48px;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.statement-band {
  padding: 86px 0;
  background: var(--ink);
  color: var(--light);
}

.statement-band p,
.statement-band h2 {
  color: var(--light);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 40px;
  align-items: end;
}

.statement-grid p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

/* Service pages */

.page-hero {
  padding: 96px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
}

.large-image-section {
  padding: 36px 0 0;
}

.large-placeholder {
  min-height: 540px;
}

.content-section {
  padding: 100px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 70px;
  align-items: start;
}

.rich-text {
  max-width: 720px;
}

.rich-text p {
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.32;
  margin-bottom: 24px;
}

.detail-list-section {
  padding: 86px 0 110px;
  background: var(--soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 38px;
}

.detail-grid article {
  padding: 26px;
  min-height: 260px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.detail-grid p {
  font-size: 0.98rem;
}

/* CTA */

.cta-section {
  padding: 96px 0;
}

.cta-inner {
  border-top: 1px solid var(--ink);
  padding-top: 34px;
}

.cta-inner h2 {
  max-width: 920px;
}

/* Contact */

.contact-hero {
  background: var(--soft);
}

.contact-section {
  padding: 90px 0 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 110px;
}

.contact-note {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-note h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.form-row {
  margin-bottom: 24px;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 9px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  padding: 14px 14px;
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Thank you */

.thank-you-section {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .hero-grid,
  .two-column,
  .statement-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-home .hero-image {
    min-height: auto;
  }

  .hero-home .hero-image,
  .large-placeholder {
    min-height: 430px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }

  .hero-home .hero-image,
  .large-placeholder,
  .placeholder-image {
    min-height: 330px;
  }

  .intro-block,
  .services-section,
  .content-section,
  .detail-list-section,
  .cta-section,
  .contact-section {
    padding: 64px 0;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}