/* ==========================================================================
   London's Construction — Design service page
   Minimal black & white, #ff5b1a used only as an accent
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-dim: #f7f6f4;
  --ink: #0c0c0c;
  --ink-soft: #2b2b2b;
  --grey: #6f6f6f;
  --line: #e3e1dd;
  --orange: #ff5b1a;
  --orange-deep: #b03c10;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* all links on this page are intentionally inert */
a:not([href]) {
  pointer-events: none;
  cursor: default;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

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

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: 148px;
}

/* logo lockup: mark + wordmark image, divider, the word "Design" */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  /* the circular Shirley's Group mark, used unfiltered */
  height: 128px;
  width: 128px;
}

.brand-divider {
  width: 1px;
  height: 72px;
  background: var(--line);
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.main-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

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

.btn--line:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.header-cta {
  padding: 12px 20px;
  font-size: 10.5px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  padding: 8px 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle span {
  width: 20px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 4vw, 56px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.hero h1 {
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.84;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: clamp(18px, 3vw, 30px) 0 0;
  text-transform: none;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.hero-intro {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
}

.hero-aside {
  color: var(--grey);
  font-size: 0.95rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: clamp(26px, 3.5vw, 38px);
}

.text-link {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link:hover {
  color: var(--orange-deep);
  border-color: var(--orange);
}

/* small meta strip under hero */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 64px);
}

.meta-strip div {
  background: var(--paper);
  padding: 20px 4px 20px 0;
}

.meta-strip dt,
.meta-strip .label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}

.meta-strip strong {
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

/* ---------- feature image ---------- */

.feature {
  padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
}

.feature-frame {
  position: relative;
  border-top: 3px solid var(--orange);
  overflow: hidden;
  background: var(--paper-dim);
}

.feature-frame img {
  width: 100%;
  height: clamp(280px, 52vw, 620px);
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 1.2s var(--ease);
}

.feature:hover .feature-frame img {
  transform: scale(1.02);
}

.feature figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.feature figcaption span:last-child {
  color: var(--ink);
}

/* ---------- details ---------- */

.details {
  padding: clamp(16px, 3vw, 32px) 0 clamp(52px, 8vw, 104px);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-label h2 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.section-label span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-left: auto;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
}

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

.includes li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.includes li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.steps h3 {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
}

.steps h3::before {
  content: counter(step, decimal-leading-zero);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  padding-top: 4px;
}

.steps p {
  color: var(--grey);
  font-size: 0.9rem;
  padding-left: 26px;
}

.contact-block {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 28px);
}

.contact-block h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-block dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-block dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact-block dd {
  margin: 2px 0 0;
  font-size: 0.95rem;
}

.contact-block a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.contact-block a:hover {
  color: var(--orange-deep);
  border-color: var(--orange);
}

.contact-block .btn {
  width: 100%;
  justify-content: space-between;
  margin-top: 20px;
}

/* ---------- quote ---------- */

.pull-quote {
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.pull-quote blockquote em {
  font-style: italic;
  color: var(--grey);
}

.pull-quote footer {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  height: 112px;
  width: 112px;
  /* the mark is black; invert it so it reads on the black footer */
  filter: invert(1);
}

.footer-brand .footer-tagline {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.footer-tagline span {
  white-space: nowrap;
}
/* small orange dot between each word, echoing the accent used elsewhere */
.footer-tagline span + span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-tagline span + span::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, auto));
  gap: 28px clamp(28px, 4vw, 64px);
}

.footer-cols h4 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.footer-cols a,
.footer-cols p {
  display: block;
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  padding: 3px 0;
  transition: color 0.3s var(--ease);
}

.footer-cols a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    gap: 40px;
  }

  .hero-aside {
    max-width: 46ch;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 148px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .topbar.nav-open .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .topbar.nav-open .main-nav a::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    height: 120px;
  }

  .topbar.nav-open .main-nav {
    top: 120px;
  }

  .brand img {
    height: 96px;
    width: 96px;
  }

  .brand-divider {
    height: 26px;
  }

  .brand-word {
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .meta-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .meta-strip div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .meta-strip div:last-child {
    border-bottom: 0;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
  }

  .contact-block .btn {
    width: 100%;
  }

  .hero h1 {
    line-height: 0.86;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- holding-page statement (replaces the large service headline) ---------- */

.hero h1.hero-statement {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 22ch;
  margin: 0 auto clamp(22px, 2.6vw, 34px);
  text-align: center;
}

.hero-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

/* ---------- cycling image gallery ---------- */

.gallery {
  position: relative;
  /* full column width, height-capped so it still fits above the fold */
  width: 100%;
  height: min(42vh, 400px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper-dim);
}

.gallery .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  animation: slideCycle 25s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: opacity, transform;
}

.gallery .slide:nth-child(1) { animation-delay: 0s; }
.gallery .slide:nth-child(2) { animation-delay: 5s; }
.gallery .slide:nth-child(3) { animation-delay: 10s; }
.gallery .slide:nth-child(4) { animation-delay: 15s; }
.gallery .slide:nth-child(5) { animation-delay: 20s; }

@keyframes slideCycle {
  0%    { opacity: 0; transform: scale(1); }
  2.5%  { opacity: 1; }
  17.5% { opacity: 1; }
  20%   { opacity: 0; transform: scale(1.06); }
  100%  { opacity: 0; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery .slide { animation: none; opacity: 0; }
  .gallery .slide:nth-child(1) { opacity: 1; }
}

@media (max-width: 720px) {
  .brand-words {
    font-size: 11px;
    letter-spacing: 0.17em;
  }
}
