/* Enlighten Imaging - one stylesheet for the whole site, trial pages included.
   Colours and fonts carried over from the former WordPress theme. */

:root {
  --blue: #2f5aae;
  --blue-dark: #234685;
  --text: #272626;
  --muted: #5b5f66;
  --tint: #f4f5f7;
  --dark: #121212;
  --line: #e2e4e8;
  --error: #b3261e;
  --radius: 10px;
  --heading: 'Poppins', system-ui, sans-serif;
  --body: 'Roboto', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--text); background: #fff; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section { padding: 64px 0; }
.section.tinted { background: var(--tint); }
.section.narrow .wrap { max-width: 720px; }

/* Buttons */
.button {
  display: inline-block; padding: .75em 1.5em; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font: 600 1rem var(--heading); text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.button.ghost { background: transparent; border-color: #fff; color: #fff; }
.button.ghost:hover { background: #fff; color: var(--dark); }
.button.outline { background: transparent; color: var(--blue); }
.button.outline:hover { background: var(--blue); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { width: 169px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { font: 500 .98rem var(--heading); color: var(--text); text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px var(--blue); }
.nav-toggle, .nav-button { display: none; }

@media (max-width: 820px) {
  .nav-button { display: block; width: 44px; height: 44px; position: relative; cursor: pointer; }
  .nav-button span, .nav-button span::before, .nav-button span::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--text); content: '';
  }
  .nav-button span { top: 21px; }
  .nav-button span::before { left: 0; top: -7px; }
  .nav-button span::after { left: 0; top: 7px; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 20px; margin: 0; cursor: pointer; }
  .header-inner { position: relative; }
}

/* Home hero with the looping camera video */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: var(--dark); color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.85) 0%, rgba(18,18,18,.55) 55%, rgba(18,18,18,.2) 100%); }
.hero-text { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero-text h1 { max-width: 16em; }
.hero-text p { max-width: 36em; font-size: 1.15rem; }

/* Page titles */
.page-head { background: var(--tint); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
/* The logo sits beside the title only; the tagline and buttons line up under the title. */
.product-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; }
.product-head > * { grid-column: 2; }
.product-head h1 { margin: 0; }
.product-head .lead { margin-top: .5em; }
.product-logo { grid-column: 1; grid-row: 1; width: 96px; }

/* Layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cards { display: grid; gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.feature h3 { color: var(--blue); }
.cards img, .split img { border-radius: var(--radius); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery figcaption { margin-top: 10px; font: 600 1rem var(--heading); }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 24px; }
.person { text-align: center; }
/* Shown whole: 50% rounds each photo to its own shape, an oval for the tall team
   portraits and a circle for the square board ones, hiding their white corners. */
.person img { width: 160px; height: auto; border-radius: 50%; margin: 0 auto 14px; }
.person h3 { margin-bottom: .2em; }
.person p { margin: 0; color: var(--muted); font-size: .95rem; }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--blue); color: #fff; border-radius: var(--radius); padding: 36px 40px; }
.callout p { margin: 0; }
.callout .button { background: #fff; color: var(--blue); border-color: #fff; flex-shrink: 0; }
.callout .button:hover { background: var(--tint); }

.steps { padding-left: 1.3em; margin: 0 0 2em; }
.steps li { margin-bottom: .4em; }
.plan { display: flex; flex-direction: column; }
.plan > .button { margin-top: auto; align-self: flex-start; }
.plan .price { font: 700 1.6rem var(--heading); color: var(--blue); margin: 0; }
.plan .price + .note { margin-top: 0; }
.plan-options { list-style: none; padding: 0; margin: 0 0 1em; }
.plan-options li { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line); }
.plan-options .price { font-size: 1.25rem; }
.plan-options .button { padding: .5em 1.2em; flex-shrink: 0; }

.papers { padding-left: 1.3em; }
.papers li { margin-bottom: .8em; color: var(--muted); font-size: .95rem; }

/* Forms: contact page and the trial pages */
.form, .prose form { display: grid; gap: 18px; }
.form label, .prose label { display: grid; gap: 6px; font-weight: 500; }
input, textarea, select {
  width: 100%; padding: .7em .8em; font: inherit; color: inherit;
  border: 1px solid #c9ccd2; border-radius: 8px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .button, .prose button { justify-self: start; }
.prose button { display: inline-block; padding: .75em 1.5em; border-radius: 999px; border: 0;
  background: var(--blue); color: #fff; font: 600 1rem var(--heading); cursor: pointer; }
.prose button:hover { background: var(--blue-dark); }
.prose .note, .note { color: var(--muted); font-size: .95rem; }
.form-error { color: var(--error); background: #fdecea; border-radius: 8px; padding: 10px 14px; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact { align-items: start; }
.contact-details { background: var(--tint); border-radius: var(--radius); padding: 28px; }

/* Footer */
.site-footer { background: var(--dark); color: #d7d9dd; padding: 48px 0 20px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 152px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-heading { font: 600 1rem var(--heading); color: #fff; margin-bottom: .6em; }
.site-footer p { margin: 0 0 .4em; }
.copyright { border-top: 1px solid #2c2c2c; margin-top: 32px; padding-top: 16px; font-size: .88rem; color: #9a9da3; }

@media (max-width: 820px) {
  .section { padding: 44px 0; }
  .split, .cards.two, .cards.three, .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .product-head { column-gap: 16px; }
  .product-head > .lead, .product-head > .actions { grid-column: 1 / -1; }
  .product-logo { width: 56px; }
  .callout { flex-direction: column; align-items: flex-start; padding: 28px; }
  .hero { min-height: 70vh; }
}

/* Privacy policy and other long text */
.policy { max-width: 780px; }
.policy h2 { margin-top: 1.8em; }
.policy h3 { margin-top: 1.4em; }
.policy ul { padding-left: 1.3em; }
.policy li { margin-bottom: .5em; }
