/* ------------------------------------------------------------
   Skater Memories showcase
   Responsive styles for the home page and its companion pages.
   ------------------------------------------------------------ */

:root {
  color-scheme: light;
  --blue: #6784cd;        /* For background */
  --blue-deep: #3364e0;    /* For title */
  --yellow: #ffd51c;
  --cream: #f6e9d9;
  --paper: #fffaf2;
  --charcoal: #242222;
  --ink: #171616;
  --muted: #68615b;
  --line: rgba(36, 34, 34, 0.16);
  --content-width: 1160px;
  --header-height: 82px;
  --shadow: 0 22px 55px rgba(32, 20, 14, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { color: var(--charcoal); background: var(--yellow); }

/* .skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--charcoal);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); } */

/* The header remains visible while the visitor scrolls through the page. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(36, 34, 34, 0.97);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(var(--content-width), calc(100% - 48px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.brand-mark { justify-self: start; display: inline-flex; width: 100px; height: 100px; align-items: center; justify-content: center; }

/* logo's size */
.brand-mark img { width: 100px; height: 100px; object-fit: contain; }
.site-name {
  justify-self: center;
  color: #fff;
  font-size: clamp(2.7rem, 2vw, 1.8rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.header-download {
  justify-self: end;
  padding: 11px 17px;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

/* Colors change when mouse pointer is on button */
.header-download:hover { color: var(--charcoal); background: var(--yellow); transform: translateY(-2px); }

.section-shell { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
.hero {
  position: relative;
  min-height: 700px;
  padding-top: 78px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 30px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: var(--blue);
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 25px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 213, 28, 0.2); }
.hero h1 {
  max-width: 610px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 6.6vw, 6.25rem);
  font-weight: 1000;
  letter-spacing: -0.075em;
  line-height: 0.93;
  text-transform: uppercase;
}
.hero h1 span { color: var(--yellow); }
.hero-intro { max-width: 450px; margin: 25px 0 28px; color: rgba(255,255,255,0.92); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.button-light { background: var(--yellow); color: var(--charcoal); }
.text-link { color: #fff; font-size: 0.92rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: var(--yellow); }

/* Three overlapping product screenshots create the main visual at the top. */
.hero-visuals { position: relative; min-height: 580px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.hero-shot {
  position: absolute;
  /* width: min(48%, 270px); */
  width: min(48%, 400px);
  margin: 0;
  padding: 8px 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 19px;
  background: #f8f0e7;
  box-shadow: var(--shadow);
}
.hero-shot img { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; object-fit: cover; }
.hero-shot figcaption { padding: 9px 4px 0; color: var(--charcoal); font-size: 0.72rem; font-weight: 900; text-align: center; }

/* z-index = manage all the layers displayed*/
.hero-shot-front { z-index: 3; transform: rotate(1deg) translate(50px, -20px); }
.hero-shot-left { z-index: 1; left: 0; transform: rotate(-18deg) translate(50px, 28px);}
.hero-shot-right { z-index: 2; right: 0; transform: rotate(18deg) translate(50px, 30px); }

.category-strip { background: var(--charcoal); border-bottom: 1px solid rgba(255,255,255,0.1); }
.category-strip-inner {
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.category-strip-inner span:nth-child(even) { color: var(--yellow); }

.why-section { padding-top: 112px; padding-bottom: 118px; }
/* .section-heading { max-width: 740px; margin-bottom: 40px; } */
.section-heading { max-width: 830px; margin-bottom: 40px; }

.eyebrow-dark { color: var(--blue-deep); }
.section-heading h2, .page-hero h1 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 1000;
  letter-spacing: -0.075em;
  line-height: 0.98;
}
.section-heading h2 span { color: var(--blue); }
.why-layout { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr); gap: clamp(35px, 6vw, 90px); align-items: start; }
.why-lead { max-width: 440px; }
.why-lead p { color: var(--muted); margin: 0 0 18px; }
.why-lead .lead-copy { color: var(--charcoal); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 750; line-height: 1.42; }
.arrow-link { display: inline-flex; gap: 10px; margin-top: 8px; color: var(--blue-deep); font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.feature-card { min-height: 190px; padding: 24px; border-radius: 5px; }
.feature-number { display: block; margin-bottom: 20px; font-size: 0.73rem; font-weight: 950; letter-spacing: 0.16em; opacity: 0.72; }
.feature-card h3 { margin: 0 0 7px; font-size: 1.35rem; font-weight: 950; letter-spacing: -0.04em; }
.feature-card p { max-width: 280px; margin: 0; font-size: 0.9rem; line-height: 1.5; }
.feature-card-blue { background: var(--blue); color: #fff; }
.feature-card-yellow { background: var(--yellow); color: var(--charcoal); }
.feature-card-cream { background: #eee0cf; color: var(--charcoal); }
.feature-card-dark { background: var(--charcoal); color: #fff; }

.discover-section { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; }
.discover-inner { position: relative; z-index: 1; padding-top: 105px; padding-bottom: 95px; }
.section-heading-light h2 { color: #fff; }
.section-heading-light h2 span { color: var(--yellow); }
.section-description { max-width: 830px; margin: 20px 0 0; color: rgba(255,255,255,0.76); font-size: 1.05rem; }
.video-frame { position: relative; z-index: 1; width: min(100%, 900px); margin: 40px auto 0; overflow: hidden; aspect-ratio: 16 / 9; border: 7px solid #3d3937; border-radius: 7px; background: #111; box-shadow: 0 25px 60px rgba(0,0,0,0.34); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-note { position: relative; z-index: 1; max-width: 900px; margin: 14px auto 0; color: rgba(255,255,255,0.58); font-size: 0.76rem; }
.video-note code { color: var(--yellow); }

.gallery-section { padding-top: 110px; padding-bottom: 120px; }
.gallery-heading { margin-bottom: 46px; }
.section-description-dark { color: var(--muted); }


.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.gallery-card { grid-column: span 4; margin: 0; }
.gallery-card a { display: block; padding: 10px; border-radius: 7px; background: #f0e3d3; box-shadow: 0 12px 32px rgba(39,26,17,0.11); transition: transform 180ms ease, box-shadow 180ms ease; }
.gallery-card a:hover { transform: translateY(-5px) rotate(-0.5deg); box-shadow: 0 20px 35px rgba(39,26,17,0.16); }

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
  object-position: top center;
}

.gallery-card-tall { grid-column: span 4; }
.gallery-card-tall img { aspect-ratio: 4 / 5.6; }

.gallery-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 2px 0; }
.gallery-card figcaption strong { font-size: 1rem; font-weight: 950; }
.gallery-card figcaption span { color: var(--muted); font-size: 0.85rem; }

.download-section { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.download-inner { position: relative; z-index: 1; min-height: 370px; padding-top: 80px; padding-bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-inner h2 { margin: 0; font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 1000; letter-spacing: -0.08em; line-height: 0.9; text-transform: uppercase; }
.download-inner h2 span { color: var(--yellow); }
.download-inner p:not(.eyebrow) { margin: 20px 0 0; color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.button-dark { flex: 0 0 auto; background: var(--charcoal); color: var(--yellow); }
.button-dark:hover { background: #080808; }
.download-scribble { position: absolute; right: 5%; bottom: -38px; color: rgba(255,255,255,0.12); font-size: clamp(3rem, 9vw, 7rem); font-weight: 1000; letter-spacing: -0.1em; line-height: 0.72; text-align: right; transform: rotate(-9deg); }

.site-footer { background: #171616; color: #fff; text-align: center;}


.footer-inner { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto; padding-top: 40px; padding-bottom: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 30px 0 25px; padding-top: 22px; }

.footer-nav a { color: rgba(255,255,255,0.78); font-size: 0.88rem; font-weight: 750; text-decoration: none; }
.footer-nav a:hover { color: var(--yellow); }
.copyright { margin: 0; color: rgb(255,255,255,0.78); font-size: 0.75rem; }

/* Companion pages use the same brand system and shared navigation. */
.page-main { min-height: 70vh; }
.page-hero { padding: 90px 0 54px; background: var(--blue); color: #fff; }
.page-hero .eyebrow { margin-bottom: 15px; }
.page-hero h1 { color: #fff; }
.page-hero h1 span { color: var(--yellow); }
.page-hero .page-intro { max-width: 720px; margin: 19px 0 0; color: rgba(255,255,255,0.9); font-size: 1.12rem; }
.page-content { width: min(850px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 100px; }
.page-content h2 { margin: 34px 0 12px; color: var(--charcoal); font-size: 1.55rem; font-weight: 950; letter-spacing: -0.04em; }
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { color: var(--muted); }
.page-content a { color: var(--blue-deep); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-content ul { padding-left: 1.25rem; }
.page-content li { margin: 8px 0; }
.notice-box { margin: 26px 0; padding: 20px 22px; border-left: 5px solid var(--yellow); background: #f1e5d6; color: var(--charcoal); }
.social-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.social-card { min-height: 130px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 5px; background: var(--charcoal); color: #fff !important; text-decoration: none; }
.social-card strong { color: var(--yellow); font-size: 1.2rem; }
.social-card span { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.social-card:hover { background: var(--blue-deep); }
.page-return { display: inline-flex; margin-top: 30px; font-weight: 900; }

/* New footer css */

/* Container of 4 rows */
.site-footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 30px;
}

/* Row organization */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}

/* Row title */
.footer-heading {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin: 0 0 10px;
  text-align: center;
}

/* Link of list */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.footer-list li + li {
  margin-top: 6px;
}

/* Link */
.footer-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Bootom footer part */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 20px;
  padding-top: 12px;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px 24px;
}

.footer-bottom p {
  margin: 0;
}


/* Style for Desktop size */
@media (max-width: 1000px) {

.hero { min-height: 0; grid-template-columns: 1fr; padding-top: 68px; gap: 12px; }
.hero-copy { max-width: 680px; padding-bottom: 0; }
.hero-visuals { min-height: 500px; width: min(100%, 720px); margin: 0 auto; }
.hero-shot { width: min(42%, 245px); }
.hero-shot-front { width: min(44%, 265px); }
.why-layout { grid-template-columns: 1fr; gap: 34px; }
.why-lead { max-width: 680px; }
.gallery-card { grid-column: span 6; }
.gallery-card-wide { grid-column: span 6; }
}


/* Style for Phone and Tablet size */
@media (max-width: 999px) {
  :root { --header-height: 68px; }
  .header-inner { width: calc(100% - 28px); grid-template-columns: 1fr auto 1fr; gap: 5px; }
  .brand-mark, .brand-mark img { width: 40px; height: 40px; }
  .site-name { font-size: clamp(1rem, 4.3vw, 1.3rem); letter-spacing: -0.06em; }
  .header-download { padding: 9px 10px; font-size: 0.7rem; border-width: 1.5px; }
  .header-download span { display: none; }
  .section-shell { width: calc(100% - 36px); }
  .hero { padding-top: 54px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-intro { max-width: 390px; margin-top: 19px; font-size: 0.98rem; }
  .hero-actions { gap: 14px; }
  .button { min-height: 48px; padding: 12px 15px; font-size: 0.82rem; }
  .text-link { font-size: 0.82rem; }

  .hero-visuals {
    min-height: 0;
    margin-top: 18px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .hero-shot {
    position: relative;
    left: auto;
    right: auto;
    /* width: min(72%, 260px); */
    width: min(72%, 400px);
    margin: 0;
    padding: 6px 6px 10px;
    border-radius: 14px;
    transform: none;
  }
  
  /* .hero-shot img { border-radius: 10px; } */
  .hero-shot img {
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;

  }
  .hero-shot figcaption { padding-top: 7px; font-size: 0.68rem; }
  .hero-shot-front,
  .hero-shot-left,
  .hero-shot-right {
    /* width: min(72%, 260px); */
    width: min(72%, 400px);
    z-index: auto;
    transform: none;
  }
  .hero-stamp { display: none; }


  /* .category-strip-inner { width: calc(100% - 28px); min-height: 60px; gap: 8px; font-size: 0.65rem; letter-spacing: 0.06em; } */
  .why-section, .gallery-section { padding-top: 74px; padding-bottom: 78px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .page-hero h1 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .feature-grid { gap: 9px; }
  .feature-card { min-height: 170px; padding: 17px; }
  .feature-number { margin-bottom: 13px; }
  .feature-card h3 { font-size: 1.1rem; }
  .feature-card p { font-size: 0.79rem; }
  .discover-inner { padding-top: 76px; padding-bottom: 70px; }
  .section-description { font-size: 0.95rem; }
  .video-frame { margin-top: 28px; border-width: 4px; }
  .video-note { font-size: 0.69rem; }
  .gallery-grid { gap: 17px 12px; }
  .gallery-card { grid-column: span 6; }
  .gallery-card a { padding: 6px; }
  .gallery-card figcaption { padding-top: 9px; }
  .gallery-card figcaption strong { font-size: 0.84rem; }
  .gallery-card figcaption span { font-size: 0.73rem; line-height: 1.35; }
  .download-inner { min-height: 0; padding-top: 68px; padding-bottom: 74px; align-items: flex-start; flex-direction: column; gap: 28px; }
  .download-inner h2 { font-size: clamp(3.1rem, 14vw, 4.4rem); }
  .download-scribble { right: 2%; bottom: -13px; font-size: 3.5rem; }
  .footer-inner { width: calc(100% - 36px); }
  .footer-nav { gap: 13px 18px; }
  .footer-nav a { font-size: 0.8rem; }
  .page-hero { padding: 68px 0 42px; }
  .page-hero .page-intro { font-size: 1rem; }
  .page-content { width: calc(100% - 36px); padding: 42px 0 72px; }
  .social-list { grid-template-columns: 1fr; }
  .social-card { min-height: 105px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}