/* Hallmark redesign · pre-emit critique: P4 H4 E4 S4 R4 V4 */
:root {
  --color-ink: #241b16;
  --color-ink-soft: rgba(36, 27, 22, 0.82);
  --color-muted: #78695c;
  --color-paper: #fbf7ef;
  --color-paper-soft: #efe1cf;
  --color-surface: #fffdf8;
  --color-accent: #a2472b;
  --color-green: #365b47;
  --color-line: rgba(36, 27, 22, 0.14);
  --color-shadow: rgba(36, 27, 22, 0.18);
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-body: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --space-sm: clamp(0.85rem, 1.4vw, 1.1rem);
  --space-md: clamp(1.25rem, 2.2vw, 2rem);
  --space-lg: clamp(2.2rem, 5vw, 5rem);
  --space-xl: clamp(4.5rem, 10vw, 9rem);
  --radius: 8px;
  --max-page: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: clip;
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.85;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  border: 1px solid var(--color-line);
  height: 62px;
  width: 62px;
}

.site-nav {
  align-items: center;
  background: rgba(251, 247, 239, 0.86);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  display: flex;
  gap: clamp(0.6rem, 2vw, 1.35rem);
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}

.site-nav a {
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 4px;
}

.hero {
  align-items: center;
  display: grid;
  isolation: isolate;
  min-height: 92svh;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 9rem) clamp(1rem, 5vw, 4.5rem) clamp(3rem, 8vw, 6rem);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.97) 0%, rgba(251, 247, 239, 0.84) 36%, rgba(251, 247, 239, 0.08) 72%),
    linear-gradient(180deg, rgba(36, 27, 22, 0.08), rgba(36, 27, 22, 0.3));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 76% center;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-copy,
.story-copy,
.access-copy {
  min-width: 0;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(4.1rem, 8.4vw, 7.6rem);
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  margin-bottom: var(--space-md);
}

h2 span,
.lead span {
  display: block;
}

.lead,
.story-copy p,
.social-heading p,
.access-copy dd {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.hero .lead {
  color: var(--color-ink-soft);
  max-width: 38rem;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
}

.service-list li {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-green);
  font-weight: 700;
  padding: 0.45rem 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.button {
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0.68rem 1.15rem;
  white-space: nowrap;
}

.button.primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-paper);
}

.button.ghost {
  background: rgba(255, 253, 248, 0.82);
}

.hero-note {
  bottom: clamp(1rem, 4vw, 2.4rem);
  color: rgba(251, 247, 239, 0.9);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  margin: 0;
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  text-shadow: 0 1px 18px rgba(36, 27, 22, 0.55);
}

.mood-line {
  border-block: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max-page);
}

.mood-line span {
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  padding: var(--space-sm);
  text-align: center;
}

.mood-line span + span {
  border-left: 1px solid var(--color-line);
}

.section {
  margin: 0 auto;
  max-width: var(--max-page);
  padding: var(--space-xl) clamp(1rem, 3vw, 2rem);
}

.story,
.access,
.social {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.story {
  align-items: center;
}

.story-photo {
  margin: 0;
}

.story-photo img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 520px;
}

.photo-band img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-band div {
  align-items: center;
  background: var(--color-green);
  color: var(--color-paper);
  display: flex;
  padding: clamp(2rem, 7vw, 6rem);
}

.photo-band p {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  line-height: 1.28;
  margin: 0;
}

.social {
  align-items: start;
}

.instagram-embed,
.map-embed {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.instagram-embed {
  min-height: 320px;
}

.map-embed {
  background:
    linear-gradient(135deg, rgba(54, 91, 71, 0.08), rgba(162, 71, 43, 0.08)),
    var(--color-surface);
}

.map-embed iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.map-link {
  background: var(--color-ink);
  border-radius: 999px;
  bottom: 1rem;
  color: var(--color-paper);
  font-weight: 700;
  left: 1rem;
  padding: 0.62rem 1rem;
  position: absolute;
  z-index: 2;
}

.embed-fallback {
  align-items: center;
  display: grid;
  gap: var(--space-sm);
  inset: 0;
  justify-items: center;
  padding: var(--space-lg);
  position: absolute;
  text-align: center;
}

.embed-fallback img {
  height: 88px;
  width: 88px;
}

.embed-fallback p {
  color: var(--color-muted);
  max-width: 24rem;
}

dl,
dd {
  margin: 0;
}

dl {
  display: grid;
  gap: var(--space-sm);
}

dl div {
  border-top: 1px solid var(--color-line);
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 6rem minmax(0, 1fr);
  padding-top: var(--space-sm);
}

dt {
  color: var(--color-accent);
  font-weight: 700;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  padding: var(--space-lg) 1rem;
}

.site-footer img {
  height: 56px;
  width: 56px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(251, 247, 239, 0.9);
    border-bottom: 1px solid var(--color-line);
    position: sticky;
  }

  .site-nav {
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: end;
  }

  .site-nav a:first-child {
    grid-column: span 2;
    text-align: right;
  }

  .hero,
  .story,
  .access,
  .social,
  .photo-band {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding-bottom: 330px;
    padding-top: var(--space-lg);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.96) 52%, rgba(251, 247, 239, 0.2) 100%),
      linear-gradient(180deg, rgba(36, 27, 22, 0), rgba(36, 27, 22, 0.24));
  }

  .hero-bg {
    height: 340px;
    inset: auto 0 0;
    object-position: center;
  }

  .hero-note {
    bottom: 1rem;
    left: 1rem;
    right: auto;
  }

  .mood-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mood-line span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .mood-line span:nth-child(4) {
    border-top: 1px solid var(--color-line);
  }

  .story-photo img,
  .photo-band img {
    aspect-ratio: 4 / 3;
  }

  .instagram-embed,
  .map-embed {
    min-height: 360px;
  }
}

@media (max-width: 430px) {
  .site-header {
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .brand img {
    height: 58px;
    width: 58px;
  }

  .site-nav {
    font-size: 0.78rem;
    gap: 0.15rem 0.55rem;
    padding: 0.45rem 0.65rem;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 4.45rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .lead span {
    display: block;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  dl div {
    grid-template-columns: 1fr;
  }
}
