/* =========================================================
   MT Fixes — styles
   Palette: Navy + Amber
   ========================================================= */

:root {
  --navy-950: #0f1a2b;
  --navy-900: #16233b;
  --navy-800: #1f3358;
  --navy-700: #2c4373;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --ink: #1c1f24;
  --ink-soft: #4a505a;
  --amber: #e8a33d;
  --amber-dark: #c8842a;
  --line: #e4ddcf;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(15, 26, 43, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.6em;
}

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

/* Ruler / tick divider — signature motif nodding to measuring & craft */
.tick-divider {
  height: 18px;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 24px
  );
  background-position: center;
  opacity: 0.9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-amber {
  background: var(--amber);
  color: var(--navy-950);
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-outline-navy:hover { background: var(--navy-900); color: #fff; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
.brand-location {
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.header-call {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy-950);
  white-space: nowrap;
}
.header-call svg { width: 20px; height: 20px; }
.header-call:hover { background: var(--amber-dark); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(15,26,43,0.86), rgba(15,26,43,0.93)),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 76px 0 64px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  max-width: 16ch;
  margin: 0 auto 0.4em;
}
.hero .lede {
  max-width: 46ch;
  margin: 0 auto 1.8em;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-row {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
}
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; }

/* ---------- Services ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--amber);
}
.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--amber-dark);
}
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Honey-do callout card */
.honeydo {
  grid-column: 1 / -1;
  background: var(--navy-900);
  color: #fff;
  border: none;
  padding: 30px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.honeydo:hover { transform: none; box-shadow: none; }
.honeydo-icon {
  width: 50px;
  height: 50px;
  color: var(--amber);
  flex-shrink: 0;
}
.honeydo h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.honeydo p { color: rgba(255,255,255,0.78); margin: 0; max-width: 60ch; }

/* ---------- Sample Work ---------- */
.work-section { background: var(--navy-950); color: #fff; }
.work-section .section-head h2 { color: #fff; }
.work-section .section-head p { color: rgba(255,255,255,0.7); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.work-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.work-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.work-compare figure { margin: 0; position: relative; }
.work-compare img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.work-compare figcaption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15,26,43,0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.work-single img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.work-body { padding: 16px 18px 20px; }
.work-body h3 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.work-body p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 0.35em; }
.about-role {
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1em;
}

/* ---------- Contact ---------- */
.contact-section {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-section h2 { color: #fff; }
.contact-section .section-head { text-align: left; margin: 0 0 20px; max-width: none; }
.contact-section .section-head p { color: rgba(255,255,255,0.75); }

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.big-call {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--amber);
  color: var(--navy-950);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}
.big-call svg { width: 28px; height: 28px; flex-shrink: 0; }
.big-call .num { font-size: 1.4rem; display: block; }
.big-call .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.8; }

.area-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 4px; }
.form-card .form-sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy-900);
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
}
.field textarea { resize: vertical; min-height: 90px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 34px 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner a { color: var(--amber); text-decoration: none; font-weight: 600; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--amber);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: var(--navy-950);
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
}
.mobile-call-bar svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-section .section-head { text-align: center; }
}

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .header-inner { padding: 12px 16px; }
  .brand-name { font-size: 1.25rem; }
  .header-call .call-text { display: none; }
  .header-call { padding: 10px; border-radius: 50%; }
  .header-call svg { width: 22px; height: 22px; }
  .hero { padding: 52px 0 48px; }
  .work-compare img, .work-single img { height: 150px; }
  body { padding-bottom: 58px; } /* room for sticky mobile bar */
  .mobile-call-bar { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
