/* --------------------------------------- */
/* ----- Basic Setup ----- */
/* --------------------------------------- */
 
* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
 @font-face {
  font-family: 'Oliver';
  src: url('./fonts/Oliver-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Hunter Script';
  src: url('./fonts/Hunter Script.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
:root {
  --cream:       #f5f0e8;
  --cream-dark:  #ede5d0;
  --kraft:       #c8a97a;
  --kraft-dark:  #a07850;
  --ink:         #383838;
  --ink-muted:   #4a4540;
  --rust:        #b84c2b;
  --sage:        #6b8c6a;
  --denim:       #7f9dbb;
  --tape-yellow: rgba(255, 235, 150, 0.75);
  --tape-blue:   rgba(180, 210, 230, 0.75);
  --paper-white: #faf7f2;
  --grid-line:   rgba(100, 120, 160, 0.12);
 
  /* Typography */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-body:     'Libre Baskerville', Georgia, serif;
  --font-stamp: 'Roboto Condensed', sans-serif;
 
  /* Sizes */
  --font-size-small:  1.6rem;
  --font-size-normal: 1.9rem;
  --font-size-medium: 2.6rem;
  --font-size-large:  4.2rem;
  --font-size-huge:   7rem;
 
  /* Spacing */
  --gutter-huge:   11rem;
  --gutter-medium: 5rem;
  --gutter-normal: 3rem;
  --gutter-small:  1.8rem;
 
  /* Layout */
  --container-max-width: 1160px;
  --container-medium:    760px;
 
  /* Borders */
  --border-kraft: 1px solid rgba(160, 120, 80, 0.3);
}
 
html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
 
@media (max-width: 1000px) {
  html { font-size: 54%; }
}
@media (max-width: 600px) {
  html { font-size: 48%; }
}
 
body {
  font-size: var(--font-size-normal);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.75;
  background-color: var(--cream);
  overflow-x: hidden;
}
 
.row {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--gutter-normal);
}
 
section {
  padding: var(--gutter-huge) 0;
  border-bottom: var(--border-kraft);
}
 
img {
  object-fit: contain;
  max-width: 100%;
}
 
/* --------------------------------------- */
/* ----- Grid Background ----- */
/* --------------------------------------- */
 
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
 
/* --------------------------------------- */
/* ----- Tape Decorations ----- */
/* --------------------------------------- */
 
.tape-img {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.tape-img--top {
  top: -2rem;
  left: -12rem;
  width: 40rem;
  transform: rotate(-3deg);
}

.tape-img--top-center {
  top: -1.9rem;
  left: 50%;
  width: 26rem;
  padding-top: 40px;
  transform: translateX(-140%) rotate(-20deg);
}

.tape-img--corner {
  top: -2.2rem;
  left: 1.6rem;
  width: 9.8rem;
  transform: rotate(-5deg);
}

.tape-img--corner.tape-img--right {
  left: auto;
  right: 1.6rem;
  transform: rotate(4deg);
}

.tape-img--photo {
  top: -2.2rem;
  left: 50%;
  width: 20rem;
  transform: translateX(-50%) rotate(-2deg);
}
 
/* --------------------------------------- */
/* ----- Section Labels ----- */
/* --------------------------------------- */
 
.section-label {
  margin-bottom: var(--gutter-medium);
}
 
.section-tag {
  font-family: var(--font-stamp);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kraft-dark);
  display: block;
  margin-bottom: 0.8rem;
}
 
/* --------------------------------------- */
/* ----- Paper Cards ----- */
/* --------------------------------------- */
 
.paper-card {
  position: relative;
  background: url('./images/tanpaper.png') center/128% 128% no-repeat;
  padding: 4.8rem 4.4rem 4.2rem;
  border: none;
  box-shadow: none;
}
 
/* --------------------------------------- */
/* ----- Typography ----- */
/* --------------------------------------- */
 
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
 
.heading-primary {
  font-family: var(--font-serif);
  font-size: var(--font-size-huge);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  position: relative;
  z-index: 4;
}
 
.heading-primary span {
  font-style: normal;
  position: relative;
  z-index: 4;
}
 
@media (max-width: 900px) {
  .heading-primary { font-size: 5.5rem; }
}
@media (max-width: 500px) {
  .heading-primary { font-size: 4.2rem; }
}
 
h2 {
  font-size: var(--font-size-large);
  margin-bottom: 1.5rem;
  position: relative;
}
 
h3 {
  font-size: 2.6rem;
  margin-bottom: var(--gutter-small);
  font-style: italic;
}
 
p {
  margin: var(--gutter-small) 0;
  color: var(--ink-muted);
}

.about__text {
  background-size: 140% 140%;
  background-position: center;
  background-image:
    linear-gradient(rgba(255, 250, 242, 0.34), rgba(255, 250, 242, 0.34)),
    url('./images/tanpaper.png');
}

.about__text p {
  font-size: 1.42rem;
  line-height: 1.45;
  margin: 0 0 1.6rem;
}
 
/* --------------------------------------- */
/* ----- Focus / Accessibility ----- */
/* --------------------------------------- */
 
button:focus, a:focus {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) a:focus {
  outline: none;
}
 
/* --------------------------------------- */
/* ----- Buttons & Links ----- */
/* --------------------------------------- */
 
a {
  color: var(--ink);
  font-family: var(--font-stamp);
  text-decoration: none;
  transition: all 0.2s;
}
 
.btn {
  display: inline-block;
  padding: 1.1rem 2.8rem 1.2rem;
  border: 1.5px solid rgba(184, 76, 43, 0.45);
  font-family: var(--font-stamp);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--rust);
  text-decoration: none;
  position: relative;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  background: transparent;
  border-radius: 999px;
  overflow: hidden;
}
 
.btn::after {
  display: none;
}
 
.btn:hover {
  background: rgba(184, 76, 43, 0.08);
  color: var(--rust);
  border-color: rgba(184, 76, 43, 0.6);
  transform: translateY(-1px);
}
 
.btn--dark {
  background: transparent;
  color: var(--rust);
  border-color: rgba(184, 76, 43, 0.45);
}
 
.btn--dark:hover {
  background: rgba(184, 76, 43, 0.08);
  border-color: rgba(184, 76, 43, 0.6);
  color: var(--rust);
}
 
.link__text {
  font-family: var(--font-stamp);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--rust);
  color: var(--ink);
  display: inline-block;
}
 
