/*font*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Figtree:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:ital,wght@0,100..900;1,100..900&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;
  /* Icy blue and white: soft, high-key, chic */
  --ink: #2c3d4f;
  --ink-soft: #4a5d72;
  --muted: #6b7c8f;
  --accent: #6b8cae;
  --accent-deep: #4a6b88;
  --accent-light: #9eb5cc;
  --lantern: #7a9ab8;
  --bg-deep: #f8faff;
  --bg-mid: #f2f6fb;
  --bg-elev: #e8eef6;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --line: rgba(100, 140, 180, 0.14);
  --line-accent: rgba(100, 140, 180, 0.28);
  --shadow: rgba(80, 120, 160, 0.06);
  --shadow-hover: rgba(80, 120, 160, 0.1);
  --radius-lg: 12px;
  --radius-md: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
.noto-sans jp-<uniquifier> {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
  }
  
.pacifico-regular {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
  
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
  }
body {
  font-family: var(--font-body);
  font-weight: 400;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
  color: var(--ink);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 85% at 8% 0%, rgba(200, 220, 248, 0.55), transparent 52%),
    radial-gradient(ellipse 100% 70% at 92% 15%, rgba(230, 240, 252, 0.75), transparent 48%),
    linear-gradient(180deg, #f8faff 0%, #f0f5fb 48%, #e8eef6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
 
 
/*font*/
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Image tilt only on the homepage (rest of site: static, less motion) */
.home img {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.home img:hover {
  transform: rotate(2.5deg) scale(1.02);
}

/*title*/
 

.hover-underline {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--lantern), var(--accent-light), transparent);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}


/*title*/
  
/* Legacy skewed social menu (scoped so normal lists, e.g. résumé, are not affected) */
.legacy-skew-menu ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  margin: 0;
  padding: 0;
}

.legacy-skew-menu ul li {
  list-style: none;
  margin: 0 5px;
  color: #b9d4f1;
}

.legacy-skew-menu ul li a .fa {
  font-size: 40px;
  color: #262626;
  line-height: 80px;
  transition: 0.5s;
  padding-right: 14px;
}

.legacy-skew-menu ul li a span {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 30px;
  color: #262626;
  letter-spacing: 4px;
  transition: 0.5s;
}

.legacy-skew-menu ul li a {
  text-decoration: none;
  display: block;
  width: 210px;
  height: 80px;
  background: #fff;
  text-align: left;
  padding-left: 20px;
  transform: rotate(-30deg) skew(25deg) translate(0, 0);
  transition: 0.5s;
  box-shadow: -20px 20px 10px rgba(0, 0, 0, 0.5);
}
.legacy-skew-menu ul li a:before {
  content: '';
  position: absolute;
  top: 10px;
  left: -20px;
  height: 100%;
  width: 20px;
  background: #b1b1b1;
  transform: rotate(0deg) skewY(-45deg);
}
.legacy-skew-menu ul li a:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -10px;
  height: 20px;
  width: 100%;
  background: #b1b1b1;
  transform: rotate(0deg) skewX(-45deg);
}

.legacy-skew-menu ul li a:hover {
  transform: rotate(-30deg) skew(25deg) translate(20px, -15px);
  box-shadow: -50px 50px 50px rgba(0, 0, 0, 0.5);
}

.legacy-skew-menu ul li:hover .fa {
  color: #fff;
}

.legacy-skew-menu ul li:hover span {
  color: #fff;
}

.legacy-skew-menu ul li:hover:nth-child(1) a {
  background: #3b5998;
}
.legacy-skew-menu ul li:hover:nth-child(1) a:before {
  background: #365492;
}
.legacy-skew-menu ul li:hover:nth-child(1) a:after {
  background: #4a69ad;
}

.legacy-skew-menu ul li:hover:nth-child(2) a {
  background: #00aced;
}
.legacy-skew-menu ul li:hover:nth-child(2) a:before {
  background: #097aa5;
}
.legacy-skew-menu ul li:hover:nth-child(2) a:after {
  background: #53b9e0;
}

.legacy-skew-menu ul li:hover:nth-child(3) a {
  background: #dd4b39;
}
.legacy-skew-menu ul li:hover:nth-child(3) a:before {
  background: #b33a2b;
}
.legacy-skew-menu ul li:hover:nth-child(3) a:after {
  background: #e66a5a;
}

