/* Dawnpoint Labs LLC — Prism Refraction Bench
   Palette: PRISM-PAPER #F7F4EE, BENCH-GRAPHITE #2E3136,
   ULTRAMARINE-INK #3140C2, SLIT-GREY #8A8D92, DAWNPAD-LINEN #EBE7DB,
   Spectrum: red #C4472E orange #D97B2E yellow #D9A62E green #4E8F4A
   blue #33628F indigo #3A3F8F violet #7A4E9E (violet: one thin block only) */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #F7F4EE;
  color: #2E3136;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em 0;
}

a {
  color: #3140C2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap960 {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap1180 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ SCROLL REVEAL ============ */
html.js .reveal-pre {
  opacity: 0;
  transform: translateY(14px);
}

html.js .reveal-pre.is-shown {
  opacity: 1;
  transform: none;
}

/* ============ REFRACTION SCALE NAV ============ */
.refranav {
  background-color: #2E3136;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 6px solid #8A8D92;
}

.refranav-rail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 78px;
}

.refranav-brand {
  background-color: #EBE7DB;
  color: #2E3136;
  padding: 10px 18px;
  border-left: 5px solid #3140C2;
  margin: 8px 14px 8px 0;
  flex: 0 0 auto;
}

.refranav-brand .refranav-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2E3136;
  text-transform: uppercase;
}

.refranav-brand .refranav-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3140C2;
  margin-top: 2px;
}

.refranav-saddle {
  background-color: #F7F4EE;
  padding: 7px 13px 6px 13px;
  margin: 6px 5px;
  border-top: 3px solid #8A8D92;
  border-bottom: 1px solid #8A8D92;
  display: inline-block;
  text-align: center;
  transition: transform 0.18s ease;
}

.refranav-saddle:hover {
  transform: translateY(-3px);
}

.refranav-saddle:nth-child(odd) {
  margin-top: 18px;
}

.refranav-saddle:nth-child(even) {
  margin-top: 2px;
}

.refranav-tick {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #8A8D92;
  margin-bottom: 2px;
}

.refranav-link {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2E3136;
}

.refranav-link:hover {
  color: #3140C2;
  text-decoration: none;
}

.refranav-toggle {
  display: none;
  background-color: #3140C2;
  color: #F7F4EE;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 16px;
  margin: 12px 0;
  cursor: pointer;
  font-family: inherit;
}

/* ============ HERO: PRISM BENCH ============ */
.prismbench {
  background-color: #F7F4EE;
  border-bottom: 1px solid #8A8D92;
  padding: 54px 0 44px 0;
  overflow: hidden;
}

.prismbench-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.prismbench-copy {
  flex: 1 1 55%;
  min-width: 320px;
}

.prismbench-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3140C2;
  border-bottom: 2px solid #3140C2;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.prismbench-title {
  font-size: 52px;
  color: #2E3136;
  margin-bottom: 20px;
}

.prismbench-title .prismbench-light {
  color: #3140C2;
}

.prismbench-lede {
  font-size: 17px;
  max-width: 600px;
  color: #2E3136;
  margin-bottom: 26px;
}

.prismbench-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.beamswitch {
  display: inline-block;
  background-color: #3140C2;
  color: #F7F4EE;
  padding: 14px 26px;
  border-bottom: 5px solid #2E3136;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 15px;
  transition: transform 0.16s ease;
}

.beamswitch:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #F7F4EE;
}

.beamswitch-alt {
  background-color: #2E3136;
  border-bottom-color: #3140C2;
}

.beamswitch-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #F7F4EE;
  margin-bottom: 3px;
}

/* ---- CSS prism scene ---- */
.prismbench-scene {
  flex: 1 1 40%;
  min-width: 320px;
  position: relative;
  height: 340px;
}

.optics-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 268px;
  height: 12px;
  background-color: #2E3136;
  border-top: 4px solid #8A8D92;
}

.optics-rail-saddle {
  position: absolute;
  top: 256px;
  width: 46px;
  height: 14px;
  background-color: #EBE7DB;
  border: 2px solid #8A8D92;
}

.optics-rail-saddle.s1 { left: 24px; }
.optics-rail-saddle.s2 { left: 208px; }
.optics-rail-saddle.s3 { left: 392px; }

.optics-rail-screw {
  position: absolute;
  top: 282px;
  left: 470px;
  width: 18px;
  height: 18px;
  background-color: #3140C2;
  border-radius: 50%;
}

.slit-plate {
  position: absolute;
  left: 4px;
  top: 110px;
  width: 16px;
  height: 96px;
  background-color: #EBE7DB;
  border: 3px solid #2E3136;
}

