@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #f3f7f4;
  --ink-soft: #aebfba;
  --paper: #0d1718;
  --surface: #142325;
  --line: #2b4140;
  --gold: #f2b866;
  --gold-light: #ffd99a;
  --coral: #ff8b6b;
  --section-spacing-mobile: 40px;
  --section-spacing-tablet: 56px;
  --section-spacing-desktop: 80px;
  --section-spacing: var(--section-spacing-mobile);
  --card-gap: 24px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  --content-max: 1120px;
  --page-pad: 20px;
  --font-sans: "Plus Jakarta Sans", "Trebuchet MS", Verdana, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 20;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  animation: page-load 900ms ease forwards;
}

a { color: inherit; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px var(--page-pad);
  background: rgba(8, 17, 18, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(242, 184, 102, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
}

.logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }

.logo span { color: var(--coral); }

nav { display: flex; flex-wrap: wrap; gap: 16px 20px; }

nav a {
  color: #dbe7e1;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover, nav a[aria-current="page"] { color: #fff; }

main { width: 100%; }

section:not(.hero) { width: 100%; }

section:not(.hero) > *, footer > * {
  width: min(100%, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  max-width: none;
  padding: 76px var(--page-pad);
  color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(242, 184, 102, 0.16), transparent 30%), linear-gradient(115deg, #201919 0%, #3b2924 58%, #60422b 100%);
}

.home-intro { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: end; }
.home-intro h1 { max-width: 720px; margin: 12px 0 0; font-family: var(--font-sans); font-size: clamp(2.8rem, 12vw, 6.2rem); }
.intro-note { padding: 22px 0 0 24px; border-left: 2px solid var(--coral); }
.intro-note p { margin: 0; color: #dce9e1; font-size: 1rem; }
.process { display: grid; grid-template-columns: 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.process-number { color: var(--coral); font-family: Georgia, serif; font-size: 1.7rem; }
.process-item h3 { margin: 0 0 6px; color: var(--gold-light); font-size: 1.15rem; }
.process-item p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.home-signature { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 38px; color: var(--ink-soft); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.home-signature strong { color: var(--gold); font-size: 0.92rem; }
.home-signature i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

.hero-text { max-width: 750px; animation: rise-in 700ms ease both; }

.eyebrow {
  color: #f7b19d;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; }

.hero h1 { max-width: 700px; margin: 14px 0 20px; font-family: var(--font-sans); font-size: clamp(2.55rem, 7vw, 5.9rem); letter-spacing: 0; }
.hero p { max-width: 610px; color: #dce9e1; font-size: 1.12rem; }

.btn-primary, .btn-secondary, button {
  display: inline-block;
  border: 0;
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.btn-primary { margin-top: 14px; background: var(--coral); color: #fff; }
.btn-secondary { background: #f3f7f4; color: #0d2928; }
.btn-primary:hover, .btn-secondary:hover, button:hover { transform: translateY(-2px); }

.services-preview, .about, .portfolio, .contact { padding: var(--section-spacing) var(--page-pad); }
.home-process { padding-bottom: 18px; }
.home-toolkit { padding-top: 8px; }

.identity-section { padding: 62px var(--page-pad) 70px; border-top: 1px solid var(--line); }
.identity-section > .section-intro { max-width: 620px; margin-bottom: 34px; }
.identity-section .section-intro h2 { margin-bottom: 12px; }
.founders-row { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 720px; margin: 0 auto; }
.founder-card { padding: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.founder-portrait { aspect-ratio: 4 / 3; overflow: hidden; background: #203333; }
.founder-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; filter: grayscale(0.25) saturate(0.7); }
.founder-card h3 { margin: 12px 4px 2px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.founder-card h3 strong { color: var(--coral); font-size: 1.8rem; }
.identity-convergence { position: relative; max-width: 720px; height: 122px; margin: 36px auto 32px; }
.identity-convergence svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.identity-convergence path { fill: none; stroke: var(--coral); stroke-width: 0.8; filter: drop-shadow(0 0 4px rgba(255, 139, 107, 0.55)); }
.identity-monogram { position: absolute; top: 62%; left: 50%; display: grid; width: 92px; height: 92px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: #1b302f; color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 700; box-shadow: 0 0 28px rgba(242, 184, 102, 0.16); transform: translate(-50%, -50%); }
.identity-philosophy { max-width: 720px; margin: 0 auto; padding: 26px 30px; border-left: 2px solid var(--coral); border-right: 2px solid var(--gold); background: rgba(20, 35, 37, 0.72); text-align: center; }
.identity-philosophy h3 { margin: 8px 0 8px; color: var(--gold-light); font-family: var(--font-sans); font-size: clamp(1.65rem, 3vw, 2.5rem); }
.identity-philosophy p { max-width: 620px; margin: 0 auto; color: var(--ink-soft); font-size: 1rem; }
.identity-philosophy strong { color: var(--gold); }

.intro-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; margin-bottom: 32px; }
.section-intro { max-width: 650px; margin: 0; }
.home-toolkit > .section-intro { max-width: var(--content-max); }
.home-toolkit > .section-intro { margin-bottom: 16px; }
.services-preview > .section-intro,
.about > .section-intro { max-width: var(--content-max); }
.intro-visual { height: clamp(180px, 19vw, 250px); overflow: hidden; border: 1px solid rgba(43, 65, 64, 0.7); opacity: 0.48; filter: grayscale(0.35) saturate(0.65); }
.intro-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-overview { max-width: 1120px; }
.section-intro h1, .section-intro h2 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}
.section-intro p, .about p, .card p { color: var(--ink-soft); }
.portfolio-quote { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--coral); color: var(--gold-light) !important; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.home-overview p { max-width: none; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

 .section-intro h1, .section-intro h2 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.home-page .section-intro h2,
.about-page .section-intro h1,
.services-page .section-intro h1,
.contact-page .section-intro h1,
.work-page .section-intro h1 {
  letter-spacing: -0.06em;
}

.cards { display: grid; grid-template-columns: 1fr; gap: var(--card-gap); }
.card { min-height: 220px; padding: 24px; border: 1px solid #2c5b4f; background: #173b35; box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; color: var(--gold-light); }
.editorial-emphasis {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.case-study-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.case-study { min-width: 0; height: fit-content; align-self: start; padding: 15px; border: 1px solid #2c5b4f; background: #173b35; box-shadow: var(--shadow); }
.case-study-columns { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.case-study-details, .case-study-media { min-width: 0; }
.case-study-media { min-height: 250px; }
.case-study h2 { margin: 6px 0 5px; color: var(--gold-light); font-family: var(--font-sans); font-size: clamp(1.65rem, 2.7vw, 2.3rem); }
.case-study-heading h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.project-link { display: block; margin-bottom: 12px; color: var(--gold-light); font-family: "Trebuchet MS", sans-serif; font-size: 0.75rem; font-weight: 700; text-decoration: none; }
.project-link:hover { color: var(--gold-light); }
.case-study h3 { margin: 0 0 8px; color: var(--gold-light); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }
.case-study p { margin: 0; color: var(--ink-soft); font-size: 0.78rem; }
.case-study-title { color: var(--ink) !important; font-size: 0.9rem !important; }
.case-study-meta { align-self: end; padding-left: 16px; border-left: 1px solid var(--coral); }
.case-study-meta span { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.case-study-meta strong { color: var(--ink); font-size: 0.84rem; }
.case-study-quote { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); color: var(--gold-light) !important; font-family: Georgia, "Times New Roman", serif; font-size: 0.82rem !important; font-style: italic; }
.case-study-overview-copy { margin-top: 16px; }
.customer-review { grid-column: 1 / -1; margin-top: 12px; padding: 8px 12px; border-left: 3px solid var(--gold); background: rgba(242, 184, 102, 0.08); }
.customer-review span { display: block; margin-bottom: 5px; color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.customer-review p { color: var(--ink) !important; font-size: 0.74rem; font-style: italic; }
.media-assets { display: grid; gap: 12px; }
.case-study-overview .media-assets, .case-study-media .media-assets { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.media-toggle { display: flex; width: 100%; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font: inherit; font-size: 0.75rem; text-align: left; }
.media-toggle:hover { transform: none; background: rgba(255, 255, 255, 0.06); }
.media-toggle-icon { margin-left: auto; transition: transform 180ms ease; }
.media-toggle[aria-expanded="true"] .media-toggle-icon { transform: rotate(180deg); }
.image-bundle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 58px; gap: 7px; margin-top: 7px; }
.image-bundle[hidden] { display: none !important; }
.image-thumb { display: block; min-width: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.image-thumb:hover { transform: none; }
.image-bundle img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.image-lightbox { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 42px 24px 24px; background: rgba(5, 12, 13, 0.92); }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { display: block; max-width: min(1100px, 94vw); max-height: 88vh; object-fit: contain; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 16px; right: 20px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.1rem; }
.lightbox-close:hover { transform: none; background: var(--coral); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
  margin-top: 28px;
}

.service-entry {
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: rgba(20, 35, 37, 0.9);
  box-shadow: var(--shadow);
}

.service-entry h3 {
  margin: 14px 0 10px;
  color: var(--gold-light);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.service-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.92rem; }
.service-list li { padding-top: 10px; border-top: 1px solid var(--line); line-height: 1.6; }
.service-list li::before { content: "+"; margin-right: 8px; color: var(--coral); font-weight: 700; }
.service-list strong { color: var(--gold-light); }
.service-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 42px; padding: 30px clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.service-contact-copy h2 { max-width: 670px; margin: 12px 0 0; color: var(--ink); font-family: var(--font-sans); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; }
.service-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 14px; min-width: 290px; }
.service-contact-actions a { display: grid; min-height: 52px; place-items: center; padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.service-contact-actions a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }
.service-contact-actions .contact-action-primary { border-color: var(--gold); background: var(--gold); color: #24180d; }
.service-contact-actions .contact-action-primary:hover { background: #f0c665; }
.service-contact-actions .contact-action:last-child { grid-column: 1; }

.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
.contact-grid { grid-template-columns: 1fr; }
.contact-grid > .section-intro { display: flex; flex-direction: column; }
.contact-grid .contact-links-panel { flex: 1; }
.about-grid { grid-template-rows: none; }
.about h2, .contact h2, .portfolio h2 { font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3.5rem); margin-top: 0; }
.about-card h3 { margin: 0 0 12px; color: var(--gold-light); font-family: var(--font-sans); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.about-card ul { display: grid; gap: 12px; margin: 0; padding-left: 20px; color: var(--ink-soft); }
.about-card li { padding-left: 4px; line-height: 1.6; }
.about-card li strong { color: var(--gold-light); }
.about-card, .contact-box { height: 100%; padding: 30px; background: var(--surface); border-left: 4px solid var(--coral); box-shadow: var(--shadow); }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.profile-links a { color: var(--gold); font-family: "Trebuchet MS", sans-serif; font-weight: 700; }
.profile-showcase { display: grid; grid-template-columns: 1fr; gap: 32px; }
.profile-frame { display: block; width: 100%; height: 1000px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow-y: auto; overflow-x: hidden; }
.about-page .profile-showcase { margin-top: 48px; }
.about-page .about-grid { gap: 32px; }

.design-architecture-section { padding: 36px var(--page-pad) 48px; border-top: 1px solid var(--line); }
.design-header { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.design-header h3 { margin: 8px 0 0; font-size: 1.2rem; color: var(--ink); line-height: 1.3; letter-spacing: -0.02em; }
.design-card-compact { max-width: 720px; margin: 0 auto; padding: 0; border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: minmax(140px, 180px) 1fr; gap: 0; box-shadow: var(--shadow); overflow: hidden; }
.design-portrait-compact { aspect-ratio: 4 / 3; overflow: hidden; background: #203333; padding: 8px; display: flex; align-items: center; justify-content: center; }
.design-portrait-compact img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.design-card-top { padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; background: rgba(20, 35, 37, 0.6); }
.design-role { margin: 0; font-size: 1rem; font-weight: 700; color: var(--gold-light); font-family: var(--font-sans); letter-spacing: 0.02em; line-height: 1.3; }
.design-specialization { margin: 0; font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-sans); }
.design-summary { margin: 0; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; font-family: var(--font-serif); font-style: italic; }
.design-tech-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.design-tech-stack span { display: inline-block; padding: 5px 8px; border: 1px solid rgba(242, 184, 102, 0.2); border-radius: 3px; background: rgba(242, 184, 102, 0.04); color: var(--gold-light); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; }

.cta { max-width: none; padding: 92px 24px 104px; background: radial-gradient(circle at 50% 0%, rgba(242, 184, 102, 0.08), transparent 34%), #0a1213; text-align: center; }
.cta-intro { max-width: 620px; margin: 0 auto 34px; }
.cta-intro h2 { margin: 12px 0 8px; color: var(--ink); font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3.25rem); }
.cta-intro p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.cta-box { position: relative; max-width: 900px; min-height: 330px; margin: 0 auto; padding: 70px clamp(28px, 7vw, 92px); border: 1px solid #39695c; background: linear-gradient(135deg, #173b35 0%, #1b463e 58%, #15322f 100%); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34); }
.cta-box::before { content: ""; position: absolute; top: -1px; left: 12%; width: 76%; height: 2px; background: linear-gradient(90deg, transparent, var(--coral), transparent); }
.cta-box h2 { max-width: 620px; margin: 14px auto 16px; color: var(--ink); font-family: var(--font-sans); font-size: clamp(2.2rem, 5vw, 3.65rem); line-height: 1.05; }
.cta-box p { max-width: 500px; margin: 0 auto 22px; color: var(--ink-soft); font-size: 0.95rem; }

.contact form { display: grid; gap: 14px; }
label { color: var(--ink); font-size: 0.82rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); padding: 14px; background: #102021; color: var(--ink); font: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
textarea { min-height: 150px; resize: vertical; }
button { background: var(--gold); color: #24180d; }

.form-embed {
  display: flex;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(20, 35, 37, 0.8);
  box-shadow: var(--shadow);
}

.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  height: 100%;
  border: 0;
  background: #fff;
}

.contact .contact-form { display: flex; flex: 1; flex-direction: column; width: 100%; }
.contact-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact-field { display: grid; gap: 6px; min-width: 0; }
.contact-field input, .contact-field select, .contact-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #102021;
  color: var(--ink);
  font: inherit;
}
.contact-field select:focus, .contact-field textarea:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
.contact-field select:invalid { color: var(--ink-soft); }
.contact-field option { color: var(--ink); background: #102021; }
.contact-field textarea { min-height: 140px; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-submit { width: fit-content; margin-top: 0; }
.contact-submit:disabled { cursor: wait; opacity: 0.65; transform: none; }
.form-feedback { min-height: 1.5em; margin: 0; font-size: 0.86rem; }
.form-feedback.is-success { color: var(--gold-light); }
.form-feedback.is-error { color: #ff9a86; }
.contact-whatsapp { margin-top: auto; padding-top: 18px; }
.contact-whatsapp-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--ink-soft); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; }
.contact-whatsapp-divider::before, .contact-whatsapp-divider::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.contact-whatsapp-link { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border: 1px solid rgba(37, 211, 102, 0.42); background: rgba(37, 211, 102, 0.06); color: #d7fbe5; font-size: 0.84rem; font-weight: 700; text-align: center; text-decoration: none; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.contact-whatsapp-link:hover { transform: translateY(-2px); border-color: #25d366; background: rgba(37, 211, 102, 0.12); }
#floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 999; display: flex; align-items: center; gap: 12px; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; }
#floating-whatsapp.hidden-whatsapp { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(20px); }
.whatsapp-float-link { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38); text-decoration: none; animation: whatsapp-pulse 2.8s ease-in-out 2; transition: transform 180ms ease, box-shadow 180ms ease; }
.whatsapp-float-link:hover { transform: scale(1.05); box-shadow: 0 10px 32px rgba(37, 211, 102, 0.3); }
.whatsapp-float-link svg { width: 29px; height: 29px; fill: currentColor; }
.whatsapp-tooltip { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 35, 37, 0.96); color: var(--ink); box-shadow: var(--shadow); font-size: 0.78rem; opacity: 0; animation: whatsapp-tooltip-in 420ms ease 1.5s forwards; }
.whatsapp-tooltip[hidden] { display: none; }
.whatsapp-tooltip-close { display: grid; width: 24px; height: 24px; place-items: center; padding: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); font-size: 1.15rem; line-height: 1; }
.whatsapp-tooltip-close:hover { transform: none; background: rgba(255, 255, 255, 0.1); color: var(--ink); }
@keyframes whatsapp-tooltip-in { to { opacity: 1; } }
@keyframes whatsapp-pulse { 0%, 100% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38), 0 0 0 0 rgba(37, 211, 102, 0.28); } 50% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(37, 211, 102, 0); } }
.project-loading, .project-message { grid-column: 1 / -1; margin: 0; padding: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); }
.project-loading { animation: project-pulse 1.3s ease-in-out infinite alternate; }
@keyframes project-pulse { to { opacity: 0.58; } }

.contact-links-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  margin-top: 26px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: rgba(20, 35, 37, 0.8);
  box-shadow: var(--shadow);
}

.contact-links-panel p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-links-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-links-list a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(242, 184, 102, 0.08);
}

.contact-links-list i {
  color: var(--gold-light);
}

strong, .highlight { color: var(--coral); font-weight: 700; }

footer { padding: 28px 24px; background: var(--ink); color: #dbe7e1; }
footer p { max-width: 1120px; margin: 0 auto; font-family: "Trebuchet MS", sans-serif; font-size: 0.82rem; }
.services-footer { padding: 38px 24px; background: #173b35; color: #dce8f3; }
.services-footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: 1120px; margin: 0 auto; }
.services-footer strong { color: #fff; font-size: 1.15rem; }
.services-footer p { margin: 14px 0 0; color: #b9c9d9; font-size: 1rem; }
.footer-contact-details { display: grid; gap: 14px; text-align: right; }
.footer-contact-details a { color: #dce8f3; font-size: 1rem; text-decoration: none; }
.footer-contact-details i { width: 1.2em; color: var(--gold); text-align: center; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.is-leaving { opacity: 0; transition: opacity 220ms ease; }

@keyframes page-load { to { transform: scaleX(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  :root { --page-pad: 32px; }

  .navbar { align-items: center; flex-direction: row; padding-block: 24px; }
  .logo { gap: 9px; font-size: 1.2rem; }
  .logo img { width: 38px; height: 38px; }
  nav { gap: 22px; }
  nav a { font-size: 0.98rem; }
  .hero { padding-block: 96px; }
  .home-intro { grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr); gap: 42px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cards, .about-grid, .contact-grid, .profile-showcase, .service-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founders-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .intro-layout { grid-template-columns: minmax(0, 1.15fr) minmax(210px, 0.85fr); gap: 32px; }
  .intro-visual { height: clamp(180px, 19vw, 250px); }
  .case-study-columns { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; }
  .service-contact { grid-template-columns: 1fr; }
  .service-contact-actions { grid-template-columns: repeat(2, minmax(120px, 1fr)); min-width: 0; width: 100%; }
  .identity-section { padding-block: 76px 84px; }
  .design-architecture-section { padding-block: 42px 54px; }
  .design-card-compact { grid-template-columns: minmax(0, 200px) 1fr; gap: 0; }
  .design-card-top { padding: 22px 20px; }
  .design-role { font-size: 1.05rem; }
  .cta { padding-block: 76px 88px; }
  .home-process { padding-bottom: 30px; }
  .home-toolkit { padding-top: 14px; }
  .cta-box { min-height: 330px; padding: 64px clamp(34px, 7vw, 86px); }
}

@media (min-width: 900px) {
  :root {
    --page-pad: 48px;
  }

  .navbar { padding-block: 28px; }
  .logo { font-size: 1.3rem; }
  .logo img { width: 42px; height: 42px; }
  nav { gap: 28px; }
  nav a { font-size: 1rem; }
  .hero { padding-block: clamp(110px, 12vw, 150px); }
  .home-intro { gap: clamp(48px, 7vw, 96px); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-contact { grid-template-columns: minmax(0, 1fr) auto; }
  .service-contact-actions { min-width: 290px; width: auto; }
  .about-grid, .contact-grid { gap: 28px; }
  .contact-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.3fr); }
  .form-embed { min-height: 100%; }
  .profile-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-preview, .about, .portfolio, .contact { padding-block: var(--section-spacing); }
  .design-architecture-section { padding-block: 50px 62px; }
  .design-card-compact { grid-template-columns: minmax(0, 260px) 1fr; gap: 0; }
  .design-card-top { padding: 28px 26px; }
  .design-role { font-size: 1.12rem; }
  .design-summary { font-size: 0.88rem; }
  .home-process { padding-bottom: 42px; }
  .home-toolkit { padding-top: 20px; }
  .identity-section { padding-block: 86px 92px; }
  .cta { padding-block: 92px 104px; }
}

@media (min-width: 769px) and (max-width: 992px) {
  :root { --section-spacing: var(--section-spacing-tablet); }
}

@media (min-width: 993px) {
  :root { --section-spacing: var(--section-spacing-desktop); }
}

@media (max-width: 768px) {
  :root { --section-spacing: var(--section-spacing-mobile); }
  #floating-whatsapp { right: 18px; bottom: 18px; }
  .whatsapp-float-link { width: 50px; height: 50px; flex-basis: 50px; }
  .whatsapp-float-link svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { max-width: min(250px, calc(100vw - 96px)); padding: 8px 10px 8px 12px; font-size: 0.7rem; }
}

.legal-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 1120px; margin: 20px auto 0; padding-top: 16px; border-top: 1px solid rgba(220, 232, 243, 0.18); }
.legal-footer-links a { color: #dce8f3; font-size: 0.82rem; text-decoration: none; }
.legal-footer-links a:hover { color: var(--gold-light); }
.legal-page { padding: 54px var(--page-pad) 76px; }
.legal-page > .section-intro { max-width: 760px; margin: 0 auto 30px; }
.legal-content { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.legal-content section { padding: 22px 24px; border: 1px solid var(--line); background: rgba(20, 35, 37, 0.8); box-shadow: var(--shadow); }
.legal-content h2 { margin: 0 0 10px; color: var(--gold-light); font-size: 1.2rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 0.92rem; }
.legal-content p:last-child { margin-bottom: 0; }
.case-study-expanded { display: grid; grid-column: 1 / -1; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-study-expanded section { min-width: 0; }
.case-study-expanded h3 { margin: 0 0 7px; color: var(--gold-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.case-study-expanded p { margin: 0; }
.case-study-tech-stack { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.case-study-tech-stack li { padding: 5px 8px; border: 1px solid rgba(242, 184, 102, 0.2); background: rgba(242, 184, 102, 0.04); color: var(--gold-light); font-size: 0.7rem; }
@media (min-width: 700px) {
  .case-study-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-study-expanded .case-study-tech-section { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-link { animation: none; }
  .whatsapp-tooltip { animation: none; opacity: 1; }
}

@media (min-width: 1280px) {
  :root {
    --page-pad: 64px;
    --section-spacing: var(--section-spacing-desktop);
  }

  .hero h1 { font-size: clamp(4.5rem, 6vw, 6.2rem); }
  .section-intro h1, .section-intro h2 { font-size: clamp(2.4rem, 3.4vw, 3.7rem); }
  .home-overview p { font-size: clamp(1.2rem, 1.5vw, 1.4rem); }
  .services-preview, .about, .portfolio, .contact { padding-block: var(--section-spacing); }
  .design-architecture-section { padding-block: 56px 70px; }
  .design-card-compact { grid-template-columns: minmax(0, 300px) 1fr; gap: 0; }
  .design-card-top { padding: 32px 30px; }
  .design-role { font-size: 1.2rem; }
  .home-process { padding-bottom: 48px; }
  .home-toolkit { padding-top: 24px; }
  .cta-box { max-width: 960px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.industries-section {
  padding: 62px var(--page-pad) 70px;
  border-top: 1px solid var(--line);
}

.industries-section > .section-intro {
  max-width: 720px;
  margin-bottom: 30px;
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.industry-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(20, 35, 37, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.industry-card:hover {
  border-color: rgba(242, 184, 102, 0.46);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 22px rgba(242, 184, 102, 0.08);
  transform: translateY(-3px);
}

.industry-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(242, 184, 102, 0.24);
  border-radius: 10px;
  background: rgba(242, 184, 102, 0.08);
  color: var(--gold-light);
  font-size: 0.95rem;
}

.industry-card h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.industry-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.4;
}

@media (min-width: 600px) {
  .industries-section { padding-block: 76px 84px; }
  .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (min-width: 800px) and (max-width: 1023px) {
  .industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .industry-card { min-height: 104px; padding: 14px 12px; }
  .industry-card h3 { font-size: 0.84rem; }
  .industry-card p { font-size: 0.68rem; }
}

@media (min-width: 1280px) {
  .industries-section { padding-block: 86px 94px; }
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(242, 184, 102, 0.34);
  border-radius: 6px;
  background: rgba(20, 35, 37, 0.96);
  color: var(--ink);
}
.menu-toggle span { display: block; width: 21px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
  .navbar {
    z-index: 1002;
    width: 100%;
    min-height: 76px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }
  .logo { min-width: 0; gap: 8px; font-size: clamp(1rem, 4vw, 1.2rem); }
  .logo img { width: 38px; height: 38px; flex: 0 0 38px; }
  .menu-toggle { position: relative; z-index: 1004; display: flex; margin-left: auto; }
  .navbar nav.site-navigation {
    position: fixed;
    inset: 0;
    z-index: 1003;
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    overflow-y: auto;
    padding: 88px 24px 32px;
    border: 0;
    background: rgba(13, 23, 24, 0.99);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 220ms ease, transform 260ms ease, visibility 260ms ease;
    visibility: hidden;
  }
  body.menu-open .navbar nav.site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }
  .navbar nav.site-navigation a {
    display: flex;
    min-height: 56px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.1rem;
  }
  .navbar nav.site-navigation a:hover,
  .navbar nav.site-navigation a[aria-current="page"] { color: var(--gold-light); }
  .navbar nav.site-navigation a:focus-visible,
  .menu-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
  .hero, .services-preview, .about, .portfolio, .contact, .legal-page { padding-right: 16px; padding-left: 16px; }
  .section-intro h1, .section-intro h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    overflow-wrap: anywhere;
    line-height: 1.05;
  }
  .cards, .about-grid, .contact-grid, .founders-row,
  .service-detail-grid, .intro-layout, .home-intro, .process, .case-study-columns,
  .service-contact, .design-card-compact {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-showcase { display: flex; width: 100%; flex-direction: column; align-items: stretch; gap: 24px; overflow-x: visible; scroll-snap-type: none; }
  .about-page .profile-showcase { margin-top: 32px; }
  .profile-frame { width: 100%; max-width: 440px; height: 520px; max-height: 70vh; margin-inline: auto; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
  .profile-frame::-webkit-scrollbar { display: none; width: 0; }
  .identity-section .founders-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 440px;
  }
  .identity-section .founder-card { min-width: 0; padding: 8px; }
  .identity-section .founder-portrait { aspect-ratio: 1; }
  .identity-section .founder-portrait img { object-position: center 25%; }
  .identity-section .founder-card h3 { margin-top: 8px; font-size: 1.05rem; }
  .identity-section .founder-card h3 strong { font-size: 1.35rem; }
  .identity-section .identity-convergence { height: 96px; margin: 18px auto 22px; }
  .identity-section .identity-monogram { width: 76px; height: 76px; font-size: 1.2rem; }
  .contact-form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { gap: 22px; }
  .contact-grid > .section-intro { width: 100%; }
  .contact-links-panel { min-height: 0; }
  .service-contact-actions { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .case-study { padding: 14px; }
  .case-study-media { min-height: 0; }
  .case-study-meta { margin-top: 16px; }
  .about-card, .service-entry, .legal-content section { padding: 20px 18px; }
  .contact-field input, .contact-field select, .contact-field textarea,
  .contact-submit, .contact-whatsapp-link, .service-contact-actions a,
  .admin-form input, .admin-form textarea, .admin-form select,
  .admin-toolbar input, .admin-toolbar select, .admin-table td select {
    min-height: 48px;
  }
  .contact-field textarea { min-height: 140px; }
  .services-footer-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-contact-details { text-align: left; }
  .legal-footer-links { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .navbar { padding-right: 12px; padding-left: 12px; }
  .logo { gap: 6px; font-size: 0.96rem; letter-spacing: 0.01em; }
  .logo img { width: 34px; height: 34px; flex-basis: 34px; }
  .menu-toggle { width: 46px; height: 46px; flex-basis: 46px; }
  .navbar nav.site-navigation { padding-right: 18px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar nav.site-navigation, .menu-toggle span { transition: none; }
}

@media (max-width: 768px) {
  body .mobile-carousel {
    display: flex;
    width: calc(100% + 32px);
    max-width: none;
    margin-inline: -16px;
    padding: 8px 28px 16px 20px;
    gap: 16px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .mobile-carousel::-webkit-scrollbar { display: none; }
  .mobile-carousel > * {
    flex: 0 0 74vw;
    width: 74vw;
    max-width: none;
    min-width: 0;
    scroll-snap-align: start;
  }
  .mobile-carousel > .project-loading,
  .mobile-carousel > .project-message { flex-basis: 100%; width: 100%; max-width: none; }
  .mobile-carousel:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
}
