:root {
  --black: #292D22;
  --surface: #343A2D;
  --gold: #C9CDA8;
  --gold-light: #E5DFCE;
  --white: #F8F5EC;
  --muted: #D1D2C4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.7;
}

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

.container {
  width: min(1160px, 90%);
  margin: auto;
}

header {
  padding: 25px 0;
  border-bottom: 1px solid rgba(214,181,109,.18);
}

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

.logo {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--muted);
}

nav { display: flex; gap: 26px; flex-wrap: wrap; }

nav a { font-size: 13px; }

nav a:hover { color: var(--gold); }

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 85% 40%,
      rgba(214,181,109,.13), transparent 48%),
    var(--black);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  max-width: 950px;
  margin: 25px 0;
}

h1 em { color: var(--gold); font-style: normal; }

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 27px;
  border: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: .25s;
}

.btn-gold { background: var(--gold); color: var(--black); }

.btn:hover {
  background: var(--gold-light);
  color: var(--black);
}

section { padding: 100px 0; }

.section-title { font-size: clamp(36px, 5vw, 56px); }

.section-intro { color: var(--muted); max-width: 680px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.card {
  padding: 35px;
  background: var(--surface);
  border: 1px solid rgba(214,181,109,.18);
  transition: transform .25s, border-color .25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.card h3 { color: var(--gold); font-size: 25px; }

.card p { color: var(--muted); }

.gold-section {
  background: linear-gradient(135deg, #18150f, #292D22);
  text-align: center;
}

.gold-section p { color: var(--muted); }

footer {
  padding: 40px 0;
  border-top: 1px solid rgba(214,181,109,.2);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav { flex-direction: column; align-items: flex-start; }
  nav { gap: 14px; }
  .hero { min-height: 580px; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 65px 0; }
}

/* Sophisticated Black & Gold luxury typography */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

.logo,
h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.logo {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 {
    font-weight: 500;
    letter-spacing: -1.5px;
}

h1 em {
    font-style: italic;
    font-weight: 400;
}

h2, h3 {
    font-weight: 500;
}

/* Portfolio project screenshots */
.portfolio-card {
    overflow: hidden;
}

.portfolio-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #292D22;
    border: 1px solid #667055;
    border-radius: 6px;
    margin-bottom: 24px;
}

/* Smaller, elegant portfolio screenshots */
.portfolio-card .portfolio-image {
    width: 100%;
    max-width: 260px;
    height: 150px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 20px;
    border: 1px solid #667055;
    border-radius: 6px;
    background: #292D22;
}


/* SANCTIFIED_COMPACT_LAYOUT_2026 */

/* Compact navigation */
header {
    padding: 14px 0;
}

.logo {
    font-size: 26px;
}

/* Shorter hero with smaller typography */
.hero {
    min-height: 0;
    padding: 48px 0 54px;
}

.hero h1 {
    font-size: clamp(36px, 4.2vw, 54px);
    line-height: 1.08;
    max-width: 850px;
    margin: 14px 0 18px;
}

.hero p {
    font-size: 17px;
    line-height: 1.6;
}

.hero .actions {
    margin-top: 22px;
}

/* Reduce gaps between sections */
section {
    padding: 48px 0;
}

.section-title {
    font-size: clamp(30px, 3.2vw, 38px);
    line-height: 1.15;
    margin: 10px 0 16px;
}

.section-intro {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Bring the portfolio closer */
#services {
    padding: 35px 0 25px !important;
}

#portfolio {
    padding-top: 35px;
    padding-bottom: 55px;
}

/* Responsive adjustments */
@media (max-width: 760px) {
    header {
        padding: 12px 0;
    }

    .logo {
        font-size: 23px;
    }

    .hero {
        min-height: 0;
        padding: 34px 0 42px;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 43px);
        line-height: 1.1;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 38px 0;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 34px);
    }

    #services {
        padding: 30px 0 22px !important;
    }

    #portfolio {
        padding-top: 28px;
    }
}


/* SERVICES_HEADING_REFINEMENT */
#services .section-title {
    font-size: 32px !important;
    line-height: 1.2;
    letter-spacing: -0.3px;
    max-width: 850px;
    margin: 8px 0 14px;
}

@media (max-width: 760px) {
    #services .section-title {
        font-size: 27px !important;
    }
}


/* SANCTIFIED_EDITORIAL_HERO */

/* Balanced editorial hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    padding: 55px 0 60px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Subtle architectural detail on the right */
.hero::after {
    content: "";
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    width: clamp(180px, 25vw, 350px);
    height: clamp(180px, 25vw, 350px);
    border: 1px solid rgba(201,205,168,.28);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(201,205,168,.035),
        0 0 0 78px rgba(201,205,168,.025);
    pointer-events: none;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 4vw, 52px);
}

.hero p {
    max-width: 620px;
}

#services .section-title {
    font-size: clamp(28px, 2.6vw, 32px) !important;
}

/* Responsive layout */
@media (max-width: 900px) {
    .hero::after {
        opacity: .2;
        right: -90px;
    }
}

@media (max-width: 760px) {
    .hero {
        padding: 38px 0 45px;
    }

    .hero::after {
        display: none;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 43px);
    }

    #services .section-title {
        font-size: 27px !important;
    }
}


/* SANCTIFIED_WORKFLOW_INTERFACE_STYLES */
.hero::after {
    display: none;
}

.hero {
    position: relative;
    isolation: isolate;
}

.studio-workflow {
    position: absolute;
    right: max(4%, calc((100vw - 1320px) / 2));
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 360px;
    z-index: 2;
}

.workflow-ring {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201,205,168,.35);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow:
        0 0 0 28px rgba(201,205,168,.035),
        0 0 0 55px rgba(201,205,168,.025);
    background: radial-gradient(circle,rgba(88,105,76,.18),transparent 72%);
}

