/* PE-3b128d6d-eb71-4a67-ac72-4a099e50f9b4 | Core(root): CORE-EXECUTION-STANDARD.md | Manifest(root): docs/MD-FILE-MANIFEST.md */
/* DA-9accaca8-574e-4393-8bd5-a996000b2368 | MA-1c670ae7-6aaa-48fb-854a-e69b317b6bae | griffith-hsep/control/STARTING-BRIEF.md */

@page {
  size: A4;
  margin: 16mm 15mm 18mm;
  background: #fcfaee;
}

@page :first {
  margin-top: 14mm;
}

html,
body.law.doc-surface {
  margin: 0;
  background: #fcfaee;
  color: #191817;
}

.print-paper-ground {
  display: none;
}

/* ==========================================================================
   Web Edition Top Action Bar (Screen Only)
   ========================================================================== */

.document-tools {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.document-tools a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.doc-tool-back {
  color: #191817;
  border-bottom: 1px solid rgba(25, 24, 23, 0.28);
  padding-bottom: 2px;
}

.doc-tool-download {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #040db1;
  color: #040db1;
  background: rgba(4, 13, 177, 0.04);
}

.document {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 28px 64px;
}

/* ==========================================================================
   2019 B&O / La.W Architectural Document Masthead (Zero Imagery)
   ========================================================================== */

.document-header {
  padding-bottom: 22pt;
  border-bottom: 0.6pt solid rgba(25, 24, 23, 0.22);
  margin-bottom: 24pt;
}

.doc-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16pt;
  padding-bottom: 11pt;
}

.doc-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10pt;
  text-decoration: none !important;
  color: #191817;
}

.doc-monogram {
  width: 12.2mm;
  height: 10.9mm;
  color: #040db1;
  display: block;
  flex: none;
}

.doc-brand-sep {
  width: 0.5pt;
  height: 7.5mm;
  background: rgba(25, 24, 23, 0.24);
  flex: none;
}

.doc-wordmark {
  width: 34mm;
  height: auto;
  color: #191817;
  display: block;
  flex: none;
}

.doc-site-callout {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5pt;
  padding: 1pt 8.5pt 1.5pt 0;
  border-right: 1.8pt solid #040db1;
  text-align: right;
  text-decoration: none !important;
}

.doc-site-kicker {
  font-size: 6.8pt;
  line-height: 9pt;
  font-weight: 500;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: #494a52;
  white-space: nowrap;
}

.doc-site-domain {
  font-size: 9pt;
  line-height: 12.5pt;
  font-weight: 500;
  letter-spacing: 0;
  color: #040db1;
  text-decoration: underline;
  text-decoration-thickness: 0.6pt;
  text-underline-offset: 2.2pt;
  white-space: nowrap;
}

/* Watch-Atelier / B&O Vernier Caliper Datum Rule */
.doc-datum-rule {
  position: relative;
  height: 6pt;
  margin-bottom: 16pt;
}

.doc-datum-rule::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.5pt;
  height: 0.5pt;
  background: rgba(25, 24, 23, 0.22);
}

.doc-datum-caliper {
  position: absolute;
  left: 0;
  top: 1.8pt;
  width: 44mm;
  height: 1.8pt;
  background: #040db1;
}

.doc-datum-vernier {
  position: absolute;
  left: 44mm;
  top: 0;
  width: 0.9pt;
  height: 5.6pt;
  background: #040db1;
}

.doc-masthead-grid {
  display: grid;
  grid-template-columns: 56mm minmax(0, 1fr);
  column-gap: 5.667mm;
  align-items: start;
}

.doc-masthead-meta {
  padding-top: 3pt;
}

.document .doc-kicker {
  font-size: 8pt;
  line-height: 12pt;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #494a52;
  margin: 0 0 8pt;
}

.doc-kicker-num {
  color: #040db1;
  font-variant-numeric: tabular-nums;
}

.document .doc-contact-stack p {
  font-size: 8.8pt;
  line-height: 13.5pt;
  color: #494a52;
  margin: 0;
}

.document .doc-contact-stack p + p {
  margin-top: 2pt;
}