.slit-plate .slit-gap {
  position: absolute;
  left: 3px;
  right: 3px;
  top: 42px;
  height: 12px;
  background-color: #2E3136;
}

.incoming-beam {
  position: absolute;
  left: 22px;
  top: 156px;
  width: 96px;
  height: 14px;
  background-color: #2E3136;
}

.prism-triangle {
  position: absolute;
  left: 100px;
  top: 60px;
  width: 0;
  height: 0;
  border-left: 78px solid transparent;
  border-right: 78px solid transparent;
  border-bottom: 180px solid #EBE7DB;
  filter: none;
}

.prism-triangle-edge {
  position: absolute;
  left: 96px;
  top: 56px;
  width: 0;
  height: 0;
  border-left: 82px solid transparent;
  border-right: 82px solid transparent;
  border-bottom: 188px solid #3140C2;
}

.prism-inner {
  position: absolute;
  left: 100px;
  top: 62px;
  width: 0;
  height: 0;
  border-left: 74px solid transparent;
  border-right: 74px solid transparent;
  border-bottom: 176px solid #EBE7DB;
}

.spectrum-fan {
  position: absolute;
  left: 216px;
  top: 84px;
  width: 300px;
  height: 200px;
}

.sband {
  position: absolute;
  left: 0;
  height: 9px;
  transform-origin: left center;
}

