*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1c1f24;
  --muted: #5b636e;
  --accent: #c56a3e;
  --accent-dark: #8f4524;
  --paper: #f7f3ed;
  --wash: #efe7db;
  --line: #d5cdc0;
  --shadow: rgba(19, 17, 15, 0.12);
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Georgia", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.masthead {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 2rem;
}

.brand {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--accent);
}

.hero {
  background: url("texture.svg") right 10%/420px no-repeat;
  padding: 3.5rem 0 2.5rem;
}

.hero-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  flex: 1 1 360px;
}

.hero-title {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-meta {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: var(--wash);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.magazine-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.column-main {
  flex: 2 1 420px;
}

.column-side {
  flex: 1 1 260px;
}

.inline-link {
  color: var(--accent-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.figure-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px var(--shadow);
  align-items: center;
  flex-wrap: wrap;
}

.figure-card img {
  width: 140px;
  border-radius: 0.8rem;
}

.figure-card h3 {
  margin: 0 0 0.4rem;
}

.highlight-box {
  padding: 1.6rem;
  background: #fff;
  border-left: 6px solid var(--accent);
  box-shadow: 0 12px 24px var(--shadow);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-year {
  font-weight: 700;
  color: var(--accent-dark);
  min-width: 70px;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  margin: 0;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  padding: 1.4rem;
  border-radius: 1rem;
  box-shadow: 0 10px 24px var(--shadow);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.4rem 2rem;
  box-shadow: 0 18px 40px var(--shadow);
}

.sticky-cta {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
}

.sticky-cta p {
  margin-top: 0;
}

.footer {
  padding: 2.5rem 0;
  background: #fff;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-item {
  background: #fff;
  padding: 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.service-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
}

.form-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 14px 26px var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 14px 30px var(--shadow);
  max-width: 320px;
  display: none;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.cookie-actions button {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
  cursor: pointer;
}

.cookie-actions button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.floating-cta {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 10px 24px var(--shadow);
}

@media (max-width: 900px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .floating-cta {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .masthead-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    background-position: center bottom;
  }
}
