/* ============================================================
   STUDIO ORIN — Main Styles
   ============================================================ */

:root {
  --cream: #F5F0EA;
  --charcoal: #1E1E1E;
  --charcoal-soft: #3A3A3A;
  --terracotta: #C05746;
  --sand: #C8B8A2;
  --sand-light: #E8D5BD;
  --warm-white: #FDFAF6;
  --muted: #8A8278;
  --border: rgba(30,30,30,0.1);

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--warm-white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.65;
  cursor: none;
  overflow-x: hidden;
}

/* ---- Custom Cursor ---- */
.cursor-dot {
  width: 10px; height: 10px;
  background: var(--terracotta);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: multiply;
}
body.cursor-hover .cursor-dot {
  width: 32px; height: 32px;
  background: var(--terracotta);
  opacity: 0.4;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }

.overline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal-soft);
  font-weight: 300;
}

.body-text em {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--terracotta);
  font-weight: bold;
  font-style: normal;
}

/* ---- Navigation ---- */
#mainNav {
  background: rgba(253, 250, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--charcoal) !important;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-brand .accent { color: var(--terracotta); }

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--charcoal-soft) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.25rem 0 !important;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--charcoal) !important; }
.nav-link:hover { color: var(--charcoal) !important; }

/* Hamburger */
.toggler-icon {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  margin: 4px 0;
  transition: var(--transition);
}

/* Logo */

.logo_sv{
	width: 66px;
	height: 66px;
}

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--charcoal);
  color: var(--warm-white) !important;
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.75rem 2rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  cursor: none;
}
.btn-primary-custom:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-ghost-custom {
  background: transparent;
  color: var(--charcoal) !important;
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.75rem 2rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  cursor: none;
}
.btn-ghost-custom:hover {
  background: var(--charcoal);
  color: var(--warm-white) !important;
}

/* ---- Section helpers ---- */
.section-pad { padding: 6rem 0; }
.min-vh-85 { min-height: 85vh; }

/* ---- Hero ---- */
.hero-section {
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,184,162,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-headline {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.hero-headline em { color: var(--terracotta); font-style: italic; }

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.hero-stat {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.hero-stat span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}

/* ---- Marquee ---- */
.marquee-bar {
  background: var(--charcoal);
  padding: 0.875rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 1rem;
}
.marquee-track .dot { color: var(--terracotta); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Section header ---- */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  line-height: 1.1;
}
.section-title em { color: var(--terracotta); font-style: italic; }

.see-all-link {
  font-size: 0.875rem;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.see-all-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ---- Project Cards ---- */
.project-card {
  display: block;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: none;
}
.project-card:hover .project-img { transform: scale(1.02); }

.project-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.project-card--tall .project-img { height: 580px; }
.project-card--half .project-img { height: 270px; }
.project-card--medium .project-img { height: 360px; }
.project-card--portfolio .project-img { height: 280px; }

.project-card:hover .placeholder-shape { transform: scale(1.05) rotate(2deg); }

.project-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,30,30,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-hover-overlay span {
  color: var(--warm-white);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-card:hover .project-hover-overlay { opacity: 1; }

.project-info {
  padding: 1.25rem 0 0.5rem;
}
.project-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.4rem;
}
.project-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin: 0 0 0.3rem;
}
.project-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

.card-img {
  background: #e6e0d8;
  overflow: hidden;
  position: relative;
  height: 500px;	
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.project-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding-top: 1rem; }
.card-tag {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa49e;
  margin-bottom: 0.25rem;
}
.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a1814;
  transition: color 0.2s;
}
.project-card:hover .card-title { color: #c96148; }
.card-desc {
  font-size: 0.8rem;
  color: #6a6560;
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* Full-width feature card */
.project-card--feature .project-img {
  height: 480px;
}

/* Square grid cards — padding-bottom trick forces a 1:1 ratio */
.project-card--square .project-img {
  height: 350px; /* adjust to whatever size you want */
}



/* ---- CTA ---- */
.cta-section {
  background: var(--warm-white);
  padding: 7rem 0;
  text-align: center;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--charcoal);
  line-height: 1.1;
}
.cta-section .overline { color: var(--muted); }
.cta-section .btn-primary-custom {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: white !important;
}
.cta-section .btn-primary-custom:hover {
  background: var(--warm-white);
  border-color: var(--warm-white);
  color: var(--charcoal) !important;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--charcoal);
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
}
.footer-brand .accent { color: var(--charcoal); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0.5rem 0 0;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--cream);
}
.footer-links a:hover { color: var(--terracotta); }

