@font-face {
  font-family: Albert Sans;
  src: url('assets/fonts/albert-sans.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap
}

:root {
  --blue: #0839c9;
  --paper: #f8f8e8;
  --green: #eaf8d9;
  --line: rgba(8, 57, 201, .25);
  --radius: 24px;
  --gutter: 3.6vw;
  font-family: Albert Sans, sans-serif;
  color: var(--paper);
  background: var(--blue);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 24px
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-size: 18px;
  line-height: 1.5
}

a {
  color: inherit;
  text-underline-offset: 5px
}

button {
  font: inherit
}

button,
a {
  -webkit-tap-highlight-color: transparent
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px
}

::selection {
  color: var(--blue);
  background: var(--green)
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0
}

img {
  display: block;
  max-width: 100%
}

h1,
h2,
h3,
p {
  margin: 0
}

h2,
h3 {
  line-height: 1.07;
  letter-spacing: -.03em;
  text-wrap: balance
}

p {
  max-width: 68ch
}

button {
  cursor: pointer
}

a,
button {
  touch-action: manipulation
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 16px;
  z-index: 100;
  background: var(--green);
  color: var(--blue);
  padding: 12px;
  transform: translateY(-150%)
}

.skip-link:focus {
  transform: translateY(0)
}

.masthead {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px var(--gutter);
  font-size: 15px;
  min-height: 64px
}

.wordmark {
  font-size: 23px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap
}

.role {
  font-size: 14px
}

.masthead nav {
  display: flex;
  gap: 28px;
  margin-left: auto
}

.masthead nav a {
  text-decoration: none;
  padding: 8px 0
}

.masthead nav a:hover,
.masthead nav a[aria-current] {
  text-decoration: underline
}

.clock-wrap {
  font-size: 14px;
  white-space: nowrap;
  border-left: 1px solid rgba(248, 248, 232, .4);
  padding-left: 25px;
  margin-left: 28px
}

.clock-wrap time {
  font-variant-numeric: tabular-nums;
  font-weight: 700
}

.opening {
  padding: 0 var(--gutter)
}

h1 {
  line-height: .7;
  font-family: Albert Sans, sans-serif;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
  font-size: 15.2vw;
  width: 100%;
  margin: 4px 0 0
}

h1 span {
  display: inline-block;
  transform-origin: left center
}

.collage {
  height: 44vw;
  max-height: 710px;
  position: relative;
  margin-top: 1.2vw
}

.intro-note {
  position: absolute;
  left: -1.2%;
  top: 0;
  width: 22%;
  padding: 26px 25px 50px;
  background: var(--green);
  color: var(--blue);
  border-radius: var(--radius);
  transform: rotate(-3deg);
  z-index: 1
}

.intro-note p {
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.42
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--blue);
  color: var(--paper);
  text-decoration: none;
  border-radius: 100px;
  padding: 12px 19px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  white-space: nowrap
}

.button:hover {
  background: #062c9b
}

.preview {
  position: absolute;
  display: block;
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .14)
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.preview-label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 16px 22px;
  background: var(--label);
  color: var(--paper);
  border-radius: 0 0 18px 0;
  max-width: 96%
}

.preview h2 {
  font-size: clamp(24px, 2.7vw, 44px);
  font-weight: 850
}

.preview p {
  font-size: clamp(14px, 1.15vw, 18px);
  margin-top: 3px
}

.preview-label span {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  margin-top: 12px
}

.preview-label svg {
  height: 18px;
  width: 18px
}

.preview-red {
  --label: #8d161d;
  left: 28%;
  top: 0;
  width: 70%;
  height: 28vw;
  max-height: 440px;
  transform: rotate(5deg);
  z-index: 2;
  background: #eee
}

.preview-taitaja {
  --label: #143d35;
  left: -.5%;
  top: 20vw;
  width: 58%;
  height: 23vw;
  max-height: 362px;
  transform: rotate(-5deg);
  z-index: 3;
  background: #143d35
}

.preview-taitaja img {
  object-position: center 45%
}

.preview-pirate {
  --label: #053b67;
  right: -.5%;
  top: 21vw;
  width: 45%;
  height: 23.5vw;
  max-height: 370px;
  transform: rotate(2deg);
  z-index: 4;
  background: #053b67
}

