/* Part-time Competent — draft static site styles */
:root {
  --navy: #0A1628;
  --navy-mid: #13233a;
  --navy-light: #1c334f;
  --gold: #C9A227;
  --gold-soft: #e0c05a;
  --gold-muted: #a8841f;
  --cream: #f7f5f0;
  --off-white: #fafaf8;
  --text: #1a1a1a;
  --text-muted: #4a5568;
  --border: #e2e0d8;
  --white: #ffffff;
  --focus: #2563eb;
  --max-width: 1100px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(10, 22, 40, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--navy-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--gold-muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header / nav */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo:hover {
  color: var(--gold-soft);
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.logo-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  background: var(--navy-light);
  color: var(--gold-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
}

/* Main layout */
main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 0 3.75rem;
}

.hero .container {
  display: grid;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.hero-strap {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero-strap-secondary {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--navy);
  border-color: var(--gold-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-intro {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.gold-rule {
  width: 3rem;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 0 1.5rem;
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card h3 .icon {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.value-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}

.value-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 1px;
}

/* Prose pages */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 2.25rem;
}

.page-header h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin-bottom: 0.4rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose ul {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

.note-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.note-box p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.placeholder {
  background: #fff8e6;
  border: 1px dashed var(--gold-muted);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.92rem;
  margin: 1rem 0;
}

.placeholder strong {
  color: var(--gold-muted);
}

/* Services detail */
.service-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.service-block h2 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.service-block p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-block ul {
  margin-left: 1.2rem;
  color: var(--text-muted);
}

.service-block li {
  margin-bottom: 0.35rem;
}

/* Contact form (non-functional) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.form-group .hint {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--off-white);
  color: var(--text);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-details dt {
  font-weight: 600;
  color: var(--navy);
  margin-top: 1rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  color: var(--text-muted);
  margin-left: 0;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: var(--navy-mid);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

.footer-strap {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.75rem;
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.85rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 0 2.75rem;
  }
}

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

  .btn {
    transition: none;
  }
}

/* Imagery */
.hero--with-image {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero--with-image .hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.75rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.35);
  aspect-ratio: 4 / 3;
  background: var(--navy-mid);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.15), transparent 55%);
  pointer-events: none;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.gallery-strip figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-strip .gallery-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-strip figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.5rem 0.65rem 0.65rem;
  line-height: 1.35;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.75rem;
  align-items: center;
  margin: 1.75rem 0 0;
}

.media-row--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.media-row--reverse .media-copy {
  order: 1;
}

.media-row--reverse .media-figure {
  order: 2;
}

.media-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.media-figure .media-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.media-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem 0.7rem;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-layout.has-media {
  grid-template-columns: 1fr 220px;
  align-items: start;
}

.service-layout h2 {
  /* keep existing service-block h2 look via parent */
}

.service-thumb {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
}

.service-thumb .thumb-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-thumb figcaption {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.4rem 0.55rem 0.55rem;
  line-height: 1.3;
}

.about-aside-image {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-aside-image .media-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.about-aside-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-aside-image figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem 0.65rem;
}

.contact-aside-visual {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-aside-visual .media-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.contact-aside-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero--with-image .hero-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 2.75rem;
  }

  .hero-visual {
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
    order: -1;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-row,
  .media-row--reverse {
    grid-template-columns: 1fr;
  }

  .media-row--reverse .media-copy,
  .media-row--reverse .media-figure {
    order: initial;
  }

  .service-layout.has-media {
    grid-template-columns: 1fr;
  }

  .service-thumb {
    max-width: 16rem;
  }
}

@media (max-width: 480px) {
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

.media-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.75rem; align-items: center; margin: 1.75rem 0 0; }
.media-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--white); }
.media-figure .media-frame { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-figure figcaption { font-size: 0.8rem; color: var(--text-muted); padding: 0.55rem 0.75rem 0.7rem; }
@media (max-width: 900px) { .media-row { grid-template-columns: 1fr; } }

.about-aside-image { margin: 1.5rem 0 0; max-width: 28rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.about-aside-image .media-frame { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.about-aside-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-aside-image figcaption { font-size: 0.8rem; color: var(--text-muted); padding: 0.5rem 0.75rem 0.65rem; }

.contact-aside-visual { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-aside-visual .media-frame { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.contact-aside-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-layout ul { padding-left: 1.25rem; margin: 0.75rem 0; }
.contact-layout ul li { margin: 0.35rem 0; }

/* Responsive images: <picture> wrapper is layout-neutral */
picture {
  display: contents;
}

/* Footer email link */
.footer-email {
  margin-top: 0.75rem;
}

.footer-email-link {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: var(--radius);
  color: var(--gold-soft);
  font-size: 0.85rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-email-link:hover,
.footer-email-link:focus-visible {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
}

/* Photo credits */
.footer-credits { font-size: 0.75rem; opacity: 0.7; margin-top: 0.5rem; }
.footer-credits a { color: inherit; text-decoration: underline; }
