:root {
  --bg: #f6fbff;
  --bg-soft: #ebf4ff;
  --surface: #ffffff;
  --text: #132642;
  --muted: #4e6482;
  --accent: #6fb5ff;
  --accent-strong: #2c7de2;
  --accent-deep: #1555a7;
  --border: #cfe0f7;
  --ring: #73b5ff;
  --shadow: 0 22px 50px rgba(24, 86, 162, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: min(1140px, 92vw);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(165deg, #ffffff 0%, #edf5ff 50%, #f7fbff 100%);
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

.page-aura {
  position: fixed;
  inset: -160px;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(107, 173, 255, 0.24), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(158, 208, 255, 0.22), transparent 33%),
    radial-gradient(circle at 55% 85%, rgba(126, 184, 255, 0.18), transparent 40%);
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(1.82rem, 3.2vw, 3rem);
}

h2 {
  font-size: clamp(1.48rem, 2.4vw, 2.2rem);
}

h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
}

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(2.8rem, 5vw, 4.8rem) 0;
}

.tab-section {
  display: none;
  padding-top: clamp(1.5rem, 2.8vw, 2.4rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(166, 196, 230, 0.45);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: grid;
  gap: 0.08rem;
  max-width: 290px;
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-logo-wrap::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 8.5%;
  top: 39%;
  height: 2px;
  background: #184886;
  opacity: 0.95;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #1f3b66;
}

.nav-list a[aria-current="page"] {
  color: var(--accent-deep);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent-deep);
}

.has-submenu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.submenu-toggle {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  padding: 0;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  border-color: var(--border);
  color: var(--accent-deep);
}

.submenu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
  display: none;
}

.submenu li + li {
  margin-top: 0.3rem;
}

.submenu a {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #edf5ff;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.submenu-open .submenu {
  display: block;
}

.menu-toggle {
  display: none;
  background: #f5f9ff;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #20406f;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.tab-main {
  padding-bottom: 1rem;
}

.tab-section.active {
  display: block;
  animation: tab-fade 220ms ease;
}

@keyframes tab-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(1.3rem, 3vw, 2.8rem);
  align-items: start;
}

.hero-copy {
  max-width: 580px;
}

.hero-copy h1 {
  margin-bottom: 1rem;
}

.hero-copy p {
  color: #2b4670;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.22rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(31, 103, 185, 0.16);
}

.btn-primary {
  color: #f8fcff;
  background: linear-gradient(130deg, var(--accent-deep), var(--accent-strong));
}

.btn-ghost {
  border-color: #b9d6fb;
  background: #ffffff;
  color: #1e4f91;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.tile {
  min-height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #c9ddf8;
  background: #dcebff;
  box-shadow: var(--shadow);
}

.tile img {
  height: 100%;
}

.span-tall {
  grid-row: span 2;
  min-height: 390px;
}

.span-wide {
  grid-column: span 2;
  min-height: 210px;
}

.quote-tile {
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: linear-gradient(135deg, #2f7de0, #6cb4ff);
}

.quote-tile p {
  color: #f6fbff;
  text-align: center;
  line-height: 1.25;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.75vw, 1.52rem);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.3rem;
}

.split-layout p + p {
  margin-top: 0.95rem;
}

.about-subheading {
  margin-top: 1.9rem;
  margin-bottom: 0.85rem;
}

.about-aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.about-headshot {
  margin: 0;
  overflow: hidden;
}

.about-headshot img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-aside .panel {
  padding: 1rem 1.05rem;
}

.owner-line {
  margin: 0.5rem 0 0.8rem;
  color: #244675;
}

.section-intro {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: end;
  padding: clamp(1.05rem, 2.5vw, 1.55rem);
  border: 1px solid rgba(170, 205, 247, 0.82);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.92)),
    radial-gradient(circle at 92% 18%, rgba(111, 181, 255, 0.3), transparent 26%);
  box-shadow: var(--shadow);
}

.section-intro > * {
  position: relative;
  z-index: 1;
}

.section-intro .eyebrow {
  margin-bottom: 0.55rem;
}

.section-intro > p {
  color: #2d4a74;
  max-width: 42ch;
}

.panel,
.about-headshot,
.card,
.showcase-card,
.partner-card,
.faq-item,
.contact-form,
.overview-card,
.testimonial-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.4rem;
}

.panel h3 {
  margin-bottom: 0.8rem;
}

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

.checklist li {
  position: relative;
  padding-left: 1.45rem;
  color: #2f4a74;
}

.checklist li + li {
  margin-top: 0.65rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 50%;
  background: linear-gradient(130deg, #6fb3ff, #2f7ce0);
}

.cards {
  margin-top: 1rem;
  display: grid;
  gap: 0.78rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  min-height: 198px;
  aspect-ratio: 1 / 0.86;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 255, 0.94)),
    radial-gradient(circle at 82% 12%, rgba(111, 181, 255, 0.24), transparent 30%);
}

.card::before {
  content: "";
  width: 2.15rem;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  order: -1;
  margin-bottom: 1.1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-top: auto;
  color: #2d4a74;
}

.projects-note {
  margin-top: 0.8rem;
  color: #2d4b77;
  max-width: 72ch;
}

