/* ==========================================================================
   Ruvemora website styles
   --------------------------------------------------------------------------
   Brand colours are set once, just below, as --navy, --blue, --paper, --gray
   and --line. Change a colour there and it changes across the whole site.
   Later rules override earlier ones, so the newest adjustments are at the
   bottom of this file.
   ========================================================================== */

/* Fonts (stored in assets/fonts, so the site does not depend on Google) */
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-slab.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope.woff2") format("woff2");
}

/* Base reset */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #d7dce3;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}
blockquote,
figure {
  margin: 0;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
}
button {
  background-color: transparent;
  background-image: none;
  padding: 0;
}
img,
svg,
video,
iframe {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}

:root {
  --background: 220 20% 97%;
  --foreground: 220 42% 13%;
  --primary: 224 100% 54%;
  --primary-foreground: 0 0% 100%;
  --card: 0 0% 100%;
  --card-foreground: 220 42% 13%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 42% 13%;
  --secondary: 220 15% 92%;
  --secondary-foreground: 220 42% 13%;
  --muted: 220 15% 92%;
  --muted-foreground: 220 12% 42%;
  --accent: 224 100% 54%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 70% 45%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 14% 84%;
  --input: 220 14% 84%;
  --ring: 224 100% 54%;
  --radius: 0.25rem;
  --navy: #141f35;
  --blue: #2457ff;
  --paper: #f4f5f7;
  --gray: #3e4858;
  --line: #d7dce3;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: Manrope, sans-serif;
  background: var(--paper);
  color: var(--navy);
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
button {
  cursor: pointer;
}
button:active,
.button:active {
  transform: translateY(2px);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: "Roboto Slab", serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.13;
}
h3 {
  font-weight: 700;
  letter-spacing: -0.035em;
}
p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}
.site-header {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5%;
  background: var(--paper);
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
}
.brand-logo img {
  display: block;
  height: 58px;
  width: auto;
}
.brand-logo-compact img {
  height: 52px;
}
.site-footer .brand-logo {
  background: var(--paper);
  padding: 5px 10px 4px;
  border-radius: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 600;
}
.nav > a:hover {
  color: var(--blue);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 3px;
  min-height: 40px;
}
.nav-cta:hover {
  background: var(--navy);
  color: var(--white);
}
.nav .nav-cta.nav-current {
  opacity: 1;
  color: var(--white);
  background: var(--navy);
}
.nav .nav-cta.nav-current::after {
  display: none;
}
.nav > a.nav-cta:hover {
  color: var(--white);
  background: var(--navy);
}
.nav-current {
  color: var(--blue);
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
.nav .nav-current {
  position: relative;
}
.nav .nav-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--blue);
}
.menu-toggle {
  display: none;
}
.hero {
  padding: 39px 5.5% 0;
  min-height: calc(100dvh - 88px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
.small-note {
  font-size: 11px;
  color: var(--gray);
}
h1 {
  font-size: clamp(56px, 7.8vw, 118px);
  margin-top: 40px;
  max-width: 1100px;
}
.blue-word {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.blue-word svg {
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 100%;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 39px;
  flex: 1;
  min-height: 240px;
}
.hero-bottom p {
  font-size: 16px;
  line-height: 1.75;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 17px 22px;
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  color: var(--navy);
  border: 0;
  border-radius: 3px;
  min-height: 51px;
}
.primary {
  background: var(--blue);
  color: var(--white);
  margin-top: 25px;
}
.primary:hover {
  background: var(--navy);
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 20px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.hero-foot a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0;
}
.hero-art {
  width: min(620px, 52vw);
  height: 420px;
  margin-right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.section-pad {
  padding: 88px 5.5%;
}
.services,
.work,
.approach,
.contact {
  min-height: calc(100dvh - 88px);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 70px;
  margin-bottom: 45px;
}
.section-heading .eyebrow {
  grid-column: 1/-1;
}
.section-heading h2 {
  font-size: clamp(32px, 4vw, 54px);
}
.section-heading > p {
  align-self: end;
  max-width: 430px;
  padding-bottom: 4px;
}
.services {
  background: var(--paper);
  color: var(--navy);
}
.services p {
  color: var(--gray);
}
.service-row {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 65px 1fr 1.4fr 34px;
  gap: 25px;
  align-items: start;
}
.service-row:last-child {
  border-bottom: 1px solid var(--line);
}
.index-number {
  font-family: "Roboto Slab", serif;
  font-size: 35px;
  letter-spacing: -2px;
  color: var(--gray);
  font-weight: 500;
}
.service-row h3 {
  font-size: 22px;
  max-width: 255px;
  line-height: 1.45;
}
.service-row p {
  font-size: 13px;
  max-width: 500px;
}
.service-row > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
}
.service-row > a:hover {
  background: var(--blue);
  color: var(--white);
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.tags span {
  font-size: 9px;
  letter-spacing: 0.2px;
  border: 1px solid var(--line);
  padding: 6px 9px;
  border-radius: 2px;
  color: var(--navy);
}
.work {
  background: var(--white);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-visual {
  height: 235px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf0f7;
  border: 1px solid #e4e8ef;
}
.visual-id {
  position: absolute;
  top: 17px;
  left: 17px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #778298;
}
.visual-0 {
  background: #e9eefb;
}
.visual-1 {
  background: var(--navy);
}
.visual-1 .visual-id {
  color: #a7b5d0;
}
.visual-2 {
  background: #e6ebf0;
}
.workflow-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 310px;
  transform: rotate(-6deg);
  padding: 0 12px;
}
.workflow-demo > span {
  background: var(--white);
  padding: 15px 9px;
  border: 1px solid #cfdaee;
  box-shadow: 4px 5px 0 #d1d9ed;
  min-width: 74px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  font-size: 8px;
  line-height: 1.5;
}
.workflow-demo > svg {
  flex-shrink: 0;
  width: 13px;
  color: var(--blue);
}
.workflow-demo .active-node {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.knowledge-demo {
  width: 83%;
  background: #202e48;
  color: var(--white);
  padding: 17px;
  border: 1px solid #3b4963;
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow: 10px 12px 0 #0d172a;
}
.knowledge-demo > div {
  padding: 9px;
  border: 1px solid #536484;
  border-radius: 2px;
  font-size: 8px;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 22px;
  color: #c7d1e4;
}
.knowledge-demo > span {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.knowledge-demo p {
  font-size: 10px;
  margin: 7px 0;
  color: #aebdd7;
}
.knowledge-demo small {
  font-size: 7px;
  color: #91acff;
}
.dashboard-demo {
  width: 82%;
  height: 157px;
  display: flex;
  background: var(--white);
  transform: rotate(-6deg);
  border: 1px solid #c8d1e3;
  border-radius: 4px;
  box-shadow: 9px 12px 0 #cdd6e7;
}
.demo-side {
  width: 36px;
  background: var(--navy);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: #98acdf;
}
.demo-side span {
  height: 3px;
  background: #6c7c9b;
}
.demo-main {
  flex: 1;
  padding: 14px;
}
.demo-main > small {
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 700;
}
.demo-metrics {
  display: flex;
  gap: 8px;
  margin: 13px 0;
}
.demo-metrics span {
  width: 33%;
  height: 25px;
  background: #edf1fb;
  border-top: 3px solid #a7b9e9;
}
.demo-chart {
  height: 59px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid #cdd6e7;
}
.demo-chart span {
  background: var(--blue);
  width: 12%;
  opacity: 0.8;
}
.work-category {
  font-size: 8px;
  margin-top: 22px;
  color: var(--blue);
}
.work-card h3 {
  font-size: 22px;
  margin: 11px 0;
}
.work-card p {
  font-size: 12px;
  line-height: 1.85;
}
.work-card > a {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 23px;
}
.work-card > a:hover {
  color: var(--blue);
}
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}
.approach h2 {
  font-size: clamp(38px, 4.5vw, 64px);
  margin: 26px 0;
}
.approach-intro > p {
  max-width: 450px;
  font-size: 14px;
}
.principles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  font-size: 11px;
  font-weight: 600;
}
.principles span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.principles svg {
  color: var(--blue);
}
.steps {
  align-self: center;
}
.steps article {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.steps .index-number {
  color: var(--blue);
  font-size: 44px;
  line-height: 1;
}
.steps h3 {
  font-size: 21px;
  margin-bottom: 9px;
}
.steps p {
  font-size: 13px;
}
.contact {
  background: var(--paper);
  color: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact h2 {
  font-size: clamp(44px, 5vw, 72px);
  margin: 32px 0;
}
.contact h2 span {
  color: var(--blue);
}
.contact > div > p {
  color: var(--gray);
  max-width: 340px;
  font-size: 15px;
}
.contact-note {
  display: block;
  font-size: 10px;
  color: var(--gray);
  margin-top: 30px;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.contact label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  color: var(--navy);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.contact input,
.contact select,
.contact textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 3px;
  padding: 13px 14px;
  font-size: 12px;
  outline-offset: 2px;
}
.contact input:focus,
.contact textarea:focus,
.contact select:focus {
  outline: 2px solid var(--blue);
}
.contact ::placeholder {
  color: var(--gray);
}
.contact option {
  color: var(--navy);
  background: var(--white);
}
.contact textarea {
  resize: vertical;
}
.optional {
  position: absolute;
  top: 0;
  left: 63px;
  color: var(--gray);
  font-weight: 400;
}
.privacy-note {
  font-size: 9px;
  color: var(--gray);
  line-height: 1.7;
}
.contact .button {
  align-self: flex-start;
  padding-left: 23px;
  padding-right: 23px;
  min-width: 260px;
}
.contact .button:hover {
  background: var(--navy);
  color: var(--white);
}
.contact .button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.form-error {
  background: #fdecec;
  border: 1px solid var(--destructive, #b3322a);
  padding: 12px;
  font-size: 12px;
  color: var(--navy);
}
.success-message {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
}
.success-message h3 {
  font-size: 32px;
}
.success-message p {
  color: var(--gray);
  font-size: 14px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 31px 5.5%;
  background: var(--paper);
  color: var(--navy);
  border-top: 1px solid var(--line);
}
.site-footer .brand svg {
  color: var(--blue);
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer > span,
.site-footer small {
  font-size: 10px;
  color: var(--gray);
}
.site-footer > a:not(.brand) {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.site-footer > a:not(.brand):hover {
  color: var(--blue);
}
@media (min-width: 1500px) {
  .site-header,
  .hero,
  .section-pad,
  .site-footer {
    padding-left: max(5.5%, calc((100vw - 1360px) / 2));
    padding-right: max(5.5%, calc((100vw - 1360px) / 2));
  }
}
@media (max-width: 1000px) {
  .hero-art {
    margin-right: 0;
    width: 340px;
    height: 220px;
  }
  .service-row {
    grid-template-columns: 40px 1fr 1.2fr 28px;
    gap: 20px;
  }
  .service-row h3 {
    font-size: 19px;
  }
  .approach,
  .contact {
    gap: 50px;
  }
  .project-visual {
    height: 210px;
  }
  .work-grid {
    gap: 18px;
  }
  .workflow-demo {
    transform: rotate(-6deg) scale(0.8);
    min-width: 300px;
  }
  .work-card h3 {
    font-size: 19px;
  }
  .nav {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 72px;
    padding: 0 6%;
  }
  .brand-logo img,
  .brand-logo-compact img {
    height: 44px;
  }
  .brand {
    font-size: 21px;
  }
  .menu-toggle {
    display: flex;
    border: 0;
    background: none;
    color: var(--navy);
    padding: 10px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    width: 100%;
    padding: 20px 6%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .nav > * {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero {
    padding: 29px 6% 0;
    min-height: calc(100dvh - 72px);
  }
  .hero-top .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .small-note {
    display: none;
  }
  h1 {
    font-size: clamp(45px, 10.5vw, 72px);
    margin-top: 50px;
    letter-spacing: -0.06em;
  }
  .hero-bottom {
    margin-top: 40px;
    min-height: 235px;
  }
  .hero-bottom p {
    font-size: 14px;
  }
  .hero-art {
    display: flex;
    width: 100%;
    height: 200px;
    margin: 8px 0 0;
  }
  .hero-foot {
    gap: 15px;
    padding: 22px 0;
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .hero-foot a {
    font-size: 9px;
    gap: 8px;
  }
  .hero-foot svg {
    width: 14px;
  }
  .section-pad {
    padding: 60px 6%;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 33px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .section-heading > p {
    font-size: 13px;
  }
  .service-row {
    grid-template-columns: 36px 1fr 26px;
    gap: 15px;
    padding: 28px 0;
  }
  .service-row h3 {
    font-size: 19px;
    max-width: none;
  }
  .service-row > div {
    grid-column: 2;
    grid-row: 2;
  }
  .service-row > a {
    grid-column: 3;
    grid-row: 1;
  }
  .service-row .index-number {
    font-size: 30px;
  }
  .service-row p {
    font-size: 12px;
  }
  .tags span {
    font-size: 8px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 39px;
  }
  .project-visual {
    height: 260px;
  }
  .workflow-demo {
    transform: rotate(-6deg);
    width: 320px;
  }
  .knowledge-demo {
    max-width: 300px;
  }
  .dashboard-demo {
    max-width: 310px;
    height: 180px;
  }
  .demo-chart {
    height: 80px;
  }
  .work-card h3 {
    font-size: 23px;
  }
  .work-card p {
    font-size: 13px;
  }
  .approach,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .approach h2 {
    font-size: 47px;
  }
  .approach-intro > p {
    font-size: 13px;
  }
  .steps article {
    padding: 23px 0;
  }
  .contact h2 {
    font-size: 54px;
    margin: 25px 0;
  }
  .contact-note {
    margin-top: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .contact .button {
    width: 100%;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 28px 6%;
    gap: 22px;
  }
  .site-footer .brand {
    width: auto;
  }
  .site-footer > span {
    order: 3;
    width: 55%;
  }
  .site-footer > a:not(.brand) {
    order: 2;
  }
  .site-footer small {
    order: 4;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  button,
  a {
    transition: none;
  }
}
/* Uniform pages — overrides only, existing design kept */
.nav {
  font-size: 14px;
}
.nav-current {
  opacity: 1;
  color: var(--blue);
}
.nav .nav-cta.nav-current {
  background: var(--blue);
  color: var(--white);
  opacity: 1;
}
.brand-logo {
  height: 58px;
  overflow: hidden;
  align-items: flex-start;
}
.brand-logo img {
  height: 78px;
  width: auto;
  max-width: none;
}
.brand-logo-compact {
  height: 52px;
}
.brand-logo-compact img {
  height: 70px;
}
.hero {
  padding-top: 24px;
  padding-bottom: 48px;
  min-height: 0;
}
.hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
}
.hero-copy {
  flex: 1;
  min-width: 0;
}
.hero-copy h1 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 54px);
}
.hero-copy > p {
  margin-top: 24px;
}
.hero-art {
  width: min(806px, 48vw);
  height: 546px;
  flex-shrink: 0;
}
.services,
.work,
.approach,
.contact {
  min-height: 0;
  align-items: start;
  background: var(--paper);
}
.section-pad {
  padding-top: 88px;
  padding-bottom: 72px;
}
.home-follow {
  padding-top: 24px;
}
.section-heading,
.approach,
.contact,
.about-block .section-heading {
  column-gap: 80px;
}
.approach,
.contact {
  column-gap: 80px;
  row-gap: 40px;
  align-items: start;
}
.approach {
  border-top: 0;
}
@media (max-width: 1100px) {
  .hero-art {
    width: min(520px, 42vw);
    height: 380px;
  }
}
.steps {
  align-self: start;
}
.eyebrow,
.small-note,
.contact-note,
.privacy-note,
.tags span,
.work-category,
.work-card > a,
.work-card p,
.service-row p,
.principles,
.contact label,
.optional,
.site-footer small,
.footer-links a,
.button,
.visual-id {
  font-size: 14px;
}
.eyebrow {
  letter-spacing: 1.2px;
}
.small-note {
  display: inline;
}
.contact-note {
  font-size: 14px;
}
.privacy-note {
  font-size: 14px;
  line-height: 1.6;
}
.tags span {
  font-size: 14px;
  padding: 6px 10px;
}
.contact ::placeholder {
  color: #9aa3b2;
  opacity: 1;
}
.contact input,
.contact select,
.contact textarea {
  font-size: 15px;
}
.service-row {
  position: relative;
  color: inherit;
  transition: background 0.2s;
}
.service-row:hover {
  background: #e7edf8;
}
.service-row-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 3px;
}
.service-row .related-link {
  position: relative;
  z-index: 2;
}
.row-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  position: relative;
  z-index: 2;
}
.service-row:hover .row-arrow {
  background: var(--blue);
  color: var(--white);
}
.work {
  background: var(--paper);
}
.visual-0,
.visual-1,
.visual-2 {
  background: #e9eefb;
}
.visual-1 .visual-id,
.visual-id {
  color: #3e4858;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  z-index: 2;
  background: rgba(244, 245, 247, 0.92);
  padding: 4px 8px;
}
.project-visual {
  height: 280px;
  padding-top: 42px;
  align-items: center;
}
.knowledge-demo {
  background: #fff;
  color: var(--navy);
  border: 1px solid #c8d1e3;
  box-shadow: 10px 12px 0 #d5dce8;
}
.knowledge-demo > div {
  border-color: #c8d1e3;
  color: var(--navy);
}
.knowledge-demo p {
  color: var(--gray);
}
.knowledge-demo small {
  color: var(--blue);
}
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 5.5%;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.cta-strip h2 {
  font-size: clamp(26px, 3vw, 40px);
  max-width: 16ch;
}
.cta-strip .button.primary {
  margin-top: 0;
  flex-shrink: 0;
}
.site-footer {
  align-items: center;
  gap: 28px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  flex: 1;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.footer-links a:hover {
  color: var(--blue);
}
.site-footer small {
  font-size: 14px;
  margin-left: auto;
}
.about-block {
  padding-top: 88px;
}
.photo-placeholder {
  width: min(280px, 100%);
  aspect-ratio: 1;
  background: #e7edf8;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 700;
  font-size: 14px;
}
.profile-photo {
  width: min(300px, 100%);
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-top: 30px;
}
.profile-role {
  color: var(--navy);
  font-weight: 700;
  margin: 14px 0 0;
}
.about-block .section-heading p + p {
  margin-top: 14px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px 90px;
  align-items: start;
}
.about-intro h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  margin: 24px 0 0;
  line-height: 1.1;
}
.about-bio {
  align-self: center;
}
.about-bio p {
  font-size: 16px;
  line-height: 1.85;
  max-width: 60ch;
}
.about-bio p + p {
  margin-top: 16px;
}
.about-principles {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.about-snapshot {
  margin-top: 56px;
}
.about-stat-number {
  font-size: clamp(34px, 3.6vw, 48px);
}
@media (max-width: 1000px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 30px;
    align-items: start;
  }
  .about-intro .eyebrow {
    grid-column: 1/-1;
  }
  .about-intro h2 {
    margin-top: 18px;
  }
  .profile-photo {
    width: 200px;
    margin-top: 0;
    grid-row: 2;
  }
  .about-intro .profile-role {
    grid-column: 2;
    align-self: start;
  }
}
@media (max-width: 700px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .profile-photo {
    width: min(260px, 100%);
    margin-top: 6px;
  }
  .about-principles {
    grid-template-columns: 1fr;
  }
  .about-snapshot {
    margin-top: 40px;
  }
}
.privacy-page {
  max-width: 760px;
}
.privacy-page h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 18px 0 20px;
}
.privacy-page h2 {
  font-size: 28px;
  margin: 28px 0 10px;
}
.privacy-page p {
  margin-bottom: 12px;
  max-width: 62ch;
}
.privacy-page .button {
  margin-top: 18px;
}
.placeholder-value {
  font-weight: 700;
  color: var(--navy);
}
.contact .button.primary {
  background: var(--blue);
  color: var(--white);
}
.contact .button.primary:hover {
  background: var(--navy);
  color: var(--white);
}
@media (min-width: 1500px) {
  .cta-strip {
    padding-left: max(5.5%, calc((100vw - 1360px) / 2));
    padding-right: max(5.5%, calc((100vw - 1360px) / 2));
  }
}
@media (max-width: 1000px) {
  .hero-art {
    width: min(420px, 42vw);
    height: 300px;
  }
  .hero-main {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .hero {
    padding-top: 16px;
    min-height: 0;
  }
  .section-pad {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hero-main {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
  }
  .hero-art {
    width: 100%;
    height: 260px;
    margin: 8px 0 0;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .small-note {
    display: inline;
    font-size: 14px;
  }
  .hero-top .eyebrow {
    font-size: 14px;
    letter-spacing: 0.4px;
  }
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 6%;
  }
  .cta-strip .button {
    width: 100%;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer small {
    margin-left: 0;
  }
  .footer-links {
    gap: 12px 16px;
  }
  .service-row .row-arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .about-block .section-heading {
    grid-template-columns: 1fr;
  }
  .brand-logo,
  .brand-logo-compact {
    height: 44px;
  }
  .brand-logo img,
  .brand-logo-compact img {
    height: 58px;
  }
}

/* ===== Portfolio: project cards, work page, detail page ===== */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(20, 31, 53, 0.4);
}
.project-card:hover .card-link {
  color: var(--blue);
}
.project-thumb {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e9eefb;
  border-bottom: 1px solid #e4e8ef;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-contain {
  background: #eef1f6;
}
.thumb-contain img {
  object-fit: contain;
  object-position: center;
}
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 17px;
}
.type-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(20, 31, 53, 0.92);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 5px 9px;
  border-radius: 3px;
}
.featured-card .type-tag {
  top: 16px;
  right: 16px;
}
.card-link {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
}
.project-card .eyebrow,
.project-card h3,
.project-card p,
.project-card .card-link {
  padding-left: 22px;
  padding-right: 22px;
}
.project-card .eyebrow {
  padding-top: 20px;
}
.project-card h3 {
  font-size: 21px;
  margin: 9px 0;
}
.project-card p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Featured full-width card */
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(20, 31, 53, 0.45);
}
.featured-card:hover .card-link {
  color: var(--blue);
}
.featured-visual {
  position: relative;
  min-height: 340px;
  background: #e9eefb;
}
.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-visual.thumb-contain img,
.project-thumb.thumb-contain img {
  object-fit: contain;
  object-position: center;
}
.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 46px;
  gap: 14px;
}
.featured-content .work-category {
  color: var(--blue);
}
.featured-content h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  margin: 4px 0;
}
.featured-content p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 42ch;
}
.featured-content .card-link {
  margin-top: 14px;
  padding: 0;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-chip {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 8px 15px;
  border-radius: 3px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter-chip.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Tools strip */
.tools-strip {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tools-strip .eyebrow {
  color: var(--gray);
}
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.tools-row span {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* See all work link (home) */
.see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.see-all-link:hover {
  color: var(--navy);
}

/* Related project link (services) */
.related-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.related-link:hover {
  color: var(--navy);
}

/* Inline YouTube video preview (replaces project picture in card media area) */
.video-thumb {
  position: relative;
  overflow: hidden;
  background: #000;
}
.video-thumb-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.video-thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 31, 53, 0.78);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
  pointer-events: none;
}
.video-thumb-button:hover .video-play-icon {
  background: var(--blue);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-thumb .type-tag {
  z-index: 3;
}
/* Card body link (text area) — keeps card clickable when media is a video */
.project-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.project-card-body .card-link {
  margin-top: auto;
}

/* ===== Project detail page ===== */
.project-detail {
  max-width: 1100px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 34px;
}
.back-link:hover {
  color: var(--blue);
}
.detail-header {
  margin-bottom: 40px;
}
.detail-header .work-category {
  color: var(--blue);
}
.detail-header h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 14px 0 12px;
}
.detail-outcome {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 60ch;
}
.detail-header .type-tag {
  position: static;
  display: inline-block;
  margin-top: 18px;
}
.concept-note {
  margin-top: 18px;
  font-size: 14px;
  font-style: italic;
  color: var(--gray);
  background: #eaf0fb;
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: 0 3px 3px 0;
  max-width: 60ch;
}

.snapshot-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 30px;
  margin-bottom: 48px;
}
.snapshot-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.snapshot-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray);
}
.snapshot-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.detail-block {
  margin-bottom: 48px;
}
.detail-block .eyebrow {
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.detail-block > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 65ch;
}

.step-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-flow-item {
  flex: 1;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-flow-item + .step-flow-item {
  margin-left: 34px;
}
.step-flow-item .index-number {
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}
.step-flow-item h3 {
  font-size: 17px;
}
.step-flow-item p {
  font-size: 13px;
  line-height: 1.7;
}
.step-arrow {
  position: absolute;
  right: -27px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  background: var(--paper);
  padding: 4px;
  z-index: 2;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 22px;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.screenshot-thumb {
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.screenshot-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(20, 31, 53, 0.5);
}
.screenshot-thumb img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.results-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.result-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.result-number {
  font-family: "Roboto Slab", serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}
.result-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  max-width: 18ch;
}
.results-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray);
  max-width: 60ch;
}

.quote-block {
  margin: 0;
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 6px 6px 0;
  padding: 30px 34px;
}
.quote-block p {
  font-family: "Roboto Slab", serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 500;
}
.quote-block cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
  font-style: normal;
}
.quote-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.quote-role {
  font-size: 13px;
  color: var(--gray);
}

.next-step-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 38px;
  margin: 56px 0;
}
.next-step-strip h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  max-width: 20ch;
}
.next-step-strip .button {
  margin: 0;
  flex-shrink: 0;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.prev-next-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  max-width: 48%;
}
.prev-next-link.next {
  text-align: right;
  justify-content: flex-end;
  margin-left: auto;
}
.prev-next-link span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.prev-next-link small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray);
}
.prev-next-link:hover {
  color: var(--blue);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 31, 53, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1000px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-visual {
    min-height: 260px;
  }
  .snapshot-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .next-step-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .project-thumb {
    height: 200px;
  }
  .featured-content {
    padding: 28px 24px;
  }
  .snapshot-bar {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 22px;
  }
  .step-flow {
    flex-direction: column;
    gap: 14px;
  }
  .step-flow-item + .step-flow-item {
    margin-left: 0;
  }
  .step-arrow {
    display: none;
  }
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-thumb img {
    height: 200px;
  }
  .results-row {
    gap: 28px;
  }
  .quote-block {
    padding: 24px;
  }
  .prev-next {
    flex-direction: column;
    gap: 18px;
  }
  .prev-next-link,
  .prev-next-link.next {
    max-width: 100%;
    margin: 0;
    text-align: left;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Additions made for the plain-HTML version of the site
   ========================================================================== */

/* Anything marked hidden stays hidden */
[hidden] {
  display: none !important;
}

/* Space reserved for the header and footer while the page loads */
#site-header {
  min-height: 89px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-toggle .icon {
  width: 24px;
  height: 24px;
}
.principles .icon {
  width: 17px;
  height: 17px;
  color: var(--blue);
}
.success-message .icon {
  width: 42px;
  height: 42px;
  color: var(--blue);
}

/* Home page introduction text */
.hero-lead {
  font-size: 28px;
  line-height: 1.35;
  max-width: 24em;
}
.hero-copy .button.primary {
  margin-top: 28px;
}

/* Smallest text on the site stays readable */
.type-tag,
.snapshot-label,
.prev-next-link small {
  font-size: 12px;
}
.card-link,
.see-all-link,
.related-link,
.back-link,
.filter-chip {
  font-size: 14px;
}
.project-card p {
  font-size: 14px;
}
.project-card-body {
  padding-bottom: 22px;
}
.steps p,
.step-flow-item p,
.result-label,
.results-note,
.quote-role {
  font-size: 14px;
}

/* Project cards: text lines up on the left, normal weight */
.work-card > a.project-card-body {
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  font-size: inherit;
  font-weight: 400;
}
.project-card .eyebrow {
  margin-top: 0;
}

/* A single project picture is shown large and uncropped */
.screenshot-grid.single {
  grid-template-columns: 1fr;
  max-width: 820px;
}
.screenshot-grid.single .screenshot-thumb img {
  height: auto;
}

/* Business value list on a project page */
.value-list {
  margin-top: 0;
  font-size: 15px;
  gap: 12px;
}
.value-list span {
  align-items: flex-start;
}
.value-list .icon {
  margin-top: 3px;
}

/* Contact form messages */
.contact .optional {
  position: static;
}
.form-error a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}
.contact-direct {
  margin-top: 22px;
  font-size: 14px;
}
.contact-direct a {
  color: var(--blue);
  font-weight: 700;
}

/* Simple message pages (page not found, project not published) */
.notice-page {
  max-width: 760px;
}
.notice-page h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 18px 0 20px;
}
.notice-page .button {
  margin-top: 26px;
}

@media (max-width: 1000px) {
  .hero-lead {
    font-size: 22px;
  }
  .step-flow {
    flex-wrap: wrap;
    gap: 14px;
  }
  .step-flow-item {
    flex: 1 1 45%;
  }
  .step-flow-item + .step-flow-item {
    margin-left: 0;
  }
  .step-arrow {
    display: none;
  }
}
@media (max-width: 700px) {
  #site-header {
    min-height: 73px;
  }
  .hero-lead {
    font-size: 19px;
  }
  .step-flow-item {
    flex: 1 1 100%;
  }
}
@media (max-width: 700px) {
  .small-note {
    display: none;
  }
}