.sband-red    { top: 8px;   width: 236px; background-color: #C4472E; transform: rotate(-13deg); }
.sband-orange { top: 30px;  width: 262px; background-color: #D97B2E; transform: rotate(-8deg); }
.sband-yellow { top: 54px;  width: 288px; background-color: #D9A62E; transform: rotate(-4deg); }
.sband-green  { top: 78px;  width: 246px; background-color: #4E8F4A; transform: rotate(0deg); }
.sband-blue   { top: 102px; width: 276px; background-color: #33628F; transform: rotate(4deg); }
.sband-indigo { top: 126px; width: 224px; background-color: #3A3F8F; transform: rotate(8deg); }
.sband-violet { top: 150px; width: 120px; background-color: #7A4E9E; transform: rotate(12deg); }

.prism-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A8D92;
}

/* ============ SPECTRUM BAND ROWS ============ */
.spectrums {
  padding: 0;
  margin: 0;
}

.spectrums-intro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 26px 24px;
}

.spectrums-intro h2 {
  font-size: 34px;
  color: #2E3136;
  max-width: 720px;
}

.spectrums-intro p {
  max-width: 760px;
  font-size: 17px;
}

.band-module {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
}

.band-module-a {
  background-color: #EBE7DB;
  transform: skewY(-1deg);
  min-height: 168px;
}

.band-module-b {
  background-color: #E2DDCE;
  transform: skewY(1deg);
  min-height: 186px;
}

.band-module-c {
  background-color: #2E3136;
  transform: skewY(-1deg);
  min-height: 174px;
}

.band-module-d {
  background-color: #EBE7DB;
  transform: skewY(1deg);
  min-height: 196px;
}

.band-module-inner {
  transform: skewY(0deg);
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.wavelength-col {
  flex: 0 0 176px;
  padding: 30px 20px;
  color: #F7F4EE;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wl-red    { background-color: #C4472E; }
.wl-orange { background-color: #D97B2E; }
.wl-yellow { background-color: #D9A62E; }
.wl-green  { background-color: #4E8F4A; }
.wl-blue   { background-color: #33628F; }
.wl-indigo { background-color: #3A3F8F; }

.wavelength-nm {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.wavelength-band {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 4px;
}

.finding-panel {
  flex: 1 1 420px;
  padding: 28px 30px 30px 30px;
}

.band-module-c .finding-panel h3,
.band-module-c .finding-panel p {
  color: #F7F4EE;
}

.band-module-c .finding-panel a {
  color: #F7F4EE;
  border-bottom: 2px solid #3140C2;
}

.finding-panel h3 {
  font-size: 24px;
  color: #2E3136;
  margin-bottom: 10px;
}

.finding-panel p {
  color: #2E3136;
  max-width: 720px;
  margin-bottom: 10px;
}

.finding-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3140C2;
}

.finding-link:hover {
  text-decoration: underline;
}

.measure-track {
  margin-top: 14px;
  max-width: 560px;
}

.measure-line {
  height: 6px;
  background-color: #8A8D92;
  width: 100%;
}

.measure-fill {
  height: 6px;
  background-color: #3140C2;
}

.mf-12 { width: 12%; }
.mf-34 { width: 34%; }
.mf-55 { width: 55%; }
.mf-71 { width: 71%; }
.mf-86 { width: 86%; }
.mf-97 { width: 97%; }

.measure-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8D92;
  margin-top: 5px;
}

.band-module-c .measure-label {
  color: #EBE7DB;
}

/* ============ MEASUREMENT WINDOW ACCENT STRIP ============ */
.measurewindow {
  background-color: #3140C2;
  color: #F7F4EE;
  padding: 42px 0;
  border-top: 8px solid #8A8D92;
  border-bottom: 8px solid #8A8D92;
}

.measurewindow-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.measurewindow-glyph {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-bottom: 46px solid #F7F4EE;
}

.measurewindow-copy {
  flex: 1 1 460px;
}

.measurewindow-copy h2 {
  color: #F7F4EE;
  font-size: 28px;
  margin-bottom: 8px;
}

.measurewindow-copy p {
  color: #F7F4EE;
  margin-bottom: 0;
  font-size: 16px;
}

.measurewindow-cta {
  flex: 0 0 auto;
}

.measurewindow-cta .beamswitch {
  background-color: #2E3136;
  border-bottom-color: #EBE7DB;
}

/* ============ CONTENT SECTIONS (services/contact) ============ */
.pagehead {
  background-color: #EBE7DB;
  border-bottom: 6px solid #8A8D92;
  padding: 46px 0 40px 0;
}

.pagehead h1 {
  font-size: 44px;
  color: #2E3136;
}

.pagehead p {
  max-width: 720px;
  font-size: 17px;
  color: #2E3136;
}

.pagehead-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #3140C2;
  border-bottom: 2px solid #3140C2;
  padding-bottom: 5px;
  margin-bottom: 16px;
}

.proseblock {
  padding: 52px 0;
}

.proseblock-alt {
  background-color: #EBE7DB;
  border-top: 1px solid #8A8D92;
  border-bottom: 1px solid #8A8D92;
}

.proseblock h2 {
  font-size: 30px;
  color: #2E3136;
  margin-bottom: 16px;
}

.proseblock h3 {
  font-size: 20px;
  color: #2E3136;
  margin-top: 26px;
}

.proseblock p {
  max-width: 800px;
  font-size: 16px;
}

.serviceitem {
  border-left: 8px solid #3140C2;
  background-color: #F7F4EE;
  padding: 24px 26px;
  margin-bottom: 22px;
}

.proseblock-alt .serviceitem {
  background-color: #F7F4EE;
}

.serviceitem:nth-child(3n+2) {
  border-left-color: #33628F;
}

.serviceitem:nth-child(3n+3) {
  border-left-color: #4E8F4A;
}

.serviceitem h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 22px;
}

.serviceitem p {
  margin-bottom: 0;
}

.processstep {
  padding: 20px 0 20px 26px;
  border-left: 3px solid #8A8D92;
  margin-bottom: 8px;
}

.processstep strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.processstep span {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3140C2;
}

.ctaband {
  background-color: #2E3136;
  color: #F7F4EE;
  border-top: 8px solid #3140C2;
  padding: 44px 0;
}

.ctaband h2 {
  color: #F7F4EE;
  font-size: 30px;
}

.ctaband p {
  color: #F7F4EE;
  max-width: 700px;
}

.ctaband .beamswitch {
  border-bottom-color: #3140C2;
}

/* ============ CONTACT ============ */
.contactgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
}

.contactform-col {
  flex: 1 1 480px;
  min-width: 300px;
}

.contactinfo-col {
  flex: 0 1 340px;
  min-width: 280px;
  background-color: #EBE7DB;
  border-top: 6px solid #3140C2;
  padding: 26px 24px;
}

.fieldrow {
  margin-bottom: 16px;
}

.fieldrow label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2E3136;
  margin-bottom: 6px;
  font-weight: 700;
}

.fieldrow input,
.fieldrow select,
.fieldrow textarea {
  width: 100%;
  padding: 12px 13px;
  font-size: 16px;
  font-family: inherit;
  color: #2E3136;
  background-color: #F7F4EE;
  border: 2px solid #8A8D92;
  border-radius: 0;
}

.fieldrow textarea {
  min-height: 150px;
  resize: vertical;
}

.fieldrow input:focus,
.fieldrow select:focus,
.fieldrow textarea:focus {
  outline: none;
  border-color: #3140C2;
}

.formsubmit {
  background-color: #3140C2;
  color: #F7F4EE;
  border: 0;
  border-bottom: 5px solid #2E3136;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.formnote {
  font-size: 13px;
  color: #2E3136;
  margin-top: 12px;
}

.contactinfo-col h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.contactinfo-col p {
  font-size: 15px;
  margin-bottom: 10px;
}

.contactinfo-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3140C2;
  margin-top: 16px;
  margin-bottom: 2px;
  font-weight: 700;
}

.faqblock {
  padding: 52px 0;
}

.faqblock h2 {
  font-size: 30px;
}

.faqitem {
  border-top: 2px solid #8A8D92;
  padding: 18px 0;
}

.faqitem h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.faqitem p {
  margin-bottom: 0;
  max-width: 800px;
}

/* ============ OPTICAL BENCH BASE FOOTER ============ */
.benchbase {
  background-color: #2E3136;
  color: #F7F4EE;
  padding: 0;
  margin-top: 0;
}

.benchbase-rail {
  background-color: #8A8D92;
  height: 18px;
  position: relative;
}

.benchbase-knob {
  position: absolute;
  top: -5px;
  width: 16px;
  height: 16px;
  background-color: #3140C2;
  border-radius: 50%;
}

.benchbase-knob.k1 { left: 12%; }
.benchbase-knob.k2 { left: 50%; }
.benchbase-knob.k3 { left: 86%; }

.benchbase-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.benchbase-brand {
  flex: 1 1 320px;
  background-color: #EBE7DB;
  border-left: 6px solid #3140C2;
  padding: 18px 20px;
}

.benchbase-brand .benchbase-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2E3136;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.benchbase-brand p {
  color: #2E3136;
  font-size: 14px;
  margin-bottom: 0;
}

.benchbase-links {
  flex: 1 1 260px;
}

.benchbase-links h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8D92;
  margin-bottom: 12px;
}

.benchbase-links a {
  display: block;
  color: #F7F4EE;
  font-size: 14px;
  margin-bottom: 8px;
}

.benchbase-links a:hover {
  color: #8A8D92;
  text-decoration: underline;
}

.benchbase-contact {
  flex: 1 1 260px;
}

.benchbase-contact h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8D92;
  margin-bottom: 12px;
}

.benchbase-contact p {
  color: #F7F4EE;
  font-size: 14px;
  margin-bottom: 7px;
}

.benchbase-contact a {
  color: #F7F4EE;
}

.benchbase-edge {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 22px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #8A8D92;
  padding-top: 16px;
  font-size: 13px;
  color: #EBE7DB;
}

.benchbase-scale {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #F7F4EE;
}

/* ============ SHARED BUTTON/UTIL ============ */
.callout {
  border-left: 8px solid #3140C2;
  background-color: #EBE7DB;
  padding: 20px 24px;
  margin: 26px 0;
}

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

.divider-beams {
  height: 10px;
  display: flex;
  width: 100%;
}

.divider-beams span {
  flex: 1 1 auto;
  height: 10px;
}

.db-red { background-color: #C4472E; }
.db-orange { background-color: #D97B2E; }
.db-yellow { background-color: #D9A62E; }
.db-green { background-color: #4E8F4A; }
.db-blue { background-color: #33628F; }
.db-indigo { background-color: #3A3F8F; }
.db-violet { background-color: #7A4E9E; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .prismbench-title {
    font-size: 38px;
  }

  .prismbench-scene {
    height: 300px;
  }

  .spectrum-fan {
    width: 240px;
  }

  .sband-red    { width: 190px; }
  .sband-orange { width: 210px; }
  .sband-yellow { width: 226px; }
  .sband-green  { width: 196px; }
  .sband-blue   { width: 220px; }
  .sband-indigo { width: 180px; }
  .sband-violet { width: 100px; }
}

@media (max-width: 720px) {
  .refranav-toggle {
    display: block;
  }

  .refranav-rail {
    justify-content: space-between;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .refranav-brand {
    margin-right: auto;
  }

  .refranav-menuroot {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 10px;
  }

  .refranav-menuroot.is-open {
    display: flex;
  }

  .refranav-saddle {
    flex: 0 0 46%;
    margin: 5px 4px;
  }

  .refranav-saddle:nth-child(odd),
  .refranav-saddle:nth-child(even) {
    margin-top: 5px;
  }

  .wavelength-col {
    flex: 0 0 120px;
  }

  .wavelength-nm {
    font-size: 22px;
  }

  .pagehead h1 {
    font-size: 32px;
  }

  .prismbench-title {
    font-size: 32px;
  }
}

@media (max-width: 460px) {
  .prismbench-title {
    font-size: 28px;
  }

  .wavelength-col {
    flex: 0 0 100%;
  }

  .refranav-saddle {
    flex: 0 0 100%;
  }
}

/* noscript safeguard: without JS show everything */
html.no-js .reveal-pre {
  opacity: 1;
  transform: none;
}
