/* Harbour & Co. Studio
   Colours live here, so they're easy to change in one place. */
:root {
  --navy: #0F2C44;
  --navy-deep: #0A1F31;
  --ink: #1B2A36;
  --muted: #4A5D6E;
  --off-white: #F8F6F1;
  --sand: #EFE7D8;
  --white: #FFFFFF;
  --buoy: #B5441A;        /* warm accent: buttons and highlights */
  --buoy-dark: #933612;
  --line: #DDD6C8;
  --error: #A3261B;
  --focus: #E4572E;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
}

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

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 750; max-width: 16ch; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--buoy); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ----- Buttons ----- */
.button {
  display: inline-block;
  background: var(--buoy);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--buoy-dark); color: var(--white); }
.button[disabled] { opacity: 0.7; cursor: progress; }
.button-small { padding: 9px 18px; font-size: 0.95rem; }
.button-full { width: 100%; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.wordmark {
  font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.wordmark .amp { color: var(--buoy); font-weight: 600; }
.wordmark:hover { color: var(--navy); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark .knot { width: 34px; height: 34px; flex: none; color: var(--navy); }

/* ----- Hero ----- */
.hero { padding: 72px 0 80px; }
.eyebrow {
  font-size: 0.85rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--buoy); margin-bottom: 1.2em;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin-bottom: 1.8em; }

/* ----- Sections ----- */
.section { padding: 72px 0; }
.section-tint { background: var(--sand); }
.section-navy { background: var(--navy); color: #E6ECF1; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy a { color: var(--white); }
.section-navy a:hover { color: #F6C9B4; }

/* ----- Service cards ----- */
.cards { display: grid; gap: 20px; margin-top: 12px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);

  border-radius: var(--radius);
  padding: 26px 24px 10px;
}
.card::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--buoy); margin-bottom: 18px; }
.card p { color: var(--muted); }
.card .card-price { color: var(--navy, #0F2C44); font-weight: 600; margin-top: 10px; }

/* ----- Recent work ----- */
.work-list { display: grid; gap: 24px; margin-top: 12px; }
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
}
.work-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--off-white); border-bottom: 1px solid var(--line); }
.work-body { padding: 24px; }
.work-tag { font-size: 0.9rem; font-weight: 600; color: var(--buoy); margin-top: -0.4em; }
.work-body p:not(.work-tag) { color: var(--muted); }
.text-link { font-weight: 650; }

/* ----- Hero links ----- */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ----- Example site box ----- */
.section.section-slim { padding: 40px 0; }
.example-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 22px 24px 14px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--buoy); border-radius: var(--radius);
}
.example-box h3 { margin-bottom: 0.3em; }
.example-box p { color: var(--muted); }
.example-box .button { margin-bottom: 10px; }

/* ----- FAQ ----- */
.faq { max-width: 760px; margin-top: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 16px 48px 16px 20px; font-weight: 650; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--buoy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 4px; color: var(--muted); }

/* ----- How it works ----- */
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 60px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 700;
}
.steps p { color: var(--muted); }

/* ----- Contact / form ----- */
.contact-grid { display: grid; gap: 32px; }
.contact-intro p { max-width: 42ch; }

