/* Tokens from Figma — layout adapted for fluid width */

:root {
  --blue-deep: #015ab5;
  --blue-sky: #8fc5df;
  --cream-page: #fdf3ea;
  --cream-ui: #eae8e0;
  --red-brand: #f8443d;
  --ink: #000000;
  --ink-soft: #333333;
  --muted: #3b3b3b;
  --label-blue: #10619f;
  --nav-rule: #333333;
  --font-display: "Londrina Solid", system-ui, sans-serif;
  --font-body: Poppins, system-ui, sans-serif;
  --font-prose: Arial, Helvetica, sans-serif;
  /* PP Right Grotesk is licensed; Bebas Neue approximates the condensed poster look on the web */
  --font-grotesk: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
}

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

html {
  margin: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-soft);
  /* One gradient for the full document height (not tiled to the viewport) */
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-sky) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: scroll;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--ink);
  min-height: 100vh;
}

.shell {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.frame-card {
  width: 100%;
  max-width: 1360px;
  border: 4px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-page);
}

.nav-strip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: var(--red-brand);
  border-bottom: 4px solid var(--nav-rule);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.nav-strip__label {
  margin: 0;
  padding: clamp(14px, 2.8vw, 28px) clamp(12px, 3vw, 24px);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.6875rem, 1.35vw, 1rem);
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero {
  /* Matches merged hero PNG artboard */
  background: var(--cream-ui);
  /* No top/side padding so hero image can sit flush */
  padding: 0 0 clamp(40px, 8vw, 100px);
  isolation: isolate;
}

.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__art {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.recent {
  /* Same surface as .hero so the band reads as one continuous piece */
  background: var(--cream-ui);
}

.recent__pad {
  padding: 0 clamp(24px, 8vw, 100px) clamp(48px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.33;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.recent__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 40px);
}

.recent__poster {
  margin: 0;
  flex: 0 1 457px;
  max-width: 100%;
}

.recent__poster-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  line-height: 0;
  text-align: left;
}

.recent__poster-btn:focus-visible {
  outline: 3px solid var(--red-brand);
  outline-offset: 4px;
}

.recent__poster-btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 457 / 707;
  object-fit: cover;
}

.poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  overscroll-behavior: contain;
}

.poster-lightbox[hidden] {
  display: none;
}

.poster-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.poster-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 44px;
}

.poster-lightbox__viewport {
  position: relative;
  overflow: auto;
  max-height: 78vh;
  max-width: 100%;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  touch-action: pan-x pan-y;
}

.poster-lightbox__viewport.is-grabbing {
  cursor: grabbing;
}

.poster-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.poster-lightbox__tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.poster-lightbox__tool {
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--cream-ui);
  border-radius: 10px;
  background: rgba(30, 30, 30, 0.92);
  color: var(--cream-ui);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.poster-lightbox__tool:hover {
  background: var(--cream-ui);
  color: var(--ink-soft);
}

.poster-lightbox__tool:focus-visible {
  outline: 3px solid var(--cream-ui);
  outline-offset: 2px;
}

.poster-lightbox__hint {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(234, 232, 224, 0.75);
}

.poster-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 10px 16px;
  border: 2px solid var(--cream-ui);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.88);
  color: var(--cream-ui);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.poster-lightbox__close:hover {
  background: var(--cream-ui);
  color: var(--ink-soft);
}

.poster-lightbox__close:focus-visible {
  outline: 3px solid var(--cream-ui);
  outline-offset: 3px;
}

.recent__copy {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 20px);
}

.recent__head-block {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
}

.recent__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.recent__subtitle {
  margin: 0;
  font-family: var(--font-prose);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: var(--ink-soft);
}

.recent__body {
  margin: 0;
  font-family: var(--font-prose);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-soft);
}

.recent__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 20px);
}

.thumb {
  flex: 1 1 160px;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.about {
  background: #ffffff;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 8vw, 200px);
}

.about__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 100px);
}

.about__text {
  flex: 1 1 320px;
  max-width: 480px;
  font-family: var(--font-prose);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-soft);
}

.about__text p {
  margin: 0 0 1em;
}

.about__text ul {
  margin: 0 0 1em 1.1em;
  padding: 0;
}

.about__text li {
  margin-bottom: 0.5em;
}

.about__title {
  margin: 0 0 0.35em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about__art {
  flex: 0 1 380px;
  max-width: 100%;
}

.projects {
  background: #ffffff;
  border-radius: 30px 0 20px 20px;
  padding: clamp(48px, 8vw, 100px) 0 0;
  text-align: center;
}

.projects__title {
  margin: 0 auto 0.35em;
  padding: 0 clamp(16px, 4vw, 24px);
  max-width: 1200px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.projects__row {
  padding: 20px clamp(16px, 3vw, 20px) clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
}

.project-card {
  position: relative;
  flex: 1 1 240px;
  max-width: 427px;
  min-height: 280px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253, 243, 234, 0.28);
  pointer-events: none;
}

.project-card__label {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-prose);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: var(--label-blue);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.below {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 80px);
  gap: clamp(40px, 6vw, 80px);
}

.below__raccoon {
  display: block;
  max-width: min(688px, 100%);
  height: auto;
}

.below__chat {
  text-align: center;
  max-width: 900px;
}

.below__display {
  margin: 0 0 0.2em;
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(4rem, 18vw, 12.5rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--cream-ui);
  letter-spacing: 0.02em;
}

.below__intro {
  margin: 0 0 0.75em;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--cream-ui);
}

.contact-blocks {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vw, 48px);
  text-align: center;
}

.contact-blocks__group {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.contact-blocks__label {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--cream-ui);
}

.contact-blocks__value {
  margin: 0;
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream-ui);
}

.contact-blocks__value a[href^="mailto:"] {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
}

.contact-blocks__value a[href^="mailto:"]:hover {
  text-decoration: underline;
  filter: brightness(1.08);
}

/* Phone: same look as body text, not styled like the email link */
.contact-blocks__value a[href^="tel:"] {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-blocks__value a[href^="tel:"]:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

@media (max-width: 720px) {
  .thumb {
    min-height: 180px;
    flex: 1 1 100%;
  }
}
