/* eTc Tacoma Product B mockup styles */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-soft: #1a1a1a;
  --fg: #f5f5f5;
  --muted: #a3a3a3;
  --line: #2a2a2a;
  --accent: #ffffff;
  --accent-ink: #0a0a0a;
  --max: 1120px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --radius: 4px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  opacity: 0.85;
}

address {
  font-style: normal;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

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

/* Local bar */
.local-bar {
  background: #000;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.local-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  align-items: center;
  padding: 0.55rem 0;
  text-align: center;
}

.local-bar a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 500;
}

.local-bar .sep {
  opacity: 0.45;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo__word {
  font-size: 1.25rem;
}

.nav {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-cta {
  display: none;
  margin-left: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
}

.nav.is-open {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 34px);
  flex-direction: column;
  gap: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
}

.nav.is-open a {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav.is-open {
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 1.35rem;
  }

  .nav.is-open a {
    padding: 0;
    border: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4d4d4;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero__sub {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #e5e5e5;
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Sections */
.section-head {
  margin-bottom: 2rem;
}

.section-head h2,
.about h2,
.visit h2,
.contact h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-head p,
.about__copy p,
.contact__intro p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.about__copy p + p {
  margin-top: 0.9rem;
}

/* Featured edits */
.edits {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg);
}

.edits__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .edits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.edit-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
}

.edit-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.edit-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}

.edit-card__meta h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.edit-card__meta span {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* About */
.about {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.about__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.about__copy .btn {
  margin-top: 1.5rem;
}

.about__figure {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
}

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

/* Visit */
.visit {
  padding: 4.5rem 0;
}

.visit__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .visit__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.visit address {
  margin: 1rem 0 1.25rem;
  font-size: 1.125rem;
  line-height: 1.45;
}

.visit__facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.visit__facts li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  color: var(--muted);
}

.visit__facts span {
  color: var(--fg);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visit__facts a {
  color: var(--fg);
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.visit__map {
  min-height: 280px;
  background:
    linear-gradient(135deg, #1f1f1f 0%, #121212 50%, #1a1a1a 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.map-card {
  text-align: center;
  padding: 1.5rem 1.75rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-card__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.map-card__hint {
  margin-top: 0.75rem !important;
  font-size: 0.8125rem;
}

/* Contact */
.contact {
  padding: 4rem 0 4.5rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.contact__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.contact__direct {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact__direct a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.contact__direct a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--bg);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.optional {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.field input,
.field textarea,
.newsletter-form input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--fg);
  font: inherit;
}

.field input:focus,
.field textarea:focus,
.newsletter-form input:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.newsletter {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.newsletter h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.newsletter p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 36rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 28rem;
}

.newsletter-form input {
  flex: 1 1 180px;
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .footer__inner {
    grid-template-columns: 0.9fr 1.6fr;
    gap: 3rem;
  }
}

.footer__brand img {
  margin-bottom: 0.85rem;
}

.footer__brand p {
  margin: 0;
  max-width: 18rem;
}

.footer__tag {
  margin-top: 0.5rem !important;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer__cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer__cols h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__cols p,
.footer__cols li {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  color: #d4d4d4;
}

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

.footer__cols a {
  text-decoration: none;
}

.footer__cols a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer__base {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer__base p {
  margin: 0;
}