.enquiry-form, .form-success {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.enquiry-form a, .form-success a { color: var(--navy); }
.form-success h3 { color: var(--navy); }

.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.req, .opt { font-weight: 400; color: var(--muted); font-size: 0.9rem; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #8A97A3;
  border-radius: 10px;
  padding: 11px 13px;
}
textarea { resize: vertical; min-height: 130px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--navy); }
[aria-invalid="true"] { border-color: var(--error) !important; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.field-check label { font-weight: 400; color: var(--ink); margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }

.field-error { color: var(--error); font-size: 0.92rem; font-weight: 600; margin: 6px 0 0; }

.form-status { border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-weight: 500; }
.form-status.is-error { background: #FBEAE7; color: var(--error); border: 1px solid #EBC1BA; }
.form-status.is-error a { color: var(--error); }

.cf-turnstile { margin-bottom: 14px; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- Footer ----- */
.site-footer { background: var(--navy-deep); color: #C9D3DC; padding: 32px 0; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #F6C9B4; }
.footer-inner p { margin: 0 0 6px; }
.site-footer strong { color: var(--white); }

/* ----- Simple pages (thanks, privacy, 404) ----- */
.page { padding: 64px 0 80px; }
.page .container { max-width: 760px; }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; }
.page li { margin-bottom: 0.4em; }

/* ----- Larger screens ----- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .enquiry-form, .form-success { padding: 34px 32px; }
}
@media (min-width: 860px) {
  .hero { padding: 110px 0 120px; }
  .section { padding: 96px 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }  .steps li { padding-left: 0; padding-top: 60px; }
  .work-card { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .work-card img { height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
  .work-body { padding: 36px; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; align-items: start; gap: 56px; }
  .footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
}

/* ----- Start your project (questionnaire) ----- */
.start-page .container { max-width: 820px; }
.start-page h1 { margin-top: 0.2em; }
.start-form { margin-top: 28px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 6px; margin: 0 0 18px; }
.step legend { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--navy); padding: 0 6px; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 0.95rem; }
.start-form .label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.start-form .hint { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--ink); background: var(--off-white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.chip:has(input:checked) { border-color: var(--navy); background: #E8EEF5; }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.start-form select { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #8A97A3; border-radius: 10px; padding: 11px 13px; }
@media (min-width: 640px) { .step { padding: 26px 28px 10px; } }
.optional-intro { background: #E8EEF5; border: 1px solid #C9D6E3; border-radius: var(--radius); padding: 14px 18px; margin: 6px 0 18px; }
.optional-intro p { margin: 0; }
.step-optional { border-style: dashed; }
.step legend .opt { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.start-form input[type="file"] { width: 100%; font: inherit; padding: 10px; border: 1.5px dashed #8A97A3; border-radius: 10px; background: var(--off-white); }
.upload-note { font-size: 0.9rem; color: var(--navy); font-weight: 600; margin: 6px 0 0; }
.start-done { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; margin-top: 28px; }

/* ===== Redesign, 7 Oct 2026: heading font, hero phone, icons, prices, about ===== */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root { --display: "Bricolage Grotesque", var(--font); }
h1, h2, h3, .wordmark, .price strong { font-family: var(--display); }
h1 { font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
.wordmark { font-weight: 750; }

/* Hero: text left, phone right */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-text { min-width: 0; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--buoy); }
.hero-phone { justify-self: center; display: block; width: min(280px, 78vw); border-radius: 36px; padding: 10px; background: var(--navy); box-shadow: 0 24px 48px -20px rgba(15, 44, 68, 0.45); transform: rotate(2deg); transition: transform 0.25s ease; }
.hero-phone:hover { transform: rotate(0deg) translateY(-4px); }
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
@media (prefers-reduced-motion: reduce) { .hero-phone, .hero-phone:hover { transition: none; transform: none; } }

/* Service card icons */
.card::before { display: none; }
.card-icon { width: 36px; height: 36px; color: var(--buoy); margin-bottom: 12px; }

/* Prices */
.section-intro { color: var(--muted); max-width: 60ch; margin: -6px 0 24px; }
.price-grid { display: grid; gap: 16px; }
.price-grid { padding-top: 6px; }
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; min-width: 0; }
.price-card h3 { margin-bottom: 4px; }
.price { margin: 0 0 14px; color: var(--muted); }
.price strong { font-size: 2.4rem; color: var(--navy); letter-spacing: -0.03em; margin-right: 4px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--buoy); border-bottom: 2.5px solid var(--buoy); transform: rotate(-45deg); }
.price-note { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.925rem; }
.price-card-pick { border: 2px solid var(--navy); position: relative; }
.pick-label { position: absolute; top: -13px; left: 20px; margin: 0; background: var(--navy); color: var(--off-white); font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.price-footer { margin: 18px 0 0; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 300px 1fr; gap: 48px; } }
.about-art { width: 100%; max-width: 300px; height: auto; border-radius: var(--radius); background: var(--sand); }
.about-grid p { max-width: 62ch; }
.about-sign { font-family: var(--display); font-weight: 700; color: var(--navy); }