.link__text:hover {
  color: var(--rust);
}
 
.link__text span {
  padding-left: 0.4rem;
}
 
.link:hover {
  color: var(--rust);
}
 
/* --------------------------------------- */
/* ----- Back to Top ----- */
/* --------------------------------------- */
 
.back-to-top {
  position: fixed;
  bottom: 3.5rem;
  right: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7rem;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  transform: scale(0);
}
 
.back-to-top__image {
  width: 100%;
  height: auto;
}
 
@media (max-width: 500px) {
  .back-to-top { right: 1.5rem; bottom: 2rem; }
}
 
/* --------------------------------------- */
/* ----- Navigation ----- */
/* --------------------------------------- */
 
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2.8rem 0;
  gap: 3rem;
}

.nav__logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: fit-content;
}

.nav__logo-video {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 10rem;
  width: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 2;
  mix-blend-mode: multiply;
}
 
.nav__logo {
  height: 10rem;
  width: auto;
  opacity: 0.85;
  mix-blend-mode: multiply;
  position: relative;
  z-index: 1;
  transition: opacity 0.18s ease;
}

.nav__logo-link.nav__logo-link--playing .nav__logo,
.nav__logo-link:hover .nav__logo,
.nav__logo-link:focus-visible .nav__logo {
  opacity: 0;
}

