:root {
      --ink: #3d301b;
      --deep: #735016;
      --blue: #916719;
      --sky: #fff5ce;
      --mist: #fffcf1;
      --rose: #8a5d12;
      --gold: #e6bb48;
      --white: #ffffff;
      --line: rgba(115, 80, 22, 0.16);
      --shadow: 0 18px 45px rgba(115, 80, 22, 0.13);
      --radius: 24px;
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background:
        linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
      font-family:
        "Segoe UI",
        Arial,
        sans-serif;
      font-size: 19px;
      line-height: 1.72;
    }

    a {
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
    }

    .skip-link:focus {
      left: 18px;
      top: 18px;
      z-index: 9999;
      padding: 10px 14px;
      color: var(--white);
      background: var(--deep);
      border-radius: 8px;
    }


    /* HAMC Signature Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid rgba(115, 80, 22, 0.10);
      box-shadow: 0 8px 28px rgba(95, 68, 24, 0.07);
      backdrop-filter: blur(14px);
    }

    .header-inner {
      width: min(var(--max), calc(100% - 36px));
      min-height: 132px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 300px 1fr;
      align-items: center;
      gap: 34px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }

    .site-logo {
      width: 300px;
      height: auto;
      object-fit: contain;
      object-position: left center;
    }

    .nav {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 13px;
    }

    .nav-primary,
    .nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .nav-primary {
      gap: 25px;
    }

    .nav-actions {
      gap: 11px;
    }

    .nav a {
      position: relative;
      color: var(--deep);
      text-decoration: none;
      font-size: 16px;
      font-weight: 650;
      letter-spacing: 0.015em;
      transition:
        color 180ms ease,
        transform 180ms ease,
        background 180ms ease;
    }

    .nav-primary a {
      padding: 10px 0 12px;
    }

    .nav-primary a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: 4px;
      height: 2px;
      background: var(--rose);
      transition: right 180ms ease;
    }

    .nav-primary a:hover,
    .nav-primary a:focus,
    .nav-primary a[aria-current="page"] {
      color: var(--rose);
      outline: none;
    }

    .nav-primary a:hover::after,
    .nav-primary a:focus::after,
    .nav-primary a[aria-current="page"]::after {
      right: 0;
    }

    .nav-actions a {
      padding: 9px 16px;
      border: 1px solid rgba(115, 80, 22, 0.20);
      border-radius: 999px;
      font-size: 14px;
      font-weight: 750;
    }

    .nav-actions .apply-link {
      color: var(--rose);
      background: #fff;
      border-color: rgba(170, 120, 25, 0.42);
    }

    .nav-actions .angel-link {
      color: #fff;
      background: var(--deep);
      border-color: var(--deep);
    }

    .nav-actions a:hover,
    .nav-actions a:focus {
      transform: translateY(-1px);
      outline: none;
    }

    .tagline-bar {
      padding: 8px 18px 10px;
      color: var(--deep);
      background:
        linear-gradient(90deg, #fff7dc, #fff2bc, #fffcf1);
      border-top: 1px solid rgba(170, 120, 25, 0.13);
      text-align: center;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 17px;
      font-style: italic;
      letter-spacing: 0.035em;
    }

    .tagline-dot {
      display: inline-block;
      padding: 0 10px;
      color: var(--rose);
      font-style: normal;
    }


    main {
      overflow: hidden;
    }

    .hero {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
      padding: 86px 0 76px;
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
      gap: 58px;
      align-items: center;
    }

    .hero-copy {
      position: relative;
    }

    .hero-copy::before {
      content: "";
      position: absolute;
      width: 260px;
      height: 260px;
      left: -155px;
      top: -90px;
      z-index: -1;
      border-radius: 50%;
      background:
        radial-gradient(circle, rgba(225, 179, 50, 0.15), transparent 68%);
    }

    .eyebrow {
      margin: 0 0 14px;
      color: var(--rose);
      font-size: 16px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3 {
      margin-top: 0;
      font-family:
        Georgia,
        "Times New Roman",
        serif;
      line-height: 1.13;
    }

    h1 {
      max-width: 900px;
      margin-bottom: 24px;
      color: var(--deep);
      font-size: clamp(48px, 6vw, 82px);
      font-weight: 600;
      letter-spacing: -0.035em;
    }

    h2 {
      color: var(--deep);
      font-size: clamp(36px, 4.2vw, 58px);
      font-weight: 600;
      letter-spacing: -0.025em;
    }

    h3 {
      color: var(--deep);
      font-size: 30px;
      font-weight: 600;
    }

    .lede {
      max-width: 780px;
      margin: 0 0 34px;
      color: #615039;
      font-size: 23px;
      line-height: 1.72;
    }

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 13px 23px;
      border: 2px solid transparent;
      border-radius: 999px;
      text-decoration: none;
      font-size: 18px;
      font-weight: 800;
      box-shadow: 0 10px 24px rgba(115, 80, 22, 0.13);
      transition:
        transform 180ms ease,
        box-shadow 180ms ease;
    }

    .button:hover,
    .button:focus {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(115, 80, 22, 0.19);
      outline: none;
    }

    .button.primary {
      color: var(--white);
      background: var(--deep);
    }

    .button.secondary {
      color: var(--deep);
      background: var(--white);
      border-color: var(--deep);
    }

    .hero-card {
      position: relative;
      padding: 46px 38px;
      overflow: hidden;
      color: var(--white);
      background:
        linear-gradient(155deg, var(--deep), #946919);
      border-radius: 30px;
      box-shadow: var(--shadow);
    }

    .hero-card::after {
      content: "\2665";
      position: absolute;
      right: -30px;
      bottom: -86px;
      color: rgba(255, 255, 255, 0.09);
      font-size: 230px;
      line-height: 1;
    }

    .hero-card .heart {
      margin-bottom: 18px;
      color: #ffe49a;
      font-size: 44px;
      line-height: 1;
    }

    .hero-card h2 {
      position: relative;
      z-index: 1;
      color: var(--white);
      font-size: 42px;
    }

    .hero-card p {
      position: relative;
      z-index: 1;
      margin-bottom: 0;
      font-size: 20px;
      line-height: 1.75;
    }

    .section {
      padding: 78px 0;
    }

    .section-inner {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
    }

    .intro-band {
      background:
        linear-gradient(135deg, #fff5ce, #ffffff 70%);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .intro-band .section-inner {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 70px;
      align-items: end;
    }

    .section-kicker {
      margin: 0 0 12px;
      color: var(--rose);
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }

    .intro-band p:last-child {
      margin: 0;
      color: #615039;
      font-size: 23px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .card {
      min-height: 300px;
      padding: 34px 30px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 14px 38px rgba(115, 80, 22, 0.08);
    }

    .card-number {
      width: 48px;
      height: 48px;
      margin-bottom: 24px;
      display: grid;
      place-items: center;
      color: var(--white);
      background: var(--blue);
      border-radius: 50%;
      font-weight: 800;
    }

    .card p {
      margin-bottom: 0;
      color: #67573d;
      font-size: 18px;
    }

    .closing {
      background:
        linear-gradient(135deg, #6e4c16, #916719);
    }

    .closing .section-inner {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 50px;
      align-items: center;
    }

    .closing h2,
    .closing p {
      color: var(--white);
    }

    .closing p {
      margin-bottom: 0;
      font-size: 21px;
    }

    .contact-card {
      padding: 30px;
      color: var(--ink);
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .contact-card h3 {
      margin-bottom: 12px;
    }

    .contact-card p {
      margin-top: 0;
      color: #67573d;
      font-size: 18px;
    }

    .site-footer {
      padding: 34px 0;
      color: #fff1c4;
      background: #392b13;
    }

    .footer-inner {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 30px;
      align-items: start;
    }

    .footer-inner strong {
      display: block;
      margin-bottom: 6px;
      color: var(--white);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 22px;
    }

    .footer-inner span,
    .footer-inner a {
      display: block;
      color: #fff1c4;
      font-size: 15px;
      text-decoration: none;
    }

    @media (max-width: 1000px) {

      .header-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0 16px;
      }

      .brand {
        justify-content: center;
      }

      .site-logo {
        width: 280px;
        height: auto;
        object-position: center;
      }

      .nav {
        align-items: center;
      }

      .nav-primary,
      .nav-actions {
        justify-content: center;
      }

      .nav-primary {
        gap: 16px 22px;
      }

      .header-inner {
        min-height: auto;
        padding: 18px 0;
        grid-template-columns: 1fr;
        justify-items: center;
      }

      .site-logo {
        width: 210px;
        height: auto;
        object-position: center;
      }

      .nav {
        justify-content: center;
      }

      .hero {
        grid-template-columns: 1fr;
      }

      .hero-card {
        max-width: 700px;
      }

      .intro-band .section-inner,
      .closing .section-inner {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .cards {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      body {
        font-size: 18px;
      }

      .site-header {
        position: static;
      }

      .header-inner {
        width: min(100% - 24px, var(--max));
      }

      .nav {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .nav a {
        padding: 11px 8px;
        text-align: center;
        background: var(--mist);
        border: 1px solid var(--line);
        border-radius: 12px;
        font-size: 15px;
      }

      .nav .apply-link,
      .nav .angel-link {
        border: none;
      }

      .tagline-bar {
        font-size: 15px;
        line-height: 1.5;
      }

      .hero {
        width: min(100% - 28px, var(--max));
        padding: 52px 0 58px;
        gap: 34px;
      }

      h1 {
        font-size: clamp(42px, 12vw, 58px);
      }

      .lede {
        font-size: 20px;
      }

      .button {
        width: 100%;
      }

      .hero-card {
        padding: 34px 26px;
      }

      .section {
        padding: 58px 0;
      }

      .section-inner {
        width: min(100% - 28px, var(--max));
      }

      .footer-inner {
        width: min(100% - 28px, var(--max));
        grid-template-columns: 1fr;
      }
    }

    /* HAMC visual photography patch */
    .hero-photo {
      position: relative;
      min-height: 560px;
      overflow: hidden;
      border-radius: 30px;
      box-shadow: var(--shadow);
      background: #fff1c4;
    }

    .hero-photo img {
      width: 100%;
      height: 100%;
      min-height: 560px;
      object-fit: cover;
      object-position: center;
    }

    .hero-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(
          180deg,
          transparent 35%,
          rgba(57, 43, 19, 0.82) 100%
        );
    }

    .photo-caption {
      position: absolute;
      right: 30px;
      bottom: 28px;
      left: 30px;
      z-index: 1;
      color: var(--white);
    }

    .photo-caption strong {
      display: block;
      margin-bottom: 6px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 31px;
      line-height: 1.15;
    }

    .photo-caption span {
      display: block;
      font-size: 17px;
      line-height: 1.55;
    }

    .trust-ribbon {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: var(--white);
    }

    .trust-inner {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
      padding: 22px 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 11px;
      color: var(--deep);
      font-size: 16px;
      font-weight: 800;
    }

    .trust-icon {
      width: 38px;
      height: 38px;
      display: grid;
      flex: 0 0 38px;
      place-items: center;
      color: var(--white);
      background: var(--blue);
      border-radius: 50%;
      font-size: 18px;
    }

    .card-photo {
      height: 190px;
      margin: -34px -30px 28px;
      overflow: hidden;
      border-radius: var(--radius) var(--radius) 0 0;
    }

    .card-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 350ms ease;
    }

    .card:hover .card-photo img {
      transform: scale(1.035);
    }

    .card {
      overflow: hidden;
      transition:
        transform 220ms ease,
        box-shadow 220ms ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 45px rgba(115, 80, 22, 0.14);
    }

    @media (max-width: 1000px) {
      .hero-photo,
      .hero-photo img {
        min-height: 480px;
      }

      .trust-inner {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 700px) {
      .hero-photo,
      .hero-photo img {
        min-height: 410px;
      }

      .photo-caption {
        right: 22px;
        bottom: 22px;
        left: 22px;
      }

      .photo-caption strong {
        font-size: 27px;
      }

      .trust-inner {
        width: min(100% - 28px, var(--max));
        grid-template-columns: 1fr;
      }
    }
