/* Pocket Espresso — static site
   Brand accent from live site; display brand type = Bebas Neue (order.pocketespresso.com.au) */

:root {
  --bg: #171615;
  --bg-soft: #1e1c1b;
  --bg-elevated: #252220;
  --cream: #fef1e4;
  --cream-muted: rgba(254, 241, 228, 0.72);
  --white: #ffffff;
  --accent: #f68753;
  --accent-hover: #ff6210;
  --accent-deep: #e56f3a;
  --ink: #21201f;
  --line: rgba(254, 241, 228, 0.12);
  --font-brand: "Bebas Neue", Impact, sans-serif;
  --font-display: "Playfair Display", "Playfair", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --header-h: 5.25rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(246, 135, 83, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(246, 135, 83, 0.05), transparent 50%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

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

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 22, 21, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--white);
}

.brand__logo {
  width: 3.25rem;
  height: auto;
  flex-shrink: 0;
}

.brand__text {
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand__text span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.55em;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--accent);
  text-transform: none;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--ink);
  border: 1.6px solid var(--accent);
  color: var(--accent);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--accent);
  position: relative;
  transition: background 0.2s linear;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition: transform 0.2s linear, top 0.2s linear;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem 1.35rem;
}

.site-nav a:not(.btn) {
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background-color 0.2s linear, color 0.2s linear, border-color 0.2s linear;
}

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

.btn--solid:hover,
.btn--solid:focus {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--ink);
}

.btn--ghost {
  background-color: transparent;
  color: var(--accent);
}

.btn--ghost:hover,
.btn--ghost:focus {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--ink);
}

.btn--header {
  white-space: nowrap;
  flex-shrink: 0;
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section--center {
  text-align: center;
}

.section__lede {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--cream-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Hero —— */
.hero {
  padding: clamp(3rem, 10vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.hero__brand {
  font-family: var(--font-brand);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin: 1.75rem 0 1.25rem;
}

.hero__lede,
.hero__note {
  font-size: 0.95rem;
  color: var(--cream-muted);
  margin: 0;
}

.hero__peak {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

.hero-media {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem 1.5rem;
  overflow: hidden;
}

.hero-media img {
  width: min(100%, 34rem);
  max-width: 100%;
  height: 25rem;
  object-fit: cover;
  object-position: center 35%;
}

/* —— Info strip —— */
.info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 1.25rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-card h6 {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-card p,
.info-card address {
  margin: 0;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--cream-muted);
  line-height: 1.55;
}

.info-card a {
  text-decoration: none;
}

.info-card a[href^="tel"],
.info-card a[href^="mailto"] {
  color: var(--cream-muted);
}

.info-card a[href^="tel"]:hover,
.info-card a[href^="mailto"]:hover {
  color: var(--cream);
  text-decoration: underline;
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.social-links a {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(246, 135, 83, 0.08);
}

.social-links svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

/* —— Split sections —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__body {
  max-width: 32rem;
}

.split--end .split__body {
  margin-left: auto;
}

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

.split__media--wide img {
  aspect-ratio: 16 / 10;
}

.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-block {
  padding: 2rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.65rem;
}

.cta-block p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* —— Reviews —— */
.reviews-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reviews-head p {
  color: var(--cream-muted);
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review {
  padding: 1.5rem;
  background: linear-gradient(165deg, var(--bg-elevated), var(--bg-soft));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.25s var(--ease);
}

.review:hover {
  border-color: rgba(246, 135, 83, 0.35);
}

.review__stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.review__quote {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  color: var(--cream-muted);
}

.review__meta {
  font-size: 0.875rem;
  color: var(--cream);
}

.review__meta a {
  font-size: 0.8rem;
}

/* —— Banner CTA —— */
.banner-cta {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(4rem, 12vw, 7rem) 1.25rem;
  overflow: hidden;
}

.banner-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.banner-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 22, 21, 0.82), rgba(23, 22, 21, 0.88));
}

.banner-cta h2 {
  margin-bottom: 0.75rem;
}

.banner-cta p {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  color: var(--cream-muted);
}

/* —— Page heroes —— */
.page-hero {
  padding-top: clamp(3rem, 8vw, 4.5rem);
  padding-bottom: 2rem;
}

.page-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 3rem;
}

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

.deal-block {
  text-align: center;
  padding: 2.5rem 1rem;
}

.deal-block img {
  margin: 1.5rem auto;
  max-width: min(100%, 28rem);
}

.team-card {
  text-align: center;
  max-width: 18rem;
  margin: 0 auto;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.team-card h5 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
}

.team-card p {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.95rem;
}

.qr-block {
  text-align: center;
  margin: 2rem 0;
}

.qr-block img {
  margin: 1rem auto;
  width: 14rem;
  height: 14rem;
  background: var(--white);
  padding: 0.75rem;
}

.note-muted {
  color: var(--cream-muted);
  font-size: 0.95rem;
}

/* —— Footer ——
   Match live Astra footer: Mulish 10px / #999999; keep .footer-brand as-is. */
.site-footer {
  border-top: 1px solid var(--line);
  /* Extra bottom padding so address / ABN / Powered-by stay clear of the viewport edge */
  padding: 1.5rem 1.25rem max(4.5rem, calc(3rem + env(safe-area-inset-bottom, 0px)));
  text-align: center;
  background: var(--bg);
}

.footer-brand {
  font-family: var(--font-brand);
  font-size: 1.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.footer-brand:hover,
.footer-brand:focus {
  color: var(--accent-hover);
}

.site-footer address {
  font-style: normal;
  margin: 0;
}

.site-footer p,
.site-footer address p {
  margin: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  /* Live site: 10px text inherits ~25.6px line-height from 16px body */
  line-height: 2.56;
  color: #999999;
}

.site-footer a:not(.footer-brand) {
  color: #999999;
  text-decoration: none;
  font-size: 10px;
  font-weight: 400;
  line-height: inherit;
}

.site-footer a:not(.footer-brand):hover,
.site-footer a:not(.footer-brand):focus {
  color: #bbbbbb;
  text-decoration: none;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(23, 22, 21, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  body.nav-open .site-nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .btn--header {
    width: 100%;
    margin-top: 0.85rem;
  }

  .split,
  .split--reverse,
  .page-hero--split,
  .cta-pair {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__body,
  .split--end .split__body {
    margin: 0 auto;
    text-align: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .brand__text {
    font-size: 1.05rem;
  }

  .brand__text span {
    font-size: 0.5em;
  }

  .hero-media img {
    width: 100%;
    height: min(55vw, 18rem);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
