/* Shared responsive rules: phones, tablets, laptops, and wide displays. */
:root {
  --flag-navy: #001d3d;
  --flag-red: #ba0608;
  --body-text: #000;
  --content-width: 1320px;
}
html {
  scroll-padding-top: 28px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 280px;
  width: 100%;
  overflow-wrap: break-word;
}
main,
section,
header,
footer,
nav,
article,
aside,
.split > div,
.service-layout > div,
.contact-panel,
.hero-copy,
.hero-art,
.service-hero-art {
  min-width: 0;
}
p {
  font-size: 15px !important;
  color: #000 !important;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
/* White surfaces keep black paragraph text readable on navy sections. */
.process p, .service-aside p, .contact-copy p {
    border-radius: 4px;
    color: #fff !important;
}
.process p.eyebrow,
.contact-copy p.eyebrow {
  display: inline-block;
  padding: 7px 11px;
  line-height: 1.5;
  letter-spacing: 1px;
  max-width: 100%;
}
.process .steps p {
  margin-bottom: 0;
}
.service-aside p {
  margin-top: 18px;
}
.contact-copy p:not(.eyebrow) {
  max-width: 530px;
}
.art-caption p {
    color: #ffffff !important;
}
.form-status:empty {
  display: none;
}
p.eyebrow {
  letter-spacing: 1.2px;
  line-height: 1.5;
}
.form-note {
  line-height: 1.6 !important;
}
.section {
  padding-top: clamp(48px, 6vw, 95px);
  padding-bottom: clamp(48px, 6vw, 95px);
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(44px, 5.8vw, 89px);
  letter-spacing: -0.035em;
}
h2 {
  letter-spacing: -0.025em;
}
.brand {
  flex-shrink: 0;
}
nav {
   gap: clamp(15px, 2vw, 35px);
}
nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
}
.services-toggle, .menu-toggle, .dialog-close {
    min-height: 44px;
    min-width: 44px;
    font-size: 15px;
    font-weight: 600;
}
.services-dropdown {
  max-width: calc(100vw - 32px);
  max-height: min(70dvh, 540px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.services-dropdown a {
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.45;
}
button.btn,
a.btn {
  min-height: 48px;
  white-space: normal;
  text-align: center;
}
.text-link {
  min-height: 44px;
  line-height: 1.6;
}
.service-row {
  min-height: 88px;
}
.service-row strong {
  line-height: 1.3;
}
.service-row small {
  display: block;
  line-height: 1.6;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
input:not([type="checkbox"]), select, textarea {
    font-size: 14px;
    min-height: 46px;
    max-width: 100%;
    line-height: 1.5;
    font-weight: 400;
}
label {
  font-size: 12px;
  line-height: 1.5;
}
.consent {
  font-size: 12px;
  line-height: 1.6;
  align-items: flex-start;
}
.consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.book-grid,
.steps,
.deliverables,
.related-grid,
.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.footer-grid {
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
}
.book-card img {
  object-fit: contain;
  width: 100%;
  height: auto;
}
.book-card h3 {
  line-height: 1.3;
}
.book-card[hidden] {
  display: none;
}
.hero-art {
  overflow: hidden;
}
.book-stack {
  width: min(400px, 85vw);
  max-width: 100%;
  flex-shrink: 0;
}
.flag-wrap,
.hero-art,
.editorial-art {
  contain: paint;
}


.btn.small {
    padding: 11px 20px;
    gap: 24px;
    font-size: 15px;
    font-weight: 600;
}


.hero-art .halo {
  max-width: 90%;
  aspect-ratio: 1/1;
  height: auto;
}
.faq-list summary {
    min-height: 44px;
    align-items: center;
    line-height: 1.5;
    font-size: 15px;
    font-weight: 600;
}
.faq-list details p {
  margin-top: 15px;
}
.contact-panel {
  max-width: 100%;
  box-shadow: 0 16px 48px #001d4d25;
}
.contact-panel form {
  width: 100%;
}
.footer-bottom {
  align-items: center;
  line-height: 1.7;
}
.footer-grid > div {
  min-width: 0;
}
.footer-grid > div > a:not(.brand),
footer .footer-grid > div > button:not(.btn):not(.text-link) {
  min-height: 36px;
  line-height: 1.6;
  display: flex;
  align-items: center;
}
.footer-grid .btn {
  gap: 12px;
  padding-inline: 15px;
  font-size: 12px;
}
.footer-brand {
  letter-spacing: 1.3px;
}
dialog {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  width: min(620px, calc(100% - 24px));
  overscroll-behavior: contain;
  padding: 42px 30px 28px;
}
dialog h2 {
  padding-right: 20px;
}
.dialog-close {
  right: 8px;
  top: 6px;
}
.legal {
  max-width: 950px;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 50px);
}
.legal h2 {
  font-size: 28px;
}
@media (min-width: 1700px) {
.hero {
    max-width: 100%;
    margin: auto;
}
  .hero-copy {
    padding-left: 12%;
    padding-right: 10%;
  }
  .service-hero {
    padding-inline: calc((100vw - 1320px) / 2);
  }
  footer {
    padding-inline: calc((100vw - 1320px) / 2);
  }
}
@media (max-width: 1200px) {
  .brand {
    font-size: 16px;
  }
  .brand small {
    letter-spacing: 2px;
  }
  .footer-grid {
    gap: 25px;
  }
  .contact {
    gap: 5%;
  }
  .hero-copy {
    padding-inline: 9%;
  }
  .steps {
    gap: 24px;
  }
  .service-row strong {
    font-size: 24px;
  }
  .service-hero h1 {
    font-size: clamp(44px, 5.3vw, 67px);
  }
}
@media (max-width: 1080px) {
  header {
    padding: 18px 5%;
    position: relative;
  }
  .menu-toggle {
    display: block;
    border: 1px solid #dbe2ed;
    background: #fff;
    font-size: 22px;
    padding: 4px 12px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 5%;
    border-bottom: 3px solid #ba0608;
    box-shadow: 0 15px 25px #001d3d15;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }
  nav > a {
    padding: 9px 0;
  }
  .nav-services {
    width: 100%;
  }
  .services-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  
  .services-dropdown {
    position: static;
    width: 100%;
    max-width: none;
    margin: 4px 0 12px;
    box-shadow: none;
    background: #f1f5fc;
    padding: 5px 10px;
    max-height: none;
  }
  .services-dropdown a {
    display: flex;
    padding: 10px 12px;
  }
  .service-aside h3 {
    font-size: 29px;
  }
  .service-aside {
    padding: 24px;
  }
  .steps,
  .deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
  .service-hero-art {
    min-height: 430px;
  }
  .hero h1 {
    font-size: clamp(46px, 5.8vw, 66px);
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding: 50px 7%;
  }
  .hero h1 {
    font-size: 48px;
  }
  .actions {
    gap: 15px;
  }
  .hero .actions .btn {
    width: 100%;
    padding-inline: 12px;
    gap: 12px;
  }
  .hero .hero-art {
    min-height: 610px;
  }
  .hero .book-stack {
    scale: 0.72 !important;
  }
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 6%;
  }
  .service-layout {
    grid-template-columns: 0.8fr 1.3fr;
    gap: 5%;
  }
  .service-aside h3 {
    font-size: 25px;
  }
  .service-aside .btn {
    padding-inline: 10px;
    gap: 10px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-copy {
    max-width: 650px;
  }
  .contact-panel {
    width: 100%;
    max-width: 760px;
  }
  .contact-star {
    display: none;
  }
  .contact-copy h2 {
    font-size: 45px;
  }
  .editorial {
    gap: 6%;
  }
  .editorial-art {
    min-height: 390px;
  }
  .paper {
    padding: 35px 25px;
    width: 80%;
  }
  .paper h3 {
    font-size: 32px;
  }
  .book-grid {
    gap: 25px;
  }
  .faq {
    grid-template-columns: 0.7fr 1.4fr;
    gap: 6%;
  }
  .service-hero {
    gap: 5%;
  }
  .service-hero h1 {
    font-size: 45px;
  }
  .service-hero-art img {
    width: 195px;
  }
  .service-watermark {
    font-size: 220px;
  }
}
@media (max-width: 700px) {
  .section {
    padding-inline: 6%;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 45px 6%;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 67px);
  }
  .hero .intro {
    max-width: 550px;
    margin-inline: auto;
  }
  .hero .actions {
    justify-content: center;
  }
  .hero .actions .btn {
    width: auto;
    padding: 15px 23px;
  }
  .hero-foot {
    justify-content: center;
  }
  .hero .hero-art {
    min-height: 515px;
  }
  .hero .book-stack {
    scale: 1 !important;
    width: min(350px, 85vw);
    height: 370px;
  }
  .book-stack img {
    width: 210px;
  }
  .front-book {
    left: 4px;
  }
  .back-book {
    right: 0;
    top: 4px;
  }
  .art-caption {
    bottom: 18px;
    padding-inline: 12px;
  }
  .art-caption p {
    margin-bottom: 0;
  }
  .orbit-label {
    top: 0px;
  }
  .art-star {
    right: 7%;
    bottom: 115px;
    font-size: 52px;
  }
  .genre-ribbon {
    justify-content: center;
    gap: 13px;
    padding: 20px 6%;
    line-height: 1.8;
  }
  .genre-ribbon i {
    display: none;
  }
  .split,
  .editorial,
  .faq,
  .service-layout,
  .service-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-heading p {
    margin-bottom: 0;
  }
  .service-aside {
    display: block;
  }
  .service-aside h3 br {
    display: none;
  }
  .service-aside h3 {
    font-size: 29px;
    line-height: 1.3;
  }
  .service-aside .large-quote {
    display: none;
  }
  .service-aside p {
    max-width: 550px;
  }
  .service-row {
    grid-template-columns: 26px minmax(0, 1fr) 28px;
    gap: 10px;
  }
  .service-row strong {
    font-size: 23px;
  }
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }
  .book-card h3 {
    font-size: 19px;
  }
  .steps,
  .deliverables {
    gap: 28px;
  }
  .steps {
    margin-top: 30px;
  }
  .steps h3 {
    margin-top: 20px;
  }
  .steps p {
    padding: 12px;
  }
  .process .section-heading {
    margin-bottom: 0;
  }
  .editorial-art {
    min-height: 380px;
  }
  .paper {
    width: 70%;
  }
  .faq h2 br {
    display: none;
  }
  .faq-list details:first-child {
    margin-top: 0;
  }
  .contact-copy h2 {
    font-size: 40px;
  }
  .contact-panel {
    padding: 25px;
  }
  .service-hero {
    background: linear-gradient(#fff 55%, #edf2fc 55%);
    padding-top: 28px;
  }
  .service-hero h1 {
    font-size: clamp(43px, 9vw, 60px);
  }
  .service-hero-art {
    min-height: 425px;
    margin-top: 10px;
  }
  .service-hero-art img {
    width: 220px;
  }
  .service-watermark {
    right: 10%;
    font-size: 245px;
  }
  .service-values {
    gap: 15px;
    padding: 20px 6%;
    text-align: center;
    line-height: 1.8;
  }
  .service-values i {
    display: none;
  }
  .audience {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    gap: 35px 22px;
  }
  .footer-bottom {
    justify-content: flex-start;
    gap: 12px 25px;
  }
  .footer-bottom span {
    overflow-wrap: anywhere;
  }
  .footer-brand {
    font-size: 14px;
  }
  .footer-brand small {
    letter-spacing: 1.5px;
  }
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid label {
    margin-bottom: 0;
  }
  .contact-panel {
    padding: 22px 18px;
  }
  .contact-panel h3 {
    font-size: 25px;
  }
  .consent {
    margin-top: 8px;
  }
  .btn {
    gap: 16px;
  }
  .filters button {
    min-height: 44px;
    padding: 10px 17px;
  }
  .eyebrow {
    letter-spacing: 0.8px !important;
  }
  .brand {
    font-size: 15px;
    gap: 10px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand-mark {
    font-size: 39px;
  }
  .hero-foot {
    font-size: 12px;
  }
  .service-hero .actions {
    align-items: stretch;
  }
  .breadcrumb {
    line-height: 1.8;
  }
  .form-note {
    text-align: left;
  }
  dialog {
    padding: 40px 20px 24px;
  }
  .footer-grid .btn {
    width: 100%;
  }
  .topbar {
    padding-inline: 12px;
    line-height: 1.8;
  }
  .topbar button {
    min-height: 32px;
  }
}
@media (max-width: 420px) {
  h2,
  .section h2 {
    font-size: 33px;
  }
  .hero .hero-art {
    min-height: 465px;
  }
  .hero .book-stack {
    height: 330px;
    width: 270px;
  }
 .book-stack img {
    width: 200px !important;
    height: 270px !important;
}

.aph-print-book strong {
    font-size: 20px !important;
}


  .art-star {
    right: 4%;
    font-size: 43px;
    bottom: 95px;
  }
  .art-caption p {
    font-size: 15px !important;
  }
  .hero .actions {
    flex-direction: column;
  }
  .hero .actions .btn {
    width: 100%;
  }
  .service-row strong {
    font-size: 21px;
  }
  .service-row small {
    font-size: 12px;
  }
  .steps,
  .deliverables,
  .related-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    gap: 30px;
  }
  .footer-grid h3 {
    margin-bottom: 14px;
  }
  .steps h3,
  .deliverable h3 {
    font-size: 24px;
  }
  .paper {
    width: 78%;
    padding: 30px 24px;
  }
  .paper h3 {
    font-size: 31px;
  }
  .editorial-art {
    min-height: 350px;
  }
  .contact-copy h2 {
    font-size: 34px;
  }
  .service-hero h1 {
    font-size: 43px;
  }
  .service-hero-art {
    min-height: 400px;
  }
  .service-hero-art img {
    width: 200px;
  }
  .hero-foot {
    align-items: flex-start;
  }
  .footer-bottom {
    margin-top: 35px;
  }
  .brand {
    font-size: 13px;
    letter-spacing: 1.2px;
  }
  .brand small {
    letter-spacing: 1.7px;
  }
  .menu-toggle {
    padding: 4px 10px;
  }
  .service-art-note {
    left: 0;
    right: 0;
  }
  .book-grid {
    gap: 24px 16px;
  }
  .book-card h3 {
    font-size: 17px;
  }
}
@media (hover: none) {
  .btn:hover,
  .book-card:hover {
    transform: none;
  }
  .service-row:hover {
    padding-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