.nav__logo-link.nav__logo-link--playing .nav__logo-video,
.nav__logo-link:hover .nav__logo-video,
.nav__logo-link:focus-visible .nav__logo-video {
  opacity: 1;
}
 
.nav__items {
  display: flex;
  list-style: none;
  gap: 4.5rem;
  align-items: center;
}

.nav__items--left {
  justify-content: flex-end;
}

.nav__items--right {
  justify-content: flex-start;
}
 
.nav__link {
  font-family: var(--font-stamp);
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.6rem;
  min-height: 4.8rem;
  transition: color 0.2s, font-weight 0.2s;
}

.nav__link-text {
  position: relative;
  z-index: 2;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.nav__link--active {
  color: var(--ink);
  font-weight: 700;
}
 
@media (max-width: 500px) {
  .nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }
  .nav__items {
    gap: var(--gutter-normal);
    justify-content: center;
    flex-wrap: wrap;
  }
}
 
/* --------------------------------------- */
/* ----- Header ----- */
/* --------------------------------------- */
 
.header {
  position: relative;
  background-color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: var(--border-kraft);
}
 
/* Subtle paper texture via pseudo */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(200,170,100,0.12) 0%, transparent 65%);
  pointer-events: none;
}
 
.header__text-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  gap: var(--gutter-normal);
}
 
.header__text {
  position: relative;
  max-width: 58rem;
}
 
.header__eyebrow {
  font-family: var(--font-stamp);
  font-size: 1.9rem;
  letter-spacing: 0.26em;
  color: var(--kraft-dark);
  margin-bottom: 2.6rem;
  margin-top: 0;
  position: relative;
  z-index: 3;
  padding: 1.6rem 0 0 1.1rem;
  display: inline-block;
}
 
.header__sub {
  font-family: 'Hunter Script', var(--font-body);
  font-size: 4rem;
  font-style: normal;
  color: var(--ink-muted);
  margin: 2.6rem 0 4rem;
  line-height: 1.5;
}
 
