/* Engraved Gifts homepage. Every selector is scoped to the editable root group. */
.eg-home {
  --eg-evergreen: #073f35;
  --eg-teal: #138a76;
  --eg-mint: #e3efec;
  --eg-gray: #eeeeec;
  --eg-ink: #25473f;
  --eg-muted: #60756f;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--eg-ink);
  background: #fff;
  font-family: Lato, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.eg-home, .eg-home * { box-sizing: border-box; }
.eg-home > *, .eg-home .wp-block-group > * { margin-block-start: 0; }
.eg-home h1, .eg-home h2, .eg-home h3, .eg-home p, .eg-home figure,
.eg-home .wp-block-buttons { margin: 0; }
.eg-home h1, .eg-home h2, .eg-home h3 {
  color: var(--eg-evergreen);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
}
.eg-home a { color: inherit; text-decoration: none; }
.eg-home a:focus-visible {
  outline: 2px solid var(--eg-teal);
  outline-offset: 5px;
}
.eg-home img { display: block; width: 100%; max-width: 100%; height: 100%; }
.eg-home .eg-container { width: min(1230px, calc(100% - 80px)); max-width: 1230px; margin: 0 auto; }
.eg-home .eg-eyebrow {
  color: var(--eg-teal);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 20px;
  text-transform: uppercase;
}
.eg-home .eg-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  height: 600px;
  padding: 0 20px;
}
.eg-home .eg-hero-panel {
  position: relative;
  min-width: 0;
  height: 600px;
  overflow: hidden;
  background: var(--eg-gray);
  border-radius: 4px;
}
.eg-home .eg-hero-media {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 64%;
  overflow: hidden;
}
.eg-home .eg-hero-media img { object-fit: cover; }
.eg-home .eg-hero-copy {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  text-align: center;
}
.eg-home .eg-hero-title { margin-top: 10px; font-size: 50px; line-height: 1.1; letter-spacing: -0.045em; }
.eg-home .eg-hero-secondary .eg-hero-title { font-size: 37px; line-height: 1.15; letter-spacing: -0.035em; }
.eg-home .eg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.eg-home .eg-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: 1px solid var(--eg-teal);
  border-radius: 4px;
  background: var(--eg-teal);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 20px;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.eg-home .eg-button .wp-block-button__link:hover { background: var(--eg-evergreen); border-color: var(--eg-evergreen); color: #fff; }
.eg-home .eg-section-heading { text-align: center; }
.eg-home .eg-section-title {
  margin-top: 10px;
  font-size: 34px;
  line-height: 42px;
  letter-spacing: -0.035em;
}
.eg-home .eg-section-description {
  margin-top: 14px;
  color: var(--eg-muted);
  font-size: 15px;
  line-height: 24px;
}
.eg-home .eg-featured { padding: 140px 0 55px; background: var(--eg-mint); }
.eg-home .eg-recipient-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.eg-home .eg-recipient-card, .eg-home .eg-browse-card { min-width: 0; text-align: center; }
.eg-home .eg-card-media { display: block; height: 190px; overflow: hidden; border-radius: 4px; background: var(--eg-gray); }
.eg-home .eg-card-media a { display: block; width: 100%; height: 100%; }
.eg-home .eg-card-media img { object-fit: cover; }
.eg-home .eg-card-copy { padding-top: 20px; }
.eg-home .eg-card-title { font-size: 17px; line-height: 24px; letter-spacing: -0.025em; }
.eg-home .eg-card-title a:hover, .eg-home .eg-text-link a:hover { color: var(--eg-teal); }
.eg-home .eg-card-description { margin-top: 7px; color: var(--eg-muted); font-size: 13px; line-height: 21px; }
.eg-home .eg-thought-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 24px;
  overflow: hidden;
  background: #f3f7f5;
}
.eg-home .eg-thought-text {
  max-width: 100%;
  color: var(--eg-evergreen);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(16px, 2.4vw, 31px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.4;
  text-align: center;
}
.eg-home .eg-categories { padding: 112px 0 93px; background: #fff; }
.eg-home .eg-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.eg-home .eg-category-tile { position: relative; height: 440px; min-width: 0; overflow: hidden; border-radius: 4px; background: var(--eg-gray); text-align: center; }
.eg-home .eg-category-media { width: 100%; height: 70%; }
.eg-home .eg-category-media a { display: block; width: 100%; height: 100%; }
.eg-home .eg-category-media img { object-fit: cover; }
.eg-home .eg-category-copy { position: absolute; right: 16px; bottom: 24px; left: 16px; }
.eg-home .eg-category-copy .eg-card-title { font-size: 19px; line-height: 26px; }
.eg-home .eg-category-copy .eg-card-description { max-width: 240px; margin: 9px auto 0; }
.eg-home .eg-text-link { margin-top: 12px; font-size: 12px; font-weight: 700; line-height: 20px; }
.eg-home .eg-text-link span { padding-left: 5px; }
.eg-home .eg-browse { padding: 2px 0 178px; background: #fff; }
.eg-home .eg-browse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 26px; row-gap: 48px; margin-top: 50px; }
.eg-home .eg-browse-card .eg-card-media { height: 440px; }
.eg-home .eg-browse-card .eg-card-title { font-size: 20px; line-height: 26px; }
.eg-home .eg-browse-card .eg-card-description { margin-top: 8px; font-size: 14px; line-height: 22px; }
.eg-home .eg-story-banner {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: var(--eg-gray);
  text-align: center;
}
.eg-home .eg-banner-media { position: absolute; inset: 0 0 auto; width: 100%; height: 61%; }
.eg-home .eg-banner-media img { object-fit: cover; }
.eg-home .eg-banner-copy { position: absolute; right: 28px; bottom: 32px; left: 28px; }
.eg-home .eg-banner-title { margin-top: 8px; font-size: 36px; line-height: 44px; letter-spacing: -0.04em; }
.eg-home .eg-banner-description { margin-top: 10px; color: var(--eg-muted); font-size: 15px; line-height: 24px; }
.eg-home .eg-story-banner .eg-actions { margin-top: 20px; }
.eg-home .eg-gallery { padding: 14px 0 82px; background: #fff; }
.eg-home .eg-gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.eg-home .eg-gallery-media { aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--eg-gray); }
.eg-home .eg-gallery-media img { object-fit: cover; }
@media (max-width: 1199px) {
  .eg-home .eg-container { width: calc(100% - 56px); }
  .eg-home .eg-hero-title { font-size: 43px; }
  .eg-home .eg-hero-secondary .eg-hero-title { font-size: 31px; }
  .eg-home .eg-recipient-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
  .eg-home .eg-recipient-card .eg-card-media { height: auto; aspect-ratio: 1; }
  .eg-home .eg-category-grid, .eg-home .eg-browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-home .eg-category-tile { height: 440px; }
  .eg-home .eg-browse-card .eg-card-media { height: 400px; }
  .eg-home .eg-featured { padding: 86px 0 72px; }
  .eg-home .eg-categories { padding: 86px 0; }
  .eg-home .eg-browse { padding: 0 0 100px; }
  .eg-home .eg-gallery { padding: 64px 0 72px; }
  .eg-home .eg-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .eg-home .eg-container { width: calc(100% - 32px); }
  .eg-home .eg-hero { height: auto; grid-template-columns: 1fr; gap: 16px; padding: 0 16px; }
  .eg-home .eg-hero-panel { height: 440px; }
  .eg-home .eg-hero-secondary { height: 390px; }
  .eg-home .eg-hero-title { font-size: clamp(31px, 7.5vw, 42px); }
  .eg-home .eg-hero-secondary .eg-hero-title { font-size: 31px; }
  .eg-home .eg-hero-copy { right: 16px; bottom: 26px; left: 16px; }
  .eg-home .eg-section-title { font-size: 28px; line-height: 36px; }
  .eg-home .eg-section-description { max-width: 440px; margin: 12px auto 0; font-size: 14px; line-height: 22px; }
  .eg-home .eg-featured, .eg-home .eg-categories { padding: 64px 0; }
  .eg-home .eg-recipient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; margin-top: 32px; }
  .eg-home .eg-recipient-card .eg-card-copy { padding-top: 14px; }
  .eg-home .eg-card-title { font-size: 15px; line-height: 22px; }
  .eg-home .eg-card-description { font-size: 12px; line-height: 19px; }
  .eg-home .eg-thought-strip { min-height: 80px; padding: 18px 16px; }
  .eg-home .eg-thought-text { max-width: 500px; font-size: 20px; line-height: 1.45; }
  .eg-home .eg-category-grid { gap: 16px; margin-top: 32px; }
  .eg-home .eg-category-tile { height: 340px; }
  .eg-home .eg-category-copy { right: 12px; bottom: 20px; left: 12px; }
  .eg-home .eg-category-copy .eg-card-title { font-size: 16px; line-height: 23px; }
  .eg-home .eg-category-copy .eg-card-description { font-size: 12px; line-height: 19px; }
  .eg-home .eg-text-link { font-size: 11px; }
  .eg-home .eg-browse { padding: 0 0 72px; }
  .eg-home .eg-browse-grid { gap: 34px 16px; margin-top: 32px; }
  .eg-home .eg-browse-card .eg-card-media { height: auto; aspect-ratio: 0.66; }
  .eg-home .eg-browse-card .eg-card-copy { padding-top: 14px; }
  .eg-home .eg-browse-card .eg-card-title { font-size: 16px; line-height: 23px; }
  .eg-home .eg-browse-card .eg-card-description { font-size: 12px; line-height: 19px; }
  .eg-home .eg-story-banner { height: 460px; }
  .eg-home .eg-banner-copy { right: 20px; bottom: 30px; left: 20px; }
  .eg-home .eg-banner-title { font-size: 29px; line-height: 36px; }
  .eg-home .eg-banner-description { max-width: 400px; margin: 12px auto 0; font-size: 14px; line-height: 22px; }
  .eg-home .eg-gallery { padding: 56px 0 64px; }
  .eg-home .eg-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .eg-home .eg-button .wp-block-button__link { transition: none; }
}

/* Reference-aligned storefront rhythm: broad rows, left section heads, pill CTAs. */
.eg-home .wp-block-group { margin-block-end:0; }
.eg-home .eg-container { width: min(1540px, calc(100% - 40px)); max-width:1540px; }
.eg-home .eg-hero { width:min(1540px,calc(100% - 40px)); margin:20px auto 60px; padding:0; }
.eg-home .eg-button .wp-block-button__link { border-radius:999px; font-size:13px; letter-spacing:0; text-transform:none; }
.eg-home .eg-section-heading { position:relative; }
.eg-home .eg-featured .eg-section-heading,
.eg-home .eg-categories .eg-section-heading,
.eg-home .eg-browse .eg-section-heading { text-align:left; }
.eg-home .eg-section-cta { position:absolute; right:0; bottom:0; }
.eg-home .eg-featured { padding:60px 0; }
.eg-home .eg-recipient-grid { gap:20px; margin-top:26px; }
.eg-home .eg-recipient-card { background:#fff; border-radius:4px; padding:12px 12px 24px; }
.eg-home .eg-recipient-card .eg-card-media { height:228px; }
.eg-home .eg-thought-strip { background:#0b5143; }
.eg-home .eg-thought-text { color:white; font-size:21px; white-space:nowrap; max-width:none; }
.eg-home .eg-categories { padding:60px 0 78px; }
.eg-home .eg-category-grid { margin-top:32px; }
.eg-home .eg-category-tile { height:500px; }
.eg-home .eg-browse { padding:0 0 64px; }
.eg-home .eg-browse-grid { margin-top:26px; row-gap:40px; }
.eg-home .eg-browse-card { background:#fafbfa; padding-bottom:22px; }
.eg-home .eg-browse-card .eg-card-media { height:390px; }
.eg-home .eg-story-banner { height:600px; }
.eg-home .eg-banner-copy { left:3%; right:auto; top:50%; bottom:auto; width:36%; transform:translateY(-50%); }
.eg-home .eg-banner-media { left:42%; right:0; width:58%; height:100%; }
.eg-home .eg-gallery { padding:60px 0 70px; }
@media(max-width:1199px) {
 .eg-home .eg-section-cta { position:static; margin-top:18px; }
 .eg-home .eg-recipient-card .eg-card-media { height:auto; aspect-ratio:1; }
 .eg-home .eg-category-tile { height:420px; }
 .eg-home .eg-browse-card .eg-card-media { height:auto; aspect-ratio:.8; }
}
@media(max-width:767px) {
 .eg-home .eg-container,.eg-home .eg-hero { width:calc(100% - 32px); }
 .eg-home .eg-hero { margin:16px auto 40px; }
 .eg-home .eg-featured,.eg-home .eg-categories { padding:48px 0; }
 .eg-home .eg-recipient-grid { gap:24px 12px; }
 .eg-home .eg-recipient-card { padding:8px 8px 18px; }
 .eg-home .eg-thought-text { white-space:normal; font-size:18px; }
 .eg-home .eg-category-tile { height:340px; }
 .eg-home .eg-browse { padding-bottom:48px; }
 .eg-home .eg-browse-grid { gap:24px 16px; }
 .eg-home .eg-browse-card .eg-card-media { aspect-ratio:.8; }
 .eg-home .eg-story-banner { height:480px; }
 .eg-home .eg-banner-media { inset:0 0 auto; width:100%; height:55%; }
 .eg-home .eg-banner-copy { left:20px; right:20px; top:auto; bottom:28px; width:auto; transform:none; }
 .eg-home .eg-gallery { padding:48px 0; }
}


/* Approved reference typography. */
.eg-home { font-family: Inter, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
.eg-home h1, .eg-home h2, .eg-home h3, .eg-home .eg-eyebrow, .eg-home .eg-button .wp-block-button__link, .eg-home .eg-thought-text { font-family: Inter, Arial, Helvetica, sans-serif; }
.eg-home h1, .eg-home h2, .eg-home h3, .eg-home .eg-thought-text { letter-spacing: normal; }
.eg-home .eg-hero-title { font-size: 48px; line-height: 1.2; letter-spacing: normal; }
.eg-home .eg-hero-secondary .eg-hero-title { font-size: 32px; line-height: 1.2; letter-spacing: normal; }
.eg-home .eg-section-title { font-size: 38px; line-height: 1.2; letter-spacing: normal; }
.eg-home .eg-card-title { font-weight: 500; letter-spacing: normal; }
.eg-home .eg-button .wp-block-button__link { font-size: 14px; font-weight: 600; }
@media (max-width: 1199px) { .eg-home .eg-hero-title { font-size: 40px; } .eg-home .eg-hero-secondary .eg-hero-title { font-size: 30px; } }
@media (max-width: 767px) { .eg-home .eg-hero-title { font-size: clamp(31px, 7.5vw, 40px); } .eg-home .eg-hero-secondary .eg-hero-title { font-size: 30px; } .eg-home .eg-section-title { font-size: 28px; line-height: 1.2; } }


/* Continuous keepsake message strip. */
.eg-home .eg-thought-strip { justify-content: flex-start; padding-inline: 0; }
.eg-home .eg-thought-track { display: flex; flex-shrink: 0; width: max-content; max-width: none; margin: 0; animation: eg-thought-scroll 40s linear infinite; }
.eg-home .eg-thought-group { display: flex; align-items: center; justify-content: space-around; flex-shrink: 0; min-width: 100vw; gap: 32px; padding: 0 32px; box-sizing: border-box; }
.eg-home .eg-thought-group .eg-thought-text { flex-shrink: 0; margin: 0; white-space: nowrap; }
@keyframes eg-thought-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .eg-home .eg-thought-track { animation: none; width: 100%; }
  .eg-home .eg-thought-group { min-width: 0; width: 100%; flex-wrap: wrap; gap: 12px 24px; padding: 0 24px; }
  .eg-home .eg-thought-group[aria-hidden="true"] { display: none; }
}


/* Laser engraving messages and vector illustrations. */
.eg-home .eg-thought-group { gap: 72px; padding-inline: 36px; }
.eg-home .eg-thought-item { display: flex; align-items: center; flex-shrink: 0; gap: 20px; color: #fff; }
.eg-home .eg-thought-icon { display: block; width: 48px; height: 48px; flex-shrink: 0; }
.eg-home .eg-thought-item .eg-thought-text { font-weight: 600; }
@media (max-width: 767px) {
  .eg-home .eg-thought-group { gap: 48px; padding-inline: 24px; }
  .eg-home .eg-thought-item { gap: 16px; }
  .eg-home .eg-thought-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .eg-home .eg-thought-group { gap: 16px 24px; }
  .eg-home .eg-thought-item { max-width: 100%; }
  .eg-home .eg-thought-item .eg-thought-text { flex-shrink: 1; white-space: normal; text-align: left; }
}

/* Approved A1 homepage cover. */
.eg-home .eg-hero-primary .eg-hero-media img { object-position: 72% center; }
@media (min-width: 768px) {
  .eg-home .eg-hero-primary .eg-hero-media { inset: 0; height: 100%; }
  .eg-home .eg-hero-primary .eg-hero-copy { left: clamp(28px, 3vw, 52px); right: auto; top: 50%; bottom: auto; width: 54%; transform: translateY(-50%); text-align: left; }
  .eg-home .eg-hero-primary .eg-hero-title, .eg-home .eg-hero-primary .eg-eyebrow { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .28); }
  .eg-home .eg-hero-primary .eg-actions { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .eg-home .eg-hero-primary .eg-hero-media { height: 50%; }
  .eg-home .eg-hero-primary .eg-hero-copy { top: 50%; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
  .eg-home .eg-hero-primary .eg-hero-copy > * { margin-bottom: 0; }
}