.project-subtabs {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tab {
  border: 1px solid #b6d3f8;
  background: #ffffff;
  color: #1d4d8f;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-tab.active,
.project-tab:hover,
.project-tab:focus-visible {
  background: #d9eaff;
  border-color: #9fc7f6;
}

.project-pane {
  display: none;
  margin-top: 1rem;
}

.project-pane.active {
  display: block;
}

.showcase-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.showcase-card-full {
  grid-column: 1 / -1;
}

.showcase-card-drawers {
  width: min(100%, 560px);
  justify-self: start;
}

.showcase-card {
  margin: 0;
  padding: 1rem;
  overflow: hidden;
}

.showcase-head {
  margin: -1rem -1rem 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(199, 219, 244, 0.82);
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.98), rgba(226, 241, 255, 0.8)),
    radial-gradient(circle at 100% 0%, rgba(111, 181, 255, 0.22), transparent 32%);
}

.showcase-card-aligned {
  display: grid;
  grid-template-rows: auto 1fr;
}

.showcase-card-aligned .showcase-head {
  min-height: 11.7rem;
}

.project-description {
  margin-top: 0.45rem;
  color: #2d4a74;
  font-size: 0.92rem;
  line-height: 1.5;
}

.stage-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-items: start;
}

.stage-gallery-kitchen {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stage-gallery-drawers {
  grid-template-columns: repeat(2, minmax(170px, 240px));
  justify-content: start;
}

.stage-shot {
  margin: 0;
  border-radius: 14px;
  border: 1px solid #c7dbf4;
  overflow: hidden;
  background: #edf5ff;
  display: flex;
  flex-direction: column;
}

.stage-shot img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.stage-shot:hover img {
  filter: saturate(1.06);
  transform: scale(1.018);
}

.stage-shot figcaption {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.56rem;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #254371;
  background: #f7fbff;
}

.stage-label {
  font-weight: 700;
}

.stage-shot[data-stage="before"] .stage-label {
  color: #2a5ca2;
}

.stage-shot[data-stage="midway"] .stage-label {
  color: #3875bf;
}

.stage-shot[data-stage="after"] .stage-label {
  color: #1d75cc;
}

.partner-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-card {
  padding: 1rem;
}

.partner-card h3 {
  margin-bottom: 0.45rem;
}

.partner-card h3 a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.partner-card h3 a:hover,
.partner-card h3 a:focus-visible {
  color: #0f4a95;
}

.partner-card p {
  color: #2d4a73;
}

.testimonial-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 1.15rem;
}

.testimonial-quote {
  color: #1f3f6b;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.55;
}

.testimonial-author {
  margin-top: 0.8rem;
  color: #56709a;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-wrap {
  max-width: 920px;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  padding: 0.15rem 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: #4e6789;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0 0 1rem;
  color: #2f4a75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-details {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.42rem;
}

.contact-form {
  padding: 1.15rem;
  display: grid;
  gap: 0.6rem;
}

.contact-form label {
  color: #21406d;
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bfd7f7;
  border-radius: 10px;
  background: #ffffff;
  color: #162a49;
  font: inherit;
  padding: 0.66rem 0.7rem;
}

.contact-form textarea {
  resize: vertical;
}

.expandable-image {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(8, 23, 45, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
}

.image-lightbox.open {
  display: flex;
}

.lightbox-panel {
  width: min(1100px, 96vw);
  max-height: 92vh;
  border-radius: 16px;
  overflow: hidden;
  background: #0f213a;
  border: 1px solid rgba(203, 225, 251, 0.28);
  box-shadow: 0 32px 80px rgba(5, 14, 28, 0.48);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lightbox-close {
  justify-self: end;
  margin: 0.5rem 0.5rem 0 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(215, 232, 252, 0.35);
  border-radius: 999px;
  background: rgba(21, 41, 70, 0.94);
  color: #f4f9ff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(35, 67, 108, 0.98);
}

.lightbox-media {
  position: relative;
  display: grid;
  align-items: center;
  background: #0a1830;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 232, 252, 0.35);
  border-radius: 999px;
  background: rgba(21, 41, 70, 0.9);
  color: #f2f8ff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox-prev {
  left: 0.6rem;
}

.lightbox-next {
  right: 0.6rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(35, 67, 108, 0.98);
}

.lightbox-image {
  width: 100%;
  max-height: calc(92vh - 110px);
  object-fit: contain;
  background: #0a1830;
}

.lightbox-caption {
  min-height: 38px;
  padding: 0.56rem 0.9rem 0.85rem;
  font-size: 0.85rem;
  color: #dcecff;
}

.site-footer {
  margin-top: 1rem;
  background: #133f78;
  color: #e6f2ff;
  padding: 1.6rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  font-size: 0.9rem;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
.nav-list a:focus-visible,
.submenu-toggle:focus-visible,
.expandable-image:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible,
.project-tab:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .testimonial-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .showcase-card-full {
    grid-column: auto;
  }

  .showcase-card-drawers {
    max-width: none;
  }

  .showcase-card-aligned .showcase-head {
    min-height: auto;
  }

  .stage-gallery-kitchen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 4vw 1rem;
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-list a {
    display: block;
    padding: 0.54rem 0.2rem;
  }

  .has-submenu {
    flex-wrap: wrap;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border);
    margin-top: 0.35rem;
    display: none;
  }

  .has-submenu.submenu-open .submenu {
    display: block;
  }

  .mosaic,
  .cards,
  .partner-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .card {
    aspect-ratio: auto;
  }

  .section-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .span-tall,
  .span-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .stage-gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .stage-shot img {
    aspect-ratio: 1 / 1;
  }

  .header-inner {
    min-height: 76px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    flex: 1;
    min-width: 164px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