.preview:hover,
.preview:focus-visible {
  transform: translateY(-14px) rotate(0deg);
  z-index: 6;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .24)
}

.preview:focus-visible {
  outline-color: var(--green)
}

.light-section {
  background: var(--green);
  color: var(--blue);
  border-radius: 30px 30px 0 0
}

.work {
  padding: 50px var(--gutter) 80px;
  margin-top: 22px
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 50px
}

.section-heading h2 {
  font-size: clamp(42px, 5.2vw, 82px);
  font-weight: 850;
  max-width: 14ch
}

.section-heading>p {
  font-size: 20px;
  max-width: 390px;
  line-height: 1.5
}

.project-list {
  border-bottom: 1px solid var(--line)
}

.project-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 6%;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start
}

.project-detail h3 {
  font-size: 30px;
  max-width: 16ch
}

.project-kind {
  font-size: 14px;
  margin-top: 12px
}

.project-detail>p,
.project-detail>div>p:not(.project-kind) {
  font-size: 18px;
  line-height: 1.6
}

.project-note {
  font-size: 14px !important;
  margin-top: 10px
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 0
}

.text-link:hover svg {
  transform: translate(2px, -2px)
}

.about {
  padding: 90px var(--gutter) 100px
}

.about .section-heading {
  align-items: start
}

.about-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7%;
  margin-top: 60px
}

.about-notes h3 {
  font-size: 25px;
  margin-bottom: 18px
}

.about-notes p {
  line-height: 1.6;
  color: #e2eafb
}

.skills {
  padding: 70px var(--gutter) 85px
}

.skill-list {
  margin: 0
}

.skill-list>div {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10%;
  padding: 27px 0
}

.skill-list dt {
  font-size: 30px;
  font-weight: 750;
  line-height: 1.25
}

.skill-list dd {
  margin: 0
}

.skill-list ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 9px;
  margin: 20px 0 0
}

.skill-list li {
  font-size: 14px;
  border: 1px solid var(--blue);
  padding: 5px 12px;
  border-radius: 100px
}

.contact {
  padding: 90px var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  align-items: end
}

.contact h2 {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 850;
  line-height: 1.04
}

.contact-content>p:first-child {
  font-size: 21px;
  max-width: 35ch;
  margin-bottom: 24px
}

.email-link {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 650
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 28px
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px
}

.contact-actions button {
  color: var(--blue);
  background: var(--green);
  border: 0;
  border-radius: 100px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700
}

.contact-actions button:hover {
  background: var(--paper)
}

#copy-status {
  font-size: 15px;
  min-height: 24px;
  margin-top: 15px
}

footer {
  margin: 0 var(--gutter);
  padding: 25px 0 35px;
  border-top: 1px solid rgba(248, 248, 232, .4);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  font-size: 14px
}

footer a {
  display: flex;
  align-items: center;
  gap: 10px
}

footer svg {
  width: 18px;
  height: 18px
}

@media(min-width:1800px) {
  body {
    max-width: 1800px;
    margin: auto
  }

  .collage {
    height: 710px
  }

  .preview-red {
    height: 440px
  }

  .preview-taitaja {
    top: 320px;
    height: 362px
  }

  .preview-pirate {
    top: 336px;
    height: 370px
  }
}

@media(max-width:1100px) {
  .role {
    display: none
  }

  .clock-wrap {
    margin-left: 8px;
    padding-left: 18px
  }

  .masthead {
    gap: 16px
  }

  .masthead nav {
    gap: 22px
  }

  .intro-note {
    padding: 18px 18px 35px;
    width: 24%
  }

  .intro-note p {
    font-size: 17px
  }

  .intro-note .button {
    font-size: 13px;
    padding: 10px 13px;
    gap: 5px
  }

  .intro-note .button svg {
    width: 18px
  }

  .preview-label {
    padding: 12px 16px
  }

  .preview h2 {
    font-size: 27px
  }

  .preview-label span {
    margin-top: 5px
  }

  .section-heading>p {
    font-size: 18px
  }

  .project-detail {
    gap: 4%
  }

  .project-detail h3 {
    font-size: 25px
  }
}

