:root {
  --navy: #0f2a43;
  --navy-2: #173a5c;
  --orange: #aa1a2c;
  --orange-dark: #861322;
  --ink: #17212b;
  --muted: #5b6875;
  --line: #d9e0e7;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --danger: #b42318;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: .2px; }
.logo { height: 48px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--orange-dark); }
.nav a.btn { color: #fff; }

.btn {
  display: inline-block; background: var(--orange); color: #fff; border: 2px solid var(--orange);
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 8px 16px; font-size: .95rem; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #f0a0aa; outline-offset: 2px; }

.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 84px 0; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; color: #f0a0aa; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
.lead { font-size: 1.15rem; max-width: 34em; color: #dbe6f1; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { color: #fff; max-width: 280px; justify-self: center; width: 100%; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--navy); }
.sub { margin: 0 0 32px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 26px; background: #fff; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

.gallery-empty {
  border: 2px dashed #b9c5d1; border-radius: var(--radius); padding: 56px 20px; text-align: center; color: var(--muted); background: #fff;
}
.gallery-empty p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.details { margin: 0; display: grid; gap: 16px; }
.details dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.details dd { margin: 2px 0 0; font-size: 1.1rem; }
.details dd.todo { color: #8895a3; font-style: italic; }

.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(15,42,67,.07); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--orange-dark); margin-left: 2px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 11px 12px; border: 1.5px solid #b9c5d1; border-radius: 8px; background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(23,58,92,.18); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.form-error { color: var(--danger); background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; padding: 10px 12px; margin: 0 0 16px; }
.thanks { text-align: center; padding: 24px 8px; }
.thanks h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.4rem; }
.thanks p { margin: 0; color: var(--muted); }
.loading { color: var(--muted); margin: 0; }
.note { color: var(--muted); font-size: .9rem; }

.site-footer { background: var(--navy); color: #c5d3e1; padding: 28px 0; font-size: .95rem; }
.site-footer p { margin: 0; }

@media (max-width: 820px) {
  .hero { padding: 56px 0; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 160px; justify-self: start; }
  .nav a:not(.btn) { display: none; }
  .section { padding: 52px 0; }
  .form-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Logo, photo and footer updates */
.work-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.work-text { color: var(--muted); margin: 0 0 24px; max-width: 32em; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 14px 34px rgba(15,42,67,.18); }
.photo figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.details dd a { color: var(--navy); font-weight: 600; text-decoration: none; }
.details dd a:hover { color: var(--orange-dark); text-decoration: underline; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot-logo { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); }
.foot-contact p { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .logo { height: 40px; }
  .work-grid, .foot { grid-template-columns: 1fr; gap: 20px; }
}

.details dd .hint { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
