@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@500;600;700;800&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {

  --bg: #f7f2ec;

  --paper: #fffaf4;

  --ink: #201815;

  --muted: #6f625c;

  --line: rgba(32, 24, 21, 0.14);

  --accent: #9b4a3b;

  --accent-soft: #e8c8b9;

  --radius: 26px;

  --max: 1180px;

  --header-height: 86px;

}

\\* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

  margin: 0;

  background: var(--bg);

  color: var(--ink);

  font-family: 'Be Vietnam Pro', Arial, sans-serif;

  font-size: 16px;

  line-height: 1.7;

}

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

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

.site-header {

  position: fixed;

  inset: 0 0 auto 0;

  height: var(--header-height);

  z-index: 999;

  background: rgba(247, 242, 236, 0.9);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--line);

  transition: transform 0.35s ease;

}

.site-header.header-hidden { transform: translateY(-105%); }

.nav-wrap {

  max-width: var(--max);

  height: 100%;

  margin: 0 auto;

  padding: 0 28px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

}

.logo {

  font-family: 'Abhaya Libre', serif;

  font-size: clamp(1.45rem, 2vw, 2rem);

  font-weight: 800;

  letter-spacing: -0.02em;

}

.nav-toggle {

  display: none;

  border: 1px solid var(--line);

  background: var(--paper);

  border-radius: 999px;

  padding: 10px 14px;

  font: inherit;

  cursor: pointer;

}

.nav-links {

  display: flex;

  align-items: center;

  gap: 22px;

  font-size: 0.88rem;

  letter-spacing: 0.08em;

}

.nav-links a { position: relative; color: var(--muted); }

.nav-links a:hover,

.nav-links a.active { color: var(--ink); }

.nav-links a.active::after,

.nav-links a:hover::after {

  content: '';

  position: absolute;

  left: 0;

  right: 0;

  bottom: -8px;

  height: 1px;

  background: var(--ink);

}

main { padding-top: var(--header-height); }

.section { padding: clamp(64px, 9vw, 120px) 28px; }

.container { max-width: var(--max); margin: 0 auto; }

.eyebrow {

  text-transform: uppercase;

  letter-spacing: 0.16em;

  color: var(--accent);

  font-weight: 700;

  font-size: 0.78rem;

  margin-bottom: 18px;

}

h1, h2, h3 {

  font-family: 'Abhaya Libre', Georgia, serif;

  line-height: 0.98;

  letter-spacing: -0.035em;

  margin: 0;

}

h1 { font-size: clamp(4rem, 11vw, 9.5rem); max-width: 980px; }

h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }

h3 { font-size: clamp(1.55rem, 2.3vw, 2.25rem); }

p { color: var(--muted); margin: 0; }

.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 850px; margin-top: 28px; }

.logo {

    display: flex;

    align-items: center;

    text-decoration: none;

}

.logo-img {

    height: 55px;

    width: auto;

    display: block;

    transition: 0.3s ease;

}

.logo-img:hover {

    opacity: 0.9;

}

.hero {

  min-height: unset;

  display: grid;

  align-items: center;

  padding-top: 155px;

  padding-bottom: 150px;

}

.hero-centered {

  min-height: unset;

}

.hero h1 {

  font-size: 74px;

  max-width: 1150px;

  width: 100%;

  line-height: 1;

}

.hero-grid {

  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: clamp(36px, 7vw, 90px);

  align-items: end;

}

.hero-card {

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: var(--paper);

  padding: 18px;

  transform: none;

}

.placeholder-img {

  min-height: 360px;

  border-radius: calc(var(--radius) - 8px);

  background: linear-gradient(135deg, #e8d7cd, #c9aaa0);

  border: 1px dashed rgba(32,24,21,0.25);

  display: grid;

  place-items: center;

  color: rgba(32,24,21,0.55);

  font-weight: 600;

  text-align: center;

  padding: 24px;

}

.featured-section h2 {

  font-size: 50px;

}

.intro-strip {

  border-top: 1px solid var(--line);

  border-bottom: 1px solid var(--line);

  background: var(--paper);

}

.intro-strip .container {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;

}

.skill-pill {

  border: 1px solid var(--line);

  border-radius: 999px;

  padding: 14px 18px;

  text-align: center;

  color: var(--muted);

}

.page-hero { padding-bottom: 46px; }

.page-hero h1 { font-size: 84px; }

.page-hero .lead { max-width: 900px; }

.project-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;

}

