
:root{
  --scrim-dark: rgba(6, 8, 15, 0.426);
  --scrim-fade: rgba(6, 8, 15, 0);
  --card-bg:   rgba(1, 1, 2, 0.5);
  --text: #fff;
  --link: #e6f0ff;
  --link-hover: #ffffff;
  --border: rgba(255,255,255,0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 13px;
  --maxw: 70rem;
  --layout-max: 70rem; 
  --gap: 1.25rem;
  --gap-lg: 2rem;
  --right-min: 17rem;     
  --right-ideal: 25vw;    
  --right-max: 20.5rem;     
  --sun: #fac534;     
  --sky: #002a78;     
  --neutral: #ffffff; 
}

@property --g-angle {
  syntax: '<angle>';
  initial-value: 0turn;
  inherits: false;
}

html, body { height: 100%; margin: 0; }
body {
  font-family: 'Archivo', sans-serif;;
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); text-decoration: underline; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 .5rem 0; font-weight: 800; letter-spacing: -.025rem;
     text-shadow: 0 1px 2px rgba(0,0,0,.6); }
h2 { margin-top: 0rem; margin-bottom: 1rem; font-size: clamp(1.4rem, 3.2vw, 1.8rem); }
h2,h3 {font-weight: 600;}
p, li, table { font-size: clamp(1rem, 2.2vw, 1.125rem); font-weight: 350; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0 1rem; }




.bg {
  position: fixed; inset: 0; z-index: 0;
  background: center/cover no-repeat url("images/bg.webp");
  pointer-events: none;
}
.scrim {
  position: fixed; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      var(--scrim-dark) 0%,
      var(--scrim-fade) 45%,
      var(--scrim-dark) 100%);
  pointer-events: none;
}


.content {
  position: relative; z-index: 2;
  min-height: 100dvh;
  padding: var(--gap-lg);
}

.content > hr.nav-divider {
  width: 100%;
  max-width: var(--layout-max);
  margin: 2.5rem auto 2rem;
}

.layout {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 2fr) clamp(var(--right-min), var(--right-ideal), var(--right-max)); 
  max-width: var(--layout-max); 
  margin: 0 auto;
}
.layout__left 
.layout__right { min-width: 0; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .layout__left  { order: 1; }
  .layout__right { order: 2; }
}


.site-title {
  margin: 0;
  font-size: clamp(2rem, 7.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-shadow: -10px 12px 17px rgba(0, 0, 0, 0.39);
  letter-spacing: -.025rem;
  word-wrap: break-word;           
  overflow-wrap: break-word;        
  max-width: 100%; 
}

.site-title.gradient{
  background:
    conic-gradient(from var(--g-angle) at 50% 250%,
      var(--sun) 0turn .25turn,   
      var(--sky) .3turn .7turn,   
      var(--sun) .75turn 1turn   
    );
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: sun-rotate 30s infinite;
}

.subheading {
  font-style: italic;
  font-weight: 400; 
  font-size: 1.1rem; 
  margin-top: 0.65rem;
  text-align: center;
  text-shadow: -10px 12px 17px rgba(0, 0, 0, 0.39);
}

.subheading.gradient{
  background:
    conic-gradient(from var(--g-angle) at 50% 250%,
      var(--sun) 0turn .25turn,   
      var(--sky) .3turn .7turn,   
      var(--sun) .75turn 1turn   
    );
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: sun-rotate 30s infinite;
}

@keyframes sun-rotate{
  0%   { --g-angle: 0turn; }    
  100% { --g-angle: -1turn; }   
}

.card {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 2rem);
}


.nav-table {
  display: flex;
  flex-wrap: wrap;          /* allows wrapping onto multiple lines */
  gap: .5rem .75rem;        /* row/column spacing */
  justify-content: center;  /* centers the items */
  padding: .5rem 1rem;
  margin-top: 1rem;
  margin-bottom: -2rem;
}

.nav-table a {
  flex: 0 1 auto;           /* items shrink but don’t break weirdly */
  text-align: left;
  white-space: nowrap;      /* keeps each link together */
  text-decoration: none;
  padding: .25rem .65rem;
  border-radius: .5rem;
  color: white;             /* make sure text is visible */
}




.nav-item { position: relative; display: inline-flex; }


.nav-item > a {
  display: inline-block;
}


