/* Home Claim Ledger 1.9 — editorial refinement of the existing identity.
   All presentation overrides are screen-only; original print/export styles remain authoritative. */
@font-face {
  font-family: 'HCL Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/literata-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'HCL Commissioner';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/commissioner-latin-wght-normal.woff2') format('woff2');
}

@media screen {
  .hcl-managed-page {
    --hcl-ink: #173b32;
    --hcl-ink-soft: #435c53;
    --hcl-green: #22624e;
    --hcl-green-dark: #163d31;
    --hcl-mint: #e7ede4;
    --hcl-mint-light: #f2f4ed;
    --hcl-gold: #d6a34e;
    --hcl-paper: #faf7f0;
    --hcl-line: #d3d9ce;
    --hcl-radius: 12px;
    --hcl-shadow: 0 20px 42px rgba(23, 59, 50, .12);
    --hcl-display: 'HCL Literata', Georgia, serif;
    --hcl-body: 'HCL Commissioner', 'Trebuchet MS', sans-serif;
    font-family: var(--hcl-body);
    background: var(--hcl-paper);
    color: var(--hcl-ink);
  }
  .hcl-managed-page ::selection { color: #fffaf0; background: #22624e; }
  .hcl-page-shell { scrollbar-color: #587565 #f2f4ed; }
  .hcl-page-shell input, .hcl-page-shell textarea { caret-color: #22624e; }
  .hcl-page-shell :is(input, textarea, select, button) { font-family: var(--hcl-body); }
  .hcl-managed-page a:focus-visible, .hcl-page-shell :is(button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 3px solid #956316;
    outline-offset: 4px;
    box-shadow: 0 0 0 2px #fffaf0;
  }
  .hcl-page-shell :is(button,input,select,textarea):disabled { opacity: .6; cursor: not-allowed; }
  .hcl-page-shell :is(h1,h2) {
    font-family: var(--hcl-display);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.17;
    text-wrap: balance;
  }
  .hcl-page-shell h3 { font-family: var(--hcl-body); font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
  .hcl-page-shell p, .hcl-page-shell li { font-size: 1.0625rem; line-height: 1.75; }
  .hcl-page-shell a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
  .hcl-page-shell .hcl-eyebrow { display: none; }

  /* Masthead and the sample dossier share the same ruled-paper language. */
  .hcl-managed-page .site-header { background: var(--hcl-paper); border-bottom: 1px solid var(--hcl-line); }
  .hcl-managed-page .site-title a { font-family: var(--hcl-display); font-weight: 600; letter-spacing: -.03em; }
  .hcl-managed-page .main-navigation, .hcl-managed-page .main-navigation ul { background: transparent; }
  .hcl-managed-page .main-navigation .main-nav ul li a { font-family: var(--hcl-body); font-weight: 550; }
  .hcl-managed-page .main-navigation .main-nav ul li a:hover,
  .hcl-managed-page .main-navigation .main-nav ul li.current-menu-item a {
    color: var(--hcl-green-dark); text-decoration: underline; text-underline-offset: 8px;
  }
  .hcl-home .hcl-hero {
    min-height: 590px;
    gap: clamp(36px,5vw,76px);
    padding-top: 70px;
    padding-bottom: 68px;
    grid-template-columns: minmax(0,1.25fr) minmax(330px,.85fr);
  }
  .hcl-hero::before, .hcl-photo-feature-section::before, .hcl-hero-visual::after { display: none; }
  .hcl-home .hcl-hero h1 { font-size: clamp(2.8rem,4.6vw,4.5rem); max-width: 16ch; margin: 0 0 26px; }
  .hcl-home .hcl-hero-copy .hcl-lead { max-width: 53ch; font-size: 1.15rem !important; line-height: 1.7 !important; }
  .hcl-home .hcl-quiet { max-width: 56ch; }
  .hcl-home .hcl-hero-visual {
    border: 1px solid #adbaad;
    border-radius: 5px;
    padding: 24px 26px 20px;
    background: #fffdf8;
    box-shadow: none;
    transform: none;
    color: var(--hcl-ink);
  }
  .hcl-home .hcl-sample-label {
    position: static; display: block; padding: 0 0 12px; background: transparent;
    color: #526a5f; border-radius: 0; border-bottom: 1px solid var(--hcl-line); font-size: .7rem;
  }
  .hcl-home .hcl-visual-top { padding: 20px 0 16px; font-family: var(--hcl-display); font-weight: 600; font-size: 1.7rem; }
  .hcl-home .hcl-status { font-family: var(--hcl-body); color: #22624e; background: #e7ede4; border: 0; }
  .hcl-home .hcl-visual-grid { grid-template-columns: 1fr; gap: 0; }
  .hcl-home .hcl-visual-grid > div {
    display: grid; grid-template-columns: 32px 1fr; column-gap: 12px;
    padding: 13px 0; min-height: 0; border: 0; border-top: 1px solid var(--hcl-line); border-radius: 0; background: transparent;
  }
  .hcl-home .hcl-visual-grid span { grid-row: 1 / 3; margin: 4px 0 0; color: #657563; font-variant-numeric: tabular-nums; }
  .hcl-home .hcl-visual-grid strong { color: var(--hcl-ink); font-size: .98rem; font-weight: 650; }
  .hcl-home .hcl-visual-grid small { color: #435c53; font-size: .84rem; margin-top: 2px; }
  .hcl-home .hcl-visual-next { margin-top: 18px; padding: 16px; border-radius: 4px; background: #e7ede4; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hcl-home .hcl-visual-next span { color: #435c53; }
  .hcl-home .hcl-visual-next strong { max-width: none; text-align: left; font-size: .9rem; }
  .hcl-page-shell .hcl-button { border-radius: 6px; font-weight: 650; box-shadow: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
  .hcl-page-shell .hcl-button:hover, .hcl-page-shell .hcl-button:focus { transform: none; box-shadow: none; }
  .hcl-home .hcl-actions .hcl-text-link { align-self: center; }
  .hcl-home .hcl-proof-strip { background: #eeeede; border: 0; padding-top: 16px; padding-bottom: 16px; }
  .hcl-home .hcl-proof-strip span { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 550; }

  /* The photo tool is the single, high-contrast feature in the first scroll. */
  .hcl-home .hcl-photo-feature-section {
    max-width: 1252px;
    width: calc(100% - 68px);
    margin-top: 66px;
    padding: clamp(32px,4vw,58px);
    background: #163d31;
    border-radius: 10px;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 44px;
  }
  .hcl-photo-feature-copy h2 { color: #fff8e9 !important; font-size: clamp(2rem,3.1vw,2.75rem); margin-top: 0; }
  .hcl-photo-feature-copy > p, .hcl-photo-feature-copy .hcl-photo-feature-list span { color: #d5e3d7 !important; }
  .hcl-home .hcl-photo-feature-list li {
    grid-template-columns: 1fr; gap: 4px; padding: 14px 0; background: transparent;
    border: 0; border-top: 1px solid #4c6c5c; border-radius: 0;
  }
  .hcl-photo-feature-list li::before { display: none; }
  .hcl-photo-feature-copy .hcl-photo-feature-list strong { color: #fff8e9 !important; font-weight: 650; }
  .hcl-photo-feature-copy .hcl-button-primary, .hcl-photo-feature-copy .hcl-button-primary:visited {
    background: #efd29a; color: #173b32; border-color: #efd29a;
  }
  .hcl-photo-feature-copy .hcl-button-primary:hover, .hcl-photo-feature-copy .hcl-button-primary:focus { background: #fff0ce; color: #173b32; }
  .hcl-photo-feature-copy .hcl-text-link, .hcl-photo-feature-copy .hcl-text-link:visited { color: #f4dcae; }
  .hcl-home .hcl-photo-feature-visual { min-height: 510px; }
  .hcl-home .hcl-visual-photo { width: min(240px,75%); border: 0; border-radius: 6px; box-shadow: 0 18px 30px rgba(0,0,0,.2); }
  .hcl-home .hcl-visual-photo-front { transform: rotate(-3deg); }
  .hcl-home .hcl-visual-photo-back { transform: rotate(4deg); }
  .hcl-home .hcl-visual-index-card { border-radius: 8px; border: 0; box-shadow: 0 18px 35px rgba(0,0,0,.17); }

  /* Meaningful records and guide entries are rows, not repeated card grids. */
  .hcl-home .hcl-section:not(.hcl-photo-feature-section) { padding-top: 84px; padding-bottom: 84px; }
  .hcl-home #how-it-works { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 64px; }
  .hcl-home #how-it-works .hcl-section-heading { margin: 0; }
  .hcl-home #how-it-works .hcl-card-grid { grid-template-columns: 1fr; gap: 0; }
  /* Block flow tolerates wpautop wrapping the number or link in a paragraph. */
  .hcl-home #how-it-works .hcl-card { display: block; position: relative; min-width: 0; padding: 24px 0 24px 60px; border: 0; border-top: 1px solid var(--hcl-line); border-radius: 0; background: transparent; box-shadow: none; }
  .hcl-home #how-it-works .hcl-card-number { position: absolute; top: 27px; left: 0; width: 40px; height: auto; margin: 0; background: transparent; color: #647560; font-size: 1rem; }
  .hcl-home #how-it-works .hcl-card h3 { margin: 0 0 8px; }
  .hcl-home #how-it-works .hcl-card p { margin: 0; }
  .hcl-home #how-it-works .hcl-card > p:first-child { height: 0; }
  .hcl-home #how-it-works .hcl-card > br, .hcl-home .hcl-guide-card > br { display: none; }
  .hcl-home .hcl-guide-preview-section .hcl-card-grid { grid-template-columns: 1fr; gap: 0; }
  .hcl-home .hcl-guide-card { display: block; position: relative; min-width: 0; min-height: 0; padding: 28px 0 28px 176px; border: 0; border-top: 1px solid var(--hcl-line); border-radius: 0; background: transparent; box-shadow: none; }
  .hcl-home .hcl-guide-card > span, .hcl-home .hcl-guide-card > p > span { display: block; position: absolute; top: 28px; left: 0; width: 144px; margin: 0; color: #526a5f; font-size: .9rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
  .hcl-home .hcl-guide-card h3 { margin: 0 0 12px; font-size: 1.35rem; font-weight: 650; }
  .hcl-home .hcl-guide-card a { display: inline-block; margin-top: 0; }
  .hcl-home .hcl-guide-card p { margin: 0 0 12px; }
  .hcl-home .hcl-guide-card > p:first-child { height: 0; margin: 0; }
  .hcl-home .hcl-guide-card > p:last-child { margin-bottom: 0; }
  .hcl-home .hcl-workflow-section { background: #edf0e6; border-radius: 0; }
  .hcl-home .hcl-timeline li { border: 0; border-top: 1px solid var(--hcl-line); border-radius: 0; background: transparent; }
  .hcl-home .hcl-source-grid a { border-radius: 0; border: 0; border-top: 1px solid var(--hcl-line); background: transparent; box-shadow: none; }
  .hcl-home .hcl-final-cta { background: #163d31; border-radius: 0; }
  .hcl-home .hcl-final-cta h2 { max-width: 25ch; margin-left: auto; margin-right: auto; }

  /* Read: a quieter index and a comfortable reading measure. */
  .hcl-guides-hub .hcl-hub-guide-list article { border-radius: 0; box-shadow: none; background: transparent; border: 0; border-top: 1px solid var(--hcl-line); padding: 32px 0; }
  .hcl-guides-hub .hcl-hub-guide-list .hcl-card-number { display: none; }
  .hcl-guides-hub .hcl-hub-guide-list h2 { font-size: clamp(1.5rem,2.6vw,2rem); }
  .hcl-guides-hub .hcl-hub-guide-list ul { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 18px 0; }
  .hcl-guide-article .hcl-content-section > p, .hcl-guide-article .hcl-content-section > ul,
  .hcl-guide-article .hcl-content-section > ol { max-width: 72ch; }
  .hcl-guide-article .hcl-article-hero h1 { font-size: clamp(2.3rem,4.1vw,3.7rem); }
  .hcl-guide-article .hcl-content-section > h2 { margin-top: 12px; font-size: clamp(1.65rem,2.6vw,2.35rem); }
  .hcl-guide-article .hcl-toc { background: transparent; border: 0; border-top: 1px solid var(--hcl-line); border-bottom: 1px solid var(--hcl-line); border-radius: 0; padding: 22px 0; }
  .hcl-guide-article .hcl-toc a { background: transparent; padding: 4px 10px 4px 0; text-decoration: underline; }
  .hcl-page-shell .hcl-table-wrap { border-radius: 6px; }
  .hcl-page-shell .hcl-table { font-variant-numeric: tabular-nums; }
  .hcl-page-shell .hcl-table thead th { background: #173b32; color: #fff8e9; }
  .hcl-page-shell .hcl-table tbody th { background: #eef1e9; color: #173b32; }
  .hcl-page-shell .hcl-table tbody tr:nth-child(even) td { background: #f8faf5; }
  .hcl-page-shell .hcl-table th, .hcl-page-shell .hcl-table td { line-height: 1.55; }
  .hcl-guide-article .hcl-callout { border-left-width: 1px; border-radius: 6px; }
  .hcl-guide-article .hcl-faq-section details { border: 0; border-bottom: 1px solid var(--hcl-line); border-radius: 0; background: transparent; }

  /* Operate: retain existing field layouts, controls, status colors, and data flow. */
  .hcl-tool-page :is(h2,h3), .hcl-photo-tool-page :is(h2,h3) { font-family: var(--hcl-body); font-weight: 650; letter-spacing: -.015em; }
  .hcl-page-shell :is(.hcl-workspace-panel,.hcl-photo-setup,.hcl-photo-uploader,.hcl-photo-index-section,.hcl-photo-card) { border-radius: 12px; box-shadow: none; }
  .hcl-page-shell :is(.hcl-summary-value,.hcl-tool-summary,.hcl-photo-summary) { font-variant-numeric: tabular-nums; }
  .hcl-page-shell .hcl-field-help { color: #435c53 !important; }
  .hcl-page-shell :is(input,textarea)::placeholder { color: #5d6e63; opacity: 1; }
  .hcl-page-shell .hcl-photo-card-issues, .hcl-page-shell .hcl-photo-card-complete { border-left-width: 1px; }
  .hcl-page-shell :is(.hcl-tool-actions,.hcl-photo-export) a:focus-visible { outline-color: #f4dcae; }
}

@media screen and (max-width: 980px) {
  .hcl-home .hcl-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 46px; }
  .hcl-home .hcl-hero h1 { max-width: 19ch; }
  .hcl-home .hcl-hero-visual { max-width: 620px; width: 100%; }
  .hcl-home .hcl-photo-feature-section { grid-template-columns: 1fr; }
  .hcl-home .hcl-photo-feature-copy { max-width: 650px; }
  .hcl-home .hcl-photo-feature-visual { width: min(100%,560px); }
  .hcl-home #how-it-works { grid-template-columns: 1fr; gap: 24px; }
}
@media screen and (max-width: 600px) {
  .hcl-home .hcl-hero { padding: 38px 22px; gap: 32px; }
  .hcl-home .hcl-hero h1 { font-size: clamp(2.3rem,8.4vw,3rem); }
  .hcl-home .hcl-hero-visual { padding: 18px 20px; }
  .hcl-home .hcl-photo-feature-section { width: calc(100% - 28px); margin-top: 36px; padding: 34px 22px; gap: 28px; }
  .hcl-home .hcl-photo-feature-visual { min-height: 470px; }
  .hcl-home .hcl-photo-feature-copy h2 { font-size: 2rem; }
  .hcl-home .hcl-section:not(.hcl-photo-feature-section) { padding-top: 52px; padding-bottom: 52px; }
  .hcl-home .hcl-guide-card { padding-left: 0; }
  .hcl-home .hcl-guide-card > span, .hcl-home .hcl-guide-card > p > span { position: static; width: auto; margin-bottom: 8px; }
  .hcl-home .hcl-guide-card > p:first-child { height: auto; }
  .hcl-home #how-it-works .hcl-card { padding-left: 44px; }
  .hcl-home #how-it-works .hcl-card-number { width: 28px; }
  .hcl-home .hcl-proof-strip { padding: 14px; gap: 8px; }
  .hcl-home .hcl-proof-strip span { font-size: .8rem; padding: 4px; }
  .hcl-guides-hub .hcl-hub-guide-list ul { display: block; }
  .hcl-page-shell .hcl-button { max-width: 100%; text-align: center; }
  .hcl-guide-article .hcl-table-wrap { max-width: 100%; }
  .hcl-guide-article .hcl-table { min-width: 580px; }
  .hcl-managed-page .site-title { font-size: 1.2rem; }
}

/* A single, brief arrival gesture on the sample file; content is visible by default. */
@media screen and (prefers-reduced-motion: no-preference) {
  .hcl-home .hcl-hero-visual { animation: hcl-file-arrive .65s cubic-bezier(.16,1,.3,1) both; }
  @keyframes hcl-file-arrive {
    from { transform: translateY(12px); box-shadow: 0 25px 35px rgba(23,59,50,.08); }
    to { transform: translateY(0); box-shadow: none; }
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  .hcl-page-shell *, .hcl-page-shell *::before, .hcl-page-shell *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}
