/* Dayo Loba portfolio — responsive stylesheet */
:root {
  --paper: #f7f5f0;
  --white: #fffefa;
  --ink: #20211f;
  --muted: #77776f;
  --line: #dedbd3;
  --accent: #b7a48b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

button, input {
  font: inherit;
}

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

img {
  height: auto;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 em, h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

section[id] {
  scroll-margin-top: 24px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(247, 245, 240, .96);
  border-bottom: 1px solid rgba(32, 33, 31, .08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  flex: 0 0 auto;
  font: 800 27px/1 var(--display);
  letter-spacing: -2px;
}

.wordmark span {
  color: #9e8060;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  color: #565650;
}

.nav-links a {
  font-size: 15px;
  transition: color .2s ease;
}

.nav-links a:hover, .text-link:hover {
  color: #9a7957;
}

.nav-links .nav-contact {
  padding: 10px 16px;
  border: 1px solid #c9c5bc;
  border-radius: 99px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-contact span {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  padding-block: 72px 86px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.6;
  color: #77746b;
  margin: 0 0 23px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #829277;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(130,146,119,.12);
}

h1 {
  font: 600 clamp(46px, 5.4vw, 76px)/1.07 var(--display);
  letter-spacing: clamp(-4.8px, -.32vw, -2px);
  margin-bottom: 26px;
}

h1 em, h2 em {
  color: #9e8060;
}

.hero-description {
  max-width: 540px;
  color: #66665e;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #41413a;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #bcb6aa;
  padding-bottom: 5px;
  line-height: 1.5;
}

.text-link span {
  margin-left: 2px;
}

.whatsapp-link {
  color: #287a50;
}

.whatsapp-link:hover {
  color: #185b39;
}

.hero-footnote {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 54px;
  font-size: 13px;
  line-height: 1.5;
  color: #77776f;
}

.footnote-line {
  width: 34px;
  height: 1px;
  background: #c9c4b8;
}

/* Hero artwork */
.hero-art {
  min-width: 0;
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px;
  isolation: isolate;
}

.art-orbit {
  position: absolute;
  border: 1px solid #d5cfc3;
  border-radius: 50%;
  transform: rotate(-25deg);
  pointer-events: none;
}

.orbit-one {
  width: min(410px, 100%);
  height: 270px;
}

.orbit-two {
  width: min(330px, 82%);
  height: 390px;
  transform: rotate(35deg);
}

.art-card {
  width: min(320px, 75%);
  aspect-ratio: .83;
  background: #d8cbbc;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 22px 55px rgba(67,54,39,.13);
  transform: rotate(4deg);
  overflow: hidden;
}

.art-card::before, .art-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  pointer-events: none;
}

.art-card::before {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 60px;
}

.art-card::after {
  width: 200px;
  height: 200px;
  left: -100px;
  bottom: -60px;
}

.art-kicker {
  position: relative;
  z-index: 1;
  font-size: 8px;
  letter-spacing: 1.7px;
  white-space: nowrap;
}

.art-monogram {
  position: relative;
  z-index: 1;
  font: 400 clamp(120px, 14vw, 190px)/.8 var(--serif);
  color: #20211f;
  letter-spacing: -.12em;
  white-space: nowrap;
}

.art-monogram span {
  color: #927a5d;
}

.art-card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  letter-spacing: .2px;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 16px);
  background: var(--white);
  border: 1px solid #e5e0d6;
  box-shadow: 0 10px 30px rgba(30,30,25,.05);
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.6;
}

.note-top {
  top: 52px;
  right: 0;
  transform: rotate(2deg);
}

.note-top span {
  font-size: 21px;
  color: #9e8060;
}

.note-bottom {
  bottom: 8px;
  left: 0;
  transform: rotate(-2deg);
}

.note-number {
  font: 28px var(--serif);
  color: #9e8060;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

/* Continuous services ticker */
.ticker {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  border-block: 1px solid #9e8060;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  padding: 17px 0;
  color: white;
  font: 15px var(--serif);
  animation: ticker-train 45s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
}

.ticker-group b {
  font-weight: 400;
  color: #c8b296;
}

@keyframes ticker-train {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333333%);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ticker:hover .ticker-track {
    animation-play-state: paused;
  }
}

/* Sections and projects */
.section {
  padding-block: 120px;
}

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

.section-heading .eyebrow {
  margin-bottom: 17px;
}

h2 {
  font: 600 clamp(38px, 4.4vw, 56px)/1.1 var(--display);
  letter-spacing: -2.8px;
  margin-bottom: 0;
}

.section-intro {
  max-width: 430px;
  color: #77776f;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 5px;
}

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

.project-card {
  min-width: 0;
}

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

.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: clamp(12px, 2.5vw, 24px);
  overflow: hidden;
  box-sizing: border-box;
  transition: transform .3s ease;
}

