/* shopjourneyfossil.com — calm keepsake layout: split hero, book still life, three steps */
:root {
  --paper: #F7F8F4;
  --white: #FFFFFF;
  --sage-block: #E3EADD;
  --lilac: #EFECF2;
  --ink: #1C1747;
  --ink-soft: #4A4562;
  --plum: #4B2153;
  --plum-dark: #36163D;
  --sage: #3F6838;
  --line: rgba(28, 23, 71, 0.14);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inclusive Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --fs-h1: clamp(2.3rem, 1.6rem + 2.6vw, 3.7rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 1.6vw, 2.7rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--plum);
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 50;
  background: var(--plum);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header: mark + logo left, one button right ---------- */
.site-header {
  position: static;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  max-width: none;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1.5px solid var(--plum);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--plum);
  padding-bottom: 3px;
}

.brand img {
  height: 50px;
  width: auto;
}

.head-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.head-cta:hover {
  background: var(--plum-dark);
}

/* Blog text link beside the button (WordPress build) */
.head-blog {
  margin-left: auto;
  padding: 0.6rem 0.2rem;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.head-blog:hover,
.head-blog[aria-current="page"] {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
}

.btn:hover {
  background: var(--plum-dark);
}

/* ---------- Hero: light colour block beside a photo ---------- */
.hero {
  display: grid;
  background: var(--sage-block);
}

.hero-copy {
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  align-self: center;
  max-width: 600px;
}

.hero-copy h1 {
  margin-bottom: 0.45em;
}

.hero-sub {
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 1.8rem;
}

.hero-alt {
  margin: 1.1rem 0 0;
  font-size: 0.96rem;
}

.hero-alt a {
  color: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 620px;
  object-fit: cover;
  object-position: 50% 40%;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    min-height: 560px;
  }

  .hero-copy {
    padding-left: clamp(2.5rem, 6vw, 6rem);
    padding-right: clamp(2rem, 4vw, 4rem);
    max-width: none;
    width: 100%;
  }

  .hero-media img {
    max-height: none;
  }
}

/* ---------- Book still life ---------- */
.still {
  background: var(--lilac);
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
  text-align: center;
}

.still h2 {
  max-width: 18em;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.still-photo {
  margin: 0 auto;
  max-width: 900px;
}

.still-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 62%;
}

@media (max-width: 640px) {
  .still-photo img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- How it works: three numbered cards ---------- */
.how {
  background: var(--sage-block);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.how h2 {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.how-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.how-card {
  background: var(--white);
  padding: 1.6rem 1.6rem 1.9rem;
}

.how-step {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 0.9rem;
}

.how-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1.3rem;
}

.how-card img.pos-low {
  object-position: 50% 70%;
}

.how-card h3 {
  text-wrap: pretty;
  margin-bottom: 0.4rem;
}

.how-card p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 820px) {
  .how-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ---------- Guide ---------- */
.guide {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.guide-grid {
  display: grid;
  gap: 2.5rem;
}

.guide-photo {
  margin: 1.5rem 0 0;
}

.guide-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.guide-photo figcaption {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.guide-text {
  display: grid;
  gap: 2rem;
}

.guide-text article {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  max-width: 36em;
}

.guide-text article:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-text p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-text p + p {
  margin-top: 0.8rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.plain-list li {
  margin-bottom: 0.35rem;
}

.plain-list li::marker {
  color: var(--sage);
}

@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .guide-side {
    position: sticky;
    top: 2rem;
  }
}

/* ---------- Opening questions ---------- */
.questions {
  background: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.questions h2 {
  margin-bottom: 0.3em;
}

.questions-intro {
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 2rem;
}

.q-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: 3rem;
  border-top: 1px solid var(--line);
}

.q-list li {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.02rem + 0.3vw, 1.25rem);
  line-height: 1.4;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .q-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Further reading (latest blog posts, WordPress build) ---------- */
.reading {
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
}

.reading-grid {
  display: grid;
  gap: 1.5rem;
}

.reading-head p {
  color: var(--ink-soft);
  max-width: 26em;
  margin-bottom: 0.9rem;
}

.reading-all {
  font-weight: 600;
}

.reading-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.reading-list li {
  border-bottom: 1px solid var(--line);
}

.reading-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  color: var(--ink);
  text-decoration: none;
}

.reading-fig img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.reading-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  line-height: 1.3;
  text-wrap: pretty;
}

.reading-meta {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.reading-item:hover .reading-title {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 760px) {
  .reading-item {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .reading-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  padding: 0.9rem 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.4;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .ic {
  color: var(--plum);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary .ic {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  max-width: 40em;
}

@media (prefers-reduced-motion: reduce) {
  .faq-list summary .ic {
    transition: none;
  }
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Closing split ---------- */
.closing {
  display: grid;
  background: var(--lilac);
}

.closing-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.closing-copy {
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter);
  align-self: center;
  max-width: 600px;
}

.closing-copy p {
  color: var(--ink-soft);
}

.closing-copy .btn {
  margin-top: 0.6rem;
}

.closing-note {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .closing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 460px;
  }

  .closing-copy {
    padding-left: clamp(2.5rem, 5vw, 5rem);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
}

.footer-brand img {
  height: 46px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  color: var(--plum);
  text-decoration: underline;
}

.footer-base {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-base p {
  margin: 0 0 0.4rem;
}

.footer-base a {
  color: var(--ink-soft);
}

@media (max-width: 420px) {
  .head-row {
    gap: 0.6rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }

  .brand img {
    height: 32px;
  }

  .head-cta {
    padding: 0.5rem 0.95rem;
    font-size: 0.9rem;
  }

  .head-blog {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .brand-mark {
    display: none;
  }
}
