/*
  PicTours Alaska Core Stylesheet
  File: pictours-core.css
  Purpose: Shared presentation for all PicTours Alaska pages
*/

:root {
  --navy: #0f2942;
  --navy-dark: #091b2c;
  --spruce: #2c4a3e;
  --ice: #e8f3f8;
  --amber: #d97724;
  --amber-dark: #b86017;
  --ink: #1e293b;
  --muted: #526173;
  --line: #d5e3ec;
  --surface: #ffffff;
  --surface-soft: #f4f9fc;
  --success-soft: #e4ede9;
  --shadow-sm: 0 2px 8px rgba(15, 41, 66, 0.07);
  --shadow-md: 0 6px 18px rgba(15, 41, 66, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --content: 1200px;
  --reading: 72ch;
  --header-offset: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: var(--navy);
  text-decoration-color: rgba(15, 41, 66, 0.35);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--amber-dark);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.22;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.container {
  width: min(100% - 36px, var(--content));
  margin-inline: auto;
}

.reading-width {
  max-width: var(--reading);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--amber);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header and primary navigation */
.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--amber);
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.25);
}

.site-header__inner,
.header-main {
  width: min(100% - 36px, var(--content));
  margin-inline: auto;
  padding: 24px 0 18px;
  text-align: center;
}