/* Decorative card cluster */
.header__deco {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.hero-polaroid {
  width: 30rem;
  max-width: 100%;
  transform: rotate(3deg);
}

.about,
.contact {
  position: relative;
}

.page-flower {
  position: absolute;
  width: 11rem;
  pointer-events: none;
  opacity: 0.82;
  z-index: 1;
}

.page-flower--header {
  top: 16rem;
  right: 5rem;
  transform: rotate(12deg);
}

.page-flower--about {
  top: 7rem;
  left: 4rem;
  transform: rotate(-14deg);
}

.page-flower--contact {
  right: 5rem;
  bottom: 4rem;
  transform: rotate(8deg);
}

.page-flower--hero-left {
  top: 18rem;
  left: 4rem;
  width: 16rem;
  transform: rotate(-8deg);
}

.page-flower--work-right {
  top: 16rem;
  right: 2rem;
  width: 14rem;
  transform: rotate(12deg);
}

.page-flower--skills-left {
  top: 12rem;
  left: 2rem;
  width: 13rem;
  transform: rotate(-14deg);
}

.page-flower--contact-left {
  left: 2rem;
  bottom: 8rem;
  width: 12rem;
  transform: rotate(-10deg);
}
 
.deco-card {
  background: url('./images/ticket.png') center/100% 100% no-repeat;
  border: none;
  padding: 2.3rem 3rem;
  box-shadow: none;
}
 
.deco-card--1 {
  transform: rotate(2.5deg);
}
 
.deco-card--2 {
  transform: rotate(-1.5deg);
}
 
.deco-label {
  font-family: 'Hunter Script', var(--font-stamp);
  font-size: 3.6rem;
  color: var(--ink);
  letter-spacing: 0.05em;
  display: inline-block;
  line-height: 1.05;
}

.deco-label:hover {
  color: var(--rust);
}
 
.stamp {
  font-family: var(--font-stamp);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  color: var(--rust);
  border: 2px solid var(--rust);
  padding: 0.8rem 1.4rem;
  display: inline-block;
  transform: rotate(-4deg);
  opacity: 0.85;
}
 
@media (max-width: 860px) {
  .header__deco { display: none; }
}
 
/* --------------------------------------- */
/* ----- Marquee Ticker ----- */
/* --------------------------------------- */
 
.marquee-wrap {
  background: var(--denim);
  overflow: hidden;
  padding: 1.2rem 0;
  white-space: nowrap;
  margin-top: -2.2rem;
}
 
.marquee {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
 /* ------hide marquee text for now------- */
.marquee span {
  display:none;
}
 
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
 
/* --------------------------------------- */
/* ----- Work ----- */
/* --------------------------------------- */
 
.work__boxes {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
 
.work__box {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: var(--gutter-medium);
}

.work__text {
  max-width: 40rem;
  justify-self: start;
}

.work__text h3 {
  font-size: 2.1rem;
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.work__text p {
  font-size: 1.45rem;
  margin: 0 0 1.4rem;
  line-height: 1.4;
}
 
.work__box--reverse {
  grid-template-columns: 1.4fr 1fr;
}
 
.work__box--reverse .work__text {
  order: 2;
}
 
.work__box--reverse .work__image-box {
  order: 1;
}
 
@media (max-width: 860px) {
  .work__box,
  .work__box--reverse {
    grid-template-columns: 1fr;
  }
  .work__box--reverse .work__text { order: 2; }
  .work__box--reverse .work__image-box { order: 1; }
}
 
.work__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}
 
.work__list li {
  font-family: var(--font-stamp);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  background: var(--cream-dark);
  border: 1px solid var(--kraft);
  padding: 0.28rem 0.8rem;
  color: var(--ink-muted);
  border-radius: 999px;
}
 
.work__links {
  display: flex;
  align-items: center;
  gap: var(--gutter-normal);
  margin-top: 0;
}
 
.work__code {
  height: 2.4rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  filter: sepia(0.4);
}
 
.work__code:hover {
  opacity: 1;
  transform: scale(1.1);
}
 
/* Image frames */
.image-frame {
  border: 1px solid rgba(160, 130, 80, 0.3);
  box-shadow: none;
  overflow: hidden;
  background: var(--cream-dark);
}
 
.image-frame--tilted {
  transform: rotate(-1.5deg);
}
 
.work__image {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
 
.image-frame:hover .work__image {
  transform: none;
}
 
/* --------------------------------------- */
/* ----- Clients ----- */
/* --------------------------------------- */
 
.client__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter-normal);
  flex-wrap: wrap;
}
 
.client__logo {
  height: 5.5rem;
  max-width: 15rem;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
}

.client__logos--centered .client__logo:nth-child(4) {
  height: 7.6rem;
}
 
@media (max-width: 700px) {
  .client__logos { gap: 3rem; justify-content: center; }
}
 
/* --------------------------------------- */
/* ----- About ----- */
/* --------------------------------------- */
 
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--gutter-medium);
}
 
@media (max-width: 860px) {
  .about__content { grid-template-columns: 1fr; }
}
 
.about__photo-container {
  display: flex;
  justify-content: center;
}

.about__polaroid-image {
  width: 34rem;
  max-width: 100%;
  padding-top: 3rem;
  transform: translateY(6rem) rotate(-5deg);
}
 
/* --------------------------------------- */
/* ----- Contact ----- */
/* --------------------------------------- */
 
.contact__card {
  max-width: 104rem;
  margin: 0 auto;
  text-align: left;
}

.contact .section-label {
  text-align: center;
  margin-bottom: 0.8rem;
}

.contact .section-tag {
  display: none;
}

.contact h2 {
  margin-bottom: 0.4rem;
}
 
.contact-note {
  position: relative;
  max-width: 98rem;
  margin: 0 auto;
  min-height: 74rem;
}

.contact-note__bg {
  width: 100%;
  height: auto;
  display: block;
}

