/* ==========================================================================
   London Forts — Shared Stylesheet
   ========================================================================== */

:root {
  --bg: #FBFBFD;
  --bg-alt: #F4F5FA;
  --ink: #1B2A56;          /* London Forts navy */
  --ink-soft: #475279;
  --muted: #8B92A8;
  --line: #DEE2EE;
  --accent: #1B2A56;
  --white: #FFFFFF;
  --shadow: 0 30px 80px -30px rgba(15, 27, 61, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ink-soft); }

img { max-width: 100%; display: block; }

::selection { background: var(--ink); color: var(--white); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ==========================================================================
   Header / Navigation — minimal, generous spacing
   ========================================================================== */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
header.site-header.scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 36px;
  width: auto;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 48px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   Page sections — large, airy
   ========================================================================== */

.page-section {
  padding: 200px 0;
}
.page-section.section-tight { padding: 120px 0; }
.page-section.section-loose { padding: 280px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 40px;
}

.display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  margin-bottom: 32px;
}
.title em { font-style: italic; color: var(--ink-soft); font-weight: 400; }

.subtitle {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  margin-bottom: 28px;
}

.lead {
  font-size: 20px;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 640px;
}

.prose p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 640px;
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.4s ease;
}
.btn:hover {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn .arrow { display: inline-block; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(6px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}
.link-arrow .arrow { transition: transform 0.3s ease; }
.link-arrow:hover .arrow { transform: translateX(6px); }

/* ==========================================================================
   Hero block (used on each page header)
   ========================================================================== */

.page-hero {
  padding: 180px 0 160px;
}
.page-hero .eyebrow { margin-bottom: 56px; }

/* ==========================================================================
   Two-column gallery layout
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}
.split.split-wide-left { grid-template-columns: 1.2fr 1fr; }
.split.split-wide-right { grid-template-columns: 1fr 1.2fr; }
.split.split-aside { grid-template-columns: 280px 1fr; gap: 80px; }

/* ==========================================================================
   Numbered list (gallery-style)
   ========================================================================== */

.numbered-list { list-style: none; }
.numbered-list > li {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  align-items: start;
}
.numbered-list > li:last-child { border-bottom: 1px solid var(--line); }
.numbered-list .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
}
.numbered-list h3 {
  font-size: 36px;
  margin-bottom: 16px;
}
.numbered-list p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 580px;
}

/* ==========================================================================
   Big quote / pull-quote block
   ========================================================================== */

.pullquote {
  text-align: center;
  padding: 160px 0;
  background: var(--bg-alt);
}
.pullquote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  margin-top: 40px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Forms (Contact)
   ========================================================================== */

form { display: grid; gap: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 14px 0;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.3s ease;
  border-radius: 0;
  font-weight: 300;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 140px; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 140px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
}
.footer-brand img {
  width: 180px;
  height: auto;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.6);
}
footer h5 {
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 14px; }
footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 300;
}
footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 28px; }
  .nav { padding: 20px 28px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 28px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .page-section { padding: 100px 0; }
  .page-section.section-loose { padding: 120px 0; }
  .page-hero { padding: 100px 0 80px; }
  .split, .split.split-wide-left, .split.split-wide-right, .split.split-aside {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .numbered-list > li { grid-template-columns: 60px 1fr; gap: 24px; padding: 40px 0; }
  .form-row { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 56px; margin-bottom: 56px; }
  .pullquote { padding: 100px 0; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