.project-card {

  background: var(--paper);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  transition: transform 0.25s ease, box-shadow 0.25s ease;

}

.project-card:hover {

  transform: translateY(-6px);

  box-shadow: 0 24px 60px rgba(32, 24, 21, 0.08);

}

.project-card .placeholder-img { min-height: 310px; border-radius: 0; border: 0; }

.project-body { padding: 22px; }

.project-body p { margin-top: 8px; font-size: 0.94rem; }

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

.tag {

  border: 1px solid var(--line);

  border-radius: 999px;

  padding: 5px 10px;

  font-size: 0.75rem;

  color: var(--muted);

}

.project-image{

    width:100%;

    height:420px;

    overflow:hidden;

    border-radius:24px 24px 0 0;

}

.project-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .5s ease;

}

.project-card:hover .project-image img{

    transform:scale(1.03);

}

.about-grid,

.contact-grid {

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: clamp(34px, 7vw, 86px);

  align-items: start;

}

.about-grid h2{

  font-size: 62px!important;

}

/* .contact-form-grid h2{

  font-size: 62px!important;

} */

.contact-portrait{

    width:100%;

    height:400px;

    display:block;

    object-fit:cover;

    object-position:center 90%;

    border-radius:calc(var(--radius) - 8px);

}

.service-list {

  display: grid;

  gap: 16px;

  margin-top: 34px;

}

.service-item {

  border-top: 1px solid var(--line);

  padding-top: 18px;

}

.service-item h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }

.service-item p { margin-top: 8px; }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 999px;

  padding: 13px 22px;

  border: 1px solid var(--ink);

  background: var(--ink);

  color: var(--paper);

  font-weight: 600;

}

.btn.secondary { background: transparent; color: var(--ink); }

/* CENTERED CONTACT SECTION */

.contact-form-section {

  border-top: 1px solid var(--line);

  background: var(--paper);

  padding: 120px 28px;

}

.contact-cta {

  width: 100%;

  max-width: 1180px;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

}

.contact-cta h2 {

  font-family: 'Abhaya Libre', serif;

  font-size: 62px !important;

  line-height: 1.1;

  margin: 0;

}

.contact-cta .lead {

  max-width: 650px;

  margin: 25px auto 0;

  text-align: center;

}

.contact-cta .button-row {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  margin-top: 35px;

  flex-wrap: wrap;

}

.contact-cta .btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 150px;

  padding: 13px 25px;

  border-radius: 999px;

  transition: all 0.3s ease;

}

.contact-cta .btn:hover {

  opacity: 0.8;

}

.footer {

  padding: 38px 28px;

  border-top: 1px solid var(--line);

  color: var(--muted);

}

.footer .container {

  display: flex;

  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;

}

.footer a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 920px) {

  .hero-grid,

  .about-grid,

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

  .project-grid { grid-template-columns: repeat(2, 1fr); }

  .intro-strip .container { grid-template-columns: repeat(2, 1fr); }

  .page-hero h1 {
    font-size: 68px;
    line-height: 1.05;
  }  

  .contact-grid h1 {
    font-size: 58px;
    line-height: 1.05;
  }  
  .contact-grid .hero-card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .contact-portrait {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 85%;
  }  

.page-hero .contact-grid > div:last-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-hero .contact-grid h1,
  .page-hero .contact-grid .lead,
  .page-hero .contact-grid .eyebrow {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero .contact-grid .button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
  }
  .about-grid > div:first-child {
    text-align: center;
  }

  .about-grid > div:first-child .eyebrow,
  .about-grid > div:first-child h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {

  :root { --header-height: 76px; }

  .nav-wrap, .section, .footer { padding-left: 18px; padding-right: 18px; }

  h1 { font-size: clamp(3.2rem, 17vw, 5.5rem); }

  .project-grid,

  .intro-strip .container { grid-template-columns: 1fr; }

  .placeholder-img { min-height: 270px; }

  .hero-centered h1 {

    font-size: 60px;

    line-height: 1.05;

    letter-spacing: -0.035em;

  }  

  .contact-grid .hero-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 14px;
  }

  .contact-grid .contact-portrait {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 85%;
  }  

}

