/* Demo Canopies: a pretend workshop website showing the Fitout builder embedded. */
:root {
  --green-900: #13271f;
  --green-800: #1e3a2f;
  --green-600: #2f6b4f;
  --green-500: #3d8562;
  --green-100: #e3ede6;
  --stone-50: #f7f6f2;
  --stone-100: #efede6;
  --stone-300: #d9d5ca;
  --text: #17201b;
  --muted: #5c6660;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --bar-h: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  padding-top: var(--bar-h);
  background: var(--stone-50);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.tag-on-light {
  background: var(--green-800);
}
.tag-large {
  padding: 5px 14px;
  font-size: 12px;
  margin-bottom: 18px;
}

/* Top bar and header */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--bar-h);
  background: #262626;
  color: #ffffff;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}
.topbar-brand {
  display: flex;
  flex: none;
}
.topbar-brand img {
  display: block;
  height: 16px;
  width: auto;
}
.topbar-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-text strong {
  font-weight: 700;
}
.topbar-link {
  flex: none;
  color: #ffffff;
  font-weight: 600;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: var(--bar-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-300);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green-800);
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.logo strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.logo small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}
.nav a:not(.btn) {
  text-decoration: none;
  color: var(--text);
}
.nav a:not(.btn):hover {
  color: var(--green-600);
}
.nav-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid var(--green-600);
  background: var(--green-600);
  color: var(--white);
  font: 700 15px/1 var(--font);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn:hover {
  background: var(--green-800);
  border-color: var(--green-800);
}
.btn-small {
  min-height: 42px;
  padding: 0 20px;
}
.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--green-800);
}
.btn-light:hover {
  background: var(--green-100);
  border-color: var(--green-100);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}
.text-link {
  font-weight: 700;
  color: var(--green-600);
  text-decoration: none;
}
.text-link::after {
  content: " →";
}
.text-link:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(19, 39, 31, 0.88) 0%,
      rgba(19, 39, 31, 0.55) 45%,
      rgba(19, 39, 31, 0.1) 75%
    ),
    linear-gradient(0deg, rgba(19, 39, 31, 0.5) 0%, transparent 40%);
}
.hero-inner {
  padding: 120px 0 88px;
}
.hero-kicker {
  margin: 0 0 16px;
  font-weight: 600;
  color: #cfe3d6;
}
.hero h1 {
  max-width: 13em;
  font-size: clamp(40px, 5.6vw, 68px);
}
.hero-lead {
  max-width: 33em;
  margin: 22px 0 34px;
  font-size: 19px;
  color: #e3ece6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Trust strip */
.trust {
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone-300);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
}
.trust strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.trust span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.trust-inner > div {
  padding-left: 16px;
  border-left: 3px solid var(--green-500);
}

/* Sections */
section {
  padding: 96px 0;
}
.section-intro {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-intro h2,
.build-head h2,
.workshop h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 46px);
}
.section-intro p,
.build-head p,
.workshop p,
.contact p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(19, 39, 31, 0.06),
    0 10px 30px rgba(19, 39, 31, 0.06);
  display: flex;
  flex-direction: column;
}
.service img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  background: var(--stone-100);
}
.service-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service h3 {
  font-size: 23px;
}
.service p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

/* Build your canopy */
.build {
  background: var(--green-800);
  color: var(--white);
  border-radius: 32px 32px 0 0;
}
.build-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
.build-head .tag-large {
  background: #d7f0df;
  color: var(--green-800);
}
.build-head p {
  color: #cfe0d5;
  max-width: 36em;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    #d7f0df;
}
/* The builder gets more room than the text column. */
.wrap-wide {
  width: min(1560px, 100% - 40px);
}
.configurator {
  background: var(--white);
  /* The "Powered by Fitout" link under the frame inherits this (the section's text is white). */
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 600px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
/* Phones: the embed is a launch card that opens full screen, so no fixed height. */
@media (max-width: 767px) {
  .configurator {
    min-height: 0;
  }
}

/* Workshop */
.workshop-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.workshop img {
  width: 100%;
  aspect-ratio: 11 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
}
.steps strong {
  font-weight: 700;
}
.steps span {
  color: var(--muted);
  font-size: 15px;
}

/* Call to action band */
.cta {
  position: relative;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(19, 39, 31, 0.72);
}
.cta-inner {
  max-width: 720px;
}
.cta h2 {
  font-size: clamp(32px, 4vw, 46px);
}
.cta p {
  margin: 14px auto 30px;
  color: #dce8e0;
  font-size: 18px;
}
.cta .hero-actions {
  justify-content: center;
}

/* Contact */
.contact {
  background: var(--stone-100);
}
.contact-inner {
  max-width: 640px;
  text-align: center;
  display: grid;
  justify-items: center;
}
.contact-inner .btn {
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--green-900);
  color: #a9bcb0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 0;
}
.site-footer a {
  color: var(--white);
}

/* Smaller screens */
@media (max-width: 960px) {
  .nav a:not(.btn):not(.nav-new) {
    display: none;
  }
  .trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .build-head,
  .workshop-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  section {
    padding: 72px 0;
  }
  .build {
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 600px) {
  :root {
    --bar-h: 52px;
  }
  .topbar {
    font-size: 12px;
    line-height: 1.35;
  }
  .topbar-text {
    white-space: normal;
  }
  .topbar-link {
    display: none;
  }
  .nav-new {
    display: none !important;
  }
  .logo small {
    display: none;
  }
  .trust-inner {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding: 96px 0 56px;
  }
  .hero::before {
    background: linear-gradient(0deg, rgba(19, 39, 31, 0.9) 0%, rgba(19, 39, 31, 0.6) 100%);
  }
  .btn-small {
    padding: 0 16px;
  }
}

/* Stopgap until the live embed.js fits the screen by itself. */
@media (min-width: 768px) {
  .configurator iframe {
    height: max(520px, calc(100dvh - var(--bar-h) - 77px - 24px)) !important;
  }
}
