/* Fulfilify public site — shared styles.
   Brand: navy ground, #dd451b accent, ice-white type, Georgia serif headlines.
   Same palette as the proposal pages, deliberately different layout. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #031425;
  color: #b9c9dc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.serif { font-family: Georgia, "Times New Roman", serif; }
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #eef4fd;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -0.5px; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; }
h3 { font-size: clamp(24px, 2.6vw, 34px); }
p.lede { max-width: 36em; font-size: 18px; }
a { color: #dd451b; }
img { max-width: 100%; }

.wrap { width: min(1120px, 90vw); margin: 0 auto; }

/* ---- top nav ---- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: #031425f2; backdrop-filter: blur(8px);
  border-bottom: 1px solid #0e3050;
}
header.site .bar { display: flex; align-items: center; gap: 34px; padding: 14px 0; }
header.site .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
header.site .logo img.lockup { height: 44px; width: auto; display: block; }
header.site nav { display: flex; gap: 26px; align-items: center; }
header.site nav a {
  color: #b9c9dc; text-decoration: none; font-size: 14.5px; letter-spacing: 0.3px;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
header.site nav a:hover { color: #eef4fd; }
header.site nav a.here { color: #eef4fd; border-bottom-color: #dd451b; }
header.site nav a.signin {
  border: 1px solid #3c5f82; padding: 8px 18px; border-radius: 3px;
  color: #eef4fd; transition: border-color .2s, background .2s;
}
header.site nav a.signin:hover { border-color: #dd451b; background: #0a2540; }
header.site .menu-btn { display: none; }
@media (max-width: 860px) {
  header.site nav { display: none; }
  header.site nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #031425fa; border-bottom: 1px solid #0e3050; padding: 18px 5vw 26px;
  }
  header.site .menu-btn {
    display: inline-flex; align-items: center; background: none;
    border: 1px solid #3c5f82; padding: 4px 8px; border-radius: 3px; cursor: pointer;
  }
  /* the envelope opens when the menu does: sealed and centred at rest, the
     body slides down as the flap lifts so the open mark stays centred too */
  .menu-btn .env-body { transform: translateY(-6px); transition: transform .3s ease; }
  .menu-btn[aria-expanded="true"] .env-body { transform: translateY(0); }
  .menu-btn .flap-open, .menu-btn .card { opacity: 0; transition: opacity .22s ease, transform .3s ease; }
  .menu-btn .card { transform: translateY(9px); }
  .menu-btn[aria-expanded="true"] .flap-open { opacity: 1; }
  .menu-btn[aria-expanded="true"] .card { opacity: 1; transform: translateY(0); }
  .menu-btn .flap-closed { opacity: 1; transition: opacity .2s ease; }
  .menu-btn[aria-expanded="true"] .flap-closed { opacity: 0; }
}

/* ---- sections ---- */
section { padding: 96px 0; border-bottom: 1px solid #0e3050; }
section.tight { padding: 72px 0; }
.eyebrow {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  color: #dd451b; font-size: 19px; display: flex; align-items: center; gap: 14px;
  margin: 0 0 26px;
}
.eyebrow::before {
  content: ""; width: 13px; height: 13px; display: inline-block; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dd451b' d='M12 1.6l3.2 6.6 7.2 1-5.2 5 1.3 7.2L12 18l-6.5 3.4 1.3-7.2-5.2-5 7.2-1z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: twinkle 3.6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.82); } }
.eyebrow.center { justify-content: center; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 130px 0 120px; }
.hero-arc {
  position: absolute; right: -22vw; bottom: -46vh; width: 60vw; height: 80vh; min-width: 460px;
  background: radial-gradient(ellipse at center, #e75a2f 0%, #dd451b 62%);
  border-radius: 50%; opacity: 0.92;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: none; } to { transform: translate3d(-2vw, -2vh, 0) scale(1.05); } }
