/* Hallmark v2.0.0 · Almanac adapted for a personal LIC advisor directory.
   Real material is Bidhan Patra's existing public advisor portrait and official LIC listings.
   Palette uses navy and ivory with restrained gold. The policy catalogue carries the page.
   Finish review fixed redundant labels, payment-link alignment and the generic headline.
   Theme typography and palette are adapted to the supplied portrait and insurance context. */
@font-face {
  font-family: Instrument Serif;
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #152d34;
  --deep: #132b32;
  --deepest: #101f23;
  --paper: #fbfaf5;
  --muted: #516062;
  --stone: #eeeae0;
  --line: #dad8ce;
  --gold: #edcb85;
  --gold-dark: #745423;
  --display: "Instrument Serif", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --focus: #ac762b;
  --focus-dark: #ffdb9a;
  --frame-line: #a28d67;
  --identity-line: #a89568;
  --button-hover: #2b4d55;
  --gold-hover: #f7deaa;
  --dark-line: #789097;
  --dark-hover: #2c444a;
  --light-line: #c7cfca;
  --text-on-dark: #e0e6e3;
  --frame: #21383d;
  --status: #5d7c66;
  --control-line: #ded8c9;
  --field-line: #a4aaa0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: clip;
}
::selection {
  color: var(--deepest);
  background: var(--gold);
}
body {
  caret-color: var(--ink);
  scrollbar-color: var(--muted) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.hero :focus-visible,
.payments :focus-visible {
  outline-color: var(--focus-dark);
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--paper);
  padding: 8px 16px;
}
.skip:focus {
  transform: none;
}
.shell {
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}
.site-header {
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.2rem;
}
.identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.25;
}
.monogram {
  display: grid;
  place-items: center;
  inline-size: 2.65rem;
  block-size: 2.65rem;
  border: 1px solid var(--identity-line);
  color: var(--ink);
  flex-shrink: 0;
  font: 1.45rem/1 var(--display);
}
.identity small {
  display: block;
  margin-top: 0.24rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-size: 0.9rem;
  font-weight: 600;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.15rem;
  padding: 0.65rem 1.13rem;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    background-color 0.17s,
    color 0.17s,
    border-color 0.17s;
}
.button-header,
.button-light {
  background: var(--ink);
  color: var(--paper);
}
.button-header:hover,
.button-light:hover {
  background: var(--button-hover);
  text-decoration: none;
}
.button-primary {
  background: var(--gold);
  color: var(--deepest);
}
.button-primary:hover {
  background: var(--gold-hover);
}
.button-outline {
  border-color: var(--dark-line);
  color: var(--paper);
}
.button-outline:hover {
  background: var(--dark-hover);
  border-color: var(--light-line);
}
.hero {
  background: var(--deep);
  color: var(--paper);
}
.hero-inner {
  min-height: clamp(28rem, 46vw, 38rem);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(2.8rem, 6vw, 5.4rem);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  line-height: 0.99;
}
h1 {
  font-size: clamp(3.65rem, 7vw, 6.3rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.72rem, 5.2vw, 4.65rem);
  letter-spacing: -0.022em;
}
.hero-lead {
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  max-width: 29rem;
  color: var(--text-on-dark);
  margin: 1.45rem 0 1.7rem;
}
.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.hero-portrait {
  margin: 0;
  max-width: 22.2rem;
  justify-self: end;
  width: 100%;
}
.portrait-frame {
  padding: 0.48rem;
  border: 1px solid var(--frame-line);
  background: var(--frame);
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: 50% 31%;
}
.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  color: var(--text-on-dark);
  font-size: 0.78rem;
}
.hero-portrait strong {
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--paper);
  font-weight: 400;
  line-height: 1.15;
}
.catalogue {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}
.section-intro p:not(.eyebrow) {
  margin: 0.8rem 0 0;
  color: var(--muted);
}
.source-note {
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.source-note > span:first-child {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--status);
}
.catalogue-controls {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--stone);
  border: 1px solid var(--control-line);
}
.catalogue-controls label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
}
.catalogue-controls input,
.catalogue-controls select {
  background: var(--paper);
  border: 1px solid var(--field-line);
  border-radius: 2px;
  display: block;
  width: 100%;
  min-height: 3.12rem;
  padding: 0.5rem 0.75rem;
}
.catalogue-count {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin: 1.3rem 0 0.8rem;
  min-height: 1.45rem;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.plan-grid:empty {
  display: none;
}
.plan {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.28rem 1.25rem;
}
.plan-category {
  font-size: 0.73rem;
  color: var(--gold-dark);
  font-weight: 750;
  margin: 0 0 0.53rem;
}
.plan h3 {
  font-size: clamp(1.75rem, 3.1vw, 2.3rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.plan-meta {
  font-size: 0.79rem;
  margin: 0.65rem 0;
  color: var(--muted);
}
.plan summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.8rem;
  width: fit-content;
  font-size: 0.88rem;
  font-weight: 700;
}
.plan summary::-webkit-details-marker {
  display: none;
}
.plan summary::after {
  content: "+";
  display: block;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold-dark);
}
.plan details[open] summary::after {
  content: "−";
}
.plan-details {
  font-size: 0.91rem;
  color: var(--muted);
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.plan-details p {
  margin: 0.5rem 0 0.45rem;
}
.plan-details a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  font-weight: 650;
  color: var(--ink);
  width: fit-content;
}
.more-button {
  margin-top: 1.25rem;
}
.catalogue-footnote {
  margin: 1.2rem 0 0;
  font-size: 0.88rem;
}
.payments {
  background: var(--deep);
  color: var(--paper);
}
.payment-inner,
.advisor-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  padding-block: clamp(3.2rem, 6.7vw, 5.5rem);
}
.payment-inner p:not(.eyebrow),
.advisor-inner p:not(.eyebrow) {
  margin: 1rem 0 0;
  max-width: 34rem;
}
.payment-inner p:not(.eyebrow) {
  color: var(--text-on-dark);
}
.payment-actions {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  width: min(100%, 16rem);
  flex-shrink: 0;
  text-align: center;
}
.payment-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  color: var(--text-on-dark);
  font-size: 0.88rem;
}
.advisor {
  background: var(--stone);
}
.advisor-inner p:not(.eyebrow) {
  color: var(--muted);
}
.advisor-inner .button {
  flex-shrink: 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-inner p {
  margin: 0;
}
.footer-inner span {
  display: block;
  margin-top: 0.3rem;
}
.footer-inner strong {
  letter-spacing: 0.1em;
  color: var(--ink);
}
.button:active {
  filter: brightness(0.9);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  filter: grayscale(1);
}
@media (max-width: 52rem) {
  .hero-inner {
    gap: 2rem;
  }
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .payment-inner,
  .advisor-inner {
    gap: 1.25rem;
  }
}
@media (max-width: 42rem) {
  .shell {
    width: calc(100% - 2rem);
  }
  .header-inner {
    min-height: 4.5rem;
  }
  .nav-advisor,
  .nav-plans,
  .desktop-break {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 2.65rem 2rem;
    gap: 1.9rem;
  }
  h1 {
    max-width: 13ch;
    font-size: clamp(3.2rem, 11.5vw, 5.5rem);
  }
  .hero-lead {
    margin: 1.05rem 0 1.35rem;
  }
  .hero-actions .button {
    min-height: 3.05rem;
  }
  .hero-portrait {
    justify-self: start;
    max-width: 18rem;
  }
  .portrait-frame img {
    aspect-ratio: 4 / 3;
    object-position: 50% 27%;
  }
  .section-intro {
    display: block;
    margin-bottom: 1.15rem;
  }
  .catalogue-controls {
    grid-template-columns: 1fr;
    padding: 0.8rem;
    gap: 0.75rem;
  }
  .plan {
    padding: 1rem;
  }
  .payment-inner,
  .advisor-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .payment-actions {
    width: min(100%, 20rem);
  }
}
@media (max-width: 32rem) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .identity {
    gap: 0.52rem;
    font-size: 0.94rem;
  }
  .identity small {
    font-size: 0.67rem;
  }
  .header-inner {
    gap: 0.5rem;
  }
  .button-header {
    font-size: 0.81rem;
    padding-inline: 0.58rem;
    min-height: 2.8rem;
  }
  .monogram {
    inline-size: 2.15rem;
    block-size: 2.15rem;
    font-size: 1.19rem;
  }
  .footer-inner {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
