/*
Theme Name: Tiffany Interiors
Author: Tiffany Interiors
Description: A warm, editorial portfolio theme for Tiffany Interiors.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tiffany-interiors
*/

:root {
  --ink: #25231f;
  --paper: #f4f0e9;
  --cream: #ebe4d8;
  --rust: #a95f45;
  --line: rgba(37, 35, 31, .18);
  --muted: #716b61;
  --display: Georgia, 'Times New Roman', serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.site-shell { min-height: 100vh; overflow: hidden; }
.inner-page { min-height: 100vh; padding-top: 1px; }
.skip-link { background: var(--ink); color: var(--paper); left: 16px; padding: 12px 16px; position: fixed; top: -80px; z-index: 20; }
.skip-link:focus { top: 16px; }
.sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.site-header { position: relative; z-index: 10; }
.nav-wrap { align-items: center; display: flex; justify-content: space-between; padding: 28px 5vw; position: absolute; top: 0; width: 100%; z-index: 4; }
.home-nav { padding: 38px 10vw 28px; }
.inner-nav { color: var(--ink); }
.brand { display: block; line-height: 0; position: relative; width: 148px; z-index: 6; }
.brand img, .brand .custom-logo { display: block; height: auto; mix-blend-mode: multiply; width: 100%; }
.brand .custom-logo-link { display: block; line-height: 0; }
.nav-links { align-items: center; display: flex; gap: 34px; font-size: 12px; letter-spacing: .04em; list-style: none; margin: 0; padding: 0; }
.home-nav .nav-links { gap: 42px; }
.nav-links li { list-style: none; margin: 0; padding: 0; }
.nav-links a { align-items: center; display: inline-flex; }
.nav-links li:last-child > a { border-bottom: 1px solid var(--ink); gap: 7px; padding-bottom: 8px; }
.nav-links li:last-child > a::after { content: '↗'; font-size: 15px; line-height: 1; }
.menu-button { align-items: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; display: none; justify-content: center; padding: 4px; position: relative; z-index: 6; }
.menu-button svg { height: 22px; width: 22px; }
.menu-button .close-icon { display: none; }
.menu-button[aria-expanded="true"] .menu-icon { display: none; }
.menu-button[aria-expanded="true"] .close-icon { display: block; }

.hero { min-height: 800px; padding: 170px 5vw 90px; position: relative; }
.hero-copy { animation: rise-in 1s .15s both cubic-bezier(.22, 1, .36, 1); max-width: 560px; position: relative; z-index: 2; }
.eyebrow, .section-number { color: var(--rust); font-size: 10px; letter-spacing: .14em; margin: 0 0 25px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(64px, 8vw, 124px); line-height: .88; margin-bottom: 34px; max-width: 620px; }
h1 em, h2 em { color: var(--rust); font-style: italic; }
.hero-intro { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 35px; max-width: 280px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 18px; position: relative; z-index: 3; }
.contact-button { align-items: center; border: 1px solid currentColor; display: inline-flex; font-size: 10px; gap: 8px; letter-spacing: .1em; padding: 12px 15px; text-transform: uppercase; transition: background .25s ease, color .25s ease, transform .25s ease; }
.contact-button:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.contact-button svg, .contact-details svg { height: 14px; width: 14px; }
.text-link { align-items: center; border-bottom: 1px solid var(--ink); display: inline-flex; font-size: 11px; gap: 10px; letter-spacing: .08em; padding-bottom: 8px; text-transform: uppercase; }
.arrow-icon { font-size: 15px; line-height: 1; }
.hero-image { animation: rise-in 1.15s .3s both cubic-bezier(.22, 1, .36, 1); height: 550px; margin-left: 27%; margin-top: 34px; max-width: 900px; position: relative; z-index: 1; }
.image-frame { overflow: hidden; }
.image-frame img, .project-image img { height: 100%; object-fit: cover; transition: transform .7s ease; width: 100%; }
.image-frame:hover img, .project-card:hover img { transform: scale(1.04); }
.hero-stamp { align-items: center; border: 1px solid var(--rust); border-radius: 50%; color: var(--rust); display: flex; flex-direction: column; font-size: 9px; gap: 6px; height: 115px; justify-content: center; letter-spacing: .14em; position: absolute; right: 7%; top: 585px; transform: rotate(12deg); width: 115px; z-index: 2; }
.hero-stamp strong { font-family: var(--display); font-size: 25px; font-weight: 400; letter-spacing: -.1em; }

.statement, .process-section, .contact-section { display: grid; gap: 8vw; grid-template-columns: 1fr 2fr; padding: 140px 10vw; }
.statement { background: var(--cream); }
h2 { font-size: clamp(44px, 6vw, 84px); line-height: .98; margin-bottom: 35px; max-width: 760px; }
.statement div p:not(.section-number), .contact-copy > p:not(.section-number) { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 450px; }
.work-section { padding: 140px 5vw; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 60px; }
.section-heading h2 { margin-bottom: 0; }
.project-grid { display: grid; gap: 22px; grid-template-columns: 1.08fr .92fr 1.08fr; }
.project-card { min-width: 0; transition: transform .45s ease, opacity .8s ease; }
.project-card:nth-child(2) { padding-top: 90px; }
.project-image { aspect-ratio: 4 / 5; overflow: hidden; }
.project-meta { align-items: start; display: flex; gap: 12px; justify-content: space-between; padding-top: 17px; }
.project-meta h3 { font-family: var(--display); font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.project-meta p, .project-meta span { color: var(--muted); font-size: 11px; margin: 0; }
.project-meta span { text-align: right; }
.project-card:hover { transform: translateY(-6px); }
.project-card:nth-child(2) { transition-delay: .1s; }
.project-card:nth-child(3) { transition-delay: .2s; }
.page-work .project-card:nth-child(3n + 2) { transition-delay: .1s; }
.page-work .project-card:nth-child(3n + 3) { transition-delay: .2s; }
.studio-image img { transition: transform 1s cubic-bezier(.22, 1, .36, 1), filter .7s ease; }
.studio-image:hover img { filter: saturate(1.08); transform: scale(1.035); }
.desktop-link { white-space: nowrap; }
.page-instagram { margin-top: 70px; }

.process-section { background: var(--ink); color: var(--paper); }
.process-section .section-number { color: #d98b6e; }
.steps { display: grid; gap: 0; }
.step { border-top: 1px solid rgba(244, 240, 233, .25); display: grid; gap: 18px; grid-template-columns: 48px 1fr 1.25fr; padding: 25px 0; }
.step span { color: #d98b6e; font-size: 11px; }
.step h3 { font-family: var(--display); font-size: 24px; font-weight: 400; margin: 0; }
.step p { color: #bdb8ae; font-size: 13px; line-height: 1.6; margin: 0; }
.contact-section { background: #c8795b; color: #2f211d; }
.contact-section .section-number { color: #f4d4c6; }
.contact-copy h2 { color: var(--paper); }
.contact-copy h2 em { color: #2f211d; }
.contact-details { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.contact-details a { align-items: center; border: 1px solid rgba(47, 33, 29, .55); display: inline-flex; font-size: 12px; gap: 9px; padding: 13px 15px; transition: background .25s ease, color .25s ease, transform .25s ease; width: fit-content; }
.contact-details a:hover { background: #2f211d; color: var(--paper); transform: translateY(-2px); }

.contact-form { background: var(--paper); color: var(--ink); display: flex; flex-direction: column; gap: 22px; padding: 40px; }
.contact-form label { display: flex; flex-direction: column; font-size: 10px; gap: 8px; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); font: 15px var(--display); outline: 0; padding: 10px 0; resize: vertical; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--rust); }
.contact-form textarea { min-height: 120px; }
.submit-button { align-items: center; align-self: flex-start; background: var(--ink); border: 0; color: var(--paper); cursor: pointer; display: flex; font-size: 11px; gap: 20px; letter-spacing: .1em; margin-top: 10px; padding: 16px 20px; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.submit-button:hover { background: var(--rust); transform: translateY(-2px); }
.success-message { margin: auto 0; }
.success-message h3 { font-family: var(--display); font-size: 28px; font-weight: 400; }
.success-message p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-notice { font-size: 14px; line-height: 1.6; margin: 0; }
.form-notice-success { color: #365d3b; }
.form-notice-error { color: #8a352b; }
.hp-field { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.page-hero { background: var(--cream); min-height: 560px; padding: 220px 10vw 100px; }
.page-hero h1 { max-width: 760px; }
.page-hero > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 360px; }
.page-work { padding-top: 120px; }
.studio-story { align-items: center; display: grid; gap: 9vw; grid-template-columns: 1.1fr .9fr; padding: 140px 10vw; }
.studio-image { aspect-ratio: 4 / 5; max-height: 680px; }
.studio-story > div:last-child p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 430px; }
.process-page-section { background: var(--paper); color: var(--ink); padding-top: 130px; }
.process-page-section .section-number { color: var(--rust); }
.process-page-section .step { border-top: 1px solid var(--line); }
.process-page-section .step span { color: var(--rust); }
.process-page-section .step p { color: var(--muted); }
.contact-page-section { padding-top: 120px; }
.page-content { margin: 0 auto; max-width: 1000px; min-height: 55vh; padding: 180px 8vw 100px; }
.page-content h1 { font-size: clamp(48px, 7vw, 84px); }
.page-content p { line-height: 1.7; }
.site-footer { align-items: end; display: flex; justify-content: space-between; padding: 50px 5vw; }
.site-footer p { color: var(--muted); font-size: 11px; margin: 0; }

.has-reveal .reveal { filter: blur(6px); opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), filter .8s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.has-reveal .reveal.is-visible { filter: none; opacity: 1; transform: none; }
.has-reveal .project-card.reveal.is-visible:hover { transform: translateY(-6px); transition-delay: 0ms; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) and (min-width: 701px) {
  .home-nav { padding-left: 6vw; padding-right: 6vw; }
  .home-nav .nav-links { gap: 24px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card:nth-child(2) { padding-top: 0; }
  .studio-story { gap: 6vw; }
  .step { grid-template-columns: 40px 1fr; }
  .step p { grid-column: 2; }
}

@media (max-width: 700px) {
  .nav-wrap { padding: 22px 6vw; }
  .brand { width: 132px; }
  .menu-button { display: inline-flex; }
  .nav-wrap .nav-links { align-items: stretch; background: #fffdf9; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(37, 35, 31, .28), 0 4px 12px -4px rgba(37, 35, 31, .12); display: flex; flex-direction: column; font-size: 15px; gap: 2px; max-height: calc(100dvh - 100px); min-width: 210px; opacity: 0; overflow-y: auto; padding: 12px; position: absolute; right: 6vw; top: calc(100% - 6px); transform: translateY(-8px) scale(.96); transform-origin: top right; transition: opacity .22s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .3s; visibility: hidden; width: max-content; z-index: 7; }
  .nav-wrap .nav-links.is-open { opacity: 1; transform: none; transition: opacity .22s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s; visibility: visible; }
  .nav-links li > a { border-radius: 10px; display: flex; padding: 11px 14px; transition: background .2s ease, color .2s ease; width: 100%; }
  .nav-links li > a:hover, .nav-links .current-menu-item > a { background: var(--cream); }
  .nav-links li:last-child { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
  .nav-links li:last-child > a { border-bottom: 0; color: var(--rust); justify-content: space-between; padding-bottom: 11px; }
  .hero { min-height: 720px; padding: 145px 6vw 50px; }
  .hero h1, .page-hero h1 { font-size: clamp(48px, 13vw, 64px); line-height: .92; }
  .hero-image { height: 350px; margin-left: 0; margin-top: 65px; }
  .hero-stamp { right: 7%; top: 540px; transform: scale(.78) rotate(12deg); }
  .hero-actions { gap: 10px; }
  .hero-actions .text-link { margin-right: 4px; }
  .statement, .process-section, .contact-section { display: block; padding: 85px 8vw; }
  .statement h2, .process-section h2, .contact-section h2 { font-size: 50px; }
  .statement .section-number, .process-section .section-number, .contact-section .section-number { margin-bottom: 40px; }
  .work-section { padding: 85px 6vw; }
  .section-heading { align-items: start; flex-direction: column; gap: 25px; margin-bottom: 38px; }
  .desktop-link { align-self: flex-start; }
  .project-grid { display: block; }
  .project-card, .project-card:nth-child(2) { margin-bottom: 48px; padding-top: 0; }
  .project-image { aspect-ratio: 1 / 1.12; }
  .project-meta { gap: 8px; }
  .project-meta h3 { font-size: 20px; }
  .project-meta span { max-width: 42%; }
  .page-hero { min-height: 500px; padding: 170px 8vw 75px; }
  .page-work { padding-top: 85px; }
  .studio-story { display: block; padding: 85px 8vw; }
  .studio-image { margin-bottom: 60px; }
  .process-page-section, .contact-page-section { padding-top: 85px; }
  .step { grid-template-columns: 38px 1fr; }
  .step p { grid-column: 2; }
  .contact-details { margin-top: 32px; }
  .contact-form { margin-top: 55px; padding: 28px; }
  .site-footer { align-items: start; flex-direction: column; gap: 25px; padding: 40px 6vw; }
  .page-content { padding: 150px 8vw 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