@media(max-width:700px) {
  :root {
    --gutter: 6vw;
    --radius: 16px;
    scroll-padding-top: 15px
  }

  body {
    font-size: 17px
  }

  .masthead {
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 12px;
    gap: 8px 15px
  }

  .wordmark {
    font-size: 22px
  }

  .masthead nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
    font-size: 15px;
    margin-top: 7px
  }

  .masthead nav a {
    min-height: 44px;
    display: flex;
    align-items: center
  }

  .clock-wrap {
    margin-left: auto;
    padding-left: 0;
    border: 0;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    line-height: 1.3
  }

  .clock-wrap time {
    font-size: 15px
  }

  h1 {
    font-size: 18vw;
    margin-top: 7px
  }

  .collage {
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 22px;
    padding-bottom: 15px
  }

  .intro-note {
    position: relative;
    left: 0;
    width: 100%;
    padding: 22px;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start
  }

  .intro-note p {
    font-size: 20px;
    max-width: 31ch
  }

  .intro-note .button {
    font-size: 15px;
    padding: 11px 18px;
    gap: 16px;
    margin-top: 18px
  }

  .preview {
    position: relative;
    inset: auto;
    width: 100%;
    height: 63vw;
    max-height: 320px;
    transform: none !important;
    box-shadow: none;
    transition: box-shadow .25s ease-out
  }

  .preview-red {
    transform: rotate(2deg) !important;
    margin: 4px 0 6px
  }

  .preview-taitaja {
    transform: rotate(-2deg) !important;
    margin: 4px 0 6px
  }

  .preview-pirate {
    transform: rotate(1.5deg) !important;
    margin: 4px 0 6px
  }

  .preview-label {
    padding: 12px 15px
  }

  .preview h2 {
    font-size: 26px
  }

  .preview p {
    font-size: 14px
  }

  .preview-label span {
    font-size: 13px;
    margin-top: 7px
  }

  .preview:hover,
  .preview:focus-visible {
    transform: none !important
  }

  .preview-taitaja img {
    object-position: center 30%
  }

  .light-section {
    border-radius: 22px 22px 0 0
  }

  .work {
    padding: 40px var(--gutter) 50px;
    margin-top: 20px
  }

  .section-heading {
    display: block;
    margin-bottom: 32px
  }

  .section-heading h2 {
    font-size: 45px;
    max-width: 14ch
  }

  .section-heading>p {
    font-size: 18px;
    margin-top: 24px;
    max-width: 40ch
  }

  .project-detail {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 28px 0
  }

  .project-detail h3 {
    font-size: 27px;
    max-width: none
  }

  .project-detail .project-kind {
    margin-top: 7px
  }

  .project-detail>p,
  .project-detail>div>p:not(.project-kind) {
    font-size: 17px
  }

  .text-link {
    justify-self: start;
    min-height: 44px
  }

  .about {
    padding: 55px var(--gutter) 65px
  }

  .about-notes {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 38px
  }

  .about-notes h3 {
    margin-bottom: 12px
  }

  .skills {
    padding: 45px var(--gutter) 50px
  }

  .skill-list>div {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0
  }

  .skill-list dt {
    font-size: 26px
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px var(--gutter) 40px
  }

  .contact h2 {
    font-size: 51px
  }

  .contact-content>p:first-child {
    font-size: 19px
  }

  .email-link {
    font-size: 19px;
    gap: 8px
  }

  .contact-actions {
    gap: 23px
  }

  .contact-actions button {
    min-height: 44px
  }

  footer {
    flex-direction: column;
    gap: 13px;
    padding-bottom: 28px
  }

  footer a {
    align-self: flex-start;
    min-height: 44px
  }
}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  .preview:hover,
  .preview:focus-visible {
    transform: none
  }
}

@media(forced-colors:active) {
  .preview-label {
    background: Canvas;
    color: CanvasText
  }

  .button,
  .contact-actions button {
    border: 1px solid ButtonText
  }

  .preview {
    border: 1px solid CanvasText
  }
}

.clock-wrap {
  border-left: 0;
  position: relative
}

.clock-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(248, 248, 232, .4)
}

@media(max-width:700px) {
  .clock-wrap::before {
    display: none
  }
}

.masthead {
  position: relative;
  z-index: 10;
}