.site-brand,
.brand-name-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.site-brand__name,
.brand-name {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.site-brand__tagline,
.brand-sub {
  display: block;
  margin-top: 7px;
  color: var(--amber);
  font-size: clamp(0.76rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header__credentials,
.header-credentials {
  max-width: 900px;
  margin: 14px auto 0;
  padding-top: 12px;
  color: var(--ice);
  border-top: 1px solid rgba(232, 243, 248, 0.2);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--navy-dark);
  border-bottom: 2px solid rgba(217, 119, 36, 0.45);
  box-shadow: 0 6px 16px rgba(9, 27, 44, 0.28);
}

.site-nav__bar {
  width: min(100% - 24px, var(--content));
  min-height: 54px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav__home {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-nav__toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.site-nav__links,
.header-nav {
  margin: 0;
  padding: 9px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  background: var(--navy-dark);
}

.header-nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  border-bottom: 2px solid rgba(217, 119, 36, 0.45);
  box-shadow: 0 6px 16px rgba(9, 27, 44, 0.28);
}

.site-nav__links a,
.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 4px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav__links a:hover,
.header-nav a:hover {
  color: var(--amber);
}

.button,
.cta-button,
.header-call-btn,
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  background: var(--amber);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.cta-button:hover,
.header-call-btn:hover,
.map-btn:hover {
  background: var(--amber-dark);
  color: #fff;
}

.button--secondary,
.map-btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

.button--secondary:hover,
.map-btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.button--full,
.cta-full {
  width: 100%;
}

.trust-bar {
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  background: var(--spruce);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.breadcrumb-bar {
  padding: 10px 0;
  background: var(--surface-soft);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.breadcrumb-bar a {
  font-weight: 700;
  text-decoration: none;
}

/* Shared sections */
.section,
.pillars-section,
.expect-section,
.meeting-section,
.regional-overview-section {
  padding: 64px 0;
}

.section--light,
.expect-section,
.meeting-section,
.regional-overview-section {
  background: var(--surface);
}

.section--ice,
.pillars-section {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section-heading,
.section-intro,
.meeting-header {
  width: min(100%, 820px);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading__eyebrow,
.section-kicker,
.fact-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--amber-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.section-intro h2,
.meeting-header h2 {
  margin-bottom: 10px;
}

.section-heading p,
.section-intro p,
.meeting-header p {
  max-width: var(--reading);
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 1.03rem;
}

/* Hero and product introduction */
.page-hero,
.product-hero-section {
  width: min(100% - 36px, var(--content));
  margin: 36px auto;
}

.page-hero__grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.page-hero__media,
.product-visual-col,
.page-hero__content,
.product-fact-card {
  min-width: 0;
}

.media-frame,
.hero-image-frame {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.media-frame img,
.hero-image-frame img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.media-badge,
.hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 13px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--amber);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.media-caption,
.visual-caption {
  max-width: 68ch;
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.page-hero__content,
.product-fact-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.page-hero__title,
.product-fact-card h1 {
  margin-bottom: 12px;
  text-align: left;
}

.page-hero__summary,
.fact-lead {
  margin-bottom: 20px;
  font-size: 1.03rem;
}

.price-box,
.fact-price-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--ice);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius-sm);
}

.price-box__primary,
.price-amount {
  display: block;
  color: var(--navy);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

.price-box__secondary,
.price-bonus {
  display: block;
  margin-top: 5px;
  color: var(--spruce);
  font-size: 0.9rem;
  font-weight: 700;
}

.fact-list,
.fact-specs {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}

.fact-list__item,
.fact-specs li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid #e2e8f0;
}

.fact-list__item::before,
.fact-specs li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 0;
  color: var(--spruce);
  font-weight: 800;
}

.fact-list__item:last-child,
.fact-specs li:last-child {
  border-bottom: 0;
}

.fact-reassurance {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Cards and grids */
.card-grid,
.pillars-grid {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.card,
.pillar-card {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--spruce);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card h3,
.pillar-card h3 {
  margin-bottom: 10px;
  text-align: left;
}

.card p,
.pillar-card p {
  margin-bottom: 0;
}

.card__image,
.pillar-card img {
  width: 100%;
  max-height: 220px;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.award-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.award-card,
#awards .pillar-card {
  text-align: center;
  border-top-color: var(--amber);
}

.award-card img,
#awards .pillar-card img {
  width: auto;
  max-width: 140px;
  height: 120px;
  margin: 0 auto 16px;
  object-fit: contain;
  border-radius: 0;
}

.award-card h3,
#awards .pillar-card h3 {
  text-align: center;
}

/* Mission and editorial callout */
.callout,
#mission {
  width: min(100% - 36px, 1120px);
  margin: 40px auto;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.callout__statement,
#mission .section-intro p:first-of-type {
  padding: 18px 20px;
  background: var(--ice);
  color: var(--navy);
  border-left: 5px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.06rem;
}

/* Meeting locations */
.meeting-container,
.expect-container {
  width: min(100% - 36px, 1120px);
  margin-inline: auto;
}

.meeting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.meeting-card {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.meeting-card-spruce {
  border-top-color: var(--spruce);
}

.meeting-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--ice);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-spruce {
  background: var(--success-soft);
  color: var(--spruce);
}

.meeting-card h3 {
  margin-bottom: 12px;
  text-align: left;
}

.meeting-notes {
  flex-grow: 1;
  color: var(--muted);
}

.meeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FAQ */
.faq {
  padding: 64px 0;
  background: #fff;
}

.faq__list {
  width: min(100%, 900px);
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq__item {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.faq__item[open] {
  background: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  min-height: 54px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  color: var(--amber-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  content: "−";
}

.faq__answer {
  padding: 0 20px 20px;
  color: var(--ink);
}

/* Product cards and carousel */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card__body {
  flex-grow: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  margin-bottom: 9px;
  text-align: left;
}

.product-card__text {
  flex-grow: 1;
  color: var(--muted);
}

.product-card__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.carousel {
  position: relative;
}

.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--amber) var(--surface-soft);
  -webkit-overflow-scrolling: touch;
}

.carousel__track {
  margin: 0;
  padding: 4px 4px 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 20px;
  list-style: none;
}

.carousel__slide {
  scroll-snap-align: start;
}

.carousel__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.carousel__button:hover {
  background: var(--amber-dark);
}

.carousel__button--previous {
  left: -12px;
}

.carousel__button--next {
  right: -12px;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8c8d5;
  border-radius: var(--radius-sm);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: var(--navy);
  color: var(--ice);
  border-top: 4px solid var(--amber);
}

.site-footer__inner,
.footer-container {
  width: min(100% - 36px, var(--content));
  margin-inline: auto;
  padding: 48px 0 22px;
}

.site-footer__grid,
.footer-grid {
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  border-bottom: 1px solid rgba(232, 243, 248, 0.2);
}

.site-footer__brand,
.footer-brand {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-footer__tagline,
.footer-tagline,
.footer-address {
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-contact {
  color: #fff;
}

.footer-contact a {
  color: var(--amber);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: var(--ice);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-address strong {
  color: #fff;
}

.site-footer__bottom,
.footer-bottom {
  padding-top: 20px;
  color: #94a3b8;
  font-size: 0.84rem;
  text-align: center;
}

/* Tablet */
@media (max-width: 900px) {
  .page-hero__grid,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .award-grid,
  #awards .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }
}

/* Mobile navigation and phones */
@media (max-width: 760px) {
  :root {
    --header-offset: 72px;
  }

  .site-nav__bar {
    min-height: 58px;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav__links[data-open="true"] {
    display: flex;
  }

  .site-nav__links a {
    width: 100%;
    min-height: 46px;
    padding: 10px 8px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-nav {
    position: static;
    padding: 10px 12px;
    gap: 6px 12px;
  }

  .header-nav a {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .trust-bar {
    display: grid;
    gap: 4px;
  }

  .page-hero,
  .product-hero-section {
    width: min(100% - 28px, var(--content));
    margin: 22px auto 32px;
  }

  .page-hero__grid,
  .product-hero-grid {
    gap: 20px;
  }

  .page-hero__content,
  .product-fact-card,
  .card,
  .pillar-card,
  .meeting-card {
    padding: 20px;
  }

  .media-badge,
  .hero-badge {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .section,
  .pillars-section,
  .expect-section,
  .meeting-section,
  .regional-overview-section,
  .faq {
    padding: 48px 0;
  }

  .callout,
  #mission {
    width: min(100% - 28px, 1120px);
    margin: 32px auto;
    padding: 22px;
  }

  .award-grid,
  #awards .pillars-grid {
    grid-template-columns: 1fr;
  }

  .carousel__button {
    display: none;
  }
}

@media (max-width: 420px) {
  .container,
  .meeting-container,
  .expect-container,
  .site-header__inner,
  .header-main,
  .site-footer__inner,
  .footer-container {
    width: min(100% - 28px, var(--content));
  }

  .button,
  .cta-button,
  .map-btn {
    width: 100%;
  }

  .meeting-actions,
  .product-card__actions {
    display: grid;
  }
}

@media (hover: none) and (pointer: coarse) {
  .carousel__button {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-nav,
  .header-nav,
  .trust-bar,
  .button,
  .cta-button,
  .map-btn,
  .carousel__button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .section--navy {
    color: #000;
    background: #fff;
    border-color: #000;
    box-shadow: none;
  }

  .card,
  .pillar-card,
  .meeting-card,
  .product-card,
  .product-fact-card,
  .page-hero__content {
    break-inside: avoid;
    box-shadow: none;
  }
}
