/* Barry C Wright & Sons Ltd — private preview styles.
   Original design. Mobile-first, no external fonts or assets. */

:root {
  --ink: #16232b;
  --ink-soft: #40525d;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --teal-pale: #e5f3f0;
  --sand: #f7f4ee;
  --line: #d7e0df;
  --white: #ffffff;
  --amber: #f5c87a;
  --focus: #0b5c56;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--teal-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li + li { margin-top: 0.35rem; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; color: var(--white); }

.preview-banner {
  background: #fff4d6;
  color: var(--ink);
  border-bottom: 1px solid #e6c98a;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem 1rem;
}
.preview-banner strong { font-weight: 700; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.05rem;
}
.brand-name { font-weight: 750; line-height: 1.25; font-size: 0.98rem; }
.brand-name small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; }

.section-nav { width: 100%; }
.section-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.05rem;
  margin: 0;
  padding: 0;
}
.section-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.section-nav a:hover { border-bottom-color: var(--teal); }
.section-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { background: var(--teal-pale); color: var(--teal-dark); }

main:focus { outline: none; }

.hero {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
}
.hero-inner { display: grid; gap: 2rem; }
.hero-copy { max-width: 38rem; }
.hero .eyebrow { margin-bottom: 1rem; }
.hero p.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; }
.hero-art { align-self: center; }
.hero-art img { width: 100%; border-radius: var(--radius); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  border: 2px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--teal-dark); }
.btn--ghost:hover { background: var(--teal-pale); color: var(--teal-dark); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }

.section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.section--tinted { background: var(--sand); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: 1.1rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card--tinted { background: var(--white); }
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }
.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.icon-disc {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-pale);
  margin-bottom: 0.85rem;
}
.icon-disc svg { width: 1.3rem; height: 1.3rem; }

.split { display: grid; gap: 1.8rem; align-items: start; }
.split > img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.callout {
  border-left: 4px solid var(--teal);
  background: var(--teal-pale);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.notice {
  background: #fff4d6;
  border: 1px solid #e6c98a;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.notice p:last-child { margin-bottom: 0; }

.cta-band { background: var(--ink); color: var(--white); padding: clamp(2.4rem, 6vw, 3.6rem) 0; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { max-width: 40rem; }
.cta-band .actions .btn--light { color: var(--ink); }
.cta-band .actions .btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.cta-band .actions .btn--outline:hover { background: rgba(255,255,255,0.14); color: var(--white); }

.site-footer { background: var(--sand); border-top: 1px solid var(--line); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-grid h2 { font-size: 1.05rem; }
.footer-grid p, .footer-grid li { color: var(--ink-soft); font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-layout { display: grid; gap: 1.8rem; align-items: start; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid #9aa9ad;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field-hint { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.25rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; margin-bottom: 0.5rem; }
.check input { width: 1.05rem; height: 1.05rem; margin-top: 0.25rem; accent-color: var(--teal); }
.check label { font-weight: 500; }
.form-status { min-height: 1.6rem; font-weight: 700; color: var(--ink); margin-top: 0.6rem; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }

@media (min-width: 48rem) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .section-nav { width: auto; }
  .section-nav ul { gap: 0.2rem 0.9rem; }
}

@media (min-width: 70rem) {
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

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