/* techpulsekey.com — homepage + shared chrome */
:root {
  --ink: #22222F;
  --ink-2: #2F2F40;
  --ink-soft: #48485F;
  --muted: #5C5C70;
  --paper: #F5F1EE;
  --white: #FFFFFF;
  --stone: #E9E1DC;
  --stone-2: #DCCFC8;
  --mint: #D8917A;
  --mint-dk: #995352;
  --mint-tint: #F7E5DE;
  --peach-lt: #F2BCA8;
  --line: rgba(34, 34, 47, 0.14);
  --font-head: "Rufina", Georgia, "Times New Roman", serif;
  --font-body: "Pontano Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  --radius: 4px;
}

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

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

html {
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

a {
  color: var(--mint-dk);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: 1.45rem;
  font-weight: 500;
}

/* short rule under main headings, as a quiet signature */
.hero h1::after,
.trips h2::after,
.why h2::after,
.lengths h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 18px;
  background: var(--mint);
}

.why h2::after {
  margin-left: auto;
  margin-right: auto;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--mint-dk);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  background: var(--mint-dk);
  border-radius: var(--radius);
  transition: background-color 0.15s ease;
}

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

.btn-lg {
  min-height: 54px;
  padding: 0 34px;
  font-size: 1.05rem;
}

.textlink {
  font-weight: 700;
  color: var(--ink);
  text-underline-offset: 4px;
}

.textlink:hover {
  color: var(--mint-dk);
}

/* ---------- Strip + header ---------- */
.strip {
  padding: 9px var(--gutter);
  background: var(--mint-dk);
  color: var(--white);
  text-align: center;
}

.strip p {
  font-size: 0.88rem;
  line-height: 1.4;
}

.masthead {
  position: static;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.masthead-in {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand btn"
    "nav nav";
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  grid-area: brand;
  justify-self: start;
  padding: 16px 0 14px;
}

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

.btn-head {
  grid-area: btn;
  justify-self: end;
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.mainnav {
  grid-area: nav;
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  border-top: 1px dotted var(--stone-2);
}

.mainnav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 11px 0 10px;
  border-bottom: 2px solid transparent;
}

.mainnav a:hover {
  color: var(--ink);
  border-bottom-color: var(--mint);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  padding: 0 var(--gutter) clamp(40px, 5vw, 64px);
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4vw, 44px);
}

.hero h1 {
  max-width: 14ch;
}

.hero-side p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 24px;
}

.hero-pano {
  display: block;
  width: 100%;
  max-width: var(--wrap);
  height: 360px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius);
}

/* ---------- Sections shared ---------- */
.trips,
.lengths,
.faq {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--gutter);
}

.sec-lead {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* ---------- Trip tiles ---------- */
.trip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.trip {
  margin: 0;
}

.trip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.trip figcaption {
  padding-top: 14px;
}

.trip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.trip span {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--muted);
}

.trips-cta {
  margin-top: 44px;
  text-align: center;
}

/* ---------- Why band ---------- */
.why {
  padding: clamp(64px, 8vw, 96px) var(--gutter);
  background: var(--stone);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  max-width: 1040px;
  margin: 52px auto 0;
}

.why-item svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  font-size: 1.35rem;
}

.why-item p {
  margin: 10px auto 0;
  max-width: 30ch;
  color: var(--ink-soft);
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin-top: 40px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 10px 0 14px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  color: var(--ink);
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--mint-dk);
}

.tab:hover {
  color: var(--ink);
}

.panel {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}

.panel[hidden] {
  display: none;
}

.panel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.panel-copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.panel-copy li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
}

.panel-copy li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--mint-dk);
  border-bottom: 2px solid var(--mint-dk);
  transform: rotate(-45deg);
}

.panel-copy p {
  margin-top: 18px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px;
  border-top: 1px solid var(--line);
}

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

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

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  top: 30px;
  transform: rotate(-135deg);
}

.faq details p {
  padding: 0 0 22px;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ---------- Closing ---------- */
.closing {
  padding: clamp(64px, 8vw, 100px) var(--gutter);
  background: var(--paper);
  text-align: center;
}

.closing h2 {
  max-width: 20ch;
  margin: 0 auto;
}

.closing > p {
  max-width: 48ch;
  margin: 18px auto 30px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.closing .closing-note {
  margin: 22px auto 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.foot {
  padding: 56px var(--gutter) 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.foot-brand {
  max-width: 380px;
}

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

.foot-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  align-content: start;
}

.foot-nav a {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.foot-nav a:hover {
  text-decoration: underline;
}

.foot-copy {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .trip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero h1 {
    max-width: none;
  }

  .hero-pano {
    height: 260px;
  }

  .why-grid,
  .panel,
  .faq {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 40px;
  }

  .panel {
    gap: 28px;
  }

  .faq {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .brand {
    padding: 12px 0 10px;
  }

  .brand img {
    height: 34px;
  }

  .btn-head {
    padding: 0 16px;
  }

  .mainnav {
    gap: 26px;
  }

  .hero-pano {
    height: 200px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .trip-grid {
    gap: 14px;
  }

  .trip strong {
    font-size: 1.2rem;
  }

  .trip span {
    font-size: 0.88rem;
  }

  .hero-actions .btn,
  .trips-cta .btn,
  .closing .btn {
    width: 100%;
  }

  .tabs {
    gap: 4px 22px;
  }

  .tab {
    font-size: 1.2rem;
  }

  .foot-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .brand img {
    height: 28px;
  }

  .btn-head {
    padding: 0 12px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