.contact-note__content {
  position: absolute;
  inset: 8.6% 8.5% 7.5% 15%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-note__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-note__field label {
  font-family: var(--font-stamp);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.82;
}

.contact-note__field input,
.contact-note__field textarea {
  width: 92%;
  border: 1px solid rgba(74, 69, 64, 0.16);
  border-radius: 1.4rem;
  background: rgba(255, 252, 247, 0.72);
  padding: 1.1rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ink);
  resize: none;
  box-shadow: none;
}

.contact-note__field input::placeholder,
.contact-note__field textarea::placeholder {
  color: rgba(74, 69, 64, 0.6);
}

.contact-note__field input:focus,
.contact-note__field textarea:focus {
  outline: none;
  border-color: rgba(184, 76, 43, 0.55);
  background: rgba(255, 252, 247, 0.88);
}

.contact-note__field--message {
  flex: 1;
}

.contact-note__field--message textarea {
  min-height: 12rem;
}

.contact-note__actions {
  padding-top: 0.4rem;
  margin-top: auto;
  align-self: flex-start;
  transform: translateY(-12rem);
}

.contact-note__actions .btn {
  transform: none;
}

.contact-note__actions .btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .contact-note__bg {
    display: none;
  }

  .contact-note__content {
    position: static;
    inset: auto;
    padding: 2.8rem 2.2rem;
    margin-top: 0;
    background: url('./images/note.png') center/cover no-repeat;
  }

  .contact-note__actions {
    margin-top: 0;
    transform: none;
  }

  .contact-note__actions .btn,
  .contact-note__actions .btn:hover {
    transform: none;
  }

  .page-flower {
    width: 8rem;
  }
}
 
/* --------------------------------------- */
/* ----- Footer ----- */
/* --------------------------------------- */
 
.footer {
  text-align: center;
  padding: var(--gutter-medium) 0 var(--gutter-normal);
  background: var(--cream-dark);
}
 
.footer__social-links {
  display: flex;
  justify-content: center;
  padding: var(--gutter-normal) 0;
  list-style: none;
  gap: var(--gutter-normal);
}