.legacy-skew-menu ul li:hover:nth-child(4) a {
  background: #e4405f;
}
.legacy-skew-menu ul li:hover:nth-child(4) a:before {
  background: #d81c3f;
}
.legacy-skew-menu ul li:hover:nth-child(4) a:after {
  background: #e46880;
}

/*ul*/
/*marquee*/
marquee{
width:80%;
  text-align: center;
}
/*marquee*/


/*main*/

main {
  padding: 20px clamp(16px, 4vw, 32px) 48px;
  display: block;
  min-height: 100vh;
  margin: 0 auto;
}

/* Reset legacy demo `p` / contact & interior copy use real body type */
main p {
  font-family: var(--font-body);
  color: var(--ink-soft);
  text-align: left;
  width: auto;
  max-width: 42rem;
  transform: none;
}

main h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  text-shadow: none;
  transform: none;
}
    h2 {
      font-family: var(--font-display);
      font-weight: 600;
      text-align: center;
      color: var(--ink);
      letter-spacing: 0.03em;
    }

    .comment-container{
display: flex; align-items: center; justify-content: center;
    }
    /*comment*/
    .comment-section {
      max-height: 45vh; 
      max-width: 60%;
      
      overflow-y: scroll;
    }
    .comment-section2 {
      max-height: 45vh; 
      max-width: 150%;
      
      overflow-y: scroll;
    }
    .comment {
      height: auto;
      padding: 0.55rem 0;
      margin: 0;
      max-width: 36rem;
      margin-left: auto;
      margin-right: auto;
      background-color: transparent;
      color: var(--ink-soft);
      border-radius: 0;
      border: none;
      box-shadow: none;
      font-family: var(--font-body);
      font-size: 0.98rem;
      line-height: 1.65;
      text-align: left;
     }

    .comment a {
      color: var(--accent-deep);
    }

  /*comment*/

/*main*/ 
@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*3d lift*/

.card1 {
  text-align:center;
  position: absolute;
  left: 100px;
  width: 250px;
  height: 350px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: linear-gradient(rgb(225,150,58),rgb(227,144,91));
  transition:.6s;
  
  transform: rotatex(75deg) translatey(-200px) translatez(-100px);
  box-shadow: 0px 20px 60px rgba(0,0,0, 0.5);
}
.card1:hover{
  transform: rotatex(0deg);
  transform: rotatez(0deg);
  transition:.6s;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}
.card1 img{
  transform: translateY(15px);
  width:200px;
  height:120px;
}
h3{
  font-size:25px;
  font-family: 'Abel', sans-serif;
  color:rgb(255,255,255);
  text-shadow: 0 0 2px rgb(255,255,255);
  transform: translatey(10px);
}

p{
  
  font-family: 'Abel', sans-serif;
  color: white;
  text-align:center;
  width:220px;
  transform: translatex(12px);
}


.card2 {
  text-align:center;
  position: absolute;
  left: 550px;
  width: 250px;
  height: 350px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: linear-gradient(rgb(93,94,170),rgb(93,66,103));
  transition:.6s;
  
  transform: rotatex(75deg) translatey(-200px) translatez(-100px);
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.5);
}
.card2:hover{
   transform: rotatex(0deg);
  transition:.6s;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}
.card2 img{
  transform: translateY(15px);
  width:180px;
  height:150px;
}
.card3 {
  text-align:center;
  position: absolute;
  left: 1000px;
  width: 250px;
  height: 350px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: linear-gradient(#ff5252, #b33939);
  transition:.6s;
  
  transform: rotatex(75deg) translatey(-200px) translatez(-100px);
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.5);
}
.card3:hover{
   transform: rotatex(0deg);
  transition:.6s;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}
.card3 img{
  transform: translateY(15px);
  width:200px;
  height:120px;
}
/*3d lift*/
/*holo*/
.holographic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #000;
}

