/* DEVELOP & DISCOVER LTD — site styles */
:root {
  --ink: #1a1d23;
  --ink-muted: #3d4450;
  --ink-soft: #5c6474;
  --paper: #f7f4ef;
  --paper2: #efe8dd;
  --accent: #0d5c4d;
  --accent-hover: #09443a;
  --line: #d4cbc0;
  --max: 68rem;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "DM Serif Display", Georgia, serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem 1rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
}

.logo .amp {
  color: var(--accent);
  font-style: normal;
}

.logo .ltd {
  font-size: 0.85em;
  opacity: 0.88;
  font-weight: 400;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

main section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.hero {
  background: linear-gradient(165deg, var(--paper2) 0%, var(--paper) 45%, #fff9 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 8vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  max-width: 58ch;
}

.hero-content p:not(.eyebrow):not(.lead) {
  max-width: 60ch;
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
}

.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button:active {
  transform: translateY(1px);
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.section--tint {
  background: color-mix(in srgb, var(--paper2) 55%, var(--paper));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  color: var(--ink-soft);
  max-width: 65ch;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
}

.prose p,
.prose-grid p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.prose p:last-child,
.prose-grid p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose-grid {
  display: grid;
  gap: var(--space);
  margin-top: 1.5rem;
}

@media (min-width: 52rem) {
  .prose-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.prose .h4 + p {
  margin-top: 0;
}

.prose .h4:not(:first-child) {
  margin-top: 1.25rem;
}

.text-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.text-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.text-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.text-block p {
  margin: 0 0 0.9rem;
  color: var(--ink-muted);
  max-width: 70ch;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.two-col {
  column-count: 1;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .two-col {
    column-count: 2;
  }

  .two-col p {
    break-inside: avoid;
  }
}

.two-col p {
  margin: 0 0 1.1rem;
  color: var(--ink-muted);
}

.max-width {
  max-width: 60rem;
}

.contact {
  background: var(--ink);
  color: #e8e4dc;
  border: none;
}

.contact h2,
.contact .section-intro {
  color: #f0ebe3;
}

.contact .section-intro {
  color: #b8b0a4;
  margin-bottom: 2rem;
}

.contact a {
  color: #9fd4c4;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, #9fd4c4 45%, transparent);
}

.contact a:hover {
  color: #b8eadc;
  border-bottom-color: #b8eadc;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 50rem) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #8a9d8f;
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0 0 0.5rem;
  line-height: 1.65;
  color: #d4ccc0;
}

.contact-card a {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-card .small,
.contact .small {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #8c8478;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.site-footer {
  background: #12151a;
  color: #8a8f9a;
  font-size: 0.9rem;
  padding-block: 2.25rem 2.5rem;
  border-top: 1px solid #2a2f38;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-brand strong {
  display: block;
  color: #c9c2b6;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  max-width: 40ch;
  line-height: 1.55;
}

.footer-legal {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 40rem) {
  .nav {
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }
}
