/*
Theme Name: Heritage Escape Figma
Theme URI: https://heritageescape.online/
Author: Grow Agency
Description: Pixel-matched Heritage Escape landing page from the approved Figma frame.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: heritageescape
*/

:root {
  --heritage-green: #004c1d;
  --heritage-text: #111111;
  --heritage-muted: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--heritage-text);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.heritage-site-main {
  min-height: 100vh;
}

.heritage-landing {
  background: #ffffff;
  overflow-x: hidden;
}

.heritage-frame {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  line-height: 0;
}

.heritage-frame-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.heritage-hotspot,
.heritage-anchor {
  position: absolute;
}

.heritage-hotspot {
  z-index: 3;
  display: block;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0);
  color: transparent;
  text-decoration: none;
}

.heritage-hotspot:focus-visible,
.heritage-newsletter-control:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.heritage-anchor {
  z-index: 1;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.heritage-countdown {
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(31 / 1440 * 100vw);
  pointer-events: none;
  line-height: 1;
}

.heritage-countdown-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(10 / 1440 * 100vw);
  height: 100%;
}

.heritage-countdown-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: calc(11 / 1440 * 100vw);
  background: #ffffff;
  color: var(--heritage-green);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: calc(116 / 1440 * 100vw);
  font-weight: 900;
  letter-spacing: 0;
}

.heritage-countdown-status {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.heritage-newsletter-form {
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 169px;
  gap: 0;
}

.heritage-newsletter-control {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font: 400 clamp(10px, 1.7vw, 25px)/1.2 Arial, sans-serif;
  line-height: 1;
}

.heritage-newsletter-control::placeholder {
  color: transparent;
}

.heritage-newsletter-submit {
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.heritage-content-page {
  width: min(1120px, calc(100% - 40px));
  margin: 48px auto;
  line-height: 1.55;
}

.heritage-content-page h1,
.heritage-content-page h2,
.heritage-content-page h3 {
  color: var(--heritage-green);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  border-radius: 0;
  background: var(--heritage-green);
  color: #ffffff;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background: #003613;
  color: #ffffff;
}
