@charset "UTF-8";

:root {
  --ink: #264d76;
  --muted: #566e8b;
  --blue: #4a68a2;
  --pale: #edf3ff;
  --line: #d7e3f1;
  --paper: #eef5ff;
  --green: #356864;
}

@media screen {
  body {
    background:
      radial-gradient(ellipse at 7% 13%, #ccdfff 0, transparent 42%),
      radial-gradient(ellipse at 94% 16%, #ddd7fc 0, transparent 40%),
      radial-gradient(ellipse at 20% 74%, #e8ddfc 0, transparent 40%),
      linear-gradient(145deg, #ecf6ff, #e8f0ff 60%, #f1f8fe);
    background-attachment: fixed;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    padding: 30px 0;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(circle at 3% 6%, #fff 0 2px, #ffffff66 3px, transparent 12px),
      radial-gradient(circle at 95% 8%, #fff 0 3px, #ffffff66 7px, transparent 24px),
      radial-gradient(circle at 4% 48%, #fff 0 2px, transparent 12px),
      radial-gradient(circle at 98% 61%, #fff 0 2px, transparent 10px),
      radial-gradient(circle at 7% 86%, #ffffff99 0 12px, transparent 32px);
  }
  .site-shell {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
    border: 1px solid #ffffffee;
    border-radius: 31px;
    background: linear-gradient(135deg, #ffffffb8, #f8fbffbd 60%, #f5f8ffe6);
    box-shadow: 0 16px 70px #809ed321, inset 0 1px 0 white;
    position: relative;
  }
  .wrap { width: 100%; max-width: none; padding: 0 28px; }
  .header { background: transparent; border: 0; border-radius: 30px 30px 0 0; }
  .header-inner { min-height: 87px; padding: 15px 32px; gap: 24px; }
  .brand { gap: 14px; color: #2c4c7a; font-family: var(--serif); font-weight: 500; }
  .brand>span:last-child { font-size: 21px; letter-spacing: .035em; }
  .brand small { font: 10px/1.2 var(--sans); letter-spacing: .18em; margin-bottom: 6px; color: #647eaa; }
  .brand-symbol { width: 23px; height: 23px; border: 1px solid #88a9df; border-radius: 0; background: #e9f4ff; transform: rotate(45deg); }
  .brand-symbol::before { inset: 4px; width: auto; height: auto; border: 1px solid #a7c4ee; background: transparent; }
  .brand-symbol::after { inset: 8px; width: auto; height: auto; border: 0; background: #ccdeff; }
  .header nav { font-size: 12px; font-weight: 500; gap: 28px; }
  .header nav a { color: #4d6896; padding: 8px 0; }
  .header nav a:hover { color: #203e72; }
  .header nav .nav-contact { background: #ffffffdf; border: 1px solid white; border-radius: 28px; padding: 10px 20px; box-shadow: 0 5px 20px #becdec35; display: flex; gap: 16px; align-items: center; }
  .nav-contact span { font-size: 19px; line-height: 1; }
  .is-home .header nav a[href="/"] { font-weight: 700; text-decoration: underline; text-decoration-color: #99b3ec; text-underline-offset: 9px; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: #425fa4; }
  .button-primary, .button-secondary { border-radius: 28px; padding: 11px 23px; font-size: 13px; font-weight: 500; min-height: 46px; gap: 15px; }
  .button-primary { background: #536fa7; border-color: #536fa7; box-shadow: 0 5px 20px #7189bd20; }
  .button-primary:hover { background: #3c568b; border-color: #3c568b; }
  .button-secondary { background: #ffffffbd; border-color: white; color: #355885; box-shadow: 0 4px 18px #8da8d51a; }
  .button-secondary:hover { background: white; border-color: #b6c9e8; }
  .eyebrow, .note-label { color: #52709f; font-size: 10px; letter-spacing: .2em; font-weight: 500; }

  .dream-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 446px; border-radius: 23px; background: #82a9cd; border: 1px solid #ffffffae; box-shadow: 0 -10px 0 5px #d9eafa66; }
  .dream-hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: auto; max-width: 58%; height: 100%; object-fit: contain; object-position: right center; mask-image: linear-gradient(90deg, transparent, #000 24%); }
  .dream-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #4e7496 0%, #4e7496e8 30%, #527d9c6b 48%, transparent 66%); pointer-events: none; }
  .dream-hero-copy { position: relative; width: 53%; padding: 39px 0 26px 47px; }
  .dream-hero .eyebrow { color: white; font-size: 9px; letter-spacing: .26em; margin: 0 0 17px; }
  .dream-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(39px, 4.2vw, 61px); line-height: 1.58; letter-spacing: .08em; color: #fff; text-shadow: 0 2px 13px #2a557b12; margin: 0 0 14px; }
  .dream-hero .lead { font-size: 13px; line-height: 2; color: white; margin: 0; letter-spacing: .045em; text-shadow: 0 1px 4px #23466a3d; }
  .dream-hero .home-actions { gap: 11px; margin-top: 24px; }
  .dream-hero .button-primary { background: #f8fcff; border-color: white; color: #31527d; min-width: 152px; }
  .dream-hero .button-primary:hover { background: #e8f3ff; }
  .dream-hero .button-secondary { background: #ffffff13; border-color: #ffffffba; color: white; min-width: 152px; box-shadow: none; }
  .dream-hero .button-secondary:hover { background: #ffffff30; }
  .hero-signature { display: flex; align-items: center; gap: 13px; color: #fff; font-size: 8px; letter-spacing: .28em; margin: 29px 0 0; opacity: .95; }
  .hero-signature::before { content: ""; width: 26px; height: 1px; background: #ffffffb8; }
  .hero-glass-note { position: absolute; right: 37%; bottom: 30px; width: 166px; padding: 17px 18px; border: 1px solid #ffffffbc; border-radius: 18px; background: linear-gradient(130deg, #e7f3ff45, #f0e5ff4d); backdrop-filter: blur(8px); box-shadow: 0 8px 30px #c0d6ef13; color: #2e547d; }
  .hero-glass-note p { font: 16px/1.9 var(--serif); margin: 0 0 16px; }
  .hero-glass-note small { font-size: 8px; letter-spacing: .13em; line-height: 1.8; display: block; }
  .hero-glass-note::after { content: ""; display: block; width: 26px; height: 1px; background: #8ca9d9; margin-top: 16px; }

  .portfolio-grid { display: grid; grid-template-columns: minmax(0, 3.15fr) minmax(200px, 1fr); gap: 24px; margin: 25px 12px 35px; }
  .section-head { border-bottom: 0; padding: 0 0 15px; align-items: center; gap: 18px; }
  .section-head h2 { font: 500 23px/1.6 var(--serif); letter-spacing: .07em; margin: 0; }
  .section-head>a, .section-head>span { font-size: 10px; color: #4e6d9b; font-weight: 400; }
  .section-head>a { text-decoration: none; }
  .section-head>span { letter-spacing: .15em; }
  .portfolio-picks { min-width: 0; }
  .portfolio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .portfolio-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; border: 1px solid #ffffffef; border-radius: 15px; background: #ffffffbd; overflow: hidden; box-shadow: 0 6px 25px #799ac412; transition: transform .2s, box-shadow .2s; }
  .portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px #7898cb26; }
  .portfolio-card-visual { display: block; }
  .portfolio-card-visual>img { width: 100%; height: auto; aspect-ratio: 2.15; object-fit: cover; display: block; background: #e5eafc; }
  .portfolio-card-body { padding: 13px 16px 16px; display: flex; flex-direction: column; flex: 1; }
  .portfolio-card .card-category { font-size: 8px; line-height: 1.6; letter-spacing: .08em; margin: 0 0 5px; color: #58769c; }
  .portfolio-card h3 { font: 500 19px/1.5 var(--serif); margin: 0 0 7px; display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
  .portfolio-card h3 a { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 8px; text-decoration: none; }
  .portfolio-card h3 span { font: 17px/1 var(--sans); color: #7697c6; flex: none; }
  .portfolio-card-body>p:not(.card-category) { font-size: 12px; line-height: 1.9; color: #526c89; margin: 0 0 12px; }
  .portfolio-card-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid #e0e8f5; padding-top: 11px; margin-top: 14px; font-size: 11px; color: #466394; }
  .portfolio-card-actions a { text-decoration: none; }
  .portfolio-card-actions a:hover { text-decoration: underline; }
  .feature-tags { margin: auto 0 0; gap: 5px; }
  .feature-tags span { font-size: 9px; border: 0; background: #edf2fc; color: #56709b; border-radius: 15px; padding: 3px 9px; line-height: 1.5; }
  .portfolio-about { border-left: 1px solid #d3e1f4; padding: 2px 0 0 22px; }
  .portfolio-about>.eyebrow { margin: 0 0 6px; font-size: 9px; }
  .portfolio-about h2 { font: 500 25px/1.5 var(--serif); letter-spacing: .07em; margin: 0 0 10px; }
  .portfolio-about>p:not(.eyebrow) { color: #526c8a; font-size: 12px; line-height: 2; margin: 0 0 15px; }
  .about-principles { padding: 0; margin: 0 0 18px; list-style: none; }
  .about-principles li { padding: 8px 0 10px; border-bottom: 1px solid #dce5f3; }
  .about-principles strong { font-size: 12px; font-weight: 500; letter-spacing: .04em; display: block; }
  .about-principles span { font-size: 10px; line-height: 1.8; color: #5d7292; display: block; margin-top: 3px; }
  .portfolio-about .text-link { font-size: 10px; font-weight: 400; text-decoration: none; }
  .journal-section, .research-section { margin: 30px 12px; padding-top: 12px; border-top: 1px solid #dbe6f4; scroll-margin-top: 24px; }
  .journal-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 22px; border: 1px solid white; border-radius: 15px; background: #ffffffa6; }
  .journal-row + .journal-row { margin-top: 12px; }
  .entry-date { gap: 4px; font-size: 10px; color: #587294; padding: 0; }
  .entry-date span { color: #5b78a8; font-size: 8px; letter-spacing: .12em; }
  .journal-row h3 { font-size: 15px; font-weight: 500; margin: 0 0 7px; line-height: 1.8; }
  .journal-row h3 a { text-decoration: none; }
  .journal-row p { font-size: 12px; margin: 0; color: #5a718d; line-height: 1.9; }
  .journal-link { color: #4e6b9c; font-size: 11px; white-space: nowrap; text-decoration: none; }
  .section-intro { margin: -3px 0 17px; font-size: 11px; color: #596f8b; }
  .research-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .research-card { display: flex; gap: 13px; align-items: flex-start; padding: 18px; border: 1px solid white; border-radius: 13px; background: #ffffffa6; text-decoration: none; }
  .research-card:hover { background: #fff; }
  .research-card-number { font: 17px/1.5 var(--serif); color: #8aa1c2; }
  .research-card h3 { font-size: 16px; font-weight: 500; margin: 0 0 6px; }
  .research-card p { font-size: 12px; line-height: 1.9; margin: 0; color: #596f8b; }
  .research-card-arrow { margin-left: auto; color: #6d8ab5; }
  .research-links { padding-top: 15px; font-size: 10px; gap: 20px; }
  .research-links a { text-decoration: none; }
  .contact-banner { display: flex; position: relative; isolation: isolate; overflow: hidden; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid #ffffffc9; border-radius: 20px; padding: 26px 30px; margin: 30px 0 22px; background: linear-gradient(110deg, #d5ebfbab, #e0e2ffba); }
  .contact-banner::before, .contact-banner::after { content: ""; position: absolute; z-index: -1; width: 87px; height: 87px; border: 1px solid #ffffffbb; border-radius: 50%; box-shadow: inset -7px -7px 18px #bcccf24d, inset 8px 8px 15px #fff; background: #fff2; right: 25%; bottom: -11px; }
  .contact-banner::after { width: 37px; height: 37px; right: calc(25% + 81px); bottom: 5px; }
  .contact-banner h2 { font: 500 25px/1.6 var(--serif); letter-spacing: .07em; margin: 0 0 3px; }
  .contact-banner p { font-size: 12px; color: #526f96; margin: 0; }
  .contact-banner .button-secondary { min-width: 180px; flex: none; }

  .site-footer { margin-top: 0; border-top: 1px solid #dbe6f480; border-radius: 0 0 30px 30px; padding: 22px 0; background: transparent; }
  .footer-inner { align-items: flex-start; gap: 24px; }
  .footer strong { font-size: 14px; font-family: var(--serif); font-weight: 500; color: #41628d; }
  .footer p { font-size: 10px; margin-bottom: 4px; }
  .footer small { font-size: 9px; color: #617d9f; letter-spacing: .06em; }
  .footer nav { max-width: 440px; font-size: 10px; gap: 8px 19px; padding-top: 2px; margin-left: auto; }
  .footer nav a { text-decoration: none; }
  .to-top { font-size: 9px; white-space: nowrap; text-decoration: none; color: #5c7daa; padding-top: 2px; }

  /* Reading pages retain a quiet, opaque surface for long-form content. */
  .is-inner #main { padding: 0 42px 35px; }
  .breadcrumb { padding-top: 18px; color: #597294; }
  .article-header { border-bottom: 1px solid #cedced; padding: 29px 0 27px; }
  .article-header h1 { font-size: clamp(29px, 3.4vw, 42px); font-weight: 500; color: #2b4f78; }
  .article-header .lead { color: #4e6581; }
  .article-grid { gap: 38px; grid-template-columns: 180px minmax(0, 1fr); padding-top: 32px; }
  .article-body { color: #304761; }
  .article-body h2, .article-body h3 { color: #294e79; }
  .article-body h2 { font-size: 22px; border-color: #d6e2ef; }
  .article-body>section { margin-bottom: 42px; }
  .toc { border: 1px solid #dbe6f2; border-radius: 15px; background: #ffffffba; padding: 18px 17px 10px; }
  .toc p { color: #566fa1; }
  .toc a { color: #4c6587; font-size: 12px; border-color: #e1e9f4; }
  .toc a:last-child { border: 0; }
  .article-summary, .job-panel, .guide-card, .notice, .verified-note, .contact-form, .worksheet-form { border-radius: 15px; background: #ffffffd9; border-color: #d6e2ef; box-shadow: 0 5px 25px #849cb909; }
  .editor-box, .next-step { border-radius: 0 13px 13px 0; border-left-color: #93aadd; background: #edf2fcd9; }
  .fact-label { border-radius: 5px; }
  .table-scroll { border-radius: 13px; border-color: #d4e1ef; }
  .data-table th, .compare-table th { background: #eaf0f9; }
  .related-links { border-top: 1px solid #d5e1ef; }
  .related-links>ul>li { border-radius: 12px; border-color: #d6e2ef; background: #fff9; }
  .article-figure>a { border-radius: 13px; overflow: hidden; border-color: #d7e3f0; box-shadow: 0 7px 25px #819abb12; }
  .article-figure figcaption { color: #5a718a; }
  .article-body pre { border-radius: 12px; border: 1px solid #d4e1ef; background: #edf2f9; }
  .article-body :not(pre)>code { background: #e7eef8; border-radius: 4px; }
  .article-body .reading-note { border-radius: 0 10px 10px 0; border-color: #98afd9; background: #edf2fd; }
  .article-body .feature-grid>div { border-radius: 13px; border-color: #d7e3f0; background: #fffc; }
  .queue-flow>div { border-radius: 12px; border-color: #d3e0ef; background: #edf3fc; }
  .contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea, .worksheet-form input:not([type=radio]):not([type=checkbox]), .worksheet-form select, .worksheet-form textarea { border-color: #9cafc8; border-radius: 8px; color: #2f4766; background: #fff; }
  .contact-form .button-primary { color: white; }
  .form-help, .form-field small, .quiet, .meta { color: #536b87; }
  .required-mark { color: #425d8e; border-radius: 4px; background: #e7eefb; }
  #download-button { border-radius: 24px; background: #536fa7; border-color: #536fa7; }
  #example-button, #print-button { border-radius: 24px; }

  @media (min-width: 1500px) { .dream-hero { min-height: 482px; } .dream-hero-copy { padding-top: 43px; padding-left: 53px; } .hero-signature { margin-top: 35px; } }
  @media (max-width: 1120px) {
    .site-shell { width: calc(100% - 48px); }
    .header-inner { padding-inline: 25px; }
    .header nav { gap: 20px; font-size: 11px; }
    .brand>span:last-child { font-size: 19px; }
    .dream-hero-copy { padding-left: 34px; width: 57%; }
    .dream-hero h1 { font-size: 45px; }
    .hero-glass-note { display: none; }
    .portfolio-grid { grid-template-columns: minmax(0, 1fr) 185px; gap: 20px; margin-inline: 0; }
    .portfolio-about { padding-left: 18px; }
    .portfolio-card-body { padding: 12px; }
    .portfolio-card h3 { font-size: 17px; }
    .portfolio-card .card-category { font-size: 7px; }
    .portfolio-card-body>p:not(.card-category) { font-size: 12px; }
    .is-inner #main { padding-inline: 30px; }
    .article-grid { grid-template-columns: 155px minmax(0, 1fr); gap: 28px; }
  }
  @media (max-width: 900px) {
    .site-shell { width: calc(100% - 30px); border-radius: 24px; }
    .wrap { padding-inline: 22px; }
    .header-inner { flex-wrap: wrap; min-height: 0; padding: 20px 25px 18px; gap: 16px; }
    .header nav { margin-left: auto; gap: 20px; }
    .header nav .nav-contact { padding: 8px 15px; }
    .dream-hero { min-height: 428px; }
    .dream-hero-copy { padding: 33px 0 25px 29px; width: 64%; }
    .dream-hero h1 { font-size: 40px; }
    .dream-hero .lead { font-size: 12px; }
    .dream-hero .home-actions { gap: 9px; }
    .dream-hero .button-primary, .dream-hero .button-secondary { min-width: 128px; padding: 10px 15px; font-size: 12px; }
    .hero-signature { font-size: 7px; letter-spacing: .16em; }
    .portfolio-grid { display: block; }
    .portfolio-about { border-left: 0; border-top: 1px solid #d6e2f3; margin-top: 25px; padding: 23px 4px 0; display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 28px; }
    .portfolio-about>.eyebrow, .portfolio-about>h2, .portfolio-about>p, .portfolio-about>.text-link { grid-column: 1; }
    .about-principles { grid-column: 2; grid-row: 1 / 6; margin: 0; }
    .portfolio-card h3 { font-size: 19px; }
    .portfolio-card-body>p:not(.card-category) { font-size: 12px; }
    .portfolio-card .card-category { font-size: 8px; }
    .journal-section, .research-section { margin-inline: 0; }
    .journal-row { grid-template-columns: 80px minmax(0, 1fr); gap: 17px; }
    .journal-link { grid-column: 2; }
    .contact-banner { padding: 25px; }
    .contact-banner h2 { font-size: 22px; }
    .research-card { padding: 15px; gap: 10px; }
    .research-card-number { display: none; }
    .footer-inner { flex-wrap: wrap; }
    .footer nav { max-width: 350px; }
    .is-inner #main { padding-inline: 25px; }
  }
  @media (max-width: 600px) {
    body { padding: 12px 0; }
    .site-shell { width: calc(100% - 20px); border-radius: 22px; }
    .wrap { padding: 0 14px; }
    .header-inner { display: flex; padding: 17px 19px 14px; gap: 17px; }
    .brand { gap: 12px; }
    .brand>span:last-child { font-size: 18px; }
    .brand small { font-size: 9px; margin-bottom: 4px; }
    .brand-symbol { width: 20px; height: 20px; }
    .brand-symbol::after { inset: 7px; }
    .header nav { width: 100%; margin: 0; gap: 7px 16px; font-size: 10px; justify-content: flex-start; }
    .header nav a[href="/"] { display: none; }
    .header nav a { padding: 5px 0; }
    .header nav .nav-contact { padding: 5px 11px; gap: 7px; margin-left: auto; }
    .nav-contact span { font-size: 14px; }
    .dream-hero { min-height: 585px; border-radius: 17px; }
    .dream-hero-art { width: 100%; max-width: none; height: 315px; top: auto; bottom: 0; object-position: center bottom; object-fit: contain; mask-image: none; }
    .dream-hero::before { background: linear-gradient(180deg, #4e7496ff 0, #4e7496ff 44%, #4e7496a6 56%, transparent 70%); }
    .dream-hero-copy { width: 100%; padding: 24px 24px 0; }
    .dream-hero .eyebrow { font-size: 7px; margin-bottom: 13px; letter-spacing: .22em; }
    .dream-hero h1 { font-size: clamp(30px, 8.7vw, 42px); line-height: 1.6; letter-spacing: .06em; margin-bottom: 12px; }
    .dream-hero .lead { font-size: 11px; line-height: 1.9; }
    .dream-hero .home-actions { margin-top: 18px; gap: 9px; }
    .dream-hero .button-primary, .dream-hero .button-secondary { font-size: 11px; min-width: 0; min-height: 39px; padding: 8px 15px; }
    .hero-signature { display: none; }
    .portfolio-grid { margin: 24px 4px 30px; }
    .section-head { padding-bottom: 13px; gap: 10px; }
    .section-head h2 { font-size: 22px; }
    .section-head>a { font-size: 10px; }
    .section-head>span { font-size: 8px; max-width: none; padding: 0; }
    .portfolio-cards { grid-template-columns: 1fr; gap: 18px; }
    .portfolio-card { border-radius: 15px; }
    .portfolio-card-visual>img { aspect-ratio: 1.95; }
    .portfolio-card-body { padding: 16px 18px 18px; }
    .portfolio-card h3 { font-size: 22px; }
    .portfolio-card-body>p:not(.card-category) { font-size: 12px; }
    .portfolio-card .card-category { font-size: 8px; letter-spacing: .11em; }
    .feature-tags span { font-size: 10px; }
    .portfolio-about { display: block; padding: 25px 5px 0; }
    .portfolio-about h2 { font-size: 26px; }
    .portfolio-about>p:not(.eyebrow) { font-size: 12px; }
    .about-principles { margin: 8px 0 18px; }
    .about-principles li { padding: 12px 0; display: flex; align-items: baseline; gap: 22px; }
    .about-principles strong { font-size: 13px; min-width: 3em; }
    .about-principles span { font-size: 11px; margin: 0; }
    .portfolio-about .text-link { font-size: 11px; }
    .journal-section, .research-section { margin: 30px 4px; }
    .journal-row { display: block; padding: 18px; }
    .entry-date { display: flex; flex-direction: row; gap: 10px; margin-bottom: 12px; }
    .journal-row h3 { font-size: 16px; }
    .journal-row p { font-size: 11px; margin-bottom: 12px; }
    .journal-link { font-size: 11px; }
    .section-intro { font-size: 12px; margin-top: 0; }
    .research-card-grid { grid-template-columns: 1fr; gap: 10px; }
    .research-card { padding: 18px; gap: 14px; }
    .research-card-number { display: block; }
    .research-card h3 { font-size: 17px; }
    .research-card p { font-size: 11px; }
    .research-links { gap: 10px 17px; font-size: 10px; }
    .contact-banner { display: block; padding: 24px; margin: 24px 0; border-radius: 16px; }
    .contact-banner h2 { font-size: 23px; }
    .contact-banner p { font-size: 11px; }
    .contact-banner .button-secondary { margin-top: 18px; font-size: 12px; min-width: 166px; }
    .contact-banner::before { right: 6px; width: 90px; height: 90px; bottom: 7px; }
    .contact-banner::after { right: 91px; }
    .footer { padding: 17px 6px 22px; }
    .footer-inner { display: flex; gap: 20px; }
    .footer nav { width: 100%; max-width: none; margin: 0; gap: 10px 17px; }
    .to-top { margin-left: auto; }
    .is-inner #main { padding: 0 20px 20px; }
    .breadcrumb { padding-top: 16px; font-size: 10px; }
    .article-header { padding: 24px 0; }
    .article-header h1 { font-size: 28px; line-height: 1.65; }
    .article-header .lead { font-size: 14px; line-height: 1.95; }
    .article-grid { display: block; padding-top: 24px; }
    .toc { display: flex; gap: 4px 17px; padding: 17px; margin-bottom: 28px; }
    .toc a { font-size: 11px; padding: 4px 0; border: 0; }
    .toc a:hover { padding-left: 0; }
    .article-body h2 { font-size: 21px; }
    .article-body p { font-size: 14px; }
    .article-body li { font-size: 14px; }
    .article-summary { padding: 18px; }
    .article-body .work-facts { grid-template-columns: 5.5em 1fr; font-size: 12px; }
    .contact-form { padding: 20px 16px; }
    .contact-form .consent-label { flex-wrap: wrap; }
    .contact-form .consent-label>span:not(.required-mark) { flex: 1; }
    .contact-form .consent-label>.required-mark { margin-left: 30px; }
    .article-body pre { font-size: 11px; padding: 15px; }
  }
  @media (max-width: 360px) {
    .dream-hero-copy { padding-inline: 20px; }
    .dream-hero h1 { font-size: 26px; }
    .dream-hero .lead { font-size: 10px; }
    .dream-hero .home-actions { gap: 8px; }
    .dream-hero .button-primary, .dream-hero .button-secondary { font-size: 10px; padding-inline: 12px; }
  }
  @media (prefers-reduced-motion: reduce) { .portfolio-card { transition: none; } .portfolio-card:hover { transform: none; } }
}

@media print {
  .dream-hero-art, .hero-glass-note, .hero-signature, .home-actions, .portfolio-card-visual, .contact-banner { display: none; }
  .dream-hero h1 { font-size: 23pt; line-height: 1.4; }
  .portfolio-cards, .research-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15pt; }
  .portfolio-cards { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card, .research-card { display: block; text-decoration: none; break-inside: avoid; }
  .portfolio-card h3, .research-card h3 { font-size: 12pt; }
  .portfolio-card p, .research-card p, .portfolio-about { font-size: 10pt; }
  .section-head, .portfolio-about, .journal-section, .research-section { margin-top: 20pt; }
  .section-head>a, .section-head>span, .portfolio-card .card-category, .feature-tags { display: none; }
}
