@charset "UTF-8";

/* Typeface: keep Abel for continuity, consider adding a serif later for manifesto passages */
@font-face {
  font-family: Abel;
  src: url("fonts/source-serif-4-latin-200-normal.woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  /* XR3 palette (natural, calm, post-hype) */
  --color-ink: #2b3029;            /* deep moss / charcoal green */
  --color-ink-2: #3d4945;          /* wet slate */
  --color-stone: #515a63;          /* cold stone */
  --color-mist: #b3d0cc;           /* sea mist */
  --color-fog: #d3dcdb;            /* morning fog */

  /* Translucent materials (subtle, not neon glass) */
  --color-surface: rgba(211, 220, 219, 0.06);
  --color-surface-2: rgba(211, 220, 219, 0.10);
  --color-border: rgba(211, 220, 219, 0.12);
  /* Optional warm counterpoint (very subtle; use sparingly) */
  --color-ember: #8f7e6b;
  --color-ember-trans: rgba(143, 126, 107, 0.22);

  /* Legacy aliases to reduce refactor friction */
  --color-primary: var(--color-mist);
  --color-primary-trans: rgba(179, 208, 204, 0.18);
  --color-dark: var(--color-ink);
  --color-dark-trans: var(--color-surface);
  --color-light: var(--color-fog);

  --border-radius: 6px;

  --font-weight-normal: 400;
  --font-weight-bold: 700;

  --spacing-xsmall: 0.25rem;
  --spacing-small: 0.5rem;
  --spacing-medium: 1rem;
  --spacing-large: 2rem;
  --spacing-xxlarge: 3rem;

  /* Reading comfort */
  --measure: 72ch;

  /* Motion: slower, atmospheric */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 220ms;
  --dur: 520ms;
  --dur-slow: 900ms;

  /* Shadows: “weather”, not UI */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-soft-2: 0 6px 18px rgba(0, 0, 0, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-ember);
  color: var(--color-light);
  font-family: Abel, Helvetica, Arial, sans-serif;
  font-size: 1.15em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

/* Respect user prefs */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Disable transitions during load like you had */
.waitload * {
  transition: none;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

#logo { width: 30vw; height: auto; }

/* XR3 “glow” becomes mist/bloom (subtle, not neon) */
.glow {
  text-shadow:
    0 0 2px rgba(179, 208, 204, 0.35),
    0 0 14px rgba(179, 208, 204, 0.14);
}

.highlight{
     color: var(--color-ember);
}

/* Headlines: keep small-caps feel but calm the chroma */
h1 {
  color: var(--color-mist);
  font-size: 6.2em;
  line-height: 0.96em;
  padding-bottom: 0.8em;
  font-variant: small-caps;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h2, h3, h4 {
  color: var(--color-mist);
  font-size: 3.6em;
  line-height: 1.2em;
  padding-top: 1em;
  padding-bottom: 0.5em;
  font-variant: small-caps;
  font-weight: 400;
}

h4 {
  padding-top: 1em;
  font-size: 2em;
  border-left: 4px solid rgba(179, 208, 204, 0.6);
  padding-left: 0.6rem;
}

p {
  color: var(--color-fog);
  font-size: 1.35em;
  line-height: 1.6em;
  margin-bottom: 1.2em;
  max-width: var(--measure);
}

/* Links/buttons: less “CTA”, more invitation */
button, a {
  display: inline-block;
  padding: 6px 18px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: rgba(211, 220, 219, 0.08);
  color: var(--color-fog);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

button:hover, a:hover {
  background-color: rgba(179, 208, 204, 0.18);
  border-color: rgba(179, 208, 204, 0.35);
  color: var(--color-fog);
  transform: translateY(-1px);
}

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(179, 208, 204, 0.55);
  outline-offset: 3px;
}

/* Scroll to top */
.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(211, 220, 219, 0.06);
  color: var(--color-fog);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  opacity: 0.75;
  z-index: 34;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}
.scroll-to-top:hover { opacity: 1; transform: translateY(-2px); }

/* GENERAL UL + SKILLS */
ul.skills {
  list-style-type: none;
  margin: 0;
  font-size: 1.75em;
}

/* box-skills */
.box-skill-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 20px 0px;
}
.box-skill {
  color: var(--color-fog);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  background: rgba(211, 220, 219, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 12px;
  backdrop-filter: blur(6px);
}

.strapline {
  padding-top: 1.6em;
  padding-bottom: 1.6em;
}

/* SOCIAL */
.social {
  z-index: 10;
  display: flex;
  align-items: left;
  justify-content: space-between;
  flex-direction: row;
  width: 68vw;
}
.social img {
  height: 100%;
  width: 100%;
  border-radius: 50%;
}
ul.social { list-style: none; }
ul.social li { list-style: none; flex-basis: auto; }
ul.social li a {
  outline: none;
  border: 0;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border-radius: 50%;
}

/* SVG icon tints */
a svg #linkedin, a svg #loginicon, a svg #mailto {
  fill: var(--color-fog);
  transition: fill var(--dur) var(--ease);
}
a svg:hover #linkedin, a svg:hover #loginicon, a svg:hover #mailto {
  fill: var(--color-mist);
}

/** NAV **/
nav {
  display: flex;
  justify-content: space-between;
  width: 32vw;
  height: auto;
  gap: 10px;
}
nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--color-fog);
  background-color: rgba(211, 220, 219, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}