@media (max-width: 860px) { .hero-arc { right: -50vw; bottom: -30vh; width: 100vw; height: 50vh; } }
.hero .wrap { position: relative; }
.rise { opacity: 0; transform: translateY(20px); animation: rise .8s ease forwards; }
.rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .4s; } .rise.d4 { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- buttons ---- */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.btn {
  display: inline-block; padding: 15px 36px;
  border: 1px solid #dd451b; color: #dd451b; text-decoration: none;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  background: transparent; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn.solid { background: #dd451b; color: #ffffff; }
.btn:hover, .btn:focus-visible { background: #dd451b; color: #ffffff; outline: none; }
.btn.solid:hover, .btn.solid:focus-visible { background: #f0663d; border-color: #f0663d; }

/* ---- three steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #14395e; margin-top: 56px; }
.step { padding: 38px 32px 44px; border-right: 1px solid #14395e; }
.step:last-child { border-right: none; }
.step .num { font-family: Georgia, serif; font-style: italic; color: #dd451b; font-size: 18px; }
.step h4 { font-size: 23px; margin: 14px 0 12px; }
.step p { font-size: 15px; margin: 0; color: #a3b6ca; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid #14395e; }
  .step:last-child { border-bottom: none; }
}

/* ---- split rows ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.rev > :first-child { order: 0; } }
.plate { background: #f7f5f0; border: 1px solid #1d4a75; padding: 12px; position: relative; margin: 0; }
.plate img { display: block; width: 100%; height: auto; }
.plate .tag {
  position: absolute; left: 20px; bottom: 18px;
  font-size: 10px; letter-spacing: 2.5px; color: #97917f; text-transform: uppercase;
}
.plate .tag.r { left: auto; right: 20px; }
.browser { background: #0a2540; border: 1px solid #1d4a75; border-radius: 10px; overflow: hidden; margin: 0; }
.browser .chrome { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #14395e; }
.browser .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2f5578; display: inline-block; }
.browser img { display: block; width: 100%; height: auto; }
figcaption { font-size: 14px; color: #a3b6ca; padding: 12px 4px 0; }
figcaption strong { color: #eef4fd; font-weight: 600; }

/* ---- spec list ---- */
.spec { border-top: 1px solid #14395e; margin-top: 30px; }
.spec .row { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid #14395e; }
.spec .k { font-family: Georgia, serif; color: #eef4fd; font-size: 17px; white-space: nowrap; }
.spec .v { text-align: right; font-size: 14.5px; color: #a3b6ca; max-width: 30em; }
.notes { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; font-size: 13.5px; color: #8298ad; }
.notes span::before {
  content: ""; width: 9px; height: 9px; display: inline-block; margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dd451b' d='M12 1.6l3.2 6.6 7.2 1-5.2 5 1.3 7.2L12 18l-6.5 3.4 1.3-7.2-5.2-5 7.2-1z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- badge ---- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #3c5f82; padding: 6px 14px;
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #dd451b;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #dd451b; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---- film ---- */
.film-frame {
  border: 1px solid #1d4a75; border-radius: 14px; overflow: hidden;
  background: #0a2540; margin-top: 52px; box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.film-frame video { display: block; width: 100%; height: auto; }

/* ---- cards grid ---- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 52px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card h4 { font-size: 26px; margin: 20px 0 10px; }
.card p { font-size: 15px; color: #a3b6ca; margin: 0; max-width: 32em; }

/* ---- from-price list ---- */
.from-list { border-top: 1px solid #14395e; margin-top: 40px; }
.from-list .row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid #14395e; }
.from-list .k { color: #dce6f2; font-size: 16px; }
.from-list .k small { display: block; color: #8298ad; font-size: 13px; }
.from-list .v { font-family: Georgia, serif; color: #eef4fd; font-size: 19px; white-space: nowrap; }
.from-list .v small { color: #8298ad; font-family: inherit; font-size: 12.5px; }
.price-note { font-size: 13.5px; color: #8298ad; margin-top: 16px; }

/* ---- contact form ---- */
form.enquiry { max-width: 620px; }
form.enquiry label { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #8298ad; margin: 26px 0 8px; }
form.enquiry input, form.enquiry textarea {
  width: 100%; padding: 13px 14px; font-size: 16px; font-family: inherit;
  background: #0a2540; color: #eef4fd; border: 1px solid #1d4a75; border-radius: 4px;
}
form.enquiry input:focus, form.enquiry textarea:focus { outline: none; border-color: #dd451b; }
form.enquiry textarea { min-height: 140px; resize: vertical; }
form.enquiry .hp { position: absolute; left: -9999px; top: -9999px; }
.form-error {
  display: none; border: 1px solid #a33; background: #2a1520; color: #f0b9a8;
  padding: 12px 16px; border-radius: 4px; margin-top: 24px; font-size: 15px;
}

/* ---- support strip ---- */
.support-strip { text-align: center; }
.support-strip p { max-width: 34em; margin: 18px auto 0; }

/* ---- footer ---- */
footer.site { padding: 56px 0 48px; font-size: 14px; color: #8298ad; }
footer.site .cols { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
footer.site .fbrand img.lockup { height: 46px; width: auto; display: block; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site nav a { color: #b9c9dc; text-decoration: none; }
footer.site nav a:hover { color: #eef4fd; }
footer.site .small { margin-top: 34px; font-size: 12.5px; color: #647d95; }
footer.site a.mail { color: #dd451b; text-decoration: none; }

/* ---- the one magic wink per site ---- */
.magic-note {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  color: #8298ad; font-size: 16.5px; margin: 34px 0 0; text-align: center;
}

/* ---- sector cards ---- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 56px; }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }
.sector { border: 1px solid #1d4a75; border-radius: 10px; overflow: hidden; background: #0a2540; margin: 0; }
.sector img { display: block; width: 100%; height: 210px; object-fit: cover; }
.sector .body { padding: 22px 24px 26px; }
.sector h4 { font-family: Georgia, serif; font-weight: 400; color: #eef4fd; font-size: 22px; margin: 0 0 10px; }
.sector p { font-size: 14.5px; color: #a3b6ca; margin: 0; }

/* ---- quotes ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { border-left: 2px solid #dd451b; padding-left: 22px; margin: 0; }
.quote p { font-family: Georgia, serif; font-size: 17.5px; color: #dce6f2; margin: 0 0 14px; line-height: 1.55; }
.quote cite { font-style: normal; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #8298ad; }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid #14395e; margin-top: 48px; }
.faq details { border-bottom: 1px solid #14395e; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; padding: 20px 0;
  font-family: Georgia, serif; font-size: 19px; color: #eef4fd;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #dd451b; font-size: 24px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; max-width: 46em; color: #a3b6ca; font-size: 15.5px; }

/* ---- consent row ---- */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; }
form.enquiry .consent input { width: auto; margin: 5px 0 0; flex: none; }
form.enquiry .consent label {
  font-size: 14px; color: #a3b6ca; letter-spacing: 0; text-transform: none;
  margin: 0; display: inline; flex: 1;
}

/* ---- prose (privacy policy) ---- */
.prose { max-width: 46em; }
.prose h3 { margin: 44px 0 12px; }
.prose ul { padding-left: 1.2em; color: #a3b6ca; }
.prose li { margin: 6px 0; }

/* ---- preloader (the animated mark from the old site) ---- */
#preloader {
  position: fixed; inset: 0; background-color: #00203c;
  display: flex; justify-content: center; align-items: center;
  z-index: 9999; opacity: 1; transition: opacity 1s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
#lottie { width: 100vw; height: 100vh; }
@media only screen and (max-width: 767px) {
  #lottie { width: 220vw; height: 100vh; transform: translateX(-60vw); }
}

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .rise { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-arc, .badge i, .eyebrow::before { animation: none !important; }
}
