/* Sloane & Sterling — inner pages.
   Mirrors the landing page: one narrow centred column, serif headings,
   light sans body, no cards, no boxes, no dividers. */

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

:root {
  --ivory: #FAF8F5;
  --charcoal: #2C2C2C;
  --body-grey: #4A4A4A;
  --muted: #77736E;
  --sage: #8A9A7B;
  --sage-deep: #6F8061;
  --sage-light: #A4B396;
  --rule: #D8D3CC;
  --rule-light: #E8E4DE;
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  position: relative;
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--body-grey);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
strong { font-weight: 500; color: var(--charcoal); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--ivory); padding: 10px 14px;
  font-size: 13px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; }

/* ─── REVEAL (same as landing page) ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── NAV (identical to landing page) ─── */
.topnav {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: flex-end; gap: 30px;
  padding: 30px 36px 0;
}
.topnav a {
  font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--body-grey); text-decoration: none;
  padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
.topnav a:hover, .topnav a:focus-visible { color: var(--sage); border-color: var(--sage-light); }
.topnav a[aria-current="page"] { color: var(--sage); border-color: var(--sage-light); }

/* ─── LAYOUT ─── */
.page { max-width: 680px; margin: 0 auto; padding: 0 28px; }

/* ─── HEADER: smaller version of the landing-page wordmark ─── */
.site-header { text-align: center; padding: 100px 0 56px; }
.wordmark {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.6vw, 28px);
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: .22em;
  text-indent: .80em;
  text-decoration: none;
  margin-bottom: 8px;
}
.subtitle {
  font-size: 10px; font-weight: 400; color: var(--sage);
  letter-spacing: .35em; text-transform: uppercase; text-indent: .57em;
}

/* ─── PAGE INTRO ─── */
.page-intro { text-align: center; padding: 0 0 56px; }
.page-intro h1 {
  font-family: var(--font-serif); font-weight: 400; color: var(--charcoal);
  font-size: clamp(34px, 5vw, 42px); line-height: 1.1; letter-spacing: .01em;
  margin-bottom: 20px;
}
.page-intro p {
  font-size: 16px; line-height: 1.85; max-width: 540px; margin: 0 auto 16px;
}
.page-intro p:last-child { margin-bottom: 0; }
.page-intro .aside { font-size: 14px; color: var(--muted); }
.page-intro .aside a { white-space: nowrap; color: var(--body-grey); text-decoration: none; border-bottom: 1px solid var(--rule); }
.page-intro .aside a:hover { color: var(--sage); border-color: var(--sage-light); }

/* ─── CENTRED SECTIONS (match landing-page services/standard) ─── */
.block { text-align: center; padding: 0 0 56px; }
.block h2 {
  font-family: var(--font-serif); font-size: 22px; font-weight: 400;
  color: var(--charcoal); letter-spacing: .02em; margin-bottom: 14px;
}
.block p { font-size: 15px; line-height: 1.85; max-width: 520px; margin: 0 auto 16px; }
.block p:last-child { margin-bottom: 0; }

.inline-list { font-size: 15px; line-height: 2; max-width: 540px; margin: 0 auto; }
.inline-list span { white-space: nowrap; }
.inline-list span:not(:last-child)::after { content: '\00a0\00a0\00b7\00a0\00a0'; color: var(--sage); }

.plain-list { list-style: none; font-size: 15px; line-height: 1.75; max-width: 500px; margin: 0 auto; }
.plain-list li { padding: 7px 0; }

.steps { list-style: none; counter-reset: step; max-width: 460px; margin: 0 auto; }
.steps li { counter-increment: step; padding: 0 0 26px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step, upper-roman);
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: 15px; color: var(--sage); margin-bottom: 2px;
}
.steps h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 400; color: var(--charcoal); margin-bottom: 4px; }
.steps p { font-size: 15px; line-height: 1.75; margin: 0; }

.small { font-size: 13px !important; color: var(--muted); }

/* ─── BUTTON: quiet, square, outlined ─── */
.btn {
  display: inline-block;
  font-family: var(--font-sans); font-size: 11px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--charcoal); background: transparent;
  border: 1px solid var(--charcoal);
  padding: 15px 34px; cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.btn:hover, .btn:focus-visible { background: var(--charcoal); color: var(--ivory); }
.btn[disabled] { opacity: .5; cursor: default; }