.holographic-card {
  width: 300px;
  height: 200px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holographic-card h2 {
  color: #0ff;
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

/*holo*/


/*link*/
a:link {
  color: var(--accent-deep);
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #3d5a73;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: var(--lantern);
  background-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:active {
  color: var(--ink);
  background-color: transparent;
  text-decoration: underline;
}

/*link*/
/*double sided card*/
.card {
  width: 200px;
  height: 250px;
  margin: 1rem auto;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.card-front {
  background: white;
  border: 1px solid #c7d2e8;
}

.card-back {
  background: #9dbee7;
  color: black;
  transform: rotateY(180deg);
}
/*double sided card*/ 

/*image*/ 

 

img:not(.home-hero__photo):not(.home-strip__img):not(.home-wide-img):not(.activities__img) {
  height: 300px;
  width: 450px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
/*image*/

/* Site chrome: twilight panels */
.sleek-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 auto 1.5rem;
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0.85rem 0 1.25rem;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.sleek-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.sleek-brand:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.sleek-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  flex-wrap: wrap;
}

.sleek-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.35rem 0.55rem;
  border-radius: 0;
  transition: color 0.2s ease;
}

.sleek-nav-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  background-color: transparent;
}

.sleek-hero,
.sleek-section {
  width: min(1100px, 100%);
  margin: 0 auto;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.sleek-hero {
  padding: 2.5rem 0 2rem;
}

.sleek-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--muted);
}

.sleek-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.18;
  color: var(--ink);
}

.sleek-subtitle {
  margin: 18px auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.55;
}

.sleek-cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.25rem;
}

.sleek-btn {
  display: inline-block;
  border-radius: 2px;
  padding: 11px 22px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sleek-btn-primary {
  color: var(--panel-solid);
  background-color: var(--ink);
  border: 1px solid var(--ink);
}

.sleek-btn-primary:hover {
  background-color: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--panel-solid);
}

.sleek-btn-secondary {
  color: var(--ink-soft);
  border: 1px solid var(--line-accent);
  background: transparent;
}

.sleek-btn-secondary:hover {
  border-color: var(--lantern);
  color: var(--ink);
  background: rgba(180, 210, 235, 0.2);
}

.sleek-btn:hover {
  text-decoration: none;
}

.sleek-section {
  padding: 1.5rem 0 2.25rem;
}

.sleek-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 4px 0 20px;
  font-size: 1.65rem;
  color: var(--ink);
}

.sleek-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.sleek-card {
  text-align: left;
  border-radius: 0;
  padding: 0.65rem 0 0.85rem;
  border: none;
  background: transparent;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.sleek-card:last-child {
  padding-bottom: 0.35rem;
}

.sleek-card h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
}

.sleek-card p {
  margin-top: 8px;
  width: auto;
  color: var(--muted);
  transform: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.sleek-card:hover {
  text-decoration: none;
  color: var(--accent-deep);
}

.sleek-card:hover h3 {
  color: var(--accent-deep);
}

.sleek-link-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}

.sleek-link-columns h3 {
  font-family: var(--font-display);
  margin: 2px 0 12px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
}

.sleek-link-columns a {
  display: block;
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-size: 0.9375rem;
}

.sleek-link-columns a:hover {
  color: var(--accent);
}

@media (max-width: 700px) {
  .sleek-nav {
    flex-direction: column;
    justify-content: center;
  }
}

/* Site pages (news hub, etc.) */
.page-hero {
  text-align: left;
  padding: 1.5rem 0 2rem;
  margin: 0 auto;
  width: min(1100px, 100%);
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 2.9vw, 2.35rem);
  color: var(--ink);
  letter-spacing: 0.02em;
}

.page-hero p {
  margin: 0.35rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  width: auto;
  transform: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
}

.page-back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-deep);
  text-decoration: none;
}

.page-back:hover {
  text-decoration: underline;
}

.news-timeline {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: left;
}

.news-year {
  font-family: var(--font-display);
  margin: 32px 0 14px;
  padding-bottom: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: none;
}

.news-item {
  margin: 0 0 12px;
  padding: 12px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  transition: color 0.2s ease;
}

.news-item:hover {
  box-shadow: none;
}

.news-item time {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.news-item p {
  margin: 0;
  color: var(--ink);
  width: auto;
  transform: none;
  text-align: left;
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.topic-pill {
  display: inline-block;
  padding: 0.35rem 0;
  margin-right: 1rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-accent);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topic-pill:hover {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

main iframe {
  max-width: 100%;
  width: min(960px, 100%);
  height: min(85vh, 1200px);
  margin: 0 auto;
  display: block;
  border-radius: 0;
  border: 1px solid var(--line);
  box-shadow: none;
}

/* Composition piece pages (e.g. Chasing) */
.composition-note {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36rem;
}

.composition-audio-wrap {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.composition-audio-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.composition-audio {
  width: 100%;
  max-width: 28rem;
  display: block;
}

.composition-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 0.5rem;
}

.composition-back {
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.88rem;
}

.composition-back a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 107, 136, 0.35);
  padding-bottom: 1px;
}

.composition-back a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-soft);
}

