/* ===== Base / Reset ===== */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,
strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,
label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,
details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,
section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block; }
body { line-height: 1; }
ol,ul { list-style: none; }
blockquote,q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
body { -webkit-text-size-adjust: none; }
*, *::before, *::after { box-sizing: border-box; }

/* ===== Root Variables ===== */
:root {
  --background-height: 100vh;
  --site-language-alignment: left;
  --site-language-direction: ltr;
  --site-language-flex-alignment: flex-start;
  --viewport-height: 100vh;
}

html { font-size: 14pt; }
u { text-decoration: underline; }
strong { color: inherit; font-weight: bolder; }
em { font-style: italic; }

a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.25s ease;
}

/* ===== Body Background ===== */
body {
  line-height: 1.0;
  min-height: var(--viewport-height);
  min-width: 320px;
  overflow-x: hidden;
  word-wrap: break-word;
  background-color: #FFFFFF;
}

body::before {
  content: '';
  display: block;
  background-attachment: scroll;
  height: var(--background-height);
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: scale(1);
  width: 100vw;
  z-index: 0;
  background-image:
    url('data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cfilter%20id%3D%22noise%22%3E%20%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.875%22%20result%3D%22noise%22%20%2F%3E%20%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220.3984375%200%200%200%200%200%200.5078125%200%200%200%200%200%200.5859375%200%200%200%200%200%200.38671875%200%22%20%2F%3E%20%3C%2Ffilter%3E%20%3Crect%20filter%3D%22url%28%23noise%29%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22512%22%20height%3D%22512%22%20fill%3D%22transparent%22%20opacity%3D%221%22%20%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(180deg, rgba(75,78,82,0.149) 0%, rgba(22,23,25,0.529) 100%),
    url('images/bg.jpg');
  background-size: 512px, cover, cover;
  background-position: center, 0% 0%, center;
  background-repeat: repeat, repeat, no-repeat;
}

body::after {
  background-color: #35393D;
  content: '';
  display: block;
  pointer-events: none;
  position: fixed;
  transform: scale(1);
  z-index: 1;
  height: 100%;
  left: 0;
  opacity: 0;
  top: 0;
  transition: opacity 1s ease-in-out 1s, visibility 1s 1s;
  visibility: hidden;
  width: 100%;
}

body.is-loading::after {
  opacity: 1;
  visibility: visible;
}

/* ===== Loading Animation ===== */
body.is-loading .site-main {
  opacity: 0;
  transform: scale(0.97875);
}

/* ===== Site Wrapper & Main ===== */
.site-wrapper {
  -webkit-overflow-scrolling: touch;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--viewport-height);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.site-main {
  --alignment: var(--site-language-alignment);
  --flex-alignment: var(--site-language-flex-alignment);
  align-items: center;
  display: flex;
  flex-grow: 0;
  flex-shrink: 0;
  justify-content: center;
  max-width: 100%;
  position: relative;
  text-align: var(--alignment);
  z-index: 1;
  transition: opacity 0.75s ease 0s, transform 0.75s ease 0s;
}

.site-main > .inner {
  --padding-horizontal: 3rem;
  --padding-vertical: 3rem;
  --spacing: 1.75rem;
  --width: 75rem;
  max-width: 100%;
  position: relative;
  width: var(--width);
  z-index: 1;
  padding: var(--padding-vertical) var(--padding-horizontal);
}

/* ===== Container Component (Card) ===== */
.container-component {
  position: relative;
}

.container-component > .wrapper {
  vertical-align: top;
  position: relative;
  max-width: 100%;
  border-radius: inherit;
}

.container-component > .wrapper > .inner {
  vertical-align: top;
  position: relative;
  max-width: 100%;
  border-radius: inherit;
  text-align: var(--alignment);
}

.container-component.style-1 {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-image:
    url('data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cfilter%20id%3D%22noise%22%3E%20%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.875%22%20result%3D%22noise%22%20%2F%3E%20%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220.3515625%200%200%200%200%200%200.40234375%200%200%200%200%200%200.4375%200%200%200%200%200%200.27734375%200%22%20%2F%3E%20%3C%2Ffilter%3E%20%3Crect%20filter%3D%22url%28%23noise%29%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22512%22%20height%3D%22512%22%20fill%3D%22transparent%22%20opacity%3D%221%22%20%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(45deg, rgba(60,64,69,0.831) 40%, rgba(75,78,82,0.671) 100%);
  background-size: 512px, cover;
  background-position: center, 0% 0%;
  background-repeat: repeat, repeat;
  -webkit-backdrop-filter: blur(1.35rem);
  backdrop-filter: blur(1.35rem);
  border-color: rgba(255,255,255,0.149);
  border-style: solid;
  border-radius: 2.5rem;
}

.container-component.style-1 > .wrapper > .inner {
  --gutters: calc(var(--padding-horizontal) * 2);
  --padding-horizontal: 4.5rem;
  --padding-vertical: 4.5rem;
  padding: var(--padding-vertical) var(--padding-horizontal);
  border-radius: calc(2.5rem - 1px);
}

.container-component.style-1 > .wrapper {
  max-width: var(--width);
  width: 100%;
}

/* Columns layout */
.container-component.style-1.columns > .wrapper > .inner {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
}

.container-component.style-1.columns > .wrapper > .inner > * {
  flex-grow: 0;
  flex-shrink: 0;
  max-width: 100%;
  text-align: var(--alignment);
  padding: 0 0 0 var(--gutters);
}

.container-component.style-1.columns > .wrapper > .inner > * > * {
  margin-bottom: var(--spacing);
  margin-top: var(--spacing);
}

.container-component.style-1.columns > .wrapper > .inner > * > *:first-child {
  margin-top: 0 !important;
}

.container-component.style-1.columns > .wrapper > .inner > * > *:last-child {
  margin-bottom: 0 !important;
}

.container-component.style-1.columns > .wrapper > .inner > *:first-child {
  margin-left: calc(var(--gutters) * -1);
}

/* Column divider line */
.container-component.style-1.columns > .wrapper > .inner > *::before {
  border-left: solid 1px rgba(255,255,255,0.149);
  content: '';
  display: block;
  margin-left: calc((var(--gutters) * -0.5) - 0.5px);
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
}

.container-component.style-1.columns > .wrapper > .inner > *:first-child::before {
  display: none;
}

/* 40/60 split */
.container-component.instance-1 > .wrapper > .inner > :nth-child(1) {
  width: calc(40% + (var(--gutters) / 2));
}

.container-component.instance-1 > .wrapper > .inner > :nth-child(2) {
  width: calc(60% + (var(--gutters) / 2));
}

/* ===== Image Component (Profile Photo) ===== */
.image-component {
  display: block;
  line-height: 0;
  max-width: 100%;
  position: relative;
}

.image-component > .frame {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  vertical-align: top;
  width: 100%;
}

.image-component > .frame > img {
  border-radius: 0 !important;
  max-width: 100%;
  vertical-align: top;
  width: inherit;
}

.image-component.style-1:not(:first-child) {
  margin-top: 2rem !important;
}

.image-component.style-1:not(:last-child) {
  margin-bottom: 2rem !important;
}

.image-component.style-1 > .frame {
  width: 9rem;
  border-radius: 100%;
}

/* ===== Text Components ===== */
.text-component {
  direction: var(--site-language-direction);
  position: relative;
}

.text-component span.p {
  display: block;
  position: relative;
}

/* Style 2: Name / Large heading */
.text-component.style-2 {
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 2.5em;
  line-height: 1.25;
  font-weight: 400;
}

.text-component.style-2 a { text-decoration: underline; }
.text-component.style-2 a:hover { text-decoration: none; }
.text-component.style-2 span.p:nth-child(n + 2) { margin-top: 1rem; }
.text-component.style-2 > * { display: inline-block; line-height: 1.2; }

/* Style 3: Body text */
.text-component.style-3 {
  color: rgba(255,255,255,0.502);
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  line-height: 1.75;
  font-weight: 400;
}

.text-component.style-3 a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.text-component.style-3 a:hover { color: #FFFFFF; }
.text-component.style-3 span.p:nth-child(n + 2) { margin-top: 1rem; }

/* Style 4: Section headings */
.text-component.style-4 {
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 1.75em;
  line-height: 1.25;
  font-weight: 400;
}

.text-component.style-4 a { text-decoration: underline; }
.text-component.style-4 a:hover { text-decoration: none; }
.text-component.style-4 span.p:nth-child(n + 2) { margin-top: 1rem; }
.text-component.style-4 > * { display: inline-block; line-height: 1.2; }

/* ===== Icons Component ===== */
.icons-component {
  display: flex;
  flex-wrap: wrap;
  justify-content: var(--flex-alignment);
  letter-spacing: 0;
  padding: 0;
}

.icons-component > li {
  position: relative;
  z-index: 1;
}

.icons-component > li > a {
  align-items: center;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.icons-component > li > a > svg {
  display: block;
  pointer-events: none;
  position: relative;
}

.icons-component > li > a > .label {
  display: none;
}

.icons-component.style-1 {
  font-size: 1.75em;
  gap: 1.25rem;
}

.icons-component.style-1:not(:first-child) {
  margin-top: 2rem !important;
}

.icons-component.style-1:not(:last-child) {
  margin-bottom: 2rem !important;
}

.icons-component.style-1 > li > a {
  border-radius: 100%;
  height: 2em;
  width: 2em;
  background-color: rgba(255,255,255,0.051);
  border-color: rgba(255,255,255,0.271);
  border-style: solid;
  border-width: 1px;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.icons-component.style-1 > li > a > svg {
  height: 60%;
  width: 60%;
  fill: rgba(255,255,255,0.8);
  transition: fill 0.25s ease;
}

.icons-component.style-1 > li > a:hover {
  background-color: rgba(255,255,255,0.161) !important;
  transform: scale(1.095);
}

/* ===== Divider Component ===== */
.divider-component {
  align-items: center;
  border: 0;
  display: flex;
  justify-content: var(--flex-alignment);
  min-height: 1rem;
  padding: 0;
  position: relative;
  width: 100%;
}

.divider-component::before {
  content: '';
}

.divider-component.style-1:not(:first-child) {
  margin-top: 3rem !important;
}

.divider-component.style-1:not(:last-child) {
  margin-bottom: 3rem !important;
}

.divider-component.style-1::before {
  width: 100%;
  background-color: rgba(255,255,255,0.149);
  height: 1px;
}

/* ===== Responsive: Tablet & Below ===== */
@media (max-width: 1680px) {
  html { font-size: 10pt; }
}

@media (max-width: 1280px) {
  html { font-size: 10pt; }
}

@media (max-width: 980px) {
  html { font-size: 9pt; }
}

@media (max-width: 736px) {
  html { font-size: 11pt; }

  .site-main > .inner {
    --padding-horizontal: 1rem;
    --padding-vertical: 2rem;
    --spacing: 1.75rem;
  }

  .container-component.style-1 > .wrapper > .inner {
    --gutters: 6rem;
    --padding-horizontal: 2rem;
    --padding-vertical: 3rem;
  }

  /* Stack columns vertically on mobile */
  .container-component.style-1.columns > .wrapper > .inner {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .container-component.style-1.columns > .wrapper > .inner > *:first-child {
    margin-left: 0 !important;
    padding-top: 0 !important;
  }

  .container-component.style-1.columns > .wrapper > .inner > * {
    padding: calc(var(--gutters) * 0.5) 0 !important;
  }

  .container-component.style-1.columns > .wrapper > .inner > *::before {
    border-left: none !important;
    border-top: solid 1px rgba(255,255,255,0.149) !important;
    height: 0 !important;
    margin-left: 0 !important;
    top: auto !important;
    margin-top: calc((var(--gutters) * -0.5) - 0.5px) !important;
    left: 0 !important;
    width: 100% !important;
  }

  .container-component.style-1.columns > .wrapper > .inner > *:last-child {
    padding-bottom: 0 !important;
  }

  .container-component.style-1.columns > .wrapper > .inner > *:first-child::before {
    display: none !important;
  }

  .container-component.style-1.columns > .wrapper > .inner > *:last-child::before {
    display: block !important;
  }

  .container-component.instance-1 > .wrapper > .inner > :nth-child(1) {
    min-height: 100% !important;
    width: 100% !important;
  }

  .container-component.instance-1 > .wrapper > .inner > :nth-child(2) {
    min-height: 100% !important;
    width: 100% !important;
  }

  .image-component.style-1:not(:first-child) { margin-top: 1.5rem !important; }
  .image-component.style-1:not(:last-child) { margin-bottom: 1.5rem !important; }
  .image-component.style-1 > .frame { width: 6.125rem; }
}

@media (max-width: 480px) {
  .site-main > .inner {
    --spacing: 1.53125rem;
  }
}

@media (max-width: 360px) {
  .site-main > .inner {
    --padding-horizontal: 0.75rem;
    --padding-vertical: 1.5rem;
    --spacing: 1.3125rem;
  }

  .container-component.style-1 > .wrapper > .inner {
    --gutters: 6rem;
    --padding-horizontal: 1.5rem;
    --padding-vertical: 2.25rem;
  }

  .text-component.style-2 { font-size: 2em; }
  .text-component.style-3 { font-size: 1em; }
  .text-component.style-4 { font-size: 1.5em; }
  .icons-component.style-1 { gap: 0.9375rem; }
}

/* ===== No-JS Fallback ===== */
@media (scripting: none) {
  body::after { display: none !important; }
  .site-main { opacity: 1.0 !important; transform: none !important; transition: none !important; }
}