.project-featured .project-visual {
  min-height: 0;
}

.project-visual:hover {
  transform: translateY(-3px);
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.visual-fabric {
  background: #b9a78d;
}

.visual-visora {
  background: #d7d8d0;
}

.visual-vanilla {
  background: #252927;
}

.visual-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 13px;
  border-radius: 99px;
  background: rgba(255,254,250,.96);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.project-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 16px;
}

.project-info > div {
  min-width: 0;
}

.project-type {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 1.2px;
  color: #9e8060;
  margin-bottom: 10px;
}

.project-info h3 {
  font: 600 25px/1.3 var(--display);
  letter-spacing: -.7px;
  margin: 7px 0 10px;
}

.project-description {
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.8;
  color: #77776f;
  margin: 0;
}

.project-arrow {
  flex-shrink: 0;
  font-size: 23px;
  line-height: 1.4;
  color: #8b8172;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag-row span {
  border: 1px solid #dcd7cc;
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 12px;
  line-height: 1.5;
  color: #68675f;
}

.work-note {
  grid-column: 1 / -1;
  max-width: 900px;
  justify-self: center;
  text-align: center;
  margin: 58px 0 0;
  font: italic 22px/1.8 var(--serif);
  color: #8b8172;
}

/* About */
.about-section {
  background: #e9e4da;
  padding-block: 105px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.about-heading h2 {
  font-size: clamp(40px, 4.6vw, 59px);
}

.about-copy {
  max-width: 620px;
  padding-top: 25px;
}

.about-copy p {
  color: #68675f;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-copy .about-lead {
  color: #30312d;
  font-size: 22px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.dark-link {
  display: inline-flex;
  margin-top: 8px;
}

/* Services */
.services-section {
  padding-bottom: 130px;
}

.services-list {
  border-top: 1px solid #d8d3c8;
}

.services-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 30px;
  gap: 24px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid #d8d3c8;
}

.service-index {
  color: #a08b70;
  font: 15px var(--serif);
  padding-top: 3px;
}

.services-list h3 {
  font: 600 22px/1.4 var(--display);
  margin-bottom: 8px;
}

.services-list p {
  color: #77776f;
  font-size: 16px;
  line-height: 1.8;
  max-width: 58ch;
  margin-bottom: 0;
}

.service-symbol {
  font-size: 19px;
  color: #9e8060;
}

/* Contact and footer */
.contact-section {
  background: #242622;
  color: #f7f5f0;
  padding-block: 105px 40px;
}

.contact-inner {
  text-align: center;
}

.contact-inner .eyebrow {
  color: #b7ad9e;
}

.contact-inner h2 {
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -3.8px;
  line-height: 1.15;
}

.contact-inner h2 em {
  color: #c8b296;
}

.contact-inner > p:not(.eyebrow) {
  color: #bdbdb4;
  font-size: 17px;
  line-height: 1.8;
  margin: 24px auto 28px;
  max-width: 600px;
}

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

.button-light {
  background: #f7f5f0;
  color: #242622;
}

.button-light:hover {
  background: #e1d7c8;
}

.button-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button-whatsapp:hover {
  background: #fff;
  color: #1d6843;
  transform: translateY(-2px);
}

.contact-meta {
  margin-top: 85px;
  padding-top: 20px;
  border-top: 1px solid #484943;
  display: flex;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  color: #bdbdb4;
  font-size: 14px;
}

.contact-meta a {
  overflow-wrap: anywhere;
}

.site-footer {
  background: #242622;
  color: #bdbdb4;
  padding: 22px 0;
  border-top: 1px solid #484943;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner .wordmark {
  color: #f7f5f0;
  font-size: 22px;
}

.footer-inner p, .footer-inner > span {
  margin: 0;
  font-size: 14px;
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    width: min(100% - 48px, 720px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 60px 54px;
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero-art {
    min-height: 390px;
    margin-top: 4px;
  }
  .art-card {
    width: min(300px, 68%);
  }
  .art-monogram {
    font-size: clamp(150px, 24vw, 185px);
  }
  .section {
    padding-block: 88px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
  }
  .section-intro {
    max-width: 560px;
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .about-copy {
    padding-top: 0;
  }
}

/* Mobile navigation and layout */
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav {
    min-height: 70px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 20px 18px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(32,33,31,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 8px;
    font-size: 16px;
  }
  .nav-links .nav-contact {
    text-align: center;
    margin-top: 4px;
    padding: 12px 16px;
  }
  .hero {
    padding-block: 48px 38px;
    gap: 12px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.25px;
    margin-bottom: 17px;
  }
  h1 {
    font-size: clamp(36px, 9.3vw, 48px);
    line-height: 1.12;
    letter-spacing: -.065em;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.75;
  }
  .hero-actions {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    margin-top: 25px;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 17px;
  }
  .hero-actions .text-link {
    align-self: flex-start;
    min-height: 34px;
    font-size: 14px;
  }
  .hero-footnote {
    margin-top: 30px;
    gap: 8px 10px;
    font-size: 11px;
  }
  .footnote-line {
    width: 20px;
  }
  .hero-art {
    min-height: clamp(310px, 90vw, 360px);
    margin: 8px -4px 0;
    padding: 16px 8px;
  }
  .orbit-one {
    width: 95%;
    height: 210px;
  }
  .orbit-two {
    width: 76%;
    height: 285px;
  }
  .art-card {
    width: clamp(205px, 63vw, 250px);
    max-width: 78%;
    padding: 15px;
  }
  .art-monogram {
    font-size: clamp(132px, 39vw, 158px);
  }
  .art-kicker {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .art-card-bottom {
    font-size: 7px;
  }
  .floating-note {
    gap: 8px;
    padding: 9px 11px;
    font-size: 11px;
  }
  .note-top {
    top: 12px;
    right: 0;
    max-width: 68%;
  }
  .note-bottom {
    bottom: 4px;
    left: 0;
    max-width: 78%;
  }
  .note-number {
    font-size: 23px;
    padding-right: 8px;
  }
  .ticker-track {
    padding-block: 15px;
    font-size: 13px;
    animation-duration: 55s;
  }
  .ticker-group {
    gap: 1.35rem;
    padding-right: 1.35rem;
  }
  .ticker-group span {
    gap: 1.35rem;
  }
  .section {
    padding-block: 68px;
  }
  .section-heading {
    gap: 15px;
    margin-bottom: 28px;
  }
  h2, .section-heading h2, .about-heading h2, .services-section h2, .contact-inner h2 {
    font-size: clamp(32px, 8vw, 41px);
    line-height: 1.17;
    letter-spacing: -.055em;
  }
  .section-intro {
    font-size: 15px;
    line-height: 1.75;
  }
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .project-featured {
    grid-column: auto;
  }
  .project-visual, .project-featured .project-visual {
    padding: 10px;
  }
  .project-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  .visual-open {
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 10px;
  }
  .project-info {
    gap: 10px;
    padding-top: 16px;
  }
  .project-info h3 {
    font-size: 21px;
  }
  .project-type {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .project-description {
    font-size: 15px;
    line-height: 1.75;
  }
  .project-arrow {
    font-size: 20px;
  }
  .tag-row {
    gap: 6px;
  }
  .tag-row span {
    font-size: 11px;
    padding: 5px 8px;
  }
  .work-note {
    margin-top: 34px;
    font-size: 18px;
  }
  .about-section {
    padding-block: 65px;
  }
  .about-grid {
    gap: 18px;
  }
  .about-copy .about-lead {
    font-size: 19px;
    line-height: 1.65;
  }
  .about-copy p, .about-copy > p:not(.about-lead), .services-list article p {
    font-size: 15px;
    line-height: 1.8;
  }
  .services-section {
    padding-bottom: 70px;
  }
  .services-list article {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    gap: 10px;
    padding-block: 20px;
  }
  .service-index {
    font-size: 13px;
  }
  .services-list h3 {
    font-size: 18px;
  }
  .service-symbol {
    font-size: 16px;
  }
  .contact-section {
    padding-block: 68px 28px;
  }
  .contact-inner h2 {
    letter-spacing: -.06em;
  }
  .contact-inner > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.75;
    margin: 20px auto 24px;
  }
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .contact-actions .button {
    width: 100%;
    min-height: 50px;
  }
  .contact-meta {
    margin-top: 48px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 12px;
  }
  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px 16px;
  }
  .footer-inner .wordmark {
    width: 100%;
  }
  .footer-inner p, .footer-inner > span {
    font-size: 12px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }
  .hero {
    padding-top: 40px;
  }
  h1 {
    font-size: 35px;
  }
  .hero-art {
    min-height: 300px;
  }
  .art-card {
    width: 205px;
  }
  .art-monogram {
    font-size: 132px;
  }
  .floating-note {
    font-size: 10px;
    padding: 8px 9px;
  }
  .note-top {
    right: 0;
  }
  .note-bottom {
    left: 0;
  }
  .ticker-track {
    animation-duration: 58s;
  }
  .services-list article {
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    gap: 8px;
  }
}

/* Accessibility: respect a visitor's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker-track {
    transform: none;
  }
}
