@charset "UTF-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
       user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
       appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
  line-break: after-white-space;
  -moz-user-select: auto;
       user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html {
  font-size: 62.5%;
}

body {
  --color-main: #B6AC91;
  --color-accent: #DDDBD6;
  --color-gray: #323337;
  --color-white: #FFFFFF;
  --color-offwhite: #EDEDED;
  --color-black: #000000;
  --background-color: var(--color-offwhite);
  --text-color: var(--color-black);
  --body-font: "Inter Tight", helvetica, sans-serif;
  --title-font: "Roboto Condensed", helvetica, sans-serif;
  --normal-weight: 300;
  --bold-weight: 400;
  --extrabold-weight: 500;
  --content-width: calc(100vw - 30px);
  --title-height: calc((var(--content-width) / 4.2) + (var(--p) * 3));
  --p: 16px;
  --p-s: calc(var(--p) / 2);
  --p-l: calc(var(--p) * 2);
  --p-xl: calc(var(--p-l) * 2);
  --section-margin: 16px;
  --border: 1px solid var(--color-black);
  --transition-time: 0.5s;
  background-color: var(--background-color);
  color: var(--color-gray);
  font-size: 1.4rem;
  font-weight: var(--normal-weight);
  font-family: var(--body-font);
  line-height: 1.25;
  margin: auto;
  overflow-x: hidden;
}
@media screen and (min-width: 800px) {
  body {
    --p: 32px;
    --title-height: calc((var(--content-width) / 10) + 32px);
    font-size: 1.6rem;
  }
}

h1, h2, h3, h4 {
  line-height: 1;
}

h1, h2 {
  margin: 0.1em 0 0.5em;
  font-family: var(--title-font);
  text-transform: uppercase;
  font-weight: var(--bold-weight);
}

h1 {
  font-size: 15vw;
  font-weight: var(--extrabold-weight);
  text-align: center;
  margin: var(--p-s) 0;
  padding: var(--section-margin) 0;
  line-height: 0.8;
  color: var(--color-black);
  letter-spacing: -0.04em;
}
@media screen and (min-width: 800px) {
  h1 {
    margin-left: -0.045em;
    font-size: calc(var(--content-width) / 8.85);
    white-space: nowrap;
  }
}

h2 {
  font-size: 2.4rem;
}
h2.section-label {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: var(--p-s);
}
@media screen and (min-width: 800px) {
  h2.section-label {
    font-size: 1.6rem;
  }
}

h3 {
  font-size: 2rem;
  font-weight: var(--normal-weight);
}

h4 {
  font-size: 1.6rem;
}

a {
  color: var(--color-main);
  text-decoration: underline;
  transition: color var(--transition-time) ease;
}
a:hover {
  color: var(--color-white);
}

p {
  margin: 1em 0 0.5em;
}

strong {
  font-weight: var(--bold-weight);
}

em {
  font-style: italic;
}

ul, ol {
  margin: 1em 0;
  margin-left: 2.6rem;
}

ul {
  list-style: disc;
}

ol {
  list-style-type: decimal;
}

nav ul, nav ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-content {
  width: 100;
  padding-left: 16px;
  padding-right: 16px;
  margin: auto;
}
.main-content section {
  scroll-margin-top: var(--title-height);
  margin-bottom: var(--section-margin);
}

.container {
  width: 96%;
  margin: auto;
}

.button {
  display: inline-block;
  background-color: var(--color-main);
  border-radius: 5px;
  color: var(--color-white);
  padding: 14px 30px 12px;
  font-size: 1.6rem;
  transition: transform 0.2s ease;
  margin-right: auto;
}
.button:hover {
  transform: scale(1.05);
}

figure img {
  display: block;
}

.main-content figure {
  opacity: 0;
}
.main-content figure.fade-in {
  animation: slideIn 0.8s ease 0.3s forwards;
}

