/* Valerie Lykes — portfolio styles (ported from Figma Make) */

/* Minimal reset (replaces the Tailwind base styles the Figma build used) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

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

img {
  height: auto;
}

.pathway-arrow svg {
  width: 20px;
  height: 20px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  color: #fffaf2;
  background: #344b3b;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible {
  outline: 2px solid #9b4f38;
  outline-offset: 3px;
}

:root {
  font-family: 'DM Sans', sans-serif;
  color: #293129;
  background: #dcecea;
  font-synthesis: none;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #dcecea;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 28px clamp(24px, 5vw, 72px) 36px;
  background:
    radial-gradient(circle at 75% 25%, rgb(196 111 81 / 9%), transparent 28%),
    #dcecea;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgb(53 70 56 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(53 70 56 / 8%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(41 49 41 / 24%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
  min-height: calc(100svh - 150px);
  padding: 56px 0 72px;
}

.name-lockup {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin-bottom: 16px;
  color: #9b4f38;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stitched-name {
  position: relative;
  width: fit-content;
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(84px, 12vw, 176px);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.075em;
  color: transparent;
  background-color: #121a35;
  background-image: url('images/valerie-crochet-texture.jpg');
  background-position: center 42%;
  background-size: 135% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1.5px #111831;
  filter:
    drop-shadow(4px 4px 0 #f05a28)
    drop-shadow(-2px -2px 0 #29cad3)
    drop-shadow(3px 6px 0 rgb(17 24 49 / 18%));
}

.intro {
  max-width: 470px;
  margin-top: 36px;
  padding-left: 22px;
  border-left: 2px solid #bf6548;
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
}

.pathways {
  display: grid;
  border-top: 1px solid rgb(41 49 41 / 30%);
}

.pathway {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 28px 4px;
  border-bottom: 1px solid rgb(41 49 41 / 30%);
  isolation: isolate;
  transition:
    padding 220ms ease,
    color 220ms ease;
}

.pathway::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: #344b3b;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.pathway:hover,
.pathway:focus-visible {
  padding-inline: 22px;
  color: #fffaf2;
  outline: none;
}

.pathway:hover::before,
.pathway:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.pathway-number {
  align-self: start;
  padding-top: 6px;
  color: #a4543b;
  font-size: 11px;
  font-weight: 600;
}

.pathway:hover .pathway-number,
.pathway:focus-visible .pathway-number {
  color: #efad88;
}

.pathway-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1;
}

.pathway-description {
  grid-column: 2;
  max-width: 290px;
  color: #667066;
  font-size: 13px;
  line-height: 1.5;
}

.pathway:hover .pathway-description,
.pathway:focus-visible .pathway-description {
  color: #dce2da;
}

.pathway-arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-line {
  width: 70px;
  height: 1px;
  background: currentColor;
}

.content-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 8vw, 120px);
  padding: clamp(90px, 12vw, 170px) clamp(24px, 7vw, 104px);
}

.about-section {
  grid-template-columns: minmax(120px, 0.24fr) minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 82px);
  background: #344b3b;
  color: #f7f0e5;
}

.about-section .section-label {
  color: #efad88;
}

.section-copy {
  max-width: 850px;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 8px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgb(118 215 218 / 70%);
  border-radius: 48% 48% 8px 8px;
  box-shadow: 0 24px 48px rgb(16 29 21 / 24%);
}

.about-photo figcaption {
  margin-top: 24px;
  padding-left: 14px;
  border-left: 1px solid #efad88;
  color: #b9c6bb;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-copy h2,
.portfolio-heading h2 {
  margin: 0 0 34px;
  font-family: 'Fraunces', serif;
  font-size: clamp(45px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-copy p {
  max-width: 680px;
  margin: 0 0 20px;
  color: #dce2da;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.7;
}

.education {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgb(247 240 229 / 22%);
}

.education > h3 {
  margin: 0 0 24px;
  color: #efad88;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.education-list {
  display: grid;
  gap: 22px;
}

.education-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
}

.university-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #efad88;
  border: 1px solid rgb(239 173 136 / 55%);
  border-radius: 50%;
}

.university-mark svg {
  width: 38px;
  height: 38px;
}

.university-mark > span {
  position: absolute;
  right: -4px;
  bottom: -3px;
  padding: 3px 5px;
  color: #344b3b;
  background: #efad88;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.education-item div > p {
  margin: 0 0 4px;
  color: #f7f0e5;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.25;
}

.education-item div > span {
  color: #b9c6bb;
  font-size: 12px;
}

.interests {
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid rgb(247 240 229 / 22%);
}

.interests-heading {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.interests-heading h3 {
  margin: 0;
  color: #efad88;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.interests-heading > p {
  margin: 0;
  color: #dce2da;
  font-size: 15px;
  line-height: 1.7;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.interest-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(247 240 229 / 20%);
  background: #2b4032;
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.interest-card:hover,
.interest-card:focus-visible {
  border-color: #79d5d7;
  outline: none;
  transform: translateY(-5px);
}

.interest-visual {
  position: relative;
  display: grid;
  height: 180px;
  overflow: hidden;
  place-items: center;
}

.interest-visual > span:last-child {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 5px 8px;
  color: #f7f0e5;
  background: rgb(17 24 49 / 78%);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.photography-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.interest-card:hover .photography-visual img {
  transform: scale(1.04);
}

.nature-visual {
  background:
    radial-gradient(circle at 30% 30%, rgb(121 213 215 / 22%), transparent 28%),
    repeating-radial-gradient(circle at 50% 105%, transparent 0 13px, rgb(121 213 215 / 16%) 14px 15px),
    #182f27;
}

.nature-ring {
  position: relative;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 1px solid #79d5d7;
  border-radius: 50%;
}

.nature-ring::before,
.nature-ring::after {
  position: absolute;
  content: '';
  background: #79d5d7;
}

.nature-ring::before {
  width: 118px;
  height: 1px;
}

.nature-ring::after {
  width: 1px;
  height: 118px;
}

.nature-leaf {
  width: 31px;
  height: 50px;
  border: 1px solid #efad88;
  border-radius: 100% 0 100% 0;
  background: rgb(239 173 136 / 12%);
  transform: rotate(20deg);
}

.crochet-visual {
  background-image:
    linear-gradient(rgb(17 24 49 / 10%), rgb(17 24 49 / 26%)),
    url('images/valerie-crochet-texture.jpg');
  background-position: center;
  background-size: cover;
}

.crochet-loop {
  position: absolute;
  width: 52px;
  height: 78px;
  border: 4px solid #8cf0ed;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(17 24 49 / 38%);
}

.crochet-loop-one {
  left: 24%;
  transform: rotate(-24deg);
}

.crochet-loop-two {
  transform: rotate(8deg);
}

.crochet-loop-three {
  right: 20%;
  border-color: #f49a31;
  transform: rotate(30deg);
}

.interest-copy {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  padding: 20px 46px 20px 18px;
}

.interest-kicker {
  margin-bottom: 18px;
  color: #79d5d7;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.interest-copy strong {
  margin-bottom: 7px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.08;
}

.interest-copy > span:last-child {
  color: #b9c6bb;
  font-size: 10px;
  line-height: 1.4;
}

.interest-arrow {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgb(247 240 229 / 35%);
  border-radius: 50%;
}

.interest-arrow svg {
  width: 14px;
}

.thread-mark {
  position: absolute;
  right: 4vw;
  bottom: 52px;
  display: flex;
  gap: 7px;
  transform: rotate(-12deg);
}

.thread-mark span {
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid #df8e6d;
  border-radius: 50%;
}

.portfolio-section {
  background: #efe2cf;
}

.portfolio-heading {
  max-width: 900px;
}

.portfolio-heading > p {
  max-width: 480px;
  margin-bottom: 48px;
  color: #626b62;
  font-size: 18px;
  line-height: 1.6;
}

.project-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgb(41 49 41 / 20%);
  background: rgb(255 250 242 / 55%);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgb(64 52 39 / 10%);
}

.project-card-accent {
  color: #fffaf2;
  background: #a7553d;
}

.project-card > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 92px 0 12px;
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 500;
}

.project-card p {
  color: inherit;
  font-size: 12px;
  opacity: 0.72;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px clamp(24px, 5vw, 72px);
  color: #f5f0e7;
  background: #25332a;
  font-size: 12px;
  letter-spacing: 0.08em;
}

footer a {
  border-bottom: 1px solid currentColor;
}

@media (max-width: 800px) {
  .topline p:last-child {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 54px;
    padding-top: 76px;
  }

  .stitched-name {
    font-size: clamp(76px, 25vw, 122px);
  }

  .intro {
    margin-top: 28px;
  }

  .scroll-cue {
    display: none;
  }

  .content-section {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  }

  .about-section .section-label {
    grid-column: 1 / -1;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
  }

  .interest-visual {
    height: 100%;
    min-height: 180px;
  }

  .project-grid {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-inline: 20px;
  }

  .hero-content {
    padding-block: 50px;
  }

  .stitched-name {
    font-size: clamp(68px, 24vw, 100px);
  }

  .pathway {
    grid-template-columns: 30px 1fr auto;
    gap: 9px;
  }

  .pathway:hover,
  .pathway:focus-visible {
    padding-inline: 10px;
  }

  .pathway-title {
    font-size: 29px;
  }

  .pathway-description {
    font-size: 12px;
  }

  .pathway-arrow {
    width: 38px;
    height: 38px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 88%;
  }

  .interests-heading {
    grid-template-columns: 1fr;
  }

  .interest-card {
    display: flex;
  }

  .interest-visual {
    height: 190px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
