:root {
  --ink: #1c241d;
  --forest: #26382d;
  --deep: #17251d;
  --sage: #758476;
  --ivory: #f6f1e8;
  --paper: #fffdf9;
  --sand: #e8dfd1;
  --muted: #737a74;
  --line: rgba(28, 36, 29, .14);
  --green-soft: #e3ece1;
  --red-soft: #f3e4e1;
  --shadow: 0 24px 70px rgba(28, 37, 30, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.public-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.public-section { padding: 112px 0; }
.kicker { margin: 0 0 18px; color: var(--sage); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.kicker-light { color: #d9d2c3; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 0 24px; cursor: pointer; font-size: 12px; font-weight: 700; transition: .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 40px; padding: 0 18px; }
.btn-dark { background: var(--deep); color: white; }
.btn-light { background: var(--ivory); color: var(--deep); }
.btn-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-block { width: 100%; }
.under-link { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 12px; font-weight: 700; }

.public-brand, .admin-brand, .setup-brand { display: inline-flex; align-items: center; gap: 12px; }
.public-brand > span, .admin-brand > span, .setup-brand > span,
.public-brand > img, .admin-brand > img { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid currentColor; border-radius: 50%; object-fit: contain; font-family: Georgia, serif; font-size: 12px; }
.public-brand > img, .admin-brand > img { border: 0; border-radius: 0; }
.public-brand strong, .admin-brand strong, .setup-brand strong { display: grid; font-family: Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1; }
.public-brand small, .admin-brand small, .setup-brand small { margin-top: 5px; font-family: Arial, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

.public-header { position: absolute; z-index: 10; inset: 0 0 auto; color: white; }
.nav-inner { display: flex; height: 90px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.22); }
.nav-inner nav { display: flex; gap: 34px; font-size: 12px; }
.nav-inner nav a { opacity: .78; }
.nav-inner nav a:hover { opacity: 1; }
.public-hero { position: relative; display: flex; min-height: 840px; align-items: center; overflow: hidden; background: linear-gradient(90deg, rgba(11,18,13,.88), rgba(11,18,13,.52) 48%, rgba(11,18,13,.08)), url("hero.png") center/cover no-repeat; color: white; }
.hero-copy { padding-top: 70px; }
.hero-copy h1, .intro-layout h2, .section-title h2, .center-title h2, .final-public-cta h2 { max-width: 780px; margin: 0; font-family: Georgia, serif; font-size: clamp(52px, 7vw, 102px); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.hero-copy > p:not(.kicker) { max-width: 570px; margin: 30px 0 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.8; }
.hero-copy > div { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-button { border-bottom: 1px solid currentColor; padding-bottom: 5px; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; }
.hero-points { position: absolute; right: 0; bottom: 28px; left: 0; display: flex; gap: 44px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-points span:not(:last-child)::after { margin-left: 44px; color: #b99963; content: "•"; }

.intro-layout { display: grid; grid-template-columns: 1.25fr .65fr; gap: 90px; align-items: end; }
.intro-layout h2, .section-title h2, .center-title h2, .final-public-cta h2 { font-size: clamp(42px, 5vw, 70px); line-height: .98; }
.intro-layout > div:last-child > p, .section-title > p, .center-title > p, .final-public-cta p { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-tint { background: var(--ivory); }
.section-title { display: grid; grid-template-columns: 1.2fr .5fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-title > p { margin: 0; }
.service-public-list { border-top: 1px solid var(--line); }
.service-public-list article { display: grid; grid-template-columns: 60px 1fr 1.1fr 150px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); padding: 30px 5px; }
.service-public-list article > span { color: var(--sage); font-size: 10px; font-weight: 700; }
.service-public-list h3 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.service-public-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-public-list article > strong { font-size: 11px; text-align: right; }

.quote-split { display: grid; min-height: 650px; grid-template-columns: 1.3fr .7fr; }
.quote-split > div { background: url("detail.png") center/cover no-repeat; }
.quote-split article { display: flex; flex-direction: column; justify-content: center; background: var(--forest); color: white; padding: 65px; }
.quote-split blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 4vw, 64px); letter-spacing: -.04em; line-height: 1.04; }
.quote-split article span { margin-top: 30px; color: #bac5b9; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.center-title { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.center-title h2 { margin-inline: auto; }
.center-title > p { max-width: 560px; margin: 24px auto 0; }
.process-public-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.process-public-grid article { display: flex; min-height: 290px; flex-direction: column; justify-content: space-between; background: var(--paper); padding: 28px; }
.process-public-grid article > span { color: var(--sage); font-size: 10px; font-weight: 700; }
.process-public-grid h3 { margin: auto 0 14px; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.process-public-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.portfolio-public-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: end; }
.portfolio-public-grid figure { margin: 0; }
.portfolio-public-grid img { width: 100%; height: 650px; object-fit: cover; }
.portfolio-public-grid figure:nth-child(even) img { height: 480px; }
.portfolio-public-grid figcaption { padding-top: 14px; font-family: Georgia, serif; font-size: 18px; }
.asset-warning { margin: 20px 0 0; color: #878c87; font-size: 11px; font-style: italic; }
.testimonial-public { background: var(--deep); color: white; text-align: center; }
.testimonial-public blockquote { max-width: 900px; margin: 28px auto; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 70px); letter-spacing: -.04em; line-height: 1.04; }
.testimonial-public > div > span { color: #c4cbbf; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.final-public-cta { background: var(--sand); }
.public-footer { background: #111a14; color: white; padding: 70px 0 24px; }
.footer-public-grid { display: grid; grid-template-columns: 1.5fr .5fr .65fr; gap: 75px; }
.footer-public-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 12px; }
.footer-public-grid > div:first-child p { max-width: 350px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-public-grid > div > strong { margin-bottom: 8px; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.footer-copy { margin-top: 55px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; color: rgba(255,255,255,.4); font-size: 10px; }

/* Shared forms */
.main-form, .admin-form, .setup-form { display: grid; gap: 19px; }
.main-form label, .admin-form label, .setup-form label { display: grid; gap: 8px; color: #424a43; font-size: 12px; font-weight: 700; }
.main-form input, .main-form select, .main-form textarea,
.admin-form input, .admin-form select, .admin-form textarea,
.setup-form input, .setup-form select, .setup-form textarea,
.panel-search input, .public-invoice-link input { width: 100%; border: 1px solid rgba(28,36,29,.17); border-radius: 5px; outline: 0; background: white; color: var(--ink); padding: 13px 14px; font-size: 13px; }
.main-form input:focus, .main-form select:focus, .main-form textarea:focus,
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(117,132,118,.12); }
.main-form textarea, .admin-form textarea { resize: vertical; }
.main-form label small, .admin-form label small, .setup-form label small { color: var(--muted); font-size: 10px; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-disclaimer { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; }
.check-label { display: flex !important; align-items: center; gap: 9px !important; }
.check-label input { width: auto; }
.alert { margin-bottom: 18px; border-radius: 5px; padding: 13px 15px; font-size: 12px; line-height: 1.5; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-error { background: var(--red-soft); color: #874c43; }
.alert-success { background: var(--green-soft); color: #426849; }

/* Public booking */
.booking-public-body { background: var(--ivory); }
.booking-public-shell { display: grid; min-height: 100vh; grid-template-columns: .9fr 1.1fr; }
.booking-public-intro { display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; background: linear-gradient(rgba(17,29,21,.48),rgba(17,29,21,.9)),url("ceremony.png") center/cover; color: white; padding: 48px clamp(35px,7vw,90px); }
.booking-public-intro h1 { max-width: 620px; margin: 0; font-family: Georgia, serif; font-size: clamp(50px,6vw,84px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.booking-public-intro > div > p:last-child { max-width: 500px; margin: 26px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.8; }
.booking-public-intro > a:last-child { font-size: 12px; }
.booking-public-form { width: min(660px,100%); margin: auto; padding: 70px 55px; }
.form-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.form-heading h2 { margin: 0; font-family: Georgia,serif; font-size: 32px; font-weight: 400; }
.form-heading > span { color: var(--muted); font-size: 11px; }
.booking-success { max-width: 520px; text-align: center; }
.booking-success > span { display: grid; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; background: var(--green-soft); color: #47714c; place-items: center; font-size: 22px; }
.booking-success h2 { margin: 0; font-family: Georgia,serif; font-size: 42px; font-weight: 400; }
.booking-success p { color: var(--muted); line-height: 1.8; }
.booking-success .btn { margin: 15px 8px; }
.booking-success .under-link { display: block; width: fit-content; margin: 15px auto; }

/* Setup & login */
.setup-body, .login-body { display: grid; min-height: 100vh; padding: 40px 20px; background: linear-gradient(135deg,#eae3d7,#f8f5ee); place-items: center; }
.setup-card, .login-card { width: min(610px,100%); background: white; box-shadow: var(--shadow); padding: 52px; }
.login-card { width: min(460px,100%); }
.setup-brand, .login-brand { margin-bottom: 50px; }
.setup-card h1, .login-card h1 { margin: 0; font-family: Georgia,serif; font-size: 45px; font-weight: 400; letter-spacing: -.04em; }
.setup-lead, .login-lead, .setup-success p { margin: 15px 0 30px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.setup-form hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.setup-success .btn { margin-top: 10px; }
.login-back { display: block; width: fit-content; margin: 28px auto 0; color: var(--muted); }

/* Admin */
.admin-body { background: #f5f5f1; }
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 245px 1fr; }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; background: var(--deep); color: white; padding: 28px 20px 22px; }
.admin-brand { margin: 0 10px 42px; }
.admin-brand strong { font-size: 18px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a { border-radius: 6px; color: rgba(255,255,255,.6); padding: 13px 14px; font-size: 12px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.09); color: white; }
.admin-sidebar-bottom { display: grid; gap: 4px; margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.admin-sidebar-bottom a, .admin-sidebar-bottom button { width: 100%; border: 0; background: transparent; color: rgba(255,255,255,.55); padding: 10px 14px; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.logout-form { margin: 0; }
.admin-main { min-width: 0; }
.admin-topbar { display: flex; height: 70px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e6e0; background: rgba(255,255,255,.88); padding: 0 35px; color: #8b908b; font-size: 11px; }
.admin-topbar strong { color: #444b45; }
.admin-user { display: grid; min-width: 34px; height: 34px; place-items: center; border-radius: 999px; background: #e8ece6; color: #5d695e; padding: 0 12px; font-weight: 700; }
.mobile-menu { display: none; border: 0; background: transparent; cursor: pointer; }
.admin-content { width: min(1320px,100%); margin: auto; padding: 42px 38px 70px; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.admin-page-heading h1 { margin: 0; font-family: Georgia,serif; font-size: 44px; font-weight: 400; letter-spacing: -.04em; }
.admin-page-heading > div > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.compact-heading { align-items: center; }
.heading-actions { display: flex; gap: 9px; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 15px; }
.admin-stats article { display: grid; min-height: 135px; border: 1px solid #e2e4de; border-radius: 8px; background: white; padding: 20px; }
.admin-stats article span { color: #7b817c; font-size: 11px; font-weight: 700; }
.admin-stats article strong { margin: 12px 0; font-family: Georgia,serif; font-size: 28px; font-weight: 400; }
.admin-stats article small { align-self: end; color: #979c97; font-size: 10px; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 15px; }
.admin-panel { overflow: hidden; border: 1px solid #e2e4de; border-radius: 8px; background: white; }
.panel-head { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #ecece7; padding: 18px 21px; }
.panel-head h2 { margin: 0; font-size: 13px; }
.panel-head p { margin: 5px 0 0; color: #999d99; font-size: 10px; }
.panel-head > a { color: var(--sage); font-size: 11px; font-weight: 700; }
.admin-event-list, .admin-invoice-list { padding: 4px 20px; }
.admin-event-list > a { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; border-bottom: 1px solid #efefeb; padding: 14px 0; }
.admin-date { display: grid; width: 42px; height: 42px; border-radius: 5px; background: #edf0ea; place-content: center; text-align: center; }
.admin-date strong { font-family: Georgia,serif; font-size: 15px; }
.admin-date small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.admin-event-list > a > span:nth-child(2), .admin-invoice-list a > span { display: grid; gap: 4px; }
.admin-event-list strong, .admin-invoice-list strong { font-size: 11px; }
.admin-event-list small, .admin-invoice-list small { color: #949994; font-size: 9px; }
.admin-invoice-list > a { display: grid; grid-template-columns: 1fr auto 74px; gap: 14px; align-items: center; border-bottom: 1px solid #efefeb; padding: 16px 0; }
.admin-invoice-list b { font-size: 11px; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid #ecece7; padding: 14px 20px; }
.quick-actions a { border: 1px solid #e6e8e2; border-radius: 5px; padding: 11px; color: #5f6e61; font-size: 10px; font-weight: 700; text-align: center; }
.empty-state { padding: 38px 20px; color: #929792; font-size: 12px; text-align: center; }

.status { display: inline-flex; width: fit-content; border-radius: 999px; padding: 6px 9px; background: #ededee; color: #707579; font-size: 9px; font-style: normal; font-weight: 700; }
.status-baru, .status-draft { background: #ededee; color: #6d7275; }
.status-konsep, .status-terkirim { background: #e7e8f0; color: #626c8d; }
.status-persiapan, .status-dp { background: #f4ead7; color: #907039; }
.status-finalisasi, .status-sebagian { background: #e4e8f3; color: #59688e; }
.status-selesai, .status-lunas { background: var(--green-soft); color: #4d7352; }
.status-batal, .status-belum { background: var(--red-soft); color: #89554d; }

.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.admin-table th { background: #fafaf7; color: #898e89; padding: 13px 18px; font-size: 9px; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { border-top: 1px solid #eeeeea; padding: 16px 18px; vertical-align: middle; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td small { margin-top: 5px; color: #969b96; font-size: 9px; }
.admin-table td > a { color: #5d705f; }
.actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.actions form { display: inline; margin: 0; }
.actions a, .actions button { border: 0; background: transparent; color: #607263; padding: 0; cursor: pointer; font-size: 10px; font-weight: 700; }
.actions button { color: #a15e55; }
.panel-search form { width: min(260px,100%); }
.filter-tabs { display: flex; gap: 5px; overflow-x: auto; }
.filter-tabs a { border-radius: 999px; color: #7a817b; padding: 7px 10px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.filter-tabs a.active { background: var(--deep); color: white; }
.admin-split-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 15px; align-items: start; }
.side-form { position: sticky; top: 88px; }
.admin-form { padding: 22px; }
.wide-form { padding: 0; }
.form-panel { padding: 0; }
.form-section { display: grid; grid-template-columns: .42fr 1fr; gap: 65px; border-bottom: 1px solid #e9eae5; padding: 32px; }
.form-section > div:first-child h2 { margin: 0; font-family: Georgia,serif; font-size: 22px; font-weight: 400; }
.form-section > div:first-child p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.form-fields { display: grid; gap: 18px; }
.form-submit-row { display: flex; justify-content: flex-end; gap: 9px; padding: 22px 32px; }

.service-admin-list article { display: grid; grid-template-columns: 35px 1fr 70px 70px; gap: 15px; align-items: center; border-bottom: 1px solid #eeeeea; padding: 18px 20px; }
.service-admin-list article.inactive { opacity: .58; }
.service-admin-list article > span { color: var(--sage); font-size: 9px; }
.service-admin-list article > div:nth-child(2) { display: grid; gap: 5px; }
.service-admin-list strong { font-size: 12px; }
.service-admin-list p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.service-admin-list small { color: #949994; font-size: 9px; }
.content-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: start; }
.content-form { border-bottom: 1px solid #ecece7; }
.content-list { padding: 6px 20px 20px; }
.content-list article { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #eeeeea; padding: 15px 0; }
.content-list article > div:first-child { display: grid; gap: 6px; }
.content-list strong { font-size: 11px; }
.content-list p { margin: 0; color: #686f69; font-family: Georgia,serif; font-size: 15px; line-height: 1.4; }
.content-list small { color: #9a9e9a; font-size: 9px; }
.portfolio-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
.portfolio-admin-grid article { overflow: hidden; border: 1px solid #e7e9e3; border-radius: 5px; }
.portfolio-admin-grid img { width: 100%; height: 150px; object-fit: cover; }
.portfolio-admin-grid article > div { display: grid; gap: 4px; padding: 11px; }
.portfolio-admin-grid strong { font-size: 10px; }
.portfolio-admin-grid small { color: var(--muted); font-size: 9px; }
.portfolio-admin-grid .actions { margin-top: 5px; }
.portfolio-admin-grid .actions a, .portfolio-admin-grid .actions button { font-size: 9px; }
.portfolio-admin-grid .empty-state { grid-column: 1 / -1; }
.current-portfolio-image { width: min(100%, 360px); max-height: 210px; border: 1px solid #e7e9e3; border-radius: 6px; object-fit: cover; }
.current-logo { width: 100px; max-height: 75px; object-fit: contain; object-position: left center; }

.invoice-item-head, .invoice-item-row { display: grid; grid-template-columns: 1.45fr 75px 150px 32px; gap: 8px; align-items: center; }
.invoice-item-head { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.invoice-item-row { margin-top: 8px; }
.invoice-item-row button { display: grid; width: 32px; height: 38px; border: 0; border-radius: 4px; background: #f1e7e5; color: #9a5b52; cursor: pointer; place-items: center; }
.add-row-button { width: fit-content; border: 0; background: transparent; color: #5a705d; padding: 5px 0; cursor: pointer; font-size: 10px; font-weight: 700; }
.invoice-view-head { display: grid; grid-template-columns: repeat(3,1fr) auto; gap: 25px; align-items: center; border-bottom: 1px solid #e9eae5; padding: 25px; }
.invoice-view-head > div { display: grid; gap: 8px; }
.invoice-view-head span, .invoice-view-bottom span, .public-invoice-link > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.invoice-view-head strong { font-family: Georgia,serif; font-size: 23px; font-weight: 400; }
.invoice-view-bottom { display: grid; grid-template-columns: 1fr .55fr; gap: 60px; border-top: 1px solid #e9eae5; padding: 28px; }
.invoice-view-bottom p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.invoice-view-bottom dl { display: grid; gap: 11px; margin: 0; }
.invoice-view-bottom dl div { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.invoice-view-bottom dd { margin: 0; font-weight: 700; }
.public-invoice-link { display: grid; grid-template-columns: 120px 1fr auto auto; gap: 12px; align-items: center; background: #fafaf7; padding: 18px 28px; }
.public-invoice-link a { font-size: 10px; font-weight: 700; }
.public-invoice-link form, .project-share-panel form { margin: 0; }

/* Public invoice */
.invoice-public-body { min-height: 100vh; background: #ecece8; padding: 30px 20px 70px; }
.invoice-actions { display: flex; max-width: 930px; align-items: center; justify-content: space-between; margin: 0 auto 18px; color: var(--muted); font-size: 11px; }
.invoice-actions button { min-height: 40px; border: 1px solid #d7d9d4; border-radius: 999px; background: white; padding: 0 17px; cursor: pointer; font-size: 11px; font-weight: 700; }
.invoice-document { max-width: 930px; margin: auto; background: white; box-shadow: var(--shadow); padding: 58px 62px; }
.invoice-document > header { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #dedfdc; padding-bottom: 38px; }
.invoice-document > header > div { display: grid; gap: 7px; text-align: right; }
.invoice-document > header small { color: var(--muted); font-size: 9px; letter-spacing: .15em; }
.invoice-document > header > div strong { font-family: monospace; font-size: 12px; }
.invoice-parties-public { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; padding: 40px 0; }
.invoice-parties-public span, .invoice-summary-public span, .invoice-document footer span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.invoice-parties-public h1 { margin: 0; font-family: Georgia,serif; font-size: 28px; font-weight: 400; }
.invoice-parties-public p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.invoice-parties-public dl, .invoice-summary-public dl { display: grid; gap: 11px; margin: 0; }
.invoice-parties-public dl div, .invoice-summary-public dl div { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; }
.invoice-parties-public dt, .invoice-summary-public dt { color: var(--muted); }
.invoice-parties-public dd, .invoice-summary-public dd { margin: 0; font-weight: 700; }
.invoice-table-public { overflow-x: auto; }
.invoice-table-public table { width: 100%; border-collapse: collapse; }
.invoice-table-public thead { background: var(--deep); color: white; }
.invoice-table-public th { padding: 13px 15px; font-size: 9px; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.invoice-table-public th:first-child, .invoice-table-public td:first-child { text-align: left; }
.invoice-table-public td { border-bottom: 1px solid #e9eae6; padding: 18px 15px; color: #4e554f; font-size: 11px; text-align: right; }
.invoice-summary-public { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; padding: 35px 0 42px; }
.invoice-summary-public p { max-width: 380px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.invoice-summary-public .grand-total { margin-top: 8px; border-top: 1px solid #dedfdc; padding-top: 15px; font-size: 12px; }
.invoice-document footer { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dedfdc; padding-top: 27px; font-size: 11px; }
.invoice-document footer > div:last-child { text-align: right; }
.invoice-document footer p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }

/* Portal Client admin */
.upgrade-panel { padding: 28px; }
.upgrade-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.upgrade-intro > div > span { color: var(--sage); font-size: 11px; font-weight: 700; }
.upgrade-intro h2, .upgrade-success h2 { margin: 12px 0; font-family: Georgia,serif; font-size: 30px; font-weight: 400; }
.upgrade-intro p, .upgrade-success p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.upgrade-intro ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.upgrade-intro li { border-bottom: 1px solid #ecece7; padding: 0 0 12px; font-size: 12px; }
.upgrade-intro li::before { margin-right: 10px; color: #5d785f; content: "✓"; }
.upgrade-action { display: flex; align-items: center; gap: 18px; border-top: 1px solid #e9eae5; margin-top: 28px; padding-top: 22px; }
.upgrade-action small { color: var(--muted); font-size: 10px; }
.upgrade-success { display: flex; align-items: center; gap: 22px; padding: 20px; }
.upgrade-success > span { display: grid; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; background: var(--green-soft); color: #4a754f; font-size: 22px; place-items: center; }

.project-summary-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; margin-bottom: 14px; }
.project-progress-card, .project-data-card { min-height: 132px; padding: 20px; }
.project-progress-card > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.project-progress-card span, .project-data-card span, .project-share-panel span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-progress-card strong { font-family: Georgia,serif; font-size: 30px; font-weight: 400; }
.project-progress-card p { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.admin-progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: #e9ece6; margin-top: 19px; }
.admin-progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--forest); }
.progress-width-0 { width: 0; }
.progress-width-11 { width: 11%; }
.progress-width-22 { width: 22%; }
.progress-width-33 { width: 33%; }
.progress-width-44 { width: 44%; }
.progress-width-56 { width: 56%; }
.progress-width-67 { width: 67%; }
.progress-width-78 { width: 78%; }
.progress-width-89 { width: 89%; }
.progress-width-100 { width: 100%; }

.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.project-data-card { display: flex; flex-direction: column; }
.project-data-card strong { margin: auto 0 9px; font-family: Georgia,serif; font-size: 20px; font-weight: 400; }
.project-data-card small { color: #8f958f; font-size: 9px; }
.project-share-panel { display: grid; grid-template-columns: .8fr 1.3fr auto auto; gap: 15px; align-items: center; margin-bottom: 14px; padding: 16px 20px; }
.project-share-panel p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.project-share-panel input { min-width: 0; border: 1px solid #e0e3dc; border-radius: 5px; background: #fafaf7; padding: 11px 12px; color: #6f756f; font-size: 10px; }
.project-admin-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 14px; align-items: start; }
.project-main-column, .project-side-column { display: grid; gap: 14px; }
.project-side-column { position: sticky; top: 86px; }
.stage-move-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px 21px; }
.stage-move-form select { width: 100%; border: 1px solid #dfe2dc; border-radius: 5px; background: white; padding: 11px 13px; font-size: 11px; }
.project-detail-fields { display: grid; gap: 16px; border-bottom: 1px solid #ecece7; padding: 22px; }
.project-detail-fields label { display: grid; gap: 8px; color: #424a43; font-size: 11px; font-weight: 700; }
.project-detail-fields input, .project-detail-fields textarea { width: 100%; border: 1px solid #dfe2dc; border-radius: 5px; padding: 11px 12px; font-size: 11px; }
.admin-stage-list { padding: 2px 22px; }
.admin-stage-row { display: grid; grid-template-columns: 34px 130px 1fr; gap: 13px; align-items: center; border-bottom: 1px solid #efefeb; padding: 14px 0; }
.admin-stage-row > span:nth-child(2) { display: grid; gap: 4px; }
.admin-stage-row strong { font-size: 11px; }
.admin-stage-row small { color: #959a95; font-size: 9px; }
.admin-stage-row textarea { width: 100%; border: 1px solid #e1e3dd; border-radius: 5px; padding: 10px; resize: vertical; font-size: 10px; }
.stage-number { display: grid; width: 30px; height: 30px; border-radius: 50%; background: #eceeeb; color: #7b827b; font-size: 9px; font-weight: 700; place-items: center; }
.stage-row-completed .stage-number { background: var(--green-soft); color: #4c7451; }
.stage-row-active .stage-number { background: var(--deep); color: white; }
.client-note-box { border-radius: 5px; background: #f4f0e6; padding: 12px; }
.client-note-box strong { font-size: 10px; }
.client-note-box p { margin: 7px 0 0; color: #656b65; font-size: 10px; line-height: 1.6; }
.project-doc-card > div:nth-child(2) { padding: 4px 20px; }
.project-doc-card > div:nth-child(2) > a { display: grid; grid-template-columns: 1fr auto auto; gap: 11px; align-items: center; border-bottom: 1px solid #efefeb; padding: 14px 0; }
.project-doc-card a span { display: grid; gap: 4px; }
.project-doc-card a strong, .project-doc-card a b { font-size: 10px; }
.project-doc-card a small { color: var(--muted); font-size: 8px; }
.project-doc-card a i { color: var(--sage); font-style: normal; }
.project-doc-action { padding: 15px 20px 20px; }

/* Public client portal */
.portal-body { min-height: 100vh; background: #f0f1ed; }
.portal-topbar { display: flex; height: 78px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e4de; background: rgba(255,255,255,.94); padding: 0 max(20px,calc((100% - 760px)/2)); }
.portal-topbar > a:last-child { color: var(--sage); font-size: 10px; font-weight: 700; }
.portal-shell { width: min(760px,calc(100% - 32px)); margin: 28px auto 80px; }
.portal-hero-card { overflow: hidden; border-radius: 16px; background: linear-gradient(135deg,#1b2d21,#314b38); color: white; padding: 30px; box-shadow: 0 20px 50px rgba(24,39,28,.18); }
.portal-hero-top { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.portal-hero-card h1 { margin: 35px 0 7px; font-family: Georgia,serif; font-size: clamp(34px,7vw,50px); font-weight: 400; letter-spacing: -.045em; }
.portal-hero-card > p { margin: 0; color: rgba(255,255,255,.62); font-size: 11px; }
.portal-event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px; }
.portal-event-grid div, .portal-current-stage { display: grid; gap: 6px; }
.portal-event-grid span, .portal-current-stage span { color: rgba(255,255,255,.5); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-event-grid strong { font-size: 11px; font-weight: 600; line-height: 1.5; }
.portal-current-stage { border-radius: 8px; background: rgba(255,255,255,.08); margin-top: 18px; padding: 14px 16px; }
.portal-current-stage strong { color: #ece2ca; font-family: Georgia,serif; font-size: 20px; font-weight: 400; }
.portal-progress-card { border: 1px solid #e1e3dd; border-radius: 12px; background: white; margin-top: 14px; padding: 22px; }
.portal-progress-card > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.portal-progress-card span { color: var(--muted); font-size: 10px; font-weight: 700; }
.portal-progress-card strong { font-family: Georgia,serif; font-size: 28px; font-weight: 400; }
.portal-progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e9ece6; margin-top: 16px; }
.portal-progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#53705a,#829681); }
.portal-progress-card p, .portal-muted { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.portal-section { border: 1px solid #e1e3dd; border-radius: 12px; background: white; margin-top: 14px; padding: 24px; }
.portal-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.portal-section-heading span { color: var(--sage); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.portal-section-heading h2 { margin: 7px 0 0; font-family: Georgia,serif; font-size: 25px; font-weight: 400; }
.portal-section-heading > small { color: #9ba09b; font-size: 8px; }
.portal-timeline { border-top: 1px solid #eceee9; }
.portal-stage { border-bottom: 1px solid #eceee9; }
.portal-stage summary { display: grid; grid-template-columns: 34px 1fr auto; gap: 13px; align-items: center; padding: 15px 0; cursor: pointer; list-style: none; }
.portal-stage summary::-webkit-details-marker { display: none; }
.portal-stage-icon { display: grid; width: 30px; height: 30px; border-radius: 50%; background: #eff0ed; color: #8c918c; font-size: 9px; font-weight: 700; place-items: center; }
.portal-stage-completed .portal-stage-icon { background: var(--green-soft); color: #4f7553; }
.portal-stage-active .portal-stage-icon { background: var(--deep); color: white; }
.portal-stage summary > span:nth-child(2) { display: grid; gap: 4px; }
.portal-stage summary strong { font-size: 11px; }
.portal-stage summary small { color: #9a9e9a; font-size: 8px; }
.portal-stage summary i { color: #999e99; font-size: 12px; font-style: normal; transition: transform .18s ease; }
.portal-stage[open] summary i { transform: rotate(180deg); }
.portal-stage-content { border-radius: 7px; background: #f7f7f3; margin: 0 0 14px 43px; padding: 14px; }
.portal-stage-content > p { margin: 0; color: #707670; font-size: 10px; line-height: 1.7; }
.portal-stage-content dl { display: grid; gap: 9px; border-top: 1px solid #e5e7e1; margin: 12px 0 0; padding-top: 12px; }
.portal-stage-content dl div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 9px; }
.portal-stage-content dt { color: #969b96; }
.portal-stage-content dd { margin: 0; color: #535a54; line-height: 1.6; }
.portal-note { border-left: 2px solid #91a08e; margin-top: 12px; padding-left: 12px; }
.portal-note span { color: #8b918b; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-note p { margin: 5px 0 0; color: #535a54; font-size: 10px; line-height: 1.7; }
.rab-status { border-radius: 999px; padding: 7px 10px; font-size: 8px; font-style: normal; font-weight: 700; white-space: nowrap; }
.rab-draft { background: #ededee; color: #717677; }
.rab-menunggu { background: #f4ead7; color: #8d6c35; }
.rab-disetujui { background: var(--green-soft); color: #4c7351; }
.rab-revisi { background: var(--red-soft); color: #8b574f; }
.rab-value { display: flex; align-items: flex-end; justify-content: space-between; border-radius: 8px; background: #f6f3eb; padding: 17px; }
.rab-value span { color: var(--muted); font-size: 9px; }
.rab-value strong { font-family: Georgia,serif; font-size: 25px; font-weight: 400; }
.rab-client-form { display: grid; gap: 13px; border-top: 1px solid #eceee9; margin-top: 18px; padding-top: 18px; }
.rab-client-form label { display: grid; gap: 8px; color: #4e554f; font-size: 10px; font-weight: 700; }
.rab-client-form textarea { width: 100%; border: 1px solid #dfe2dc; border-radius: 6px; padding: 11px; resize: vertical; font-size: 11px; }
.rab-client-form > div { display: flex; gap: 9px; }
.rab-approved, .rab-revision { display: flex; align-items: center; gap: 13px; border-radius: 7px; background: var(--green-soft); margin-top: 17px; padding: 14px; color: #486e4d; }
.rab-approved > span { display: grid; width: 30px; height: 30px; border-radius: 50%; background: white; place-items: center; }
.rab-approved > div { display: grid; gap: 4px; }
.rab-approved strong, .rab-revision strong { font-size: 10px; }
.rab-approved small { font-size: 8px; }
.rab-revision { display: block; background: var(--red-soft); color: #7c4e48; }
.rab-revision p { margin: 6px 0 0; font-size: 9px; line-height: 1.6; }
.portal-documents { display: grid; gap: 8px; }
.portal-documents article { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; border: 1px solid #e6e8e2; border-radius: 7px; padding: 12px; }
.document-icon { display: grid; width: 34px; height: 34px; border-radius: 6px; background: #edf0ea; color: #5d705f; place-items: center; }
.portal-documents article > div { display: grid; gap: 4px; }
.portal-documents strong { font-size: 10px; }
.portal-documents small { color: var(--muted); font-size: 8px; }
.portal-documents a { color: #5b705e; font-size: 9px; font-weight: 700; }
.portal-empty { margin: 0; color: var(--muted); font-size: 10px; }
.payment-summary dl { display: grid; gap: 13px; margin: 0; }
.payment-summary dl div { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; }
.payment-summary dt { color: var(--muted); }
.payment-summary dd { margin: 0; font-weight: 700; }
.payment-summary .paid-value { color: #4e7754; }
.payment-summary .remaining-row { border-top: 1px solid #e8eae4; padding-top: 15px; font-size: 13px; }
.portal-contact-card { border-radius: 12px; background: var(--forest); color: white; margin-top: 14px; padding: 30px; text-align: center; }
.portal-contact-card > span { color: #b9c5b8; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.portal-contact-card h2 { margin: 10px 0 20px; font-family: Georgia,serif; font-size: 27px; font-weight: 400; }
.portal-footer { display: grid; gap: 8px; padding: 24px 5px; color: #8f958f; font-size: 9px; text-align: center; }
.portal-footer small { font-size: 8px; }

/* Receipt */
.receipt-document { position: relative; max-width: 780px; overflow: hidden; margin: auto; background: white; box-shadow: var(--shadow); padding: 54px 58px; }
.receipt-document header { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #dedfdc; padding-bottom: 30px; }
.receipt-document header > div { display: grid; gap: 7px; text-align: right; }
.receipt-document header small, .receipt-document section > span, .receipt-amount span, .receipt-document footer span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.receipt-document header > div strong { font-family: monospace; font-size: 11px; }
.receipt-paid-mark { width: fit-content; border: 2px solid #5c805f; border-radius: 4px; color: #5c805f; margin: 34px 0 25px auto; padding: 8px 11px; font-size: 10px; font-weight: 800; letter-spacing: .12em; transform: rotate(-2deg); }
.receipt-document section { padding: 15px 0 26px; }
.receipt-document h1 { margin: 11px 0 8px; font-family: Georgia,serif; font-size: 36px; font-weight: 400; }
.receipt-document section p { color: var(--muted); font-size: 11px; }
.receipt-amount { border-radius: 8px; background: var(--ivory); padding: 24px; }
.receipt-amount strong { display: block; margin-top: 10px; font-family: Georgia,serif; font-size: 34px; font-weight: 400; }
.receipt-document > dl { display: grid; gap: 14px; margin: 30px 0; }
.receipt-document > dl div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ecece7; padding-bottom: 12px; font-size: 10px; }
.receipt-document dt { color: var(--muted); }
.receipt-document dd { margin: 0; font-weight: 700; text-align: right; }
.receipt-document footer { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dedfdc; padding-top: 25px; font-size: 10px; }
.receipt-document footer > div:last-child { text-align: right; }
.receipt-document footer p { margin: 6px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }

@media (max-width: 1000px) {
  .nav-inner nav { display: none; }
  .intro-layout, .section-title { grid-template-columns: 1fr; gap: 38px; }
  .process-public-grid { grid-template-columns: 1fr 1fr; }
  .booking-public-shell { grid-template-columns: 1fr; }
  .booking-public-intro { min-height: 650px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-dashboard-grid, .admin-split-layout, .content-admin-grid { grid-template-columns: 1fr; }
  .side-form { position: static; }
  .project-admin-layout { grid-template-columns: 1fr; }
  .project-side-column { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .public-container { width: min(100% - 32px,1160px); }
  .public-section { padding: 78px 0; }
  .public-hero { min-height: 780px; align-items: flex-end; background: linear-gradient(0deg,rgba(11,18,13,.94),rgba(11,18,13,.2)),url("hero.png") 62% center/cover; }
  .hero-copy { padding-bottom: 145px; }
  .hero-copy h1 { font-size: clamp(51px,15vw,74px); }
  .hero-copy > div { flex-direction: column; align-items: flex-start; }
  .hero-points { gap: 20px; overflow-x: auto; white-space: nowrap; }
  .hero-points span:not(:last-child)::after { margin-left: 20px; }
  .service-public-list article { grid-template-columns: 35px 1fr; }
  .service-public-list article > p, .service-public-list article > strong { grid-column: 2; text-align: left; }
  .quote-split { grid-template-columns: 1fr; }
  .quote-split > div { min-height: 500px; }
  .quote-split article { padding: 60px 28px; }
  .process-public-grid, .portfolio-public-grid { grid-template-columns: 1fr; }
  .process-public-grid article { min-height: 220px; }
  .portfolio-public-grid img, .portfolio-public-grid figure:nth-child(even) img { height: 500px; }
  .footer-public-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-public-grid > div:first-child { grid-column: 1/-1; }
  .booking-public-intro { min-height: 600px; padding: 35px 24px; }
  .booking-public-form { padding: 65px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .setup-card, .login-card { padding: 38px 25px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; z-index: 20; top: 0; bottom: 0; left: -255px; width: 245px; transition: left .2s ease; }
  .admin-sidebar.open { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
  .mobile-menu { display: block; }
  .admin-topbar { padding: 0 17px; }
  .admin-topbar > span:first-of-type { display: none; }
  .admin-content { padding: 30px 15px 65px; }
  .admin-page-heading { align-items: flex-start; flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article { min-height: 125px; padding: 16px; }
  .panel-search { align-items: flex-start; flex-direction: column; }
  .panel-search form { width: 100%; }
  .form-section { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; }
  .form-submit-row { padding: 20px 18px; }
  .service-admin-list article { grid-template-columns: 25px 1fr auto; }
  .service-admin-list .actions { grid-column: 2/-1; }
  .invoice-item-head { display: none; }
  .invoice-item-row { grid-template-columns: 1fr 65px; border: 1px solid #e5e7e1; border-radius: 5px; padding: 8px; }
  .invoice-item-row input:first-child { grid-column: 1/-1; }
  .invoice-view-head { grid-template-columns: 1fr 1fr; }
  .invoice-view-bottom { grid-template-columns: 1fr; gap: 25px; }
  .public-invoice-link { grid-template-columns: 1fr; }
  .heading-actions { width: 100%; flex-wrap: wrap; }
  .project-summary-grid { grid-template-columns: 1fr; }
  .project-share-panel { grid-template-columns: 1fr; }
  .project-side-column { grid-template-columns: 1fr; }
  .admin-stage-row { grid-template-columns: 32px 1fr; }
  .admin-stage-row textarea { grid-column: 2; }
  .stage-move-form { grid-template-columns: 1fr; }
  .upgrade-intro { grid-template-columns: 1fr; gap: 25px; }
  .upgrade-action, .upgrade-success { align-items: flex-start; flex-direction: column; }
  .portal-topbar { height: 70px; padding: 0 16px; }
  .portal-topbar .public-brand strong { font-size: 17px; }
  .portal-shell { width: min(100% - 22px,760px); margin-top: 12px; }
  .portal-hero-card { border-radius: 12px; padding: 23px 20px; }
  .portal-hero-card h1 { margin-top: 29px; }
  .portal-event-grid { grid-template-columns: 1fr; }
  .portal-section { padding: 19px 16px; }
  .portal-section-heading { align-items: flex-start; flex-direction: column; }
  .portal-stage-content { margin-left: 0; }
  .portal-stage-content dl div { grid-template-columns: 1fr; gap: 4px; }
  .rab-client-form > div { flex-direction: column; }
  .portal-documents article { grid-template-columns: 36px 1fr auto; }
  .portal-documents article a:last-child { grid-column: 2/-1; }
  .receipt-document { padding: 36px 22px; box-shadow: none; }
  .receipt-document header { gap: 20px; }
  .receipt-document footer { grid-template-columns: 1fr; gap: 22px; }
  .receipt-document footer > div:last-child { text-align: left; }
  .invoice-public-body { padding: 0; }
  .invoice-actions { padding: 14px; }
  .invoice-document { padding: 38px 22px; box-shadow: none; }
  .invoice-parties-public, .invoice-summary-public { grid-template-columns: 1fr; gap: 30px; }
}

@media print {
  body { background: white; }
  .no-print { display: none !important; }
  .invoice-public-body { padding: 0; }
  .invoice-document { max-width: none; box-shadow: none; padding: 20px; }
  .receipt-document { max-width: none; box-shadow: none; padding: 20px; }
}


/* Get Married Official — Canva-inspired dynamic public frontend */
.gm-site {
  --gm-orange: #f93700;
  --gm-orange-dark: #d93100;
  --gm-navy: #323b60;
  --gm-navy-deep: #1b3578;
  --gm-ink: #304254;
  --gm-cream: #f5f1e9;
  --gm-white: #fff;
  --gm-yellow: #fcbf00;
  --gm-teal: #2ab6b1;
  --gm-pink: #fbc0bc;
  --gm-line: rgba(37, 41, 65, .16);
  overflow: hidden;
  background: var(--gm-white);
  color: var(--gm-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.gm-site *,
.gm-site *::before,
.gm-site *::after { box-sizing: border-box; }

.gm-site img { display: block; max-width: 100%; }
.gm-site a { color: inherit; text-decoration: none; }
.gm-wrap { width: min(1220px, calc(100% - 56px)); margin-inline: auto; }
.gm-section { padding: 112px 0; }

.gm-kicker {
  margin: 0 0 18px;
  color: var(--gm-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.gm-kicker-light { color: rgba(255, 255, 255, .72); }

.gm-header {
  position: relative;
  z-index: 30;
  background: var(--gm-white);
  color: var(--gm-navy);
}

.gm-header-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 34px;
}

.gm-brand {
  display: inline-flex;
  min-width: 86px;
  align-items: center;
  gap: 13px;
}

.gm-brand-mark,
.gm-brand > span:first-child:not(.gm-brand-copy) {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 3px solid var(--gm-orange);
  border-radius: 50% 48% 44% 52%;
  color: var(--gm-orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(-7deg);
}

.gm-brand > img {
  width: 82px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: contain;
}

.gm-brand-copy { display: grid; line-height: 1; }
.gm-brand-copy strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.gm-brand-copy small {
  margin-top: 5px;
  color: var(--gm-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gm-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.gm-nav a,
.gm-admin-link { position: relative; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gm-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gm-orange);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}
.gm-nav a:hover::after { transform: scaleX(1); }

.gm-admin-link {
  border: 1px solid var(--gm-navy);
  border-radius: 999px;
  padding: 12px 17px;
  white-space: nowrap;
}

.gm-mobile-menu { display: none; position: relative; margin-left: auto; }
.gm-mobile-menu summary { cursor: pointer; list-style: none; border: 1px solid var(--gm-navy); border-radius: 999px; padding: 11px 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.gm-mobile-menu summary::-webkit-details-marker { display: none; }
.gm-mobile-menu nav { position: absolute; top: 50px; right: 0; display: grid; width: 220px; border: 1px solid var(--gm-line); background: white; box-shadow: 0 22px 60px rgba(32, 41, 79, .18); padding: 10px; }
.gm-mobile-menu nav a { border-bottom: 1px solid var(--gm-line); padding: 12px; font-size: 12px; font-weight: 700; }
.gm-mobile-menu nav a:last-child { border-bottom: 0; }

.gm-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  align-items: end;
  overflow: hidden;
  background: var(--gm-navy-deep);
  color: white;
}

.gm-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 24, 48, .84) 0%, rgba(19, 24, 48, .43) 55%, rgba(19, 24, 48, .18) 100%),
    linear-gradient(0deg, rgba(19, 24, 48, .68), transparent 54%);
}

.gm-hero-content { position: relative; z-index: 2; padding-bottom: 84px; }
.gm-hero h1 {
  display: grid;
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .82;
  text-transform: uppercase;
}
.gm-hero h1 span:last-child { margin-left: clamp(0px, 6vw, 90px); color: var(--gm-white); }
.gm-hero-tagline { max-width: 610px; margin: 28px 0 0; font-size: clamp(17px, 2vw, 24px); font-weight: 600; line-height: 1.35; }
.gm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.gm-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0 25px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease;
}
.gm-button:hover { transform: translateY(-3px); }
.gm-button-light { background: white; color: var(--gm-navy); }
.gm-button-blue { background: var(--gm-navy); color: white; }
.gm-button-orange { background: var(--gm-orange); color: white; }
.gm-button-orange:hover { background: var(--gm-orange-dark); }

.gm-hero-stamp {
  position: absolute;
  z-index: 3;
  right: clamp(28px, 7vw, 110px);
  bottom: -32px;
  display: grid;
  width: 168px;
  height: 168px;
  place-content: center;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--gm-orange);
  text-align: center;
  transform: rotate(8deg);
}
.gm-hero-stamp strong { display: block; margin: 6px 0; font-size: 25px; letter-spacing: .11em; }
.gm-hero-stamp span { font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-style: italic; }

.gm-about { background: var(--gm-white); }
.gm-about-grid { display: grid; grid-template-columns: .25fr 1.2fr .65fr; gap: 54px; align-items: start; }
.gm-section-index span { color: var(--gm-orange); font-size: 72px; font-weight: 900; letter-spacing: -.08em; line-height: .8; }
.gm-section-index p { margin: 16px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.gm-about-main h2,
.gm-heading-row h2,
.gm-process-title h2,
.gm-testimonial-head h2,
.gm-contact h2 {
  margin: 0;
  font-size: clamp(43px, 5.4vw, 78px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .92;
}
.gm-about-copy { padding-top: 36px; }
.gm-about-copy p,
.gm-heading-row > p,
.gm-event-copy > p,
.gm-contact-grid > div:last-child > p {
  margin: 0;
  color: #676b7e;
  font-size: 15px;
  line-height: 1.8;
}
.gm-text-link {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 2px solid var(--gm-orange);
  padding-bottom: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gm-about-story { display: grid; grid-template-columns: .82fr 1fr 1fr; gap: 22px; align-items: stretch; margin-top: 76px; }
.gm-about-art { display: grid; min-height: 430px; place-items: center; overflow: hidden; background: var(--gm-pink); padding: 26px; }
.gm-about-art img { width: 100%; max-height: 390px; object-fit: contain; }
.gm-about-definition { display: flex; min-height: 430px; flex-direction: column; justify-content: center; background: var(--gm-yellow); padding: 38px; }
.gm-about-definition h3 { margin: 0; color: var(--gm-navy); font-size: clamp(27px, 3vw, 42px); letter-spacing: -.045em; line-height: 1.05; }
.gm-about-definition > p:last-child { margin: 30px 0 0; color: rgba(48,66,84,.82); font-size: 14px; line-height: 1.75; }
.gm-vision-mission { display: grid; gap: 1px; background: rgba(255,255,255,.22); }
.gm-vision-mission article { background: var(--gm-teal); color: white; padding: 30px; }
.gm-vision-mission article:last-child { background: var(--gm-navy); }
.gm-vision-mission span { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.gm-vision-mission p,
.gm-vision-mission ul { margin: 0; padding: 0; font-size: 12px; line-height: 1.7; }
.gm-vision-mission ul { padding-left: 17px; }
.gm-vision-mission li + li { margin-top: 9px; }

.gm-get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 80px; background: var(--gm-line); border: 1px solid var(--gm-line); }
.gm-get-grid article { display: flex; min-height: 220px; gap: 25px; background: var(--gm-cream); padding: 32px; }
.gm-get-grid article > span { color: var(--gm-orange); font-size: 62px; font-weight: 900; line-height: 1; }
.gm-get-grid h3 { margin: 5px 0 12px; color: var(--gm-navy); font-size: 23px; }
.gm-get-grid p { margin: 0; color: #696d7d; font-size: 13px; line-height: 1.7; }

.gm-belief { position: relative; background: var(--gm-navy); color: white; padding: 100px 0; }
.gm-belief::after {
  position: absolute;
  top: -74px;
  right: -45px;
  width: 260px;
  height: 260px;
  border: 38px solid var(--gm-orange);
  border-radius: 50%;
  content: "";
  opacity: .95;
}
.gm-belief-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .48fr 1.4fr .45fr; gap: 50px; align-items: center; }
.gm-belief h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 4.6vw, 66px); font-weight: 400; line-height: 1.05; }
.gm-belief-question { display: block; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.045em; line-height: 1; text-transform: uppercase; }
.gm-mini-label { display: block; margin-bottom: 14px; color: var(--gm-yellow); font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.gm-belief-notes { display: grid; gap: 12px; }
.gm-belief-notes span { border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 11px 16px; text-align: center; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.gm-belief-notes .gm-mini-label { border: 0; border-radius: 0; padding: 0; text-align: left; }

.gm-services { background: var(--gm-cream); }
.gm-heading-row { display: grid; grid-template-columns: 1.15fr .55fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.gm-heading-row > p { margin: 0; }
.gm-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gm-service-grid article { display: flex; min-height: 410px; flex-direction: column; border: 1px solid var(--gm-line); background: white; padding: 30px; transition: transform .2s ease, box-shadow .2s ease; }
.gm-service-grid article:nth-child(3n+2) { background: var(--gm-navy); color: white; transform: translateY(22px); }
.gm-service-grid article:hover { transform: translateY(-6px); box-shadow: 0 26px 70px rgba(35, 41, 75, .13); }
.gm-service-grid article:nth-child(3n+2):hover { transform: translateY(14px); }
.gm-service-top { display: flex; align-items: center; justify-content: space-between; color: var(--gm-orange); font-size: 12px; font-weight: 900; }
.gm-service-grid h3 { margin: auto 0 22px; font-size: clamp(29px, 3vw, 42px); letter-spacing: -.045em; line-height: .98; }
.gm-service-grid p { margin: 0 0 18px; color: #74788a; font-size: 13px; line-height: 1.75; }
.gm-service-grid article:nth-child(3n+2) p { color: rgba(255,255,255,.68); }
.gm-service-grid article > strong { margin-bottom: 18px; color: var(--gm-orange); font-size: 11px; text-transform: uppercase; }
.gm-service-grid article > a { align-self: flex-start; border-bottom: 2px solid currentColor; padding-bottom: 5px; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.gm-process { background: var(--gm-orange); color: white; padding: 106px 0; }
.gm-process-title { display: grid; grid-template-columns: .45fr 1.2fr; gap: 50px; align-items: end; margin-bottom: 55px; }
.gm-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.45); border-left: 1px solid rgba(255,255,255,.45); }
.gm-step-grid article { display: flex; min-height: 245px; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.45); padding: 24px; }
.gm-step-grid span { font-size: 11px; font-weight: 900; opacity: .7; }
.gm-step-grid h3 { max-width: 190px; margin: 0 0 12px; font-size: 20px; line-height: 1.15; }
.gm-step-grid p { margin: 0; color: rgba(255,255,255,.76); font-size: 11px; line-height: 1.6; }

.gm-portfolio { background: white; }
.gm-heading-compact { grid-template-columns: 1fr auto; }
.gm-heading-compact .gm-text-link { margin: 0; }
.gm-portfolio-grid { display: grid; grid-auto-rows: 280px; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.gm-portfolio-grid figure { position: relative; overflow: hidden; margin: 0; background: var(--gm-navy); }
.gm-portfolio-grid .gm-portfolio-tall { grid-row: span 2; }
.gm-portfolio-grid figure:nth-child(4) { grid-column: 1 / -1; }
.gm-portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gm-portfolio-grid figure:hover img { transform: scale(1.035); }
.gm-portfolio-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 5px; background: linear-gradient(transparent, rgba(17,21,40,.84)); color: white; padding: 65px 24px 22px; }
.gm-portfolio-grid figcaption span { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.gm-portfolio-grid figcaption strong { font-size: 22px; }
.gm-dashboard-note { margin: 18px 0 0; color: #818493; font-size: 11px; font-style: italic; }

.gm-event { position: relative; background: var(--gm-navy); color: white; padding: 110px 0; }
.gm-event-grid { display: grid; grid-template-columns: 1.05fr .58fr .52fr; gap: 55px; align-items: center; }
.gm-event h2 { margin: 0; font-size: clamp(44px, 5.6vw, 78px); font-weight: 900; letter-spacing: -.06em; line-height: .92; }
.gm-event-copy > p { color: rgba(255,255,255,.68); }
.gm-event-orbit { position: relative; display: grid; width: 260px; height: 260px; place-items: center; border: 2px solid rgba(255,255,255,.38); border-radius: 50%; }
.gm-event-orbit::before { position: absolute; width: 145px; height: 145px; border-radius: 50%; background: var(--gm-orange); content: ""; }
.gm-event-orbit span { position: absolute; z-index: 1; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.gm-event-orbit span:nth-child(1) { top: 27px; }
.gm-event-orbit span:nth-child(2) { color: white; font-size: 13px; }
.gm-event-orbit span:nth-child(3) { bottom: 27px; }
.gm-event-projects { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 15px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.25); }
.gm-event-projects span { display: flex; min-height: 90px; align-items: end; background: var(--gm-navy); padding: 20px; font-size: 11px; font-weight: 900; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; }
.gm-event-projects span:nth-child(2) { background: var(--gm-orange); }
.gm-event-projects span:nth-child(3) { background: var(--gm-teal); }
.gm-event-projects span:nth-child(4) { background: var(--gm-yellow); color: var(--gm-navy); }

.gm-testimonial { background: var(--gm-cream); }
.gm-testimonial-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 52px; }
.gm-testimonial-head > span { color: var(--gm-orange); font-size: 18px; letter-spacing: .18em; }
.gm-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gm-testimonial-grid blockquote { display: flex; min-height: 330px; flex-direction: column; margin: 0; border: 1px solid var(--gm-line); background: white; padding: 30px; }
.gm-testimonial-grid blockquote:nth-child(even) { background: var(--gm-orange); color: white; }
.gm-testimonial-grid blockquote > span { color: var(--gm-orange); font-size: 11px; font-weight: 900; }
.gm-testimonial-grid blockquote:nth-child(even) > span { color: white; opacity: .7; }
.gm-testimonial-grid blockquote p { margin: auto 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.35; }
.gm-testimonial-grid cite { font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.gm-contact { background: var(--gm-orange); color: white; padding: 108px 0; }
.gm-contact-grid { display: grid; grid-template-columns: 1.25fr .55fr; gap: 80px; align-items: end; }
.gm-contact-grid > div:last-child > p { color: rgba(255,255,255,.76); }

.gm-footer { background: #171c37; color: white; padding: 76px 0 24px; }
.gm-footer .gm-brand-mark,
.gm-footer .gm-brand > span:first-child:not(.gm-brand-copy) { border-color: var(--gm-orange); }
.gm-footer-grid { display: grid; grid-template-columns: 1.4fr .45fr .68fr; gap: 70px; }
.gm-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.gm-footer-grid > div:first-child p { max-width: 390px; margin: 20px 0 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.7; }
.gm-footer-grid > div > strong { margin-bottom: 9px; color: var(--gm-orange); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.gm-footer-grid > div > a,
.gm-footer-grid address { color: rgba(255,255,255,.74); font-size: 12px; font-style: normal; line-height: 1.6; }
.gm-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 62px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }

.current-hero { width: min(100%, 520px); max-height: 240px; border-radius: 6px; object-fit: cover; }

@media (max-width: 1040px) {
  .gm-nav { display: none; }
  .gm-admin-link { margin-left: auto; }
  .gm-mobile-menu { display: block; margin-left: 0; }
  .gm-about-grid { grid-template-columns: .23fr 1fr; }
  .gm-about-copy { grid-column: 2; padding-top: 0; }
  .gm-about-story { grid-template-columns: 1fr 1fr; }
  .gm-about-art { min-height: 370px; }
  .gm-vision-mission { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .gm-belief-grid { grid-template-columns: .45fr 1.3fr; }
  .gm-belief-notes { grid-column: 2; grid-template-columns: repeat(3, 1fr); }
  .gm-event-grid { grid-template-columns: 1fr .7fr; }
  .gm-event-copy { grid-column: 1 / -1; max-width: 620px; }
}

@media (max-width: 780px) {
  .gm-wrap { width: min(100% - 32px, 680px); }
  .gm-section { padding: 82px 0; }
  .gm-header-inner { min-height: 78px; gap: 12px; }
  .gm-brand { min-width: 0; }
  .gm-brand-mark,
  .gm-brand > span:first-child:not(.gm-brand-copy) { width: 43px; height: 43px; flex-basis: 43px; }
  .gm-brand > img { width: 68px; height: 70px; flex-basis: auto; }
  .gm-brand-copy strong { font-size: 15px; }
  .gm-brand-copy small { font-size: 8px; }
  .gm-admin-link { display: none; }
  .gm-hero { min-height: 690px; }
  .gm-hero-content { padding-bottom: 72px; }
  .gm-hero h1 { font-size: clamp(46px, 14vw, 76px); line-height: .85; }
  .gm-hero h1 span:last-child { margin-left: 0; }
  .gm-hero-tagline { max-width: 480px; font-size: 17px; }
  .gm-hero-stamp { right: -28px; bottom: -35px; width: 132px; height: 132px; }
  .gm-hero-stamp strong { font-size: 19px; }

  .gm-about-grid,
  .gm-belief-grid,
  .gm-heading-row,
  .gm-process-title,
  .gm-event-grid,
  .gm-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .gm-section-index { display: flex; align-items: center; gap: 15px; }
  .gm-section-index span { font-size: 46px; }
  .gm-section-index p { margin: 0; }
  .gm-about-copy,
  .gm-belief-notes,
  .gm-event-copy { grid-column: auto; }
  .gm-about-main h2,
  .gm-heading-row h2,
  .gm-process-title h2,
  .gm-testimonial-head h2,
  .gm-contact h2 { font-size: clamp(39px, 11vw, 60px); }
  .gm-about-copy { padding-top: 0; }
  .gm-about-story { grid-template-columns: 1fr; margin-top: 55px; }
  .gm-about-art,
  .gm-about-definition { min-height: auto; }
  .gm-about-art img { max-height: 360px; }
  .gm-vision-mission { grid-column: auto; grid-template-columns: 1fr; }
  .gm-get-grid,
  .gm-service-grid,
  .gm-testimonial-grid { grid-template-columns: 1fr; }
  .gm-get-grid { margin-top: 55px; }
  .gm-get-grid article { min-height: auto; }
  .gm-belief { padding: 80px 0; }
  .gm-belief::after { width: 180px; height: 180px; border-width: 27px; }
  .gm-belief-notes { grid-template-columns: 1fr 1fr 1fr; }
  .gm-service-grid article { min-height: 340px; }
  .gm-service-grid article:nth-child(3n+2) { transform: none; }
  .gm-service-grid article:nth-child(3n+2):hover { transform: translateY(-6px); }
  .gm-process { padding: 80px 0; }
  .gm-step-grid { grid-template-columns: 1fr 1fr; }
  .gm-step-grid article { min-height: 220px; }
  .gm-portfolio-grid { grid-auto-rows: 310px; grid-template-columns: 1fr; }
  .gm-portfolio-grid .gm-portfolio-tall { grid-row: auto; }
  .gm-event-orbit { width: 220px; height: 220px; }
  .gm-event-projects { grid-template-columns: 1fr 1fr; }
  .gm-testimonial-head { align-items: flex-start; flex-direction: column; }
  .gm-testimonial-grid blockquote { min-height: 275px; }
  .gm-footer-grid { grid-template-columns: 1fr 1fr; gap: 46px 25px; }
  .gm-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .gm-wrap { width: min(100% - 24px, 430px); }
  .gm-header-inner { min-height: 72px; }
  .gm-brand { gap: 9px; }
  .gm-brand-copy strong { font-size: 14px; }
  .gm-mobile-menu summary { padding: 10px 13px; }
  .gm-hero { min-height: 630px; }
  .gm-hero-content { padding-bottom: 62px; }
  .gm-hero h1 { font-size: 45px; }
  .gm-hero-tagline { font-size: 15px; }
  .gm-actions { align-items: stretch; flex-direction: column; }
  .gm-actions .gm-button { width: 100%; }
  .gm-hero-stamp { display: none; }
  .gm-belief-notes { grid-template-columns: 1fr; }
  .gm-step-grid { grid-template-columns: 1fr; }
  .gm-step-grid article { min-height: 125px; }
  .gm-event-projects { grid-template-columns: 1fr; }
  .gm-event-orbit { width: 195px; height: 195px; }
  .gm-event-orbit::before { width: 115px; height: 115px; }
  .gm-footer-grid { grid-template-columns: 1fr; }
  .gm-footer-grid > div:first-child { grid-column: auto; }
  .gm-footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Touch targets: primary controls reach 44px on small screens. */
@media (max-width: 760px) {
  .btn-small {
    min-height: 44px;
  }

  .under-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-bottom: 0;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    min-height: 44px;
  }

  input[type="checkbox"],
  input[type="radio"] {
    width: 24px;
    height: 24px;
  }
}
