/*
Theme Name: Firetop One Page
Theme URI: https://firetop.co.uk/
Author: OpenAI for Firetop Ltd
Description: A lightweight one-page WordPress theme for Firetop Ltd.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: firetop-one-page
*/

:root {
  --firetop-pink: #e3007f;
  --firetop-charcoal: #25292e;
  --firetop-grey: #6a6e74;
  --firetop-soft: #f7f7f9;
  --firetop-soft-pink: #fdf2f8;
  --firetop-line: #e6e7eb;
  --firetop-white: #ffffff;
  --firetop-shadow: 0 18px 45px rgba(37, 41, 46, 0.08);
  --container: 1160px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--firetop-charcoal);
  background: var(--firetop-white);
  line-height: 1.6;
}

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

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

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--firetop-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--firetop-pink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-lead,
.copy p,
.copy li {
  color: var(--firetop-grey);
  font-size: 1.04rem;
}

.copy p:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 231, 235, 0.8);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 170px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--firetop-grey);
  font-weight: 600;
  font-size: 0.96rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--firetop-charcoal);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--firetop-pink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(227, 0, 127, 0.22);
}

.button.secondary {
  background: transparent;
  color: var(--firetop-charcoal);
  border: 1px solid var(--firetop-line);
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 96px 0 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.6;
  pointer-events: none;
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -120px;
  top: -100px;
  background: radial-gradient(circle, rgba(227, 0, 127, 0.15), rgba(227, 0, 127, 0));
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -100px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(37, 41, 46, 0.08), rgba(37, 41, 46, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.hero-kicker {
  font-size: 1rem;
  font-weight: 700;
  color: var(--firetop-pink);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
}

.hero p {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--firetop-grey);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 20px;
  color: var(--firetop-grey);
  font-weight: 600;
}

.hero-panel {
  position: relative;
  padding: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8fb 100%);
  border: 1px solid rgba(230, 231, 235, 0.8);
  border-radius: 32px;
  box-shadow: var(--firetop-shadow);
}

.hero-logo {
  width: 195px;
  margin-bottom: 26px;
}

.hero-quote {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-tag {
  margin-top: 14px;
  color: var(--firetop-grey);
  font-weight: 600;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 24px 0 0;
}

.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--firetop-soft-pink);
  color: var(--firetop-charcoal);
  border: 1px solid rgba(227, 0, 127, 0.1);
  font-size: 0.94rem;
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.grid-2-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
}

.card {
  background: var(--firetop-white);
  border: 1px solid var(--firetop-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--firetop-shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--firetop-pink), #ff69b4);
}

.service-card h3,
.team-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.1;
}

.service-card .label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--firetop-pink);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: var(--firetop-grey);
}

.service-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--firetop-pink);
  position: absolute;
  left: 0;
  top: 0.72em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.team-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.team-visual {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #faf0f6 0%, #f5f6f8 100%);
}

