/* DESIGN & DEVELOPMENT LTD — site styles */
:root {
  --bg: #f6f4f0;
  --bg-tint: #ece8e1;
  --ink: #1a1816;
  --muted: #5c5650;
  --accent: #2c4a3e;
  --accent-hover: #1f352c;
  --border: #d4cec4;
  --white: #faf9f7;
  --dark: #121110;
  --dark-muted: #a8a29a;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 8px;
  --shadow: 0 12px 40px rgba(26, 24, 22, 0.08);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.logo-ltd {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(44, 74, 62, 0.12), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr min(320px, 100%);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  background: rgba(44, 74, 62, 0.06);
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.facts {
  margin: 0;
}

.facts > div {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.facts > div:first-of-type {
  border-top: none;
  padding-top: 0;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.facts dd {
  margin: 0;
  font-size: 0.9375rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--ink);
}

.section-title-light {
  color: var(--white);
}

.section-intro {
  max-width: 72ch;
  color: var(--muted);
  margin: 0 0 2rem;
}

.section-dark .section-intro {
  color: var(--dark-muted);
}

.prose-block p {
  margin: 0 0 1rem;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.h3-inline {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--accent);
}

.h3-inline:first-child {
  margin-top: 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(26, 24, 22, 0.04);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

/* Process */
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list > li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.process-list > li:last-child {
  margin-bottom: 0;
}

.process-list > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
}

.process-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.value-quote {
  margin: 0;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.value-quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-muted);
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr min(340px, 100%);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-list a {
  color: var(--accent);
  font-weight: 600;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.email-placeholder {
  font-style: italic;
  color: var(--muted);
}

.muted {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.contact-aside {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.aside-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.contact-aside p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #ebe6de;
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.footer-small {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
