/* Company website - single stylesheet
   Palette: deep navy structure, warm brass accent, quiet paper background. */

:root {
  --ink: #16202c;
  --body: #3d4a58;
  --muted: #6d7a88;
  --paper: #ffffff;
  --paper-alt: #f5f7fa;
  --navy: #16202c;
  --navy-soft: #22303f;
  --line: #e2e8ef;
  --accent: #b07d33;
  --accent-dark: #8f6425;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 32, 44, .06), 0 8px 24px rgba(22, 32, 44, .06);
  --maxw: 1060px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 17px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 14px; }

a { color: var(--accent-dark); }

.icon { flex: none; vertical-align: -2px; }

.mt { margin-top: 32px; }

/* Top bar */

.topbar {
  background: var(--navy);
  color: #c8d2dd;
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar a { color: #e8eef4; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 18px; }

/* Header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--navy-soft));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.brand-name {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }

.site-nav a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a.is-active {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover { background: var(--accent-dark); }

/* Buttons */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { background: var(--paper-alt); border-color: var(--muted); }

/* Hero */

.hero {
  /* Background photo: the finished-room half of the client before/after shot
     (static/hero.jpg). The scrim keeps the white copy readable. */
  --hero-scrim:
    linear-gradient(90deg, rgba(22, 32, 44, .95) 0%, rgba(22, 32, 44, .86) 40%,
                    rgba(22, 32, 44, .58) 70%, rgba(22, 32, 44, .38) 100%);
  background:
    var(--hero-scrim),
    url("/static/hero.jpg") center 78% / cover no-repeat,
    var(--navy);
  color: #dde5ec;
  padding: 76px 0 68px;
}

.hero h1 { color: #fff; max-width: 24ch; margin-bottom: 16px; }

.hero h1 .hl { color: #d8a85c; }
.hero .lead { font-size: 1.1rem; max-width: 62ch; color: #c2cdd8; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.page-head .eyebrow a { color: var(--accent); text-decoration: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Showreel: the film in the page flow, between the hero and the before/after
   pair. The frame is a plain .wrap like every other section, so the player lines
   up exactly with the bands above and below it (no width override here - one
   would beat .wrap's own max-width). A fixed-ratio frame keeps the layout stable
   before the video loads: 16:9 for the landscape master on desktop, 3:4 for the
   vertical one on phones, which is also the master's own shape, so nothing is
   cropped. */

.showreel {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: #c2cdd8;
}

.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent); }

/* Sections */

.section { padding: 66px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head p { color: var(--muted); }

.page-head { padding: 56px 0 8px; }
.page-head .lead { max-width: 66ch; color: var(--body); }

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #fbf6ee;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

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

.card-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Service rows (services page) */

.service-row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-row:first-child { border-top: 0; padding-top: 0; }

.service-row-head { display: flex; gap: 16px; align-items: flex-start; }
.service-row-head h2 { margin-bottom: 6px; }
.service-short { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Ticks */

.ticks { list-style: none; padding: 0; margin: 0 0 16px; }

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.ticks .icon { color: var(--accent); margin-top: 4px; }

/* Two column + panel */

.two-col {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  align-items: start;
}

.panel {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.panel h3 { margin-bottom: 14px; }
.panel p { font-size: 0.95rem; }
.panel .btn { margin-top: 8px; }
.panel-note { color: var(--muted); font-size: 0.86rem; margin-top: 14px; }

/* Contact list */

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
}

.contact-list .icon { color: var(--accent-dark); margin-top: 4px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Form */

.form { max-width: 560px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.req { color: #c0392b; }
.opt { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(176, 125, 51, .45);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field.has-error input,
.field.has-error textarea { border-color: #c0392b; }

.field-error { color: #c0392b; font-size: 0.86rem; margin: 6px 0 0; }

.notice {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.notice-ok { background: #eef7f0; border: 1px solid #cfe7d5; color: #23603a; }
.notice-error { background: #fdf0ef; border: 1px solid #f3d3d0; color: #a33326; }

/* CTA band */

.cta-band { background: var(--navy-soft); color: #dde5ec; padding: 54px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #c2cdd8; }

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Footer */

.site-footer { background: var(--navy); color: #aab7c4; font-size: 0.92rem; padding: 52px 0 26px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer p { color: #9fadbb; font-size: 0.92rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 34px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #cfd9e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .icon { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 0.84rem;
  color: #8593a2;
}

/* Vision band */

.vision { max-width: 780px; }

.vision p { font-size: 1.02rem; }

.vision .vision-lead { color: var(--body); }

.vision p:last-child { margin-bottom: 0; }

/* Responsive */

@media (max-width: 860px) {
  .two-col,
  .service-row,
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 50px; }
  .section { padding: 50px 0; }
}

/* Mobile navigation: hamburger menu.
   The button and the collapsed panel are gated behind .js so that without
   JavaScript the links stay in the flow and remain reachable. */

.nav-toggle { display: none; }

@media (max-width: 820px) {
  /* the vertical master is tall; cap it so it never eats the whole screen */
  .video-frame { max-width: 440px; }
  .video-frame .showreel { aspect-ratio: 3 / 4; }

  .hero {
    /* copy spans the full width here, so the scrim runs top-to-bottom */
    --hero-scrim:
      linear-gradient(180deg, rgba(22, 32, 44, .93) 0%, rgba(22, 32, 44, .86) 55%,
                      rgba(22, 32, 44, .74) 100%);
    background:
      var(--hero-scrim),
      url("/static/hero.jpg") center 70% / cover no-repeat,
      var(--navy);
  }

  .header-inner { gap: 16px; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 42px;
    padding: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
  }

  .js .nav-toggle:hover { background: var(--paper-alt); }

  .js .nav-toggle:focus-visible {
    outline: 2px solid rgba(176, 125, 51, .55);
    outline-offset: 2px;
  }

  .nav-toggle-bars { display: grid; gap: 4px; }

  .nav-toggle-bars span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
  }

  .js .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .js .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .js .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .js .header-inner { flex-wrap: nowrap; }
  .js .brand { min-width: 0; }

  .js .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.02rem;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(22, 32, 44, .12);
    z-index: 30;
  }

  .js .site-nav.is-open { display: flex; }

  .js .site-nav a {
    margin: 0;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .js .site-nav a.is-active { box-shadow: none; color: var(--accent-dark); }

  .js .site-nav .nav-cta {
    margin: 14px 0 2px;
    padding: 12px 16px;
    text-align: center;
    border-bottom: 0;
  }
}

/* Before / after proof pair (home page) */

.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.ba-item { margin: 0; }

.ba-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-alt);
}

.ba-item figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.93rem;
}

.ba-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* .section-head p would otherwise grey the brass eyebrow out */
.section-head .eyebrow {
  color: var(--accent);
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  .ba { grid-template-columns: 1fr; gap: 26px; }
}