.workflow-center {
    width: 82%;
    text-align: center;
}

.workflow-heading {
    color: #C9CDA8;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 13px;
    font-weight: 600;
}

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

.workflow-step {
    background: rgba(52,58,45,.88);
    border: 1px solid rgba(201,205,168,.25);
    border-radius: 9px;
    padding: 13px 5px;
    transition: transform .25s ease, border-color .25s ease;
}

.workflow-step:hover {
    transform: translateY(-3px);
    border-color: #C9CDA8;
}

.workflow-step span {
    display: block;
    color: #C9CDA8;
    font: 600 10px Arial,sans-serif;
    margin-bottom: 5px;
}

.workflow-step strong {
    display: block;
    color: #F8F5EC;
    font: 600 14px Arial,sans-serif;
}

.workflow-step small {
    display: block;
    color: #D1D2C4;
    font: 10px Arial,sans-serif;
    margin-top: 5px;
}

@media (min-width: 901px) {
    .hero .container {
        padding-right: min(390px, 31vw);
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: clamp(36px, 3.6vw, 50px);
    }
}

@media (max-width: 900px) {
    .studio-workflow {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto 30px;
        width: min(340px, 85vw);
        height: min(340px, 85vw);
    }

    .hero {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .workflow-step {
        padding: 10px 3px;
    }

    .workflow-step strong {
        font-size: 12px;
    }

    .workflow-heading {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-step {
        transition: none;
    }
}


/* SANCTIFIED_CIRCLE_REFINEMENT */

/* Lower and contain the workflow circle */
@media (min-width: 901px) {
    .studio-workflow {
        top: 56%;
        width: 330px;
        height: 330px;
        right: 7%;
    }

    .hero {
        overflow: hidden;
    }
}

/* Clean typography instead of boxed cards */
.workflow-step {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 13px 4px;
    box-shadow: none;
}

.workflow-step:hover {
    transform: none;
    border-color: transparent;
}

.workflow-grid {
    gap: 16px 12px;
}

.workflow-step span {
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.workflow-step strong {
    font-size: 15px;
    font-weight: 600;
}

.workflow-step small {
    font-size: 10px;
    line-height: 1.5;
}

.workflow-heading {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .studio-workflow {
        margin: 24px auto 36px;
    }
}

/* SANCTIFIED_SVG_VISION_MECHANISM */

/* Disable old CSS-generated silver elements */
.workflow-ring::before,
.workflow-ring::after {
    content: none !important;
    animation: none !important;
}

.workflow-ring {
    position: relative;
    isolation: isolate;
}

.vision-mechanism {
    position: absolute;
    inset: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.vision-rotor {
    transform-box: view-box;
    transform-origin: 200px 200px;
    animation: visionMechanicalTurn 4s ease-in-out 1 both;
}

.workflow-center {
    position: relative;
    z-index: 2;
}

@keyframes visionMechanicalTurn {
    0%, 12% {
        transform: rotate(-110deg);
    }
    65% {
        transform: rotate(7deg);
    }
    80% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vision-rotor {
        animation: none;
    }
}


/* AUTOMATIC VISION MOTION — continuous with a resting pause */
.vision-mechanism .vision-rotor {
    transform-box: view-box;
    transform-origin: 200px 200px;
    animation: sanctifiedAutoTurn 9s ease-in-out infinite !important;
    will-change: transform;
}

@keyframes sanctifiedAutoTurn {
    0%, 15% {
        transform: rotate(-90deg);
    }

    42% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-2deg);
    }

    58%, 100% {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vision-mechanism .vision-rotor {
        animation: none !important;
    }
}


/* SANCTIFIED_MOBILE_APP_PORTFOLIO */

.mobile-app-card {
    text-align: center;
}

.mobile-app-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 12px 24px;
    background:
        radial-gradient(circle at center,
            rgba(201,205,168,.13),
            transparent 70%);
}

.mobile-phone-frame {
    position: relative;
    width: 195px;
    aspect-ratio: 9 / 19.5;
    padding: 11px;
    background: linear-gradient(
        135deg,
        #67716A,
        #1A1E1A 25%,
        #3A423B 75%,
        #A7ADA1
    );
    border: 2px solid #BFC7B8;
    border-radius: 34px;
    box-shadow:
        0 18px 38px rgba(0,0,0,.35),
        inset 0 0 0 2px rgba(255,255,255,.12);
    overflow: hidden;
}

.mobile-phone-frame .portfolio-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 23px;
}

.mobile-phone-camera {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 15px;
    border-radius: 12px;
    background: #101310;
    box-shadow: 0 1px 3px rgba(255,255,255,.12);
}

@media (max-width: 600px) {
    .mobile-phone-frame {
        width: 175px;
    }
}

/* SANCTIFIED_SCROLLABLE_PORTFOLIO_2026 */

.portfolio-card {
    height: 620px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.portfolio-card > .portfolio-image,
.portfolio-card > .mobile-app-showcase {
    height: 290px !important;
    flex: 0 0 290px !important;
    object-fit: contain !important;
}

.portfolio-card .mobile-app-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.portfolio-card .mobile-phone-frame {
    height: 100% !important;
    width: auto !important;
    max-width: 100%;
}

.portfolio-card > p {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #C9CDA8 transparent;
    padding-right: 8px;
}

.portfolio-card > a:last-child {
    margin-top: auto;
    flex-shrink: 0;
}

@media (max-width: 760px) {
    .portfolio-card {
        height: 580px !important;
    }

    .portfolio-card > .portfolio-image,
    .portfolio-card > .mobile-app-showcase {
        height: 250px !important;
        flex-basis: 250px !important;
    }
}
