/* tours.akhlaque.dev - London Day Trips. One small stylesheet, system fonts, no frameworks. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c2430;
  --text-2: #4a5566;
  --muted: #6b7686;
  --border: #e6e2da;
  --accent: #0f766e;
  --accent-2: #0b5c56;
  --accent-soft: #e6f4f2;
  --warn-bg: #fff7e6;
  --warn-border: #f2d49b;
  --radius: 14px;
  --shadow: 0 12px 30px -18px rgba(28, 36, 48, 0.35);
  --max: 1080px;
  --read: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-2);
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  margin: 44px 0 12px;
}

h3 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.read {
  width: min(100% - 40px, var(--read));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 8px;
}

/* Header & footer */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-footer {
  margin-top: 72px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 8px;
}

/* Home */
.hero {
  padding: 56px 0 24px;
}

.hero p {
  max-width: 640px;
  font-size: 1.12rem;
  color: var(--text-2);
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--text-2);
  font-size: 0.98rem;
}

.card .meta {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.card.is-soon {
  box-shadow: none;
  background: transparent;
  border-style: dashed;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Article */
.article-head {
  padding: 48px 0 8px;
}

.byline {
  font-size: 0.92rem;
  color: var(--muted);
}

.lede {
  font-size: 1.15rem;
  color: var(--text-2);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.facts div {
  font-size: 0.92rem;
  color: var(--muted);
}

.facts strong {
  display: block;
  font-size: 1.02rem;
  color: var(--text);
}

.toc {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.toc p {
  margin-bottom: 6px;
  font-weight: 700;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.option {
  margin: 20px 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.option h3 {
  margin-top: 0;
}

.option ul {
  padding-left: 20px;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-2);
  color: #fff;
}

.note {
  margin: 24px 0;
  padding: 14px 18px;
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  background: var(--warn-bg);
  font-size: 0.95rem;
}

table {
  width: 100%;
  margin: 16px 0 24px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--accent-soft);
}

.table-wrap {
  overflow-x: auto;
}

.disclosure {
  margin: 20px 0;
  font-size: 0.88rem;
  color: var(--muted);
}

details {
  margin: 10px 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .brand-name {
    display: none;
  }
}
