/* ==========================================================
   Inner Circle Consultancy - site-wide styles
   Brand colours
     Terracotta  #B5501A   (main brand colour, buttons, accents)
     Deep clay   #8A3C13   (links and small text on light backgrounds)
     Ink         #1F1D1B   (headings and footer)
     Stone       #4A4642   (body text)
     Cream       #FAF7F2   (page background)
     Blush       #F3E6DC   (tinted sections)
     Sand line   #E8E1D6   (borders and dividers)
   Typefaces
     Bodoni Moda (headings, quotes)  /  Jost (body text, buttons)
   ========================================================== */

/* Fonts are stored in the /fonts folder so no visitor data goes to Google */
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

html { scroll-behavior: smooth; }
body { margin: 0; background: #FAF7F2; -webkit-text-size-adjust: 100%; }
.page { font-family: "Jost", "Helvetica Neue", Arial, sans-serif; color: #1F1D1B; background: #FAF7F2; }
img { max-width: 100%; }
p, blockquote, figure, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
a { color: #8A3C13; }
a:hover { color: #1F1D1B; }
section[id], header[id] { scroll-margin-top: 16px; }

/* Keyboard users can always see where they are */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #1F1D1B; outline-offset: 3px;
}
header a:focus-visible, .contact a:focus-visible { outline-color: #FFFFFF; }

.skip-link { position: absolute; left: 12px; top: -60px; background: #1F1D1B; color: #FFFFFF; padding: 10px 16px; z-index: 10; text-decoration: none; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Smaller screens: a little less space around each section */
@media (max-width: 640px) {
  header { padding: 24px 20px 72px !important; }
  header nav { margin-bottom: 64px !important; }
  main > section { padding: 72px 20px !important; }
  /* Keep the "Let's talk" circle neatly in the top-right corner on phones */
  header nav { position: relative; row-gap: 28px !important; }
  header nav > div { gap: 12px 20px !important; }
  header nav a[href="#contact"] { position: absolute; top: -4px; right: 0; width: 72px !important; height: 72px !important; font-size: 13px; }
}

/* ---------- Contact section ---------- */
.contact { background: #B5501A; color: #FFFFFF; padding: 112px 24px; }
.contact-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-intro { flex: 1 1 320px; }
.contact h2 { margin: 0 0 24px; font-family: "Bodoni Moda", Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; }
.contact-lead { margin: 0 0 36px; font-size: 18px; line-height: 1.7; max-width: 480px; }
.contact-details { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 14px; }
.contact-details a { color: #FFFFFF; font-size: 19px; text-underline-offset: 4px; }
.contact-details a:hover { color: #FAF7F2; }
.contact-note { margin: 0; font-size: 15px; max-width: 420px; }

.contact-form { flex: 1 1 420px; background: #FAF7F2; color: #1F1D1B; border-radius: 4px; padding: 36px 32px; }
.contact-form h3 { margin: 0 0 24px; font-family: "Bodoni Moda", Georgia, serif; font-weight: 500; font-size: 26px; }
.field-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
.field-row .field { flex: 1 1 200px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; }
.optional { font-weight: 400; color: #4A4642; }
.field input, .field select, .field textarea {
  box-sizing: border-box; width: 100%; font: inherit; font-size: 16px; color: #1F1D1B;
  background: #FFFFFF; border: 1px solid #CFC5B8; border-radius: 3px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #B5501A; }
.field [aria-invalid="true"] { border-color: #A3261B; }
.botcheck { display: none; }
.form-privacy { margin: 4px 0 20px; font-size: 14px; line-height: 1.6; color: #4A4642; }
.form-button {
  font: inherit; font-size: 16px; font-weight: 500; color: #FFFFFF; background: #B5501A;
  border: 0; border-radius: 3px; padding: 15px 28px; cursor: pointer;
}
.form-button:hover { background: #8A3C13; }
.form-button[disabled] { opacity: 0.7; cursor: wait; }
.form-status { margin: 16px 0 0; font-size: 15px; line-height: 1.6; min-height: 1em; }
.form-status.is-success { color: #2F6B3A; font-weight: 500; }
.form-status.is-error { color: #A3261B; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 24px; background: #1F1D1B; color: #D9D2C7; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 14px; }
.footer-legal { margin: 0; max-width: 620px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #D9D2C7; }
.footer-links a:hover { color: #FFFFFF; }

/* ---------- Simple pages (privacy policy, page not found) ---------- */
.simple-header { background: #B5501A; padding: 28px 24px; }
.simple-header a { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 14px; }
.simple-header .wordmark { display: flex; flex-direction: column; gap: 3px; }
.simple-header .wordmark-main { font-family: "Bodoni Moda", Georgia, serif; font-size: 19px; letter-spacing: 5px; }
.simple-header .wordmark-sub { font-size: 11px; letter-spacing: 4px; }
.simple-main { max-width: 760px; margin: 0 auto; padding: 72px 24px 104px; }
.simple-main h1 { margin: 0 0 12px; font-family: "Bodoni Moda", Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.15; }
.simple-main h2 { margin: 44px 0 12px; font-family: "Bodoni Moda", Georgia, serif; font-weight: 500; font-size: 24px; }
.simple-main p, .simple-main li { font-size: 17px; line-height: 1.75; color: #4A4642; }
.simple-main ul { padding-left: 22px; }
.simple-main .updated { margin: 0 0 32px; font-size: 15px; }