@keyframes slideIn {
  0% {
    -webkit-transform: translateY(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
}
.block:not(.block-heading, .block-list, .block-text) {
  margin-bottom: 60px;
}

.edit-button {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.25);
  border-radius: 5px 5px 0 0;
  background-color: var(--background-color);
}
.edit-button a {
  display: flex;
  padding: 12px;
}

.site-header {
  padding-top: var(--p);
  min-height: calc(100svh - var(--title-height));
}
.site-header .header-image {
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 400px;
  margin: auto;
}
.site-header .header-image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.site-header .header-image figcaption {
  text-transform: uppercase;
  margin-top: var(--p-s);
}
@media screen and (min-width: 800px) {
  .site-header {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .site-header .header-image figcaption {
    font-size: 1.6rem;
  }
}

.stick {
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  z-index: 2;
  margin-bottom: var(--p-s);
}
.stick .header-bar {
  display: none;
}
@media screen and (min-width: 800px) {
  .stick .header-bar {
    display: flex;
    align-items: center;
    --font-size: clamp(1rem, 1.5vw, 1.6rem);
    height: 20px;
    padding-bottom: var(--p);
  }
  .stick .header-bar .tagline {
    margin: 0;
    font-size: var(--font-size);
    font-family: var(--title-font);
    text-transform: uppercase;
    font-weight: var(--extrabold-weight);
    line-height: 1;
    width: 50%;
  }
  .stick .header-bar .anchor-nav {
    display: flex;
    align-items: center;
    width: 50%;
  }
  .stick .header-bar .anchor-nav h2, .stick .header-bar .anchor-nav a {
    font-family: var(--title-font);
    font-size: var(--font-size);
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    text-decoration: none;
    font-weight: var(--extrabold-weight);
  }
  .stick .header-bar .anchor-nav h2 {
    color: color-mix(in srgb, var(--color-gray), transparent 50%);
    margin-left: var(--p);
  }
  .stick .header-bar .anchor-nav ul {
    align-items: center;
  }
  .stick .header-bar .anchor-nav ul li {
    margin-left: clamp(var(--p-s), 2vw, var(--p));
  }
  .stick .header-bar .anchor-nav ul a {
    display: flex;
    color: var(--color-black);
  }
  .stick .header-bar .anchor-nav ul a:hover {
    color: var(--color-main);
  }
}

.about figure {
  aspect-ratio: 1/1;
}
.about figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.about .about-info {
  background: var(--color-gray);
  padding: var(--p);
  color: var(--color-offwhite);
}
.about .about-info h3 {
  margin-bottom: var(--p-l);
}
@media screen and (min-width: 800px) {
  .about {
    display: flex;
    background-color: var(--color-gray);
    overflow: hidden;
  }
  .about figure {
    flex: 1 1 50%;
  }
  .about .about-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 50%;
  }
  .about .about-info h3 {
    font-size: 3.8rem;
  }
  .about .about-info > p {
    font-size: 2rem;
  }
}

.portfolio {
  background-color: var(--color-main);
  padding: var(--p-l) var(--p);
}
.portfolio .portfolio-article {
  border-top: var(--border);
  padding-top: var(--p);
  margin-top: var(--p-xl);
}
.portfolio .portfolio-article h3 {
  margin-bottom: var(--p-l);
}
@media screen and (min-width: 800px) {
  .portfolio {
    padding: var(--p-xl) clamp(var(--p), 6.5vw, var(--p-xl));
  }
  .portfolio .portfolio-container {
    display: flex;
    gap: var(--p);
  }
  .portfolio .portfolio-container .portfolio-article {
    flex: 0 1 33%;
  }
  .portfolio .portfolio-container .portfolio-article h3 {
    font-size: 2.4rem;
  }
}

.quote figure {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
}
.quote figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.quote figure figcaption {
  position: absolute;
  bottom: var(--p-l);
  left: var(--p);
  font-size: 2rem;
  color: var(--color-main);
  width: 230px;
}
@media screen and (min-width: 800px) {
  .quote figure {
    aspect-ratio: 16/7;
  }
  .quote figure figcaption {
    width: 400px;
    bottom: clamp(var(--p), 6.5vw, var(--p-xl));
    left: clamp(var(--p), 6.5vw, var(--p-xl));
    font-size: 3.8rem;
  }
}

.qualifications {
  background-color: var(--color-accent);
  padding: var(--p-l) var(--p);
}
.qualifications .qualifications-table {
  margin-top: var(--p-xl);
}
.qualifications .qualifications-table ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--border);
}
.qualifications .qualifications-table ul li {
  font-family: var(--title-font);
  line-height: 1;
  padding: calc(var(--p-s) + 0.15em) 0 var(--p-s);
  border-bottom: var(--border);
  font-weight: var(--bold-weight);
  text-transform: uppercase;
}
@media screen and (min-width: 800px) {
  .qualifications {
    padding: var(--p-xl) clamp(var(--p), 6.5vw, var(--p-xl));
    display: flex;
    flex-wrap: wrap;
    gap: var(--p);
  }
  .qualifications h2 {
    flex: 1 1 100%;
  }
  .qualifications .qualifications-preamble {
    flex: 1 1 48%;
  }
  .qualifications .qualifications-preamble p {
    margin-top: 0;
    margin-bottom: var(--p-s);
  }
  .qualifications .qualifications-preamble > * {
    max-width: 330px;
    font-size: 1.9rem;
  }
  .qualifications .qualifications-table {
    flex: 1 1 48%;
    margin-top: 0;
    padding: var(--p-s);
  }
}

