/* ============================================================
   Portfolio — styles
   Palette + type modelled on a bold, clean designer portfolio.
   ============================================================ */

:root {
  --ink: #101010;
  --paper: #ffffff;
  --blue: #0260f6;
  --blue-deep: #2140f0;
  --orange: #ff4713;
  --cream: #f4eac7;
  --green: #1a7349;
  --card-dark: #111111;
  --muted: #6b6b6b;

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 5vw, 77px);
  --radius: 8px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.container {
  width: min(var(--container), 100% - 2 * 16px);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
}

.logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
  display: inline-flex;
}
.logo span:nth-child(1) { color: var(--blue); }
.logo span:nth-child(2) {
  background: linear-gradient(160deg, var(--orange) 10%, var(--blue) 60%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: -0.08em;
}

.nav { display: flex; gap: 37px; }
.nav a {
  font-size: 16px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: currentColor; }

.page-dark .site-header .nav a { color: #fff; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  padding: 26px 40px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: #0050d4; }
.btn:active { transform: scale(0.98); }

.text-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Hero (home) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0 120px;
}

.hero h1 {
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero .lede {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 40px 0 50px;
  max-width: 440px;
}

/* Tilted name card */
.hero-art {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
  padding-top: 40px;
}

.name-card {
  position: relative;
  aspect-ratio: 430 / 500;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--orange) 0%, #7a4ea0 45%, var(--blue) 75%);
  transform: rotate(4deg);
  padding: 26px 26px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(2, 96, 246, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-art:hover .name-card { transform: rotate(2deg) translateY(-4px); }

.name-card .photo {
  aspect-ratio: 380 / 240;
  background: #d9d9d9;
  overflow: hidden;
  filter: grayscale(1);
  display: grid;
  place-items: center;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.name-card .photo img { width: 100%; height: 100%; object-fit: cover; }

.name-card .name {
  font-family: "Archivo Black", var(--font-head);
  color: var(--cream);
  text-align: center;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  flex: 1;
  display: grid;
  place-items: center;
}

.sticker {
  position: absolute;
  top: 0;
  left: -70px;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: var(--cream);
  z-index: 2;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.sticker svg { width: 100%; height: 100%; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

/* ---------- Selected works ---------- */
.works { padding-bottom: 40px; }
.works > h2 {
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.11;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.work {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 75px;
  align-items: start;
  margin-bottom: 70px;
}
.work.reverse { grid-template-columns: 7fr 5fr; }
.work.reverse .work-media { order: -1; }
.work .work-text { padding-top: 50px; }
.work.reverse .work-text { padding-top: 50px; align-self: center; }

.work h4 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.work h4 a { text-decoration: none; }
.work p.desc { margin: 14px 0 18px; max-width: 400px; }

.work-media {
  display: block;
  aspect-ratio: 674 / 417;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.work-media:hover img,
.work-media:hover .ph { transform: scale(1.03); }

/* Placeholder project tiles — swap for <img src="..."> */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ph span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.03em;
}
.ph-1 { background: linear-gradient(180deg, #ebebeb 55%, #e7a3b5 85%, #a8b2d2 100%); }
.ph-1 span { color: #d23f4f; }
.ph-2 { background: #e2e0dc; }
.ph-2 span { color: #4b6b2e; font-family: "DM Serif Display", serif; font-weight: 400; }
.ph-3 { background: radial-gradient(circle at 50% 40%, #0a4bd1, #0434a8 70%); }
.ph-3 span { color: #fff; }
.ph-4 { background: #c55126; }
.ph-4 span { color: var(--cream); font-family: "DM Serif Display", serif; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 50px 0 90px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.site-footer .f-name { justify-self: start; padding-left: 93px; }
.site-footer .f-mail { justify-self: end; padding-right: 60px; text-decoration: none; }
.site-footer .f-mail:hover { text-decoration: underline; }
.icon-link { display: inline-flex; color: var(--ink); }
.icon-link svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- About ---------- */
.about-intro {
  background: var(--ink);
  color: #fff;
}
.page-dark { background: var(--ink); }
.page-dark .site-header { background: var(--ink); }

.about-intro .inner { padding: 50px 0 110px; max-width: 560px; }
.about-intro .kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.about-intro h1 {
  color: var(--cream);
  font-size: clamp(44px, 5vw, 66px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 36px;
}
.about-intro p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; max-width: 560px; }
.about-intro .btn { margin-top: 70px; }
.socials { display: flex; gap: 22px; margin-top: 40px; }
.socials a { color: #fff; }
.socials svg { width: 30px; height: 30px; fill: currentColor; }

.approach {
  background: var(--paper);
  padding: 10px 0 30px;
}
.approach .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.approach-art {
  aspect-ratio: 553 / 369;
  border-radius: var(--radius);
  background: var(--green);
  position: relative;
  overflow: hidden;
}
.approach-art .card-a,
.approach-art .card-b { position: absolute; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.approach-art .card-a {
  width: 58%; aspect-ratio: 1.6; background: #111; left: -2%; top: 10%;
  transform: rotate(-20deg);
  display: grid; place-items: center;
  color: var(--cream); font-family: "DM Serif Display", serif; font-size: clamp(20px, 3vw, 40px); text-transform: uppercase; line-height: 0.9; text-align: center;
}
.approach-art .card-b {
  width: 62%; aspect-ratio: 1.3; background: var(--blue-deep); right: -4%; top: 22%;
  transform: rotate(2deg);
  display: grid; place-items: center; overflow: hidden;
}
.approach-art .card-b svg { position: absolute; right: -20%; top: -10%; width: 80%; }
.approach-art .card-b b {
  position: relative;
  font-family: "DM Serif Display", serif; font-weight: 400;
  color: var(--cream); font-size: clamp(80px, 13vw, 180px); line-height: 1;
}

.approach h2 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 30px; }
.approach h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 26px; }
.approach p { font-size: 15px; max-width: 460px; margin: 0; }

.process h2 {
  text-align: center;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 40px 0 40px;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}
.step {
  background: var(--card-dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 50px 40px 90px;
  text-align: center;
}
.step .icon { height: 78px; display: grid; place-items: center; margin-bottom: 26px; }
.step .icon svg { height: 78px; width: auto; }
.step h3 { color: var(--cream); font-size: 24px; letter-spacing: -0.01em; margin-bottom: 30px; }
.step p { font-size: 15px; margin: 0 auto; max-width: 360px; }

/* ---------- Contact ---------- */
.contact-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 60px 54px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--orange) 0%, #8a5476 45%, #2c5ad8 75%, var(--blue) 100%);
  margin-top: 30px;
  overflow: hidden;
}
.contact-banner h1 {
  color: var(--cream);
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 30px;
}
.contact-banner p { color: var(--cream); font-size: 14px; margin: 0; max-width: 520px; }
.contact-banner p a { color: inherit; }
.contact-banner .burst svg { width: 96px; height: auto; }

.portrait {
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 1 / 1.1;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--blue) 70%);
  transform: rotate(6deg);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}
.portrait .photo {
  width: 100%; height: 100%;
  background: #cfcfcf;
  filter: grayscale(1);
  display: grid; place-items: center;
  color: #8a8a8a; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden;
}
.portrait .photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-form {
  max-width: 1160px;
  margin: 60px auto 0;
  display: grid;
  gap: 26px;
}
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label,
.contact-form legend { font-size: 14px; display: block; margin-bottom: 8px; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form .req { color: var(--muted); font-size: 12px; margin-left: 4px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fafafa;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .sub { font-size: 12px; color: var(--muted); margin-top: 6px; }
.contact-form .btn { justify-self: start; min-width: 200px; padding: 22px 40px; }
.form-note { font-size: 14px; color: var(--green); min-height: 1.4em; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticker { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 80px; }
  .hero-art { margin-top: 20px; width: min(340px, 80%); }
  .sticker { width: 130px; height: 130px; left: -40px; }
  .work,
  .work.reverse { grid-template-columns: 1fr; gap: 24px; }
  .work.reverse .work-media,
  .work .work-media { order: -1; }
  .work .work-text,
  .work.reverse .work-text { padding-top: 0; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer .f-name,
  .site-footer .f-mail { justify-self: center; padding: 0; }
  .approach .row { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-banner { grid-template-columns: 1fr; padding: 40px 24px; }
  .contact-form .two { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { gap: 18px; }
  .nav a { font-size: 15px; }
  .logo { font-size: 34px; }
  .btn { min-width: 0; width: 100%; }
  .hero .lede { font-size: 19px; margin: 28px 0 36px; }
  .step { padding: 40px 24px 60px; }
}