.doc-contact-stack a {
  color: #191817;
  text-decoration: none;
}

.document-header .name {
  font-size: 26pt;
  line-height: 31pt;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: #191817;
  margin: 0;
}

.doc-proposition {
  font-size: 13.5pt;
  line-height: 19pt;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #191817;
  margin: 4pt 0 0 !important;
}

.doc-proposition .accent {
  font-family: LaWAccent, Georgia, serif;
  font-style: italic;
  color: #040db1;
  font-size: 14.5pt;
}

.doc-role {
  font-size: 9.4pt;
  line-height: 14pt;
  color: #494a52;
  margin: 8pt 0 0 !important;
}

/* ==========================================================================
   Body Typography, Tables, Quotes & Section Architecture
   ========================================================================== */

.document h2 {
  font-size: 14pt;
  line-height: 20pt;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 18pt 0 9pt;
  break-after: avoid;
}

.document h3 {
  font-size: 11.5pt;
  line-height: 17pt;
  margin: 14pt 0 7pt;
  break-after: avoid;
}

.document main {
  font-size: 10pt;
  line-height: 15pt;
  letter-spacing: -0.015em;
}

.document p,
.document li,
.document blockquote {
  text-wrap: pretty;
}

.document p {
  orphans: 3;
  widows: 3;
}

.document p + p {
  margin-top: 10pt;
}

.document li {
  orphans: 3;
  widows: 3;
  margin-top: 6pt;
}

.document ul,
.document ol {
  padding-left: 5mm;
  margin: 10pt 0;
}

.document blockquote {
  margin: 12pt 0;
  border-left: 1.4pt solid #040db1;
  padding-left: 5mm;
  break-inside: avoid;
}

.document blockquote p {
  font-size: 10pt;
  line-height: 15pt;
}

.document em,
.document cite {
  font-style: normal;
  font-family: inherit;
}

.document strong {
  font-weight: 500;
}

.document main a {
  overflow-wrap: anywhere;
  color: inherit;
}

.document main a[href*="griffith.leightonwells.com.au"],
.document main a[href^="https://doi.org/"] {
  color: #040db1;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2pt;
}

.document main a[href^="https://doi.org/"] {
  font-weight: 400;
}

.document table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.6pt;
  line-height: 14.2pt;
  margin: 10pt 0 12pt;
}

.document th {
  text-align: left;
  font-weight: 500;
  border-bottom: 0.6pt solid #191817;
}

.document td,
.document th {
  vertical-align: top;
  padding: 4.5pt 6pt 4.5pt 0;
}

.document td {
  border-bottom: 0.3pt solid rgba(25, 24, 23, 0.20);
}

.document td:first-child {
  white-space: nowrap;
}

.document thead {
  display: table-header-group;
}

.document tr {
  break-inside: avoid;
}

.document p:has(+ table) {
  break-after: avoid;
}

/* Swiss Two-Column CV Section Grid with Signature Future Blue Vernier Tick */
.cv-section {
  position: relative;
  margin-top: 15pt;
  padding-top: 11pt;
  border-top: 0.4pt solid rgba(25, 24, 23, 0.16);
}

.cv-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cv-section:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.7pt;
  width: 14mm;
  height: 1.2pt;
  background: #040db1;
}

.cv-section h2 {
  font-size: 13pt;
  line-height: 18.5pt;
  margin: 0 0 8pt;
  break-after: avoid;
}

.cv-section-body {
  margin-left: 61.667mm;
}

.cv-section-body > p:first-child {
  margin-top: 0;
}

.cv-section-body > ol > li {
  padding-left: 4mm;
  text-indent: -4mm;
  list-style: none;
}

/* ==========================================================================
   End-of-Document Architectural Colophon (Bookends Masthead on Print & Screen)
   ========================================================================== */

.document-colophon {
  margin-top: 24pt;
  padding-top: 4pt;
  break-inside: avoid;
}

.doc-datum-rule--close {
  margin-bottom: 8pt;
}

.doc-colophon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14pt;
}

.doc-colophon-brand {
  display: inline-flex;
  align-items: center;
  gap: 8pt;
}