.center-content {

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;

}

.center-content h1,

.center-content h2,

.center-content .lead {

  margin-left: auto;

  margin-right: auto;

}

.centered-buttons { justify-content: center; }

.featured-section {

  border-top: 1px solid var(--line);

  background: var(--paper);

}

.eyebrow { color: #9aacbf; }

/* Selected work carousel */

.featured-section .container {

  max-width: none;

}

.carousel-wrap {

  position: relative;

  width: min(1500px, calc(100vw - 160px));

  margin: 42px auto 0;

  padding-bottom: 54px;

  overflow: visible;

}

.project-carousel {

  position: relative;

  width: 100%;

  margin-top: 42px;

}

.project-carousel .owl-stage-outer {

  overflow: hidden !important;

  padding: 18px 2px 40px;

  margin: -18px -2px -40px;

}

.project-carousel .owl-stage {

  display: flex;

}

.project-carousel .owl-item {

  display: flex;

}

.project-carousel .project-card {

  height: 100%;

  text-align: left;

}

.project-card .placeholder-img {

  min-height: 400px;

}

.project-carousel .owl-nav {

position: absolute;

  top: 42%;

  left: -70px;

  right: -70px;

  width: auto;

  display: flex;

  justify-content: space-between;

  transform: translateY(-50%);

  pointer-events: none;

}

.project-carousel .owl-nav button {

  pointer-events: auto;

  width: 46px;

  height: 46px;

  border-radius: 50% !important;

  border: 1px solid var(--line) !important;

  background: var(--paper) !important;

  color: var(--ink) !important;

  font-size: 1.6rem !important;

  line-height: 1 !important;

  cursor: pointer;

}

.project-carousel .owl-nav button:hover {

  background: var(--bg) !important;

}

.project-link{

    display:block;

    height:100%;

}

.project-link-card{

    display:block;

    height:100%;

    color:inherit;

    text-decoration:none;

}

/* About/contact form */

  .contact-form-section {

    padding: 80px 18px;

  }

  .contact-cta h2 {

    font-size: 46px !important;

  }

  .contact-cta .lead {

    font-size: 1rem;

    margin-top: 20px;

  }

  .contact-cta .button-row {

    margin-top: 28px;

    gap: 12px;

  }

/* .contact-form-section {

  border-top: 1px solid var(--line);

  background: var(--paper);

}

.contact-form-grid {

  display: grid;

  grid-template-columns: 0.75fr 1.25fr;

  gap: clamp(34px, 7vw, 86px);

  align-items: start;

}

.contact-links {

  margin-top: 36px;

  display: grid;

  gap: 14px;

}

.contact-links a {

  text-decoration: underline;

  text-underline-offset: 4px;

  color: var(--ink);

}

.contact-form label,

.field-group span {

  display: block;

  color: var(--ink);

  font-size: 0.9rem;

  margin-bottom: 8px;

}

.field-group em {

  color: var(--muted);

  font-style: normal;

}

.form-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;

  margin-bottom: 18px;

}

.field-group.full { margin-bottom: 18px; }

.contact-form input,

.contact-form textarea {

  width: 100%;

  border: 1px solid rgba(32,24,21,0.4);

  background: transparent;

  padding: 12px;

  font-family: 'Be Vietnam Pro', Arial, sans-serif;

  font-size: 1rem;

  color: var(--ink);

  border-radius: 0;

}

.contact-form textarea { resize: vertical; }

.form-submit {

  display: flex;

  justify-content: center;

  align-items: center;

  width: min(390px, 100%);

  margin: 22px auto 0;

  padding: 14px 20px;

  border: 0;

  border-radius: 10px;

  background: #64778d;

  color: white;

  text-transform: uppercase;

  font-weight: 700;

  font-family: 'Be Vietnam Pro', Arial, sans-serif;

  cursor: pointer;

}

.form-submit:hover { opacity: 0.9; } */

@media (max-width: 920px) {

  .contact-form-grid { grid-template-columns: 1fr; }

}

@media (max-width: 620px) {

  .carousel-wrap {

    width: 100%;

    padding: 0 0 52px;

  }

  .form-row { grid-template-columns: 1fr; }

}

/* Mobile navigation only — full-screen, instant-open menu */

@media (max-width: 920px) {

  body.menu-open { overflow: hidden; }

  .site-header { transition: none; }

  /* Keep the header visible and match the site's background while open. */

  .site-header.menu-open,

  .site-header:has(.nav-links.open) {

    transform: none !important;

    background: var(--bg);

    border-bottom-color: transparent;

  }

  .nav-toggle {

    position: relative;

    z-index: 1002;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    width: 44px;

    height: 44px;

    padding: 8px;

    border: 0;

    border-radius: 0;

    background: transparent;

    cursor: pointer;

  }

  /* Identical line thickness and desktop navigation color. */

  .nav-toggle span {

    display: block;

    width: 27px;

    height: 2px;

    min-height: 2px;

    flex-shrink: 0;

    padding: 0;

    border: 0;

    border-radius: 0;

    background: var(--muted);

    opacity: 1;

    transform-origin: center;

    transition: none;

  }

  /* Also works with the original JS, which only toggles .nav-links.open. */

  .nav-toggle.active span:first-child,

  .nav-toggle.open span:first-child,

  .nav-wrap:has(.nav-links.open) .nav-toggle span:first-child {

    transform: translateY(8px) rotate(45deg);

  }

  .nav-toggle.active span:nth-child(2),

  .nav-toggle.open span:nth-child(2),

  .nav-wrap:has(.nav-links.open) .nav-toggle span:nth-child(2) {

    opacity: 0;

  }

  .nav-toggle.active span:last-child,

  .nav-toggle.open span:last-child,

  .nav-wrap:has(.nav-links.open) .nav-toggle span:last-child {

    transform: translateY(-8px) rotate(-45deg);

  }

  .nav-links {

    position: fixed;

    inset: 0;

    width: 100vw;

    height: 100vh;

    height: 100dvh;

    margin: 0;

    padding: 5px 22px 0px 2px;

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: clamp(12px, 2.5vh, 26px);

    overflow-y: auto;

    border: 0;

    border-radius: 0;

    background: var(--bg);

    box-shadow: none;

    transition: none;

    z-index: 1000;

  }

  .nav-links.open { display: flex; }

  .nav-links a {

    width: auto;

    padding: 0;

    color: var(--muted);

    font-size: clamp(1.65rem, 5.5vw, 3.25rem);

    font-weight: 400;

    letter-spacing: 0;

    line-height: 1.35;

    text-align: center;

  }

  .nav-links a.active,

  .nav-links a:hover { color: var(--muted); }

  .nav-links a::after { display: none !important; }

  .site-header.menu-open .logo,

  .site-header:has(.nav-links.open) .logo {

    position: relative;

    z-index: 1002;

  }

}

/* Small mobile: place carousel navigation above the cards */
@media (max-width: 620px) {
  .project-carousel {
    margin-top: 76px;
  }

  .project-carousel .owl-nav {
    position: absolute;
    top: -65px;
    left: 50%;
    right: auto;
    width: 75%;
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
  }

  .project-carousel .owl-nav button {
    pointer-events: auto;
  }
  
}

@media (max-width: 760px) {
  .footer .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .footer {
    text-align: center;
  }
}