.team-visual.suellen {
  background: linear-gradient(180deg, #f2f3f5 0%, #ffffff 100%);
}

.team-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-visual.matt img {
  object-fit: contain;
  object-position: center bottom;
  padding: 10px 0 0;
}

.team-role {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--firetop-pink);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.team-text p {
  margin-top: 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}

.contact-line {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.contact-meta {
  color: var(--firetop-grey);
  font-size: 0.98rem;
}

.footer {
  padding: 26px 0 42px;
  color: var(--firetop-grey);
  font-size: 0.95rem;
}

.footer a {
  color: var(--firetop-charcoal);
}

.page-content {
  padding: 60px 0 90px;
}

.entry-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.entry-content {
  color: var(--firetop-grey);
  max-width: 72ch;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-2,
  .grid-2-wide,
  .team-grid,
  .contact-wrap,
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card {
    gap: 24px;
  }

  .team-visual {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .header-row {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 14px 18px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-panel,
  .card {
    padding: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .brand img {
    width: 150px;
  }

  .team-visual {
    min-height: 280px;
  }
}


.contact-details {
  display: grid;
  gap: 14px;
  margin: 30px 0 18px;
}

.contact-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}

.contact-line span {
  color: var(--firetop-grey);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.contact-line a {
  color: var(--firetop-charcoal);
}

.contact-line.email a {
  color: var(--firetop-pink);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}


/* v3 team section refinement */
.team-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-card {
  display: block;
  overflow: hidden;
}

.team-card::after {
  content: "";
  display: table;
  clear: both;
}

.team-visual {
  float: right;
  width: min(32%, 280px);
  min-height: 0;
  margin: 6px 0 18px 30px;
  border-radius: 20px;
  overflow: hidden;
}

.team-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.team-visual.matt img {
  object-fit: contain;
  object-position: center center;
  padding: 0;
}

.team-visual.suellen img {
  object-fit: contain;
  object-position: center top;
}

.team-text {
  display: block;
}

.team-text h3 {
  max-width: 18ch;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    display: block;
  }

  .team-visual {
    width: min(38%, 260px);
  }
}

@media (max-width: 760px) {
  .team-visual {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 0 22px;
  }

  .team-text h3 {
    max-width: none;
  }
}



/* v4 team polish */
.team-grid,
.team-members {
  display: block !important;
}

.team-member,
.team-card {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  clear: both;
  margin: 0 0 2.5rem 0 !important;
  padding: 2rem !important;
  border-radius: 24px;
  background: #f5f3f5;
}

.team-member::after,
.team-card::after {
  content: "";
  display: table;
  clear: both;
}

.team-member img,
.team-card img,
.team-member .member-photo,
.team-card .member-photo,
.team-member figure img,
.team-card figure img {
  float: right !important;
  display: block !important;
  width: min(260px, 38%) !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  aspect-ratio: auto !important;
  margin: 0 0 1rem 2rem !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

.team-member .photo-wrap,
.team-card .photo-wrap,
.team-member figure,
.team-card figure {
  float: right !important;
  width: min(260px, 38%) !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 0 1rem 2rem !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 18px !important;
}

.team-member h3,
.team-card h3 {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
}

.team-member p,
.team-card p {
  max-width: 70ch;
}

@media (max-width: 900px) {
  .team-member,
  .team-card {
    padding: 1.5rem !important;
  }
  .team-member img,
  .team-card img,
  .team-member .member-photo,
  .team-card .member-photo,
  .team-member figure,
  .team-card figure,
  .team-member .photo-wrap,
  .team-card .photo-wrap {
    float: none !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 0 1rem 0 !important;
  }
}


/* v5 team section corrective pass */
#team .team-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
}

#team .team-card {
  display: block !important;
  overflow: hidden !important;
  padding: 32px !important;
  background: var(--firetop-white) !important;
  border: 1px solid var(--firetop-line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--firetop-shadow) !important;
  margin: 0 !important;
}

#team .team-card::after {
  content: "";
  display: table;
  clear: both;
}

#team .team-visual {
  float: right !important;
  width: 300px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 4px 0 18px 32px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #faf0f6 0%, #f5f6f8 100%) !important;
}

#team .team-visual.suellen {
  background: linear-gradient(180deg, #f2f3f5 0%, #ffffff 100%) !important;
}

#team .team-visual img {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  aspect-ratio: auto !important;
  background: transparent !important;
  box-shadow: none !important;
}

#team .team-visual.matt img {
  object-position: center center !important;
}

#team .team-text h3,
#team .team-card h3 {
  max-width: none !important;
  margin-right: 0 !important;
}

#team .team-text p,
#team .team-card p {
  max-width: 72ch !important;
}

@media (max-width: 900px) {
  #team .team-card {
    padding: 24px !important;
  }

  #team .team-visual {
    float: none !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 0 22px 0 !important;
  }
}