nav a:hover {
  background-color: rgba(179, 208, 204, 0.16);
  border-color: rgba(179, 208, 204, 0.32);
}
@media (max-width: 600px) {
  nav { flex-wrap: wrap; width: 100%; }
  nav a { width: 100%; text-align: center; }
}
/* END NAV */

/* Parallax banners: keep but tone down borders */
.banner-apps {
  background-image: url("images/vertical-change.jpg");
}
@media (min-width: 767px) {
  .banner-apps { background-image: url("images/vertical-change.jpg"); }
}

.parallax {
  width: 100%;
  height: 440px;
  padding: 0;
  margin: 0;
  background-attachment: fixed;
  background-repeat: no-repeat;
  border-top: 12px solid rgba(0, 0, 0, 0.18);
  border-bottom: 12px solid rgba(0, 0, 0, 0.18);
  position: relative;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  text-align: center;
}
.parallax .quoteWrap {
  display: table;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
.parallax .quoteWrap .quote {
  display: table-cell;
  vertical-align: middle;
}
.parallax h3 span {
  text-shadow: 0px 0px 10px rgba(0,0,0,0.45);
}

/* HERO */
#hero-image {
  width: 100%;
  height: 300px;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.caption-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background-color: rgba(43, 48, 41, 0.55);
  color: var(--color-fog);
  text-align: center;
  backdrop-filter: blur(8px);
}
/* END HERO */

/* Spatial tilt: keep very gentle, less “demo” */
.page-wrapper {
  transform: perspective(1200px) rotateY(1deg);
}

/* Article layout: more reading comfort */
article {
  width: 80vw;
  min-height: 100vh;
  padding: 140px 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.headline {
  color: var(--color-fog);
  font-size: 1.55em;
  font-weight: 400;
  text-transform: uppercase;
  background: rgba(211, 220, 219, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1rem;
  backdrop-filter: blur(6px);
  max-width: var(--measure);
}

/* Emphasis: use mist (and optionally ember very sparingly) */
.headline em, em {
  color: var(--color-mist);
  font-size: 1.15em;
  font-style: normal;
}

/* Navigation (3D) */
.nav-3d ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 5px;
  height: 150px;
  margin-bottom: 36px;
}
.nav-3d li { margin-right: 14px; }
.nav-3d a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-fog);
  font-size: 1.1rem;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(211, 220, 219, 0.05);
}
.nav-3d a:hover {
  background-color: rgba(179, 208, 204, 0.16);
  border-color: rgba(179, 208, 204, 0.32);
  transform: translateY(-1px);
}
@media screen and (max-width: 768px) {
  .nav-3d ul { flex-direction: column; align-items: left; height: auto; }
  .nav-3d li { margin-bottom: 10px; }
}

/* Shader canvas: keep but calmer */
#shaderCanvas {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.84;
  z-index: -1;
  filter: saturate(0.7) contrast(0.9);
}

/* Containers / sections: “material” surfaces */
.container {
  width: 80%;
  margin: 0 auto;
  padding: var(--spacing-xxlarge);
  margin-bottom: var(--spacing-xxlarge);
}

section {
  border-radius: var(--border-radius);
  background: var(--color-surface);
  padding: 1rem;
  box-shadow: var(--shadow-soft-2);
  border: 1px solid rgba(211, 220, 219, 0.10);
  backdrop-filter: blur(10px);
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-soft-2);
  border: 1px solid rgba(211, 220, 219, 0.10);
  backdrop-filter: blur(10px);
}

.column-content { margin-bottom: 1rem; }

/* Footer: fog-gradient instead of bright glass */
footer {
  display: block;
  background-color: rgba(211, 220, 219, 0.04);
  color: var(--color-fog);
  padding: 1rem;
  background-image: linear-gradient(
    160deg,
    rgba(211, 220, 219, 0.10) 0%,
    rgba(211, 220, 219, 0.03) 100%
  );
  border-top: 1px solid rgba(211, 220, 219, 0.08);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background-color: rgba(211, 220, 219, 0.04);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft-2);
  border: 1px solid rgba(211, 220, 219, 0.08);
}

.footer-left {
  width: 33%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-right { width: 67%; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--color-fog);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.footer-links a:hover { color: var(--color-mist); }

/* Inputs */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  margin-bottom: 1rem;
  background-color: rgba(211, 220, 219, 0.06);
  border: 1px solid rgba(211, 220, 219, 0.10);
  color: var(--color-fog);
  border-radius: var(--border-radius);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: rgba(179, 208, 204, 0.35);
  background-color: rgba(211, 220, 219, 0.08);
}
textarea {
  resize: none;
  height: 110px;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(211, 220, 219, 0.04);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft-2);
  border: 1px solid rgba(211, 220, 219, 0.08);
}

.copyright,
.privacy-notice a {
  color: rgba(211, 220, 219, 0.80);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
  body { font-size: 0.95em; }
  .page-wrapper { transform: perspective(1200px) rotateY(0.6deg); }
  article { width: 100vw; padding: 14px; }

  h1 { font-size: 3.8em; }
  h2, h3, h4 { font-size: 2em; }
  h4 { font-size: 1.25em; }

  .headline { font-size: 1.2em; }
  p { font-size: 1.15em; }

  #logo { width: 60vw; height: auto; }
  .bk { display: none; }

  .social {
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
  }

  ul.skills { font-size: 1.2em; }
  .box-skill-container { max-width: 400px; }
}

@media screen and (max-width: 992px) {
  .page-wrapper { transform: perspective(1200px) rotateY(0.7deg); }
  article { padding: 100px 50px; }
}
