/* COLOR TOKEN SETUP */
:root {
  --gold:    #CCAE4D;
  --cream:   #F6F1E2;
  --blush:   #EFCACA;
  --blue:    #88A3A9;
  --ink:     #2F292A;
  --rust:    #CD422D;
}

/* Accessibility helpers: skip-link and focus-visible styles */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus,
.skip-link:active {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 9999;
  text-decoration: none;
  border: 2px solid var(--rust);
  border-radius: 4px;
}

/* Visible focus indicator for keyboard users (non-intrusive) */
a:focus-visible,
button:focus-visible,
.img-frame:focus-visible,
.icon-link:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Basic page setup */
*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "TAY Makawao";
  src: url("fonts/TAYMakawao.woff2") format("woff2"),
       url("fonts/TAYMakawao.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "TAY Wingman";
  src: url("fonts/TAYWingman.woff2") format("woff2"),
       url("fonts/TAYWingman.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


body {
  margin: 0;
  padding: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: "TAY Wingman", "Helvetica Neue", Arial, sans-serif;
}

/* HERO ======================================================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 75% 50% at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 350px;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* small crest top-left */
.hero-logo {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
}

.hero-logo img {
  height: clamp(50px, 8vw, 80px);
  width: auto;
}

/* top nav center */
.hero-nav {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 5;
  padding-top: 6px;
}

.hero-nav a {
  text-decoration: none;
  color: white;  /* NAVBAR WHITE */
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-block;
}

.hero-nav a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* top-right icons */
.hero-icons {
  position: absolute;
  top: 18px;
  right: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 5;
}

.icon-link {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.icon-link:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.icon-link svg {
  display: block;
}

/* main title overlay */
.hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  padding: 0 clamp(20px, 5vw, 80px);
}

.hero-title h1 {
  font-family: "TAY Makawao", serif;
  margin: 0;
  font-size: clamp(48px, 10vw, 150px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush);
  text-align: center;
  line-height: 1.1;
}

/* MAIN LAYOUT ============================================= */

.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 20px;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  align-items: start;
  padding: 0;
}

.grid-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.grid-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Top grid - A READ, A LOOK, A JOURNEY */
.top-grid {
  margin-bottom: 40px;
  align-items: end;
}

.top-grid .section-label {
  margin-bottom: 10px;
  font-family: "TAY Makawao", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(12px, calc(12px + (18 - 12) * ((100vw - 320px) / (1200 - 320))), 18px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

.top-grid .grid-item:nth-child(1) .img-frame {
  aspect-ratio: 3/4;
  height: auto;
}

.top-grid .grid-item:nth-child(1) {
  transition-delay: 0.1s;
}

.top-grid .grid-item:nth-child(2) .img-frame {
  aspect-ratio: 3/5.5;
  height: auto;
}

.top-grid .grid-item:nth-child(2) {
  transition-delay: 0.2s;
}

.top-grid .grid-item:nth-child(3) .img-frame {
  aspect-ratio: 3/4;
  height: auto;
}

.top-grid .grid-item:nth-child(3) {
  transition-delay: 0.3s;
}

/* Middle grid - A TASTE, A LISTEN, A THINK */
.mid-grid {
  margin-bottom: 40px;
}

.mid-grid .grid-item:nth-child(1) .img-frame {
  aspect-ratio: 3/4;
  height: auto;
}

.mid-grid .grid-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mid-grid .grid-item:nth-child(2) {
  display: flex;
  flex-direction: column;
  transition-delay: 0.2s;
}

.mid-grid .grid-item:nth-child(2) .img-frame:nth-of-type(1) {
  aspect-ratio: 3/3.3;
  height: auto;
}

.mid-grid .grid-item:nth-child(2) .section-label:nth-of-type(2) {
  margin-top: 8px;
  margin-bottom: 16px;
}

.mid-grid .grid-item:nth-child(2) .img-frame:nth-of-type(2) {
  aspect-ratio: 3/3.3;
  height: auto;
}

.mid-grid .grid-item:nth-child(3) .img-frame {
  aspect-ratio: 3/4;
  height: auto;
}

.mid-grid .grid-item:nth-child(3) {
  transition-delay: 0.3s;
}

.section-label-bottom {
  margin-top: 8px;
}

.img-frame {
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
  display: block;
  text-decoration: none;
}

.img-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  cursor: pointer;
}

.img-frame:hover img {
  filter: grayscale(0%);
}

.section-label {
  font-family: "TAY Makawao", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(12px, calc(12px + (18 - 12) * ((100vw - 320px) / (1200 - 320))), 18px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

.intro {
  margin: 52px 0 72px;
  max-width: 100%;
  padding: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  text-align: justify;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.lust-section {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  font-size: 14px;
}

.lust-inner {
  width: min(340px, 100%);
}

.lust-label {
  text-align: left;
  margin-top: 8px;
}

.lust-inner .img-frame {
  aspect-ratio: 3/4;
  height: auto;
}

/* FOOTER =================================================== */

.site-footer {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 0;
  padding: 0px 40px 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links-left,
.footer-links-right {
  position: absolute;
  display: flex;
  gap: 80px;
  padding-bottom: 40px;
  z-index: 20;
}

.footer-links-left {
  left: 40px;
  bottom: 40px;
}

.footer-links-right {
  right: 40px;
  bottom: 40px;
}

.site-footer a {
  text-decoration: none;
  color: var(--rust);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-block;
}

.site-footer a:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

.mobile-footer-crest {
  display: none;
}

.footer-crest {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto;
  width: calc((100% - 48px) / 3);
}

.footer-crest img {
  width: 100%;
  height: auto;
  display: block;
}

/* ABOUT PAGE ============================================= */

.about-hero {
  position: relative;
  height: 106px;
  background: var(--cream);
}

.about-hero .hero-logo img {
  height: clamp(48px, 7.5vw, 72px);
}

.about-nav a {
  color: var(--rust) !important;
}

.about-icons .icon-link {
  color: var(--rust) !important;
}

.about-page {
  min-height: auto;
  padding: 10px 60px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  width: 100%;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.about-crest {
  width: 100px;
  margin-bottom: 35px;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.red-dot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--rust);
}

.about-crest img {
  width: 100%;
  height: auto;
  display: block;
}

.about-paragraphs {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.about-paragraphs p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
  text-align: justify;
}

.about-paragraphs h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-top: 30px;
  margin-bottom: 12px;
}

.about-paragraphs a {
  color: var(--rust);
  text-decoration: none;
}

.about-paragraphs a:hover {
  text-decoration: underline;
}

.about-paragraphs .about-signature {
  text-align: right;
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  padding-right: 15%;
}

.about-signature img {
  max-width: 150px;
  height: auto;
}

.about-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  animation: fadeIn 1.2s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-footer {
  background: transparent;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 40px;
  background: var(--cream);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* RESPONSIVE =============================================== */

@media (max-width: 900px) {  .page {
    padding: 40px 20px 80px;
  }

  .grid-section {
    column-gap: 16px;
  }

  .intro {
    font-size: 14px;
  }

  .hero-grid {
    min-height: 280px;
  }

  .site-footer {
    padding: 30px 20px 0;
    margin-top: 0;
    font-size: 11px;
  }

  .footer-links-left {
    left: 20px;
    bottom: 20px;
    gap: 40px;
  }

  .footer-links-right {
    right: 20px;
    bottom: 20px;
    gap: 40px;
  }

  .footer-crest {
    width: calc((100% - 32px) / 3);
  }

  /* Navbar responsive adjustments */
  .hero-logo {
    top: 12px;
    left: 12px;
  }

  .hero-logo img {
    height: 50px;
  }

  .hero-nav {
    top: 12px;
    gap: 16px;
    font-size: 11px;
    padding-top: 4px;
  }

  .hero-icons {
    top: 12px;
    right: 12px;
    gap: 8px;
  }

  .icon-link svg {
    width: 16px;
    height: 16px;
  }

  .hero::before {
    height: 120px;
  }

  /* About page responsive */
  .about-hero {
    height: 90px;
  }

  .about-page {
    padding: 50px 40px 40px;
  }

  .about-container {
    gap: 40px;
  }

  .about-crest {
    width: 120px;
    margin-bottom: 35px;
  }

  .about-footer {
    padding: 25px 40px;
    gap: 30px;
  }

  .footer-link {
    font-size: 10px;
  }
}

@media (max-width: 1100px) {
  .about-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .about-text {
    max-width: 600px;
  }

  .about-image {
    max-width: 500px;
    width: 100%;
  }

  .page {
    padding: 40px 20px 20px;
  }

  /* Keep 3-column grid on mobile */
  .grid-section {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 8px;
  }

  .top-grid,
  .mid-grid {
    margin-bottom: 20px;
  }

  .section-label,
  .top-grid .section-label {
    /* Font size now scales smoothly with clamp() */
    margin-bottom: 6px;
  }

  .intro {
    font-size: 13px;
    line-height: 1.7;
    padding: 0;
  }

  .hero-logo img {
    height: clamp(40px, 6vw, 60px);
  }

  .hero-nav {
    gap: 12px;
    font-size: 12px;
  }

  .icon-link svg {
    width: 14px;
    height: 14px;
  }

  .hero-grid {
    min-height: 250px;
  }

  .hero::before {
    height: 100px;
  }

  .site-footer {
    padding: 8px 16px 0;
    font-size: 12px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lust-section {
    font-size: 13px;
  }

  .mobile-footer-crest {
    display: block;
    width: calc(33.33% - 5.33px);
    margin-bottom: 12px;
  }

  .mobile-footer-crest img {
    width: 100%;
    height: auto;
  }

  .footer-links-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 16px;
  }

  .footer-links-left,
  .footer-links-right {
    position: static;
    display: contents;
  }

  .footer-crest {
    display: none;
  }

  .footer-crest img {
    max-width: 120px;
    margin: 0 auto;
  }

  /* About page mobile */
  .about-hero {
    height: 80px;
  }

  .about-page {
    padding: 30px 20px 80px;
    min-height: auto;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-crest {
    width: 90px;
    margin-bottom: 45px;
  }

  .about-paragraphs {
    max-width: 100%;
  }

  .about-paragraphs p {
    font-size: 13px;
    line-height: 1.7;
    text-align: justify;
  }

  .about-paragraphs .about-signature {
    font-size: 13px;
    margin-bottom: 40px;
  }

  .about-image {
    max-width: 350px;
    width: 100%;
    height: auto;
  }

  .about-footer {
    position: static;
    padding: 8px 16px 0;
    gap: 0;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
  }

  .about-footer .footer-links-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 16px;
  }

  .about-footer .footer-links-left,
  .about-footer .footer-links-right {
    position: static;
    display: contents;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .hero-title h1 {
    font-size: clamp(24px, 9vw, 48px);
  }

  .hero-nav {
    gap: 10px;
    font-size: 9px;
  }

  .about-crest {
    width: 80px;
  }

  .about-paragraphs p {
    font-size: 12px;
  }

  .about-image {
    height: 400px;
  }
}