.doc-colophon-monogram {
  width: 7.8mm;
  height: 7mm;
  color: #040db1;
  display: block;
  flex: none;
}

.doc-colophon-label {
  font-size: 8.5pt;
  line-height: 12pt;
  color: #494a52;
}

.doc-colophon-link {
  font-size: 9pt;
  line-height: 12.5pt;
  font-weight: 500;
  color: #040db1 !important;
  text-decoration: underline;
  text-decoration-thickness: 0.6pt;
  text-underline-offset: 2.2pt;
  white-space: nowrap;
}

/* ==========================================================================
   Screen Responsive Refinements
   ========================================================================== */

@media screen {
  .document main,
  .document table,
  .document blockquote p {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.2px;
  }

  .cv-section-body {
    max-width: 68ch;
  }

  .document .doc-contact-stack p,
  .doc-role {
    font-size: 14px;
    line-height: 22px;
  }

  .doc-proposition {
    font-size: 22px;
    line-height: 30px;
  }

  .doc-proposition .accent {
    font-size: 24px;
  }

  .document-colophon {
    margin-top: 52px;
  }

  .doc-colophon-label {
    font-size: 14px;
    line-height: 20px;
  }

  .doc-colophon-link {
    font-size: 15px;
    line-height: 22px;
  }
}

@media screen and (max-width: 820px) {
  .document {
    padding: 24px 20px 48px;
  }

  .document-tools {
    padding: 16px 20px 0;
  }

  .doc-brand-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-site-callout {
    align-items: flex-start;
    text-align: left;
    padding: 1pt 0 1.5pt 8.5pt;
    border-right: 0;
    border-left: 1.8pt solid #040db1;
  }

  .doc-masthead-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .cv-section-body {
    margin-left: 0;
  }

  .document-header .name {
    font-size: 32px;
    line-height: 40px;
  }

  .doc-colophon-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   Print / A4 PDF Rules
   ========================================================================== */

@media print {
  html,
  body.law.doc-surface,
  .document {
    background: #fcfaee !important;
  }

  .print-paper-ground {
    display: block;
    position: fixed;
    inset: -25mm;
    background: #fcfaee;
    z-index: -1;
    pointer-events: none;
  }

  .document-tools {
    display: none !important;
  }

  .document {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .document-header {
    padding-bottom: 6.5mm;
    margin-bottom: 8mm;
    break-inside: avoid;
  }

  .cv-section {
    break-inside: auto;
  }

  .document h2 + div > p:first-child {
    break-before: avoid;
  }

  .cv-section-body p {
    max-width: 118.333mm;
  }

  .cv-section-body p:has(> strong:first-child) {
    break-after: avoid;
  }

  .cv-section-body p:has(> strong:first-child) + p {
    margin-top: 3pt;
    break-before: avoid;
  }
}

/* --- Griffith HSEP overrides, appended by the port script --- */
/* Block quotations follow the 2019 B&O Brand Guidelines 1.2 draft, page 56, "Tiempos Fine in manchet / quote use":
   quotations take the editorial typeface, in sentence case, opened with an en dash and a quotation mark. The guideline
   sets them large; Leighton asked on 3 December 2026 for the italic at close to body size ("italics is fine - they
   are ridiculously big"). La.W's editorial face is BeoLogue Italic. The source line stays in BeoSupreme as a caption.
   Owner instruction, 3 December 2026. */
.document blockquote {
  margin: 12pt 0;
  border-left: 0;
  padding-left: 0;
}

.document blockquote p.quotation-text {
  font-family: LaWAccent, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 10.5pt;
  line-height: 15pt;
  letter-spacing: 0;
  color: #191817;
}

.document blockquote p.quotation-source {
  margin-top: 3pt;
  font-size: 8.5pt;
  line-height: 12pt;
  letter-spacing: 0.01em;
  color: #494a52;
}

@media screen {
  .document blockquote p.quotation-text {
    font-size: 17px;
    line-height: 26px;
    letter-spacing: 0;
  }

  .document blockquote p.quotation-source {
    margin-top: 4px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.2px;
  }
}