.site-footer {
  background-color: var(--color-gray);
  color: var(--color-offwhite);
  padding: var(--p-l) var(--p);
}
.site-footer h2 {
  margin-bottom: var(--p-xl);
}
.site-footer .contact-row {
  display: flex;
  flex-direction: column;
}
.site-footer .contact-row span:not(:last-child) {
  margin-bottom: var(--p-l);
}
.site-footer .contact-row span.linkedin a:after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(/assets/icons/pil.svg);
  background-position: bottom center;
  background-repeat: no-repeat;
}
.site-footer .contact-row a {
  color: var(--color-offwhite);
  text-decoration: none;
  font-size: 2rem;
}
.site-footer .contact-row a:hover {
  color: var(--color-main);
}
@media screen and (min-width: 800px) {
  .site-footer {
    padding: var(--p-xl) clamp(var(--p), 6.5vw, var(--p-xl));
  }
  .site-footer .contact-row {
    flex-direction: row;
  }
  .site-footer .contact-row span:not(:last-child) {
    margin: 0;
  }
  .site-footer .contact-row span.email {
    margin-left: var(--p-l);
  }
  .site-footer .contact-row .linkedin {
    margin-left: auto;
  }
}

.legal {
  padding: var(--section-margin);
  font-size: 1.6rem;
}

.block-hero figure {
  position: relative;
  height: 80vh;
}
.block-hero figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.block-hero figure .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.block-hero figure .content {
  position: absolute;
  left: 16px;
  bottom: 20px;
}
.block-hero figure h2 {
  font-size: 3.4rem;
  margin: 0.5em 0;
  color: var(--color-white);
}

.block-sidebyside article .sidebyside-image {
  margin-bottom: 18px;
}
@media all and (min-width: 500px) {
  .block-sidebyside article {
    display: flex;
    justify-content: space-between;
  }
  .block-sidebyside article.reverse {
    flex-direction: row-reverse;
  }
  .block-sidebyside article .sidebyside-image {
    display: flex;
    width: 49%;
    height: 50vw;
  }
  .block-sidebyside article .sidebyside-image img {
    -o-object-fit: cover;
       object-fit: cover;
  }
  .block-sidebyside article .sidebyside-content {
    width: 49%;
  }
}
@media all and (min-width: 800px) {
  .block-sidebyside article .sidebyside-content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
  }
}
@media all and (min-width: 1024px) {
  .block-sidebyside article .sidebyside-image {
    width: 49%;
    max-height: 700px;
  }
  .block-sidebyside article .sidebyside-content {
    max-height: 600px;
    width: 49%;
  }
}
