:root {
  --ink: #142b49;
  --deep: #102d50;
  --blue: #25558a;
  --accent: #f4cc46;
  --foam: #f2f5f9;
  --sand: #fff8df;
  --yellow: #f4cc46;
  --white: #ffffff;
  --muted: #536477;
  --line: rgba(20, 43, 73, 0.14);
  --shadow: 0 24px 70px rgba(16, 45, 80, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: rgba(16, 45, 80, .96);
  color: var(--white);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.02em;
}
.brand-logo {
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.24));
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: .55rem;
  padding: .55rem .75rem;
  color: var(--white);
  background: transparent;
  font: inherit;
}
.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  padding: .55rem .7rem;
  border-radius: .45rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.13); }
.site-nav .nav-call { margin-left: .35rem; background: var(--yellow); color: var(--ink); }
.site-nav .nav-call:hover { background: #e3b931; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(66,109,163,.45), transparent 25rem),
    linear-gradient(135deg, #102d50 0%, #183e6c 55%, #25558a 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  left: -10%;
  width: 120%;
  height: 9rem;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  transform: rotate(-3deg);
}
.hero::before { bottom: 4.5rem; }
.hero::after { bottom: -2rem; background: var(--white); }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7.4rem 1.25rem 10rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero .eyebrow, .page-hero .eyebrow, .contact-card.dark .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: currentColor; }
.hero h1, .page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7.5vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; color: var(--accent); }
.hero-copy { max-width: 630px; margin: 1.6rem 0 0; font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.86); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.15rem;
  border: 2px solid transparent;
  border-radius: .6rem;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #e3b931; }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.6); background: transparent; }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.button.dark { background: var(--deep); color: var(--white); }
.button.ghost { border-color: var(--deep); color: var(--deep); background: transparent; }
.hero-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 1.1rem;
  background: rgba(255,255,255,.1);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(13px);
}
.hero-logo {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  margin: -1rem auto 1.4rem;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.24));
}
.hero-card h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.hero-card p { margin-bottom: 0; color: rgba(255,255,255,.78); }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 1.25rem; }
.section.alt { background: var(--foam); }
.container { max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head h2, .split h2, .cta-band h2 {
  margin: .3rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.section-head p, .split p { color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(16,45,80,.06);
}
.card-number { color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .11em; }
.card h3 { margin: .8rem 0 .5rem; font-family: Georgia, serif; font-size: 1.6rem; line-height: 1.15; }
.card p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.signal {
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: var(--deep);
  color: var(--white);
}
.signal::before, .signal::after { content: ""; position: absolute; border: 1px solid rgba(244,204,70,.55); border-radius: 50%; }
.signal::before { width: 17rem; height: 17rem; }
.signal::after { width: 24rem; height: 24rem; }
.signal strong { z-index: 1; max-width: 9ch; text-align: center; font-family: Georgia, serif; font-size: 2.8rem; line-height: 1; }
.check-list { padding: 0; margin: 1.5rem 0; list-style: none; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.cta-band {
  border-radius: 1.2rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: linear-gradient(120deg, var(--sand), #fffdf5);
  box-shadow: var(--shadow);
}
.cta-band p { max-width: 650px; color: var(--muted); }

.page-hero {
  padding: 6.5rem 1.25rem 7.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), #25558a);
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 920px; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 700px; margin: 1.3rem 0 0; color: rgba(255,255,255,.82); font-size: 1.15rem; }
.service-list { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; padding: 2rem; background: var(--white); }
.service-row h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; }
.service-row p { margin: 0; color: var(--muted); }
.note { padding: 1.2rem 1.3rem; border-left: 4px solid var(--yellow); background: #fff8df; color: var(--muted); }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process .card::before { counter-increment: step; content: "0" counter(step); color: var(--blue); font-size: .8rem; font-weight: 900; }
.work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.work-panel { min-height: 270px; padding: 2rem; border-radius: 1rem; color: var(--white); background: linear-gradient(145deg, #25558a, var(--deep)); }
.work-panel.tall { grid-row: span 2; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, #32639b, #102d50); }
.work-panel h2, .work-panel h3 { margin: 0 0 .6rem; font-family: Georgia, serif; line-height: 1.1; }
.work-panel h2 { font-size: 3rem; }
.work-panel h3 { font-size: 1.7rem; }
.work-panel p { margin: 0; color: rgba(255,255,255,.78); }
.photo-feature, .photo-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--white); box-shadow: var(--shadow); }
.photo-feature img, .photo-card img { display: block; width: 100%; object-fit: cover; }
.photo-feature img { aspect-ratio: 16 / 8; object-position: center 58%; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-card img { aspect-ratio: 4 / 3; }
.photo-card:first-child img { object-position: center 45%; }
.photo-card:last-child img { object-position: center; }
.photo-feature figcaption, .photo-card figcaption { padding: 1rem 1.15rem 1.15rem; color: var(--muted); }
.photo-feature figcaption strong, .photo-card figcaption strong { color: var(--ink); }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.contact-card { padding: clamp(1.7rem, 4vw, 3rem); border-radius: 1rem; background: var(--foam); }
.contact-card.dark { background: var(--deep); color: var(--white); }
.contact-card.dark p { color: rgba(255,255,255,.75); }
.policy { max-width: 860px; }
.policy h2 { margin-top: 2.6rem; font-family: Georgia, serif; font-size: 1.8rem; }
.policy p, .policy li { color: #536477; }
.draft-flag { display: inline-block; margin-bottom: 1.3rem; padding: .35rem .6rem; border-radius: .35rem; background: #fff2cc; color: #694e00; font-size: .8rem; font-weight: 850; }

.site-footer { padding: 3.5rem 1.25rem 2rem; background: #0b203b; color: var(--white); }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 2rem; }
.footer-grid h2 { font-family: Georgia, serif; font-size: 1.5rem; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid ul { padding: 0; margin: 0; list-style: none; }
.footer-grid li { margin: .4rem 0; }
.footer-bottom { max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .85rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 5.1rem; flex-direction: column; align-items: stretch; padding: .7rem; border-radius: .8rem; background: var(--deep); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav .nav-call { margin-left: 0; }
  .hero { min-height: auto; }
  .hero-inner, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 5rem; gap: 3rem; }
  .hero-card { max-width: 520px; }
  .grid-3, .process, .photo-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-panel.tall { grid-row: auto; min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .brand span:last-child { max-width: 12rem; line-height: 1.05; }
  .hero-inner { padding-bottom: 8rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .service-row { grid-template-columns: 1fr; gap: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Keep complete restoration photographs visible without cropping. */
.restoration-card img { height: 36rem; aspect-ratio: auto; object-fit: contain; background: var(--foam); }
@media (max-width: 620px) { .restoration-card img { height: 30rem; } }

.seating-card img { height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--foam); }

.mechanical-service-details { display: grid; gap: 1.5rem; min-width: 0; }
.mechanical-service-photo img { height: auto; aspect-ratio: auto; }
.mechanical-service-details > .button { justify-self: start; }

/* Frame the original portrait to show face and shoulders without phone UI. */
.founder-portrait { width: 100%; max-width: 28rem; justify-self: center; }
.founder-portrait img { aspect-ratio: 1; object-fit: cover; object-position: center 22%; }
.houseboat-work-photo img { height: auto; aspect-ratio: auto; }

.family-photo { width: 100%; max-width: 28rem; justify-self: center; }
.family-photo img { height: auto; aspect-ratio: auto; }
