/* Home page. Everything here is scoped to .hm so it can't affect other pages. Same type and colours as the custom order page. */
.hm { font-family: 'Kanit', 'Open Sans', sans-serif; font-weight: 300; color: #212121; font-size: 17px; line-height: 1.6; }
.hm * { box-sizing: border-box; }
.hm p { font-family: inherit; font-size: inherit; font-weight: 300; line-height: 1.6; color: inherit; letter-spacing: 0; text-align: left; margin: 0 0 16px; }
.hm h1, .hm h2, .hm h3 { font-family: inherit; color: inherit; text-transform: none; text-align: left; margin: 0; padding: 0; }
.hm h2 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -1.5px; }
.hm a { color: #212121; text-decoration: underline; text-underline-offset: 3px; }
.hm a:hover { color: #089cbc; }
.hm a:focus-visible { outline: 3px solid #089cbc; outline-offset: 3px; }
.hm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.hm a.hm-btn { display: inline-block; background: #089cbc; color: #fff; text-decoration: none; font-weight: 400; font-size: 18px; letter-spacing: .5px; padding: 17px 34px; border: 2px solid #089cbc; transition: background .2s, color .2s; }
.hm a.hm-btn:hover, .hm a.hm-btn:focus { background: #fff; color: #089cbc; }
.hm a.hm-btn.hm-ghost { background: transparent; border-color: #fff; color: #fff; }
.hm a.hm-btn.hm-ghost:hover, .hm a.hm-btn.hm-ghost:focus { background: #fff; color: #212121; }

/* hero: the copper putter sits on the left of the photo, so the words take the dark right side */
.hm-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: center; background: #0b0b0b url('../images/backgrounds/bg-012.jpg') left center / cover no-repeat; color: #fff; }
.hm-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.8) 100%); }
.hm-hero .hm-wrap { position: relative; width: 100%; display: flex; justify-content: flex-end; padding-top: 72px; padding-bottom: 72px; }
.hm-hero-text { width: 100%; max-width: 560px; }
.hm-hero img.hm-sig { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 0 14px -6px; }
.hm-hero h1 { font-size: 60px; line-height: 1.02; font-weight: 400; letter-spacing: -1px; color: #fff; }
.hm-hero p { color: #fff; font-size: 19px; letter-spacing: 1px; margin: 22px 0 32px; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* three ways in */
.hm-ways { padding: 80px 0 72px; }
.hm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hm a.hm-card { display: block; text-decoration: none; color: #212121; }
.hm-card .hm-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.hm-card .hm-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hm a.hm-card:hover .hm-pic img { transform: scale(1.04); }
.hm-card h3 { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.5px; margin: 20px 0 8px; }
.hm-card p { font-size: 16px; margin: 0 0 12px; }
.hm-card .hm-go { font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.hm a.hm-card:hover .hm-go { color: #089cbc; }

/* the maker */
.hm-maker { background: #111; color: #fff; }
.hm-maker .hm-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; max-width: none; }
.hm-maker .hm-photo { min-height: 460px; background: #000 url('../images/backgrounds/bg-010.jpg') 78% center / cover no-repeat; }
.hm-maker .hm-words { padding: 80px 56px; max-width: 640px; align-self: center; }
.hm-maker h2 { color: #fff; margin-bottom: 20px; }
.hm-maker p { color: rgba(255,255,255,.88); }
.hm-maker a { color: #fff; font-weight: 400; }
.hm-maker a:hover { color: #6fd6ea; }

/* order status */
.hm-status { background: #f4f4f2; padding: 44px 0; }
.hm-status .hm-wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.hm-status h2 { font-size: 28px; letter-spacing: -.5px; }
.hm-status p { margin: 6px 0 0; }
.hm a.hm-btn.hm-dark { background: #212121; border-color: #212121; }
.hm a.hm-btn.hm-dark:hover, .hm a.hm-btn.hm-dark:focus { background: #fff; color: #212121; }

/* instagram */
.hm-insta { padding: 72px 0 96px; }
.hm-insta-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }

@media (max-width: 900px) {
  .hm { font-size: 16px; }
  .hm h2 { font-size: 32px; letter-spacing: -1px; }
  .hm-hero { min-height: 0; background-position: 22% center; }
  .hm-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.2) 38%, rgba(0,0,0,.82) 72%); }
  .hm-hero .hm-wrap { justify-content: flex-start; padding-top: 220px; padding-bottom: 48px; }
  .hm-hero h1 { font-size: 42px; letter-spacing: -.5px; }
  .hm-hero img.hm-sig { max-width: 300px; }
  .hm-grid { grid-template-columns: 1fr; gap: 40px; }
  .hm-ways { padding: 56px 0; }
  .hm-maker .hm-wrap { grid-template-columns: 1fr; }
  .hm-maker .hm-photo { min-height: 300px; background-position: 80% 20%; }
  .hm-maker .hm-words { padding: 48px 24px; }
  .hm-insta { padding: 52px 0 72px; }
}
@media (max-width: 479px) { .hm-hero { background-image: url('../images/backgrounds/bg-012-mobile.jpg'); background-position: center; } .hm a.hm-btn { width: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .hm-card .hm-pic img { transition: none; } .hm a.hm-card:hover .hm-pic img { transform: none; } }
