/* fossilshoproute.com: white field-station layout (utility row + main bar, photo hero, ruled section labels). */
:root {
  --ink: #13293B;
  --ink-soft: #4A5B68;
  --sky: #0872AE;
  --sky-deep: #065A8A;
  --ember: #D2501C;
  --fog: #F2F5F7;
  --line: #D6DEE4;
  --white: #FFFFFF;
  --sans: "Commissioner", "Segoe UI", Arial, sans-serif;
  --serif: "Brygada 1918", Georgia, serif;
  --wrap: 1180px;
}

*,
*::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(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

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

a:focus-visible,
summary:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Header: utility row above a main bar ---------- */
.site-head {
  position: static;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.util {
  border-bottom: 1px solid var(--line);
}

.util-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.util-nav {
  display: flex;
  gap: 4px 28px;
}

.util-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
}

.util-nav a:hover {
  color: var(--sky-deep);
  text-decoration: underline;
}

.util-nav .ico {
  width: 17px;
  height: 17px;
  stroke-width: 1.3;
  color: var(--ink-soft);
}

.util-nav a[aria-current="page"] {
  color: var(--sky-deep);
  font-weight: 600;
}

.main-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

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

.head-cta:hover {
  background: var(--sky-deep);
}

.head-cta .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

@media (max-width: 640px) {
  .util-more {
    display: none !important;
  }

  .util-nav {
    gap: 4px 18px;
  }

  .main-bar {
    min-height: 64px;
  }

  .main-bar .brand img {
    height: 36px;
  }

  .head-cta {
    padding: 0 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .cta-pre {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn-solid,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  font-weight: 600;
  text-decoration: none;
}

.btn-solid {
  padding: 0 26px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--sky-deep);
}

.btn-line {
  justify-content: space-between;
  min-width: min(320px, 100%);
  padding: 0 18px 0 26px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
}

.btn-line:hover {
  background: var(--fog);
}

.btn-solid .ico,
.btn-line .ico {
  width: 20px;
  height: 20px;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* ---------- Section label running into a hairline ---------- */
.block {
  padding: clamp(48px, 7vw, 88px) 0 0;
}

.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.rule::after {
  content: "";
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: var(--ink);
}

/* ---------- Hero: one calm photo, copy on the sky ---------- */
.hero {
  position: relative;
  min-height: clamp(460px, 44vw, 620px);
  display: flex;
  background: #A9ACAE;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: clamp(88px, 9vw, 120px);
}

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

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-copy p {
  max-width: 40ch;
  font-size: 1.125rem;
  color: var(--ink);
}

.today {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(340px, 100%);
  padding: 16px 18px 16px 20px;
  background: var(--white);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.today:hover .today-name {
  text-decoration: underline;
}

.today-text {
  display: grid;
  gap: 4px;
}

.today-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.today-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.today-name .ico {
  color: var(--ember);
  width: 20px;
  height: 20px;
}

.today-go {
  width: 26px;
  height: 26px;
  stroke-width: 1.2;
}

@media (max-width: 640px) {
  /* Stack on phones: copy on white, then the photo, then the card over its lower edge. */
  .hero {
    min-height: 0;
    flex-direction: column;
    background: var(--white);
  }

  .hero-inner {
    display: contents;
  }

  .hero-copy {
    order: 1;
    padding: 32px 16px 24px;
  }

  .hero-img {
    order: 2;
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 60% 40%;
  }

  .today {
    order: 3;
    width: auto;
    margin: -36px 16px 0;
    border: 1px solid var(--line);
    position: relative;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .strip {
    margin-top: 24px !important;
  }
}

/* ---------- Three-part icon strip over the hero edge ---------- */
.strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: -56px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(19, 41, 59, 0.08);
}

.strip a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.925rem;
  line-height: 1.45;
}

.strip a + a {
  border-left: 1px solid var(--line);
}

.strip a:hover strong {
  text-decoration: underline;
}

.strip .ico {
  width: 38px;
  height: 38px;
  stroke-width: 1;
  margin-top: 2px;
}

.strip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .strip {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .strip a {
    padding: 18px;
    align-items: center;
  }

  .strip a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .strip .ico {
    width: 32px;
    height: 32px;
  }
}

/* ---------- Italic serif intro ---------- */
.intro {
  max-width: 62ch;
  margin: clamp(48px, 6vw, 72px) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

/* ---------- Clues: photo cards with an inset white panel ---------- */
.clue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 40px;
}

.clue img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.clue-panel {
  position: relative;
  margin: -64px 32px 0;
  padding: 22px 24px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(19, 41, 59, 0.06);
}

.clue-panel h3 {
  font-size: 1.3rem;
}

.clue-panel p {
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .clue-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clue-panel {
    margin: -40px 14px 0;
    padding: 18px 18px 4px;
  }
}

/* ---------- Field guide: ruled lessons ---------- */
.lessons {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lesson;
}

.lesson {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 12px 48px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  counter-increment: lesson;
}

.lesson:first-child {
  border-top: 0;
  padding-top: 0;
}

.lesson h3 {
  font-size: 1.3rem;
}

.lesson h3::before {
  content: counter(lesson) ". ";
  color: var(--sky-deep);
}

.lesson-body {
  max-width: 680px;
  min-width: 0;
}

.lesson-body > :last-child {
  margin-bottom: 0;
}

.pull {
  margin: 20px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--ember);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
}

.context {
  margin: 0;
}

.context div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.context dt {
  font-weight: 600;
}

.context dd {
  margin: 0;
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.compare {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.compare th,
.compare td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.compare tbody th {
  font-weight: 600;
  width: 28%;
}

.compare td {
  color: var(--ink-soft);
}

.mixups {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.mixups li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 460px;
  margin: 0 0 20px;
}

.pair img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pair figcaption {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.guide-act {
  margin: 16px 0 0;
  padding-left: calc((100% - 48px) / 3 + 48px);
}

@media (max-width: 860px) {
  .lesson {
    grid-template-columns: 1fr;
  }

  .guide-act {
    padding-left: 0;
  }
}

/* ---------- Five steps (a real sequence) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 16px;
  border-top: 2px solid var(--sky);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 10px;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--sky-deep);
}

.steps h3 {
  font-size: 1.05rem;
}

.steps p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 8px;
  }

  .steps li::before {
    grid-row: span 2;
    font-size: 1.9rem;
  }
}

/* ---------- Etiquette ---------- */
.etiq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.etiq-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.etiq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.etiq-list li {
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
}

.etiq-list h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.etiq-list p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .etiq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .etiq-photo {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .etiq-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- From the blog (WordPress) ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.news-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-body {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.news-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky-deep);
}

.news-title {
  font-size: 1.1rem;
  line-height: 1.3;
}

.news-card a:hover .news-title {
  text-decoration: underline;
}

.news-ex {
  font-size: 0.925rem;
  color: var(--ink-soft);
}

.news-all {
  margin: 24px 0 0;
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- FAQ: quiet accordion ---------- */
.faq {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

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

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

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

.faq summary .ico {
  width: 20px;
  height: 20px;
  color: var(--sky-deep);
  transition: transform 0.2s ease;
}

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

.faq details p {
  max-width: 68ch;
  margin: 0 0 18px;
  color: var(--ink-soft);
}

/* ---------- Closing: large photo card with inset panel ---------- */
.closing {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.closing-card img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: 50% 45%;
}

.closing-panel {
  position: relative;
  max-width: 600px;
  margin: -120px 0 0 48px;
  padding: 32px 32px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(19, 41, 59, 0.08);
}

.closing-panel h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.closing-panel .cta-note {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .closing-card img {
    aspect-ratio: 4 / 3;
  }

  .closing-panel {
    margin: -48px 12px 0;
    padding: 22px 18px 8px;
  }

  .closing-panel .btn-solid {
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--ink);
  background: var(--white);
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 32px 48px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.foot-brand img {
  width: auto;
  height: 44px;
}

.foot-brand p {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--ink-soft);
}

.foot-col h2 {
  margin: 8px 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col a {
  display: inline-block;
  padding: 5px 0;
  color: var(--ink);
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--sky-deep);
  text-decoration: underline;
}

.foot-base {
  padding-bottom: 24px;
}

.foot-base p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}