.submenu {
  position: absolute;
  left: 0;
  top: calc(100% + .25rem);
  display: none;                 
  min-width: 12rem;
  padding: .5rem;
  border-radius: .5rem;
  background: rgba(0, 0, 0, 0.861);    
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  z-index: 1000;
  transition: opacity 0.15s ease;
  opacity: 0;
  pointer-events: none;
}

.has-submenu:hover .submenu::before {
  content: "";
  position: absolute;
  top: -10px;   
  left: 0;
  width: 100%;
  height: 10px;
}

.submenu a {
  display: block;
  padding: .35rem .5rem;
  white-space: nowrap;
  border-radius: .35rem;
  text-decoration: none;
}


.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}


.submenu a:hover,
.submenu a:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.297);
}


@media (max-width: 520px) {
  .submenu {
    left: auto;
    right: 0;
    max-width: min(90vw, 22rem);
    overflow-wrap: anywhere;
  }
}

.has-submenu { align-self: flex-start;
position: relative;
}





.post-list { display: grid; gap: var(--gap); }
.post-card { 
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.post-card a {
  display: block;
  height: 100%;
}
.post-card img {
  display: block;
  width: 100%;
  height: 100%;             
  object-fit: cover;      
  object-position: 50% 50%; 
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.post-meta { opacity: .85; font-size: .95em; }


.post-figure { margin: 1rem 0; }
.post-figure img {
  max-width: 100%; height: auto; border-radius: 12px;
}
.post-figure figcaption { font-size: .9rem; opacity: .85; margin-top: .4rem; }

.post-list .read-more {
  display: inline-block;
  margin-top: .25rem;
  font-weight: 700;
  text-decoration: none;
}
.post-list .read-more:hover { text-decoration: underline; }


.coachingprices {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    border-style: inset;
    border-color: var(--text);
    padding: .35rem;
}

.coachingprices th{
    text-align: center;
    padding: .35rem;
    border-color: var(--text);
    border-style: inset;
} 

.coachingprices td{
    vertical-align: top;
    text-align: left;
    word-break: break-word;
    border-color: var(--text);
    border-style: inset;
    padding: .25rem;
}



form label { display: block; font-weight: 600;}
input[type="text"], input[type="email"], textarea {
  width: 95%; padding: .6rem .6rem .6rem .6rem;
  margin: .2rem 0 .5rem;
  border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.08); color: var(--text);
}
button[type="submit"] {
  margin-top: .75rem; padding: .6rem 1rem; border: 0; border-radius: 999px;
  background: rgba(255,255,255,0.9); color: #111; font-weight: 700; cursor: pointer;
}
button[type="submit"]:hover { background: #fff; }


.footer { 
    opacity: .8; 
    font-size: .95rem; 
    text-align: center;
}


#post-article {
  max-width: 42rem;   
  margin: 0 auto;     
}



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


@media (prefers-reduced-motion: reduce) {
  
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important; 
  }
}


#post-article {
  max-width: 70ch;        
  margin-inline: auto;    
  margin: 0 auto;
  padding: 1rem;
}


#post-article img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;     
}


#post-article > figure {
  margin: 0 0 1rem 0;     
}


.post-item { 
  background: transparent; 
  box-shadow: none; 
  padding: 0; 
}
.post-item img { max-width: 100%; height: auto; display: block; border-radius: 12px; }


.single .layout { 
  display: block;
  max-width: var(--layout-max);
  margin: 0 auto;
}

#post-article {
  margin: 0 auto;         
}


#post-article {
  max-width: 56ch;  
  padding: 1.25rem;
}


#blog-container .post-card {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  margin: 0 auto 1rem;   
}
#blog-container .post-card a { display: block; height: 100%; }
#blog-container .post-card img {
  display: block;
  width: 100%;
  height: 100%;          
  object-fit: cover;    
  object-position: 50% 50%; 
}

#tag-container .post-card {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  margin: 0 auto 1rem;   
}
#tag-container .post-card a { display: block; height: 100%; }
#tag-container .post-card img {
  display: block;
  width: 100%;
  height: 100%;          
  object-fit: cover;    
  object-position: 50% 50%; 
}

.strava-icon {
  width: 20px;      
  height: 20px;
  margin-left: 8px;  
  filter: invert(1); 
  vertical-align: middle;
}

