:root {
  --green: #1F4A34;
  --green-hover: #2A5D43;
  --gold: #B99145;
  --gold-soft: #D8C8A7;
  --ivory: #F4F0EA;
  --paper: #FFFCF7;
  --text: #263D32;
  --muted: #6E756F;
  --shadow: 0 18px 50px rgba(25, 38, 31, .12);
  --radius: 12px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #E8E5DF;
  color: var(--text);
  font-family: "Noto Sans", Arial, sans-serif;
}

a, button { -webkit-tap-highlight-color: transparent; }

.page-shell {
  min-height: 100vh;
  padding: 28px 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.digital-card {
  width: min(100%, 520px);
  background: var(--ivory);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow);
  border-radius: 18px;
}

.hero {
  text-align: center;
}

.logo {
  width: 210px;
  max-width: 55%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
  object-fit: contain;
}

h1 {
  margin: 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: .96;
  font-size: clamp(42px, 9vw, 56px);
  letter-spacing: -.025em;
}

h1 span { display: block; }

.gold-rule {
  width: 55%;
  height: 1.5px;
  background: var(--gold);
  margin: 20px auto 18px;
}

.tagline {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-btn,
.wide-btn,
.utility-btn {
  background: var(--green);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  font-family: "Noto Sans", Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.quick-btn:hover,
.wide-btn:hover,
.utility-btn:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.quick-btn:focus-visible,
.wide-btn:focus-visible,
.utility-btn:focus-visible,
.catalog-card:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(185, 145, 69, .45);
  outline-offset: 3px;
}

.quick-btn {
  min-height: 76px;
  padding: 10px 7px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
}

.icon,
.left-icon,
.utility-icon {
  color: var(--gold);
  display: inline-flex;
  flex: 0 0 auto;
}

.icon { width: 22px; height: 22px; }
.left-icon { width: 21px; height: 21px; }
.utility-icon { width: 22px; height: 22px; margin-bottom: 5px; }

.icon svg,
.left-icon svg,
.utility-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-block {
  margin-top: 20px;
}

.section-label {
  margin: 0 0 14px;
  text-align: center;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .01em;
}

.section-label-large {
  font-size: 20px;
  margin-bottom: 22px;
}

.wide-btn {
  width: 84%;
  min-height: 62px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  text-align: center;
  font-size: 19px;
}

.wide-btn .left-icon { grid-column: 1; }
.wide-btn > span:last-child { grid-column: 2; }

.section-rule {
  width: 60%;
  margin-top: 26px;
  margin-bottom: 0;
}

.catalogs { margin-top: 24px; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.catalog-card {
  min-width: 0;
  min-height: 300px;
  padding: 12px 12px 14px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: rgba(255, 252, 247, .72);
  color: var(--green);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(31, 74, 52, .10);
}

.catalog-image-box {
  width: 100%;
  height: 228px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.opportunity { margin-top: 18px; }

.primary-cta {
  border: 1.5px solid var(--gold);
  box-shadow: 0 5px 14px rgba(31, 74, 52, .08);
}

.utility-grid {
  width: 86%;
  margin: 28px auto 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.utility-btn {
  min-width: 0;
  min-height: 88px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.16;
  text-align: center;
}

.footer {
  margin-top: 44px;
  padding-bottom: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer p { margin: 0; }

.footer a {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

.pending-link {
  /* Placeholder links are automatically disabled by script.js until a real URL is added. */
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 24px);
  z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  body { background: var(--ivory); }

  .page-shell {
    padding: 0;
  }

  .digital-card {
    width: 100%;
    min-height: 100vh;
    padding: 34px 23px 30px;
    border-radius: 0;
    box-shadow: none;
  }

  .logo {
    width: 190px;
    max-width: 57%;
    margin-bottom: 17px;
  }

  h1 {
    font-size: clamp(43px, 12vw, 54px);
  }

  .tagline {
    font-size: 15px;
  }

  .quick-actions {
    gap: 10px;
  }

  .quick-btn {
    min-height: 76px;
    font-size: 15px;
  }

  .wide-btn {
    width: 84%;
  }

  .catalog-grid {
    gap: 28px;
  }

  .catalog-card {
    min-height: 284px;
    padding: 10px 10px 13px;
  }

  .catalog-image-box {
    height: 214px;
  }
}

@media (max-width: 390px) {
  .digital-card {
    padding-left: 17px;
    padding-right: 17px;
  }

  .quick-actions {
    gap: 8px;
  }

  .quick-btn {
    min-height: 72px;
    font-size: 14px;
  }

  .icon { width: 20px; height: 20px; }

  .wide-btn {
    width: 88%;
    min-height: 58px;
    font-size: 17px;
  }

  .section-label {
    font-size: 16px;
  }

  .section-label-large {
    font-size: 18px;
  }

  .catalog-grid {
    gap: 14px;
  }

  .catalog-card {
    min-height: 250px;
    padding: 8px;
    font-size: 13px;
  }

  .catalog-image-box {
    height: 188px;
  }

  .utility-grid {
    width: 90%;
    gap: 12px;
  }

  .utility-btn {
    min-height: 82px;
    font-size: 14px;
  }
}

@media (min-width: 800px) {
  .page-shell {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .digital-card {
    padding-top: 40px;
    padding-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