/* Composition hub subpages (e.g. Chasing): align rail and vertical rhythm */
.composition-page .page-hero {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.composition-page .sleek-section {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.composition-page .composition-note {
  max-width: min(52rem, 100%);
  margin-bottom: 1.35rem;
}

.composition-page .composition-audio-wrap {
  margin-bottom: 1.5rem;
}

.composition-page .composition-audio {
  max-width: min(44rem, 100%);
}

.composition-page .composition-actions {
  margin: 0.35rem 0 0;
}

.composition-page .sleek-section > iframe {
  margin-top: 0.35rem;
}

.composition-page .composition-back {
  margin: 2.25rem auto 0;
}

/* Home layout (no link dumps) */
.home .home-hero {
  width: min(1120px, 100%);
  margin: 0 auto 2.75rem;
  padding: 0 clamp(16px, 4vw, 28px);
  text-align: left;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.home-hero__inner--single {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 40rem;
  margin: 0 auto;
}

.home-hero--text-only .home-hero__copy {
  text-align: center;
}

.home-hero--text-only .home-hero__cta {
  justify-content: center;
}

@media (max-width: 820px) {
  .home-hero__inner:not(.home-hero__inner--single) {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    justify-self: center;
    order: -1;
  }
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  animation: none;
}

.home-hero__visual {
  position: relative;
  margin: 0;
  justify-self: end;
}

.home-hero__glow {
  position: absolute;
  inset: -18% -10% -18% -10%;
  background: radial-gradient(ellipse at 50% 40%, rgba(200, 220, 248, 0.55), rgba(230, 240, 252, 0.25), transparent 72%);
  pointer-events: none;
  animation: glow-pulse 9s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.home-hero__photo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero__photo:hover {
  transform: rotate(2.5deg) scale(1.02);
}

.home-gateways {
  display: grid;
  grid-template-columns: 1fr;
  width: min(1120px, 100%);
  margin: 0 auto 2.5rem;
  padding: 0 clamp(16px, 4vw, 28px);
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 640px) {
  .home-gateways {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-gateways {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-gateway {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border-bottom: none;
  transition: color 0.2s ease;
}

@media (min-width: 780px) {
  .home-gateway {
    border-bottom: none;
    border-right: none;
  }

  .home-gateway:last-child {
    border-right: none;
  }
}

.home-gateway:hover {
  background: transparent;
  text-decoration: none;
}

.home-gateway:hover .home-gateway__label {
  color: var(--accent-deep);
}

.home-gateway__label {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
}

.home-strip {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0 clamp(16px, 4vw, 28px) 2.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-strip__img {
  flex: 0 0 auto;
  width: 132px;
  height: 88px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.home-strip__img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.home-about__heading {
  margin-bottom: 1rem;
}

.home-wide-img {
  width: min(880px, 92%);
  max-height: 300px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--line);
  box-shadow: none;
}

.home-second-visual {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home-contact {
  width: min(1120px, 100%);
  margin: 0 auto 2rem;
  padding: 2.5rem clamp(16px, 4vw, 28px) 2rem;
  border-top: none;
  text-align: center;
  animation: fade-rise 1s ease-out 0.15s both;
}

.home-contact__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lantern);
  margin: 0 0 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.home-contact__email {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-light);
  text-decoration: none;
}

.home-contact__email:hover {
  color: var(--lantern);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-credits,
.home-credits {
  margin: 0 auto 2.5rem;
  padding: 0;
  max-width: min(1100px, 100%);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* Album: moodboard-style grid */
.sleek-section > h2.album-section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  margin: 0 0 1rem;
  padding-bottom: 0;
  border-bottom: none;
}

/* Background music: lowkey icon control */
.bg-audio {
  position: fixed;
  right: 0.5rem;
  bottom: 0.35rem;
  z-index: 9999;
  font-family: var(--font-body);
}

.bg-audio__el {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.bg-audio__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.bg-audio__toggle:hover {
  opacity: 0.9;
  color: var(--ink-soft);
}

.bg-audio__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  opacity: 1;
}

.bg-audio__toggle--on {
  color: var(--ink-soft);
  opacity: 0.65;
}

.bg-audio__icon {
  display: block;
}

/* Résumé page: editorial spacing, single column */
.page-hero__lede {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.resume-page {
  min-height: 100vh;
}

.resume-page__inner {
  width: min(34rem, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 3rem;
}

.resume-page__back {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin: 0 0 1.25rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.resume-page__back:hover {
  color: var(--ink-soft);
  border-bottom-color: rgba(100, 140, 180, 0.35);
}

.resume-article--panel {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 1.75rem) 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.resume-article__head {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: none;
}

.resume-article__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  letter-spacing: 0.03em;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.12;
}

.resume-article__byline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.resume-article__pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.75rem;
}

.resume-article__pdf-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 107, 136, 0.32);
  padding-bottom: 0.05rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.resume-article__pdf-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-soft);
}

.resume-article__pdf-dot {
  color: var(--muted);
  font-size: 0.88rem;
  opacity: 0.45;
  user-select: none;
}

.resume-article__section {
  margin: 0 0 1.75rem;
}

.resume-article__section--preview {
  margin-bottom: 0;
}

.resume-article__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
  text-align: left;
}

.resume-article__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.resume-row {
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}

.resume-row:first-child {
  border-top: none;
  padding-top: 0;
}

.resume-row__key {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.resume-row__val {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 107, 136, 0.2);
  padding-bottom: 0.05rem;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.resume-row__val:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-soft);
}

.resume-article__mobile-hint {
  display: none;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 1.25rem;
  padding: 0.65rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.resume-article__mobile-hint strong {
  font-weight: 600;
  color: var(--ink-soft);
}

.resume-details {
  margin: 0;
}

.resume-details__summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  list-style: none;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}

.resume-details__summary::-webkit-details-marker {
  display: none;
}

.resume-details__summary::before {
  content: "+ ";
  color: var(--muted);
  font-weight: 600;
  margin-right: 0.15rem;
}

.resume-details[open] .resume-details__summary::before {
  content: "− ";
}

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

.resume-details__frame {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.resume-details__frame iframe {
  display: block;
  width: 100%;
  height: min(65vh, 840px);
  border: none;
}

/* Activities & leadership (same rail as other hub pages; extra vertical rhythm) */
.activities-page .page-hero {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.activities-page .page-hero h1 {
  margin-bottom: 0.45rem;
}

.activities-page .sleek-section {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.activities-section .activities-prose:empty {
  display: none;
}

.activities-section .activities-prose:not(:empty) {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: min(62rem, 100%);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.activities-figure {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}

.activities__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(1.04) contrast(0.96) saturate(0.92);
}

.activities-caption {
  padding: 0.5rem 0.75rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.activities-page .sleek-section h2,
.activities-heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  margin: 0 0 1.1rem;
  padding-bottom: 0;
  border-bottom: none;
}

.activities-hero-lede {
  max-width: 52rem;
  text-align: left;
  line-height: 1.65;
}

.activities-hero-lede a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.activities-snapshot {
  background: transparent;
}

.activities-snapshot__list {
  margin: 0;
  padding: 0 0 0 1.35rem;
  list-style-type: disc;
  list-style-position: outside;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.95rem;
}

.activities-snapshot__list li {
  margin-bottom: 0.75rem;
}

.activities-snapshot__list li:last-child {
  margin-bottom: 0;
}

.activities-snapshot__list a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.activities-snapshot__list strong {
  color: var(--ink);
  font-weight: 600;
}

.activities-item {
  margin: 0;
  padding: 1.1rem 0;
  border-top: none;
}

.activities-item:first-of-type {
  padding-top: 0;
}

.activities-item:has(+ .activities-grid) {
  padding-bottom: 0.35rem;
}

.activities-item__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.activities-item__meta {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.activities-item__body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62rem;
}

.activities-item__body a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.activities-grid--after-text {
  margin-top: 1rem;
}

.activities-section--foot .activities-heading {
  margin-bottom: 0.75rem;
}

.activities-footnote {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62rem;
}

.activities-footnote a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 520px) {
  .resume-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.75rem 0;
  }

  .resume-row__key {
    margin-bottom: 0.1rem;
  }
}

@media (max-width: 640px) {
  .resume-article__section--preview {
    display: none;
  }

  .resume-article__mobile-hint {
    display: block;
  }
}