/* ---- Page Headers ---- */
.page-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-top: 0.5rem;
}
.page-title em { color: var(--terracotta); font-style: italic; }
.page-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 1rem;
  line-height: 1.7;
}


/* ---- Project detail page ---- */
.back-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition);
  display: inline-block;
}
.back-link:hover { color: var(--charcoal); }

.project-hero-section {
  padding: 3rem 0 4rem;
}
.project-detail-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}
.project-detail-sub {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px;
}

.project-meta {
  border-left: 2px solid var(--terracotta);
  padding-left: 1.5rem;
}
.meta-item { margin-bottom: 1.1rem; 
   text-decoration: none;
	color: var(--terracotta);
}

.meta-item a:hover {
  color: var(--charcoal);
}

.meta-label em {
   font-size: 0.68rem;
	font-weight: bold;
	font-style: normal;
	color: var(--terracotta);
	text-decoration: none !important;
}
.meta-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.15rem;
	
}
.meta-value { font-size: 0.95rem; color: var(--charcoal); }

.project-hero-img { 
	margin-bottom: 5rem;
}

.project-hero-img img{
	width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-section-heading {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.sidebar-note {
  background: var(--cream);
  padding: 2rem;
  border-radius: 4px;
  border-left: 3px solid var(--terracotta);
}

.gallery-img {
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.gallery-img img{
	width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-img:hover { transform: translateY(-4px); }

/* Project nav */
.project-nav-section {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-bottom: 2rem;
}
.project-nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 0.3rem;
  transition: var(--transition);
  cursor: none;
}
.project-nav-link:hover .nav-name { color: var(--terracotta); }
.nav-direction {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--charcoal);
  transition: color var(--transition);
}

/* ---- About page ---- */
.about-portrait {
  border-radius: 4px;
}

.about-portrait-img {
  width: 100%;
  max-width: 420px;
  display: block;
  border-radius: 4px;
}  

.about-portrait-caption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}
.about-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}
.about-heading em { color: var(--terracotta); font-style: italic; }

.about-values { border-top: 1px solid var(--border); padding-top: 2rem; }
.value-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.value-mark { color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }
.value-item p { font-size: 0.95rem; color: var(--charcoal-soft); font-weight: 300; margin: 0; }

.skills-section { background: var(--cream); }
.plain-list { list-style: none; padding: 0; }
.plain-list li {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  font-weight: 300;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.plain-list li:last-child { border-bottom: none; }

/* ---- Skills Alt ---- */
.skills-alt-section { border-top: 1px solid var(--border); }

.skill-block {
  padding: 2rem 0 2rem;
  border-top: 2px solid var(--border);
  transition: border-color var(--transition);
}
.skill-block:hover { border-top-color: var(--terracotta); }

.skill-number {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.75rem;
}

.skill-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.skill-desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}


/* ---- Contact page ---- */
.contact-info-block { padding: 0; }
.contact-email {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 2px solid var(--terracotta);
  transition: color var(--transition);
  display: inline-block;
}
.contact-email:hover { color: var(--terracotta); }

.contact-detail { margin-top: 2rem; }
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(60, 120, 60, 0.08);
  border: 1px solid rgba(60,120,60,0.2);
  color: #2D6A4F;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.avail-dot {
  width: 7px; height: 7px;
  background: #40B67A;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.social-link {
  font-size: 0.875rem;
  color: var(--charcoal-soft);
  text-decoration: none;
  font-weight: 300;
  transition: color var(--transition);
}
.social-link:hover { color: var(--terracotta); }

/* Form */
.contact-form-wrap { padding: 0; }

.form-group-custom { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group-custom label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input-custom {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-input-custom:focus { border-color: var(--charcoal); background: white; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select-custom { appearance: none; cursor: none; }

.project-type-pills .type-pill {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  color: var(--charcoal-soft);
  padding: 0.35rem 1rem;
  transition: var(--transition);
  cursor: none;
}
.project-type-pills .type-pill:hover,
.project-type-pills .type-pill.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.form-success-msg {
  text-align: center;
  padding: 5rem 2rem;
}
.success-icon {
  font-size: 3rem;
  color: var(--terracotta);
  margin-bottom: 1rem;
  animation: spin 4s linear infinite;
}
.form-success-msg h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.form-success-msg p { color: var(--muted); font-weight: 300; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- Animations on load ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section-pad { padding: 3.5rem 0;}
  .hero-section { padding-top: 1rem; }
  .avatar-img { width: 200px; height: 200px; }
  .client-name { flex: 0 0 50%; }
  .project-card--tall .project-img { height: 360px; }
}
