/* ==== Reset & Global Styles ==== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  font-family: 'Public Sans', Arial, sans-serif;
  color: #23366D;
  background: #fcfcff;
}

a { color: #2b7ac9; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ==== Full-bleed Section Backgrounds ==== */
.intro-bg {
  width: 100vw;
  min-height: 100vh;
  background: url('images/intro-bg.png') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.about-bg {
  width: 100vw;
  min-height: 100vh;
  background: url('images/about-bg.png') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.contact-bg {
  width: 100vw;
  min-height: 100vh;
  background: url('images/contact-bg.png') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* ==== Panels (Centered Content Box) ==== */
.panel {
  max-width: 1100px;
  width: 100%;
  background: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Optional extra offset for About and Contact panels */

.about-panel .brandmark + p,
.contact-panel .brandmark + p {
  font-size: clamp(1.2em, 2.5vw, 2.2em);
  line-height: 1.3;
}

.about-panel { 
  color: #FFFFFF;
  text-align: center; 
  display: flex;
  flex-direction: column;
}

.contact-panel { 
  text-align: center; 
  display: flex;
  color: #FFFFFF;
  flex-direction: column;
}

.about-panel h3,
.contact-panel h3 {
  font-size: clamp(2em, 5vw, 4em);
  font-weight: 300;  /* match your style */
  margin-bottom: 0.5em;
  color: #FFFFFF; 
  text-align: center;
}


/* ==== Branding ==== */
.brandmark img {
  display: block;
  margin: 0 auto 10px;
  max-width: 2em;   /* scales relative to font size of .brandmark */
  height: auto;
}

.brandmark {
  display: column;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 8px 0 18px 0;
  font-size: 4.4em; /* Or whatever overall scaling you want */
  gap: 0.2em;
}
.brandmark.center {
  justify-content: center;
  margin-left: auto; margin-right: auto;
}
.double {
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 300;
  font-size: 1.2em;   /* This is relative to .brandmark font-size */
  text-transform: uppercase;
  letter-spacing: -0.06em;
  color: #23366D;
  margin-right: .05em;
}
.notion {
  font-family: 'Glass Antiqua';
  font-weight: 400;
  font-size: 1.85em; /* Smaller than DOUBLE; experiment with 0.9em, 0.7em, etc */
  color: #FF914D;
  position: relative;
  top: -0.0em;
}
.union {
  font-family: 'Glass Antiqua';
  font-size: clamp(1.2em, 3vw, 2.2em);
  color: #23366D;
  margin-top: 0;
  margin-bottom: 14px;
}

/* ==== Content Styles ==== */
.intro {
  font-size: clamp(1.2em, 2.5vw, 2.2em);
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
h3 {
  margin: 28px 0 10px 0;
  font-size: 3.5em;
  font-weight: 300;
}
p { font-size: 1em; line-height: 1.7; word-break: break-word; }

footer {
  background: #f5f7fa;
  text-align: center;
  font-size: 0.9em;
  padding: 20px 0 9px 0;
  border-top: 1px solid #e9ecef;
}

/* ==== Email rendered in parts with CSS content ==== */
.email-css-content::before {
  content: "info";
}
.email-css-content::after {
  content: "@doublenotion.com";
}
.email-css-content {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 400;
  cursor: default;
  display: inline-block;
  font-size: clamp(1.2em, 2.5vw, 2.2em);
}


/* ==== Responsive ==== */
@media (max-width: 900px) {
  .about-panel { margin-left: 3vw; }
  .contact-panel { margin-right: 3vw; }
}
@media (max-width: 700px) {
  .about-bg, .contact-bg { justify-content: center; }
  .about-panel, .contact-panel { margin-left: 0; margin-right: 0; }
}
@media (max-width: 600px) {
  .panel { max-width: 98vw; padding: 18px 2vw; border-radius: 11px;  }
  .brandmark {
    font-size: 2.5em;  /* Shrink base size for smaller screens */
  .double {
    font-size: 1em;    /* Maintain the ratio */
  }
  .notion {
    font-size: 1.5em;  /* Maintain the ratio */
  }
  .union {
    font-size: 1.1em;
    text-align: center;
  }
  .brandmark.center {
    font-size: 1.18em;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  h3, .union, .intro, p, footer {
    font-size: 1em !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