.footer__social-link-item a {
  width: 4.8rem;
  height: 4.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
 
.footer__social-image {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
  opacity: 0.82;
  transition: opacity 0.2s;
  filter: sepia(0.3);
}

.footer__social-image:hover {
  opacity: 1;
}

a[href*="github"] .footer__social-image,
a[href*="github"] img {
  opacity: 1;
  filter: none;
}
 
.footer__credit {
  font-family: var(--font-stamp);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 0;
}
 
.footer__credit .link:hover {
  color: var(--rust);
}

/* --------------------------------------- */
/* ----- Wireframe Refresh ----- */
/* --------------------------------------- */

.header--wireframe {
  min-height: auto;
  padding-bottom: 6rem;
}

.header--wireframe .grid-bg {
  opacity: 0.45;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(26rem, 40rem) 1fr;
  gap: 6rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.home-hero__media {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 4;
}

.home-hero__polaroid {
  width: 100%;
  max-width: 38rem;
  opacity: 1;
  background: transparent;
  mix-blend-mode: normal;
  display: block;
}

.home-hero__content {
  max-width: 64rem;
  position: relative;
  z-index: 3;
}

.home-hero__title {
  font-family: 'Oliver', normal;
  font-size: 7rem;
  line-height: 1;
  margin: 1rem 0 1.2rem;
  position: relative;
  z-index: 5;
}

.home-hero__summary,
.section-copy {
  max-width: 62rem;
  font-size: 1.6rem;
  line-height: 1.7;
  margin: 0 auto;
  color: var(--ink-muted);
}

.home-hero__summary {
  margin: 0 0 2.8rem;
}

.hero-cert {
  margin: -1.4rem 0 2.6rem;
  font-family: var(--font-stamp);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.hero-cert strong {
  font-weight: 700;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin: 0 0 2.8rem;
}

.hero-stat {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(160, 120, 80, 0.3);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-stamp);
  font-size: 3rem;
  color: var(--ink);
}

.hero-stat span {
  font-family: var(--font-stamp);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kraft-dark);
}

.home-hero__actions {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.homepage-main {
  padding-bottom: 5rem;
}

.wire-section {
  padding: 9rem 0;
  border-bottom: none;
}

.wire-section--soft {
  background: rgba(255, 255, 255, 0.35);
}

.section-heading {
  margin-bottom: 4rem;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .section-copy {
  margin-top: 1.2rem;
}

.feature-grid {
  display: grid;
  gap: 2.4rem;
}

.feature-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.project-card,
.contact-mini-card,
.faq-sidecard,
.contact-banner {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(160, 120, 80, 0.2);
  border-radius: 2.4rem;
  padding: 2.6rem;
}

.feature-card h3,
.project-card h3,
.faq-sidecard h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-style: normal;
}

.client__logos--centered {
  justify-content: center;
  gap: 4rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2.6rem;
}

.project-card__image {
  width: 100%;
  height: 24rem;
  display: block;
  border-radius: 1.8rem;
  margin-bottom: 1.8rem;
  object-fit: cover;
  object-position: top center;
}

.project-card__link {
  display: block;
}

.project-card__image--contain {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.62);
  padding: 1.2rem;
}

.project-card__body h3 a {
  color: var(--rust);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.22rem;
  text-decoration-color: rgba(184, 76, 43, 0.55);
  transition: color 0.2s ease, text-decoration-color 0.2s ease, letter-spacing 0.2s ease;
}

.project-card__body h3 a:hover,
.project-card__body h3 a:focus {
  color: #8f351d;
  text-decoration-color: #8f351d;
  letter-spacing: 0.02em;
}

.project-card__body p {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  line-height: 1.6;
}

.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-note {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2.8rem;
  padding: 3rem;
  border: 1px solid rgba(160, 120, 80, 0.15);
}

.about-note p {
  font-size: 1.55rem;
  line-height: 1.75;
}

.resume-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.resume-links__label {
  font-family: var(--font-stamp);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kraft-dark);
}

.contact-banner {
  text-align: center;
  margin-bottom: 2.2rem;
  background: transparent;
  border: 0;
  padding: 0;
}

.contact-layout__grid {
  display: grid;
  grid-template-columns: 28rem 1fr;
  gap: 2.6rem;
  margin-bottom: 4rem;
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-mini-card span {
  display: block;
  font-family: var(--font-stamp);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kraft-dark);
  margin-bottom: 0.8rem;
}

.contact-mini-card a,
.contact-mini-card p {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.contact-mini-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.contact-mini-card__row p,
.contact-mini-card__row a {
  flex: 1;
}

.copy-btn {
  position: relative;
  border: 1px solid rgba(160, 120, 80, 0.28);
  background: rgba(255, 255, 255, 0.8);
  color: var(--kraft-dark);
  border-radius: 999px;
  width: 4.2rem;
  height: 4.2rem;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.copy-btn:hover {
  color: var(--rust);
  border-color: rgba(184, 76, 43, 0.35);
}

.copy-btn::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background: url("./images/copy-icon.avif") center / contain no-repeat;
  opacity: 0.95;
}

.copy-btn::after {
  content: attr(data-status);
  position: absolute;
  bottom: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-stamp);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(56, 56, 56, 0.92);
  color: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.copy-btn[data-status]:not([data-status=""])::after {
  opacity: 1;
}

.copy-btn:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.case-study {
  display: grid;
  gap: 3rem;
}

.case-study__intro {
  max-width: 70rem;
}

.case-study__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(34rem, 0.95fr);
  gap: 2.4rem;
  align-items: start;
}

.case-study__actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 2.4rem 0 1.4rem;
}