/* ─── FORM ─── */
.enquiry { padding: 0 0 64px; }
.form-group { border: 0; margin: 0 0 40px; }
.form-group legend {
  display: block; width: 100%; text-align: center;
  font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.field { margin-bottom: 22px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label {
  display: block; font-size: 13px; font-weight: 400; color: var(--charcoal);
  letter-spacing: .02em; margin-bottom: 2px;
}
.field .opt { color: var(--muted); font-weight: 300; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 16px; font-weight: 300;
  color: var(--charcoal); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  padding: 10px 0; outline: none;
  transition: border-color .3s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select {
  cursor: pointer; padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238A9A7B' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--sage); }
.field ::placeholder { color: #A8A29A; opacity: 1; }
.field .hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

.ages { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 10px; }
.ages label, .consent label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 300; color: var(--body-grey); cursor: pointer; margin: 0; }
.ages input, .consent input { accent-color: var(--sage-deep); width: 15px; height: 15px; }

.consent { text-align: center; margin: 4px 0 30px; }
.consent a { color: var(--body-grey); border-bottom: 1px solid var(--rule); text-decoration: none; }
.submit { text-align: center; }
.form-status { text-align: center; font-size: 14px; min-height: 24px; margin-top: 22px; }
.form-status.success { color: var(--sage-deep); }
.form-status.error { color: #8A4545; }
.form-status a { color: inherit; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ─── LEGAL PAGES ─── */
.legal { padding: 0 0 40px; }
.legal .meta { text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin: -36px 0 48px; }
.legal h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--charcoal); letter-spacing: .01em; margin: 40px 0 10px; }
.legal h3 { font-size: 13px; font-weight: 500; color: var(--charcoal); letter-spacing: .04em; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15px; line-height: 1.85; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 18px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--sage); }
.legal a, .legal .linklike { color: var(--body-grey); text-decoration: none; border-bottom: 1px solid var(--rule); }
.legal a:hover { color: var(--sage); }
.legal .linklike { font: inherit; background: none; border-width: 0 0 1px; cursor: pointer; padding: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-light); line-height: 1.6; }
.legal th { font-weight: 500; color: var(--charcoal); font-size: 12px; letter-spacing: .04em; }
.legal code { font-size: 13px; }

/* ─── FOOTER (identical to landing page) ─── */
footer { text-align: center; padding: 40px 0 60px; }
.areas { font-size: 12px; font-weight: 300; color: var(--rule); letter-spacing: .12em; }
.legal-links { font-size: 12px; font-weight: 300; color: var(--rule); letter-spacing: .08em; margin-top: 14px; }
.legal-links a, .legal-links button {
  font: inherit; letter-spacing: inherit; color: var(--rule);
  background: none; border: 0; border-bottom: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: color .3s ease, border-color .3s ease;
}
.legal-links a:hover, .legal-links button:hover { color: var(--sage); border-color: var(--sage-light); }
.company-meta { font-size: 11px; font-weight: 300; color: var(--rule); letter-spacing: .05em; margin-top: 14px; }

/* ─── COOKIE NOTICE (only appears if analytics is switched on) ─── */
.cookie-banner {
  position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  background: var(--ivory); border: 1px solid var(--rule);
  box-shadow: 0 10px 30px rgba(44, 44, 44, .08);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--body-grey);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: var(--body-grey); text-decoration: none; border-bottom: 1px solid var(--rule); }
.cookie-banner .choices { display: flex; gap: 18px; flex-shrink: 0; }
.cookie-banner button {
  font: inherit; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  background: none; border: 0; border-bottom: 1px solid transparent; padding: 3px 0; cursor: pointer; color: var(--muted);
}
.cookie-banner button[data-cookie-choice="analytics"] { color: var(--charcoal); border-color: var(--charcoal); }
.cookie-banner button:hover { color: var(--sage); border-color: var(--sage-light); }

/* ─── MOBILE ─── */
@media (max-width: 600px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--rule-light); }
  .legal td { border: 0; padding: 2px 0; }
  .legal td:first-child { font-weight: 500; color: var(--charcoal); }
  .topnav { justify-content: center; padding: 22px 20px 0; gap: 26px; }
  .site-header { padding: 88px 0 44px; }
  .wordmark { text-indent: 0; font-size: 22px; letter-spacing: .18em; }
  .subtitle { text-indent: 0; }
  .page-intro { padding-bottom: 48px; }
  .grid { grid-template-columns: 1fr; }
  .block { padding-bottom: 48px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