.case-study__note {
  margin: 0 0 2rem;
  padding: 1rem 1.4rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(160, 120, 80, 0.16);
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.btn--architect-mini {
  border: 0;
  color: #244f8f;
  background:
    linear-gradient(135deg, rgba(255, 232, 197, 0.95), rgba(224, 241, 255, 0.96) 42%, rgba(233, 220, 255, 0.98));
  box-shadow:
    0 0 0 1px rgba(196, 204, 255, 0.6),
    0 10px 30px rgba(145, 156, 236, 0.22),
    0 0 30px rgba(255, 219, 188, 0.4);
}

.btn--architect-mini:hover {
  background:
    linear-gradient(135deg, rgba(255, 236, 208, 1), rgba(232, 245, 255, 1) 42%, rgba(238, 226, 255, 1));
  border-color: transparent;
  color: #1d457f;
  box-shadow:
    0 0 0 1px rgba(196, 204, 255, 0.75),
    0 14px 36px rgba(145, 156, 236, 0.28),
    0 0 36px rgba(255, 219, 188, 0.46);
}

.case-study__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}

.case-study__figure {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(160, 120, 80, 0.2);
  border-radius: 2.4rem;
  padding: 2rem;
}

.case-study__image {
  width: 100%;
  display: block;
  border-radius: 1.8rem;
  margin-bottom: 1.6rem;
}

.case-study__figure p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.65;
}

.case-study__figure--hero {
  margin: 0;
}

.case-study__text-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-style: normal;
}

.case-study__text-card p {
  margin: 0;
}

.case-study__image--contain {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.58);
  padding: 1rem;
}

.case-study__image--board {
  max-height: 58rem;
}

.reveal-section {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.prototype-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}

.prototype-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.prototype-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 20, 0.54);
  backdrop-filter: blur(6px);
}

.prototype-modal__dialog {
  position: relative;
  width: min(120rem, 100%);
  max-height: calc(100vh - 4.8rem);
  background: rgba(250, 247, 242, 0.98);
  border: 1px solid rgba(160, 120, 80, 0.2);
  border-radius: 2.8rem;
  box-shadow: 0 24px 70px rgba(56, 56, 56, 0.2);
  padding: 2.2rem;
  overflow: hidden;
}

.prototype-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.prototype-modal__header h2 {
  margin-bottom: 0;
}

.prototype-modal__close {
  border: 1px solid rgba(160, 120, 80, 0.28);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-radius: 999px;
  width: 4.4rem;
  height: 4.4rem;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
}

.prototype-modal__frame-wrap {
  height: min(82vh, 88rem);
  border-radius: 2rem;
  overflow: hidden;
  background: #f4f3f8;
  border: 1px solid rgba(160, 120, 80, 0.14);
}

.prototype-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #f4f3f8;
}

.contact-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-socials a {
  width: 4.2rem;
  height: 4.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-socials img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
  display: block;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 2.6rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(160, 120, 80, 0.18);
  border-radius: 2rem;
  padding: 1.8rem 2rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  font-family: var(--font-stamp);
  font-size: 1.45rem;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  border-right: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -0.3rem;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.3rem;
}

.faq-list details p {
  margin-top: 1rem;
  font-size: 1.45rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .home-hero,
  .about-split,
  .contact-layout__grid,
  .faq-grid,
  .feature-grid--three,
  .project-grid,
  .case-study__gallery {
    grid-template-columns: 1fr;
  }

  .home-hero__stats {
    grid-template-columns: 1fr;
  }

  .case-study__top {
    grid-template-columns: 1fr;
  }

  .prototype-modal {
    padding: 1.4rem;
  }

  .prototype-modal__dialog {
    max-height: calc(100vh - 2.8rem);
    padding: 1.6rem;
  }

  .prototype-modal__frame-wrap {
    height: 72vh;
  }
}

@media (max-width: 700px) {
  .prototype-modal__frame-wrap {
    height: 58vh;
  }

  .prototype-modal__frame {
    width: 135%;
    height: 135%;
    transform: scale(0.74);
    transform-origin: top left;
  }
}
 
