:root {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #193349;
  background: #fff;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; word-break: auto-phrase; }
.keep-word { white-space: nowrap; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1,h2,h3,p,figure { margin-top: 0; }
.container { width: min(1360px, calc(100% - 10vw)); margin-inline: auto; }
.section { scroll-margin-top:68px; }
#price,#process { scroll-margin-top:82px; }
.section { padding: 82px 0; }
.kicker { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
h1,h2,h3,.brand { font-family: var(--display); color: var(--ink); }
.site-header { height: 68px; background: #ffffffed; border-bottom: 1px solid #e7e9e9; position: sticky; z-index: 30; top: 0; backdrop-filter: blur(14px); }
.header-inner { height: 100%; width: min(1400px, calc(100% - 10vw)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { font-size: 20px; font-weight: 700; white-space: nowrap; }
.brand span { font-size: .9em; }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 36px); }
.site-nav a { font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-nav a:hover,.site-nav a:focus-visible { color: var(--accent); }
.site-nav .nav-cta { color: #fff; background: var(--accent); border-radius: var(--radius-small); padding: 14px 26px; }
.site-nav .nav-cta:hover { color: #fff; filter: brightness(.9); }
.menu-toggle { display: none; }
.hero { overflow: hidden; background: var(--hero-bg); }
.hero-inner { position: relative; max-width: 1600px; min-height: 495px; margin: auto; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: 495px; width: 65%; padding: 42px 0 50px max(5vw, calc((100vw - 1400px)/2)); }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 20px; color: var(--accent); font-size: 16px; font-weight: 700; letter-spacing: .07em; }
.eyebrow-rule { display: inline-block; width: 48px; height: 1px; background: currentColor; }
h1 { margin: 0 0 18px; font-size: clamp(48px, 4.8vw, 76px); font-weight: 700; letter-spacing: .015em; line-height: 1.28; white-space: nowrap; }
.hero-lead { max-width: 690px; margin: 0 0 27px; color: var(--body); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 57px; min-width: 214px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 27px; border-radius: var(--radius-small); border: 1px solid var(--ink); font-size: 17px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-outline { background: #ffffffc7; color: var(--ink); }
.button span { font-size: 19px; }
.hero-visual { position: absolute; margin: 0; right: 0; top: 0; bottom: 0; width: 64%; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.hero-visual:after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg), transparent 38%) 26%, transparent 58%); pointer-events: none; }
.hero-visual figcaption { position: absolute; right: 20px; bottom: 17px; z-index: 1; padding: 9px 13px; background: #fff; color: #334754; text-align: right; font-size: 13px; font-weight: 700; line-height: 1.45; box-shadow: 0 3px 13px #132d3e29; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 50px; align-items: end; margin-bottom: 31px; }
.section-heading h2,.details h2,.about h2,.contact h2 { margin: 0; font-size: clamp(33px, 3.1vw, 48px); line-height: 1.35; font-weight: 700; }
.section-heading>p { margin: 0 0 4px; font-size: 16px; line-height: 1.85; color: var(--body); }
.featured { display: grid; grid-template-columns: 42% 58%; min-height: 408px; background: var(--panel); overflow: hidden; border-radius: var(--radius); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 30px clamp(28px, 3.2vw, 54px); }
.featured-copy h3 { font-size: clamp(28px, 2.6vw, 42px); margin: 0 0 9px; }
.featured-tag { margin-bottom: 18px; color: var(--accent); font-size: 14px; font-weight: 700; }
.featured-copy>p:not(.kicker):not(.featured-tag) { margin-bottom: 17px; max-width: 440px; color: var(--body); font-size: 16px; line-height: 1.85; }
.featured-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 19px; }
.featured-badges span { padding: 5px 9px; background: #ffffffc7; color: #526270; font-size: 11px; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; }
.text-link span { margin-left: 8px; }
.featured-thumbs { display: flex; gap: 9px; width: 100%; margin-top: 25px; }
.featured-thumbs img { width: calc((100% - 18px)/3); height: 74px; object-fit: cover; }
.featured-preview { position: relative; display: flex; align-items: center; justify-content: center; min-height: 408px; padding: 28px 9% 28px 2%; background: var(--preview-bg); }
.device-pc { width: 90%; display: block; border: 6px solid #202d38; border-radius: 10px; box-shadow: 0 16px 28px #21384a40; overflow: hidden; }
.device-pc img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.device-phone { position: absolute; display: block; width: 18%; right: 6%; bottom: 12%; border: 5px solid #202d38; border-radius: 17px; box-shadow: 0 12px 22px #21384a48; overflow: hidden; }
.device-phone img { width: 100%; aspect-ratio: 9/17; object-fit: cover; object-position: top; }
.works-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 74px 0 24px; }
.works-intro h3 { margin: 0; font-size: 29px; line-height: 1.45; }
.works-intro>p { max-width: 390px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.8; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-card { display: block; border: 1px solid var(--line); background: #fff; overflow: hidden; border-radius: var(--radius-small); transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 14px 24px #182e3b1b; }
.work-card>img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.work-card-content { display: block; padding: 16px 17px 19px; }
.work-card small { display: block; color: var(--accent); font-size: 11px; font-weight: 700; }
.work-card strong { display: block; margin: 6px 0 5px; color: var(--ink); font: 700 22px var(--display); }
.work-card em { color: var(--body); font-size: 13px; font-style: normal; }
.works-end { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.works-end p { margin: 0; font-size: 13px; color: var(--body); }
.works-end a { border: 1px solid var(--ink); padding: 13px 18px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.service { background: var(--service-bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-grid article { border-top: 2px solid var(--accent); padding: 24px 7px 0; }
.service-grid span { color: var(--accent); font: 700 14px Georgia,serif; }
.service-grid h3 { margin: 16px 0 12px; font-size: 24px; }
.service-grid p { max-width: 24em; color: var(--body); font-size: 16px; line-height: 1.8; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.details h2 { margin-bottom: 27px; font-size: clamp(30px, 2.8vw, 40px); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px 14px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 0; }
.price-line span { width: 100%; font-size: 14px; font-weight: 700; }
.price-line strong { color: var(--ink); font: 700 clamp(45px, 4vw, 61px) Georgia,"Yu Mincho",serif; white-space: nowrap; }
.price-line strong em { margin-left: .12em; font-size: .38em; font-style: normal; }
.price-line small { flex-basis: 100%; color: var(--body); font-size: 13px; }
.price>p:not(.kicker) { color: var(--body); font-size: 15px; line-height: 1.85; margin: 23px 0; }
.price>small { color: #697881; font-size: 12px; line-height: 1.7; }
.process ol { list-style: none; margin: 0; padding: 0; }
.process li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.process b { color: var(--accent); font: 700 17px Georgia,serif; }
.process h3 { margin: 0 0 6px; font-size: 20px; }
.process li p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.7; }
.about { background: var(--about-bg); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; }
.about-mark { display: grid; grid-template-columns: 58% 42%; align-items: stretch; min-height: 330px; border: 1px solid var(--line); background: var(--panel); text-align: center; overflow: hidden; }
.about-mark img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 12%; }
.about-mark span { align-self:center; color: var(--accent); font: 700 clamp(20px,2.1vw,30px)/1.3 Georgia,serif; letter-spacing: .04em; }
.about-mark small { color: var(--body); font-size: 13px; }
.about h2 { margin-bottom: 22px; }
.about p:not(.kicker) { color: var(--body); font-size: 16px; line-height: 1.9; }
.about small { color: #6b7780; font-size: 12px; }
.contact { background: var(--contact-bg); color: var(--contact-text); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 8vw; }
.contact h2 { color: var(--contact-text); margin-bottom: 20px; }
.contact-grid>div:first-child>p:not(.kicker) { color: var(--contact-muted); font-size: 16px; line-height: 1.9; }
.contact-card { background: #fff; color: #193349; padding: 33px; border-radius: var(--radius); }
.contact-card h3 { margin: 0 0 15px; font-size: 23px; }
.contact-card p { color: #556775; font-size: 15px; line-height: 1.8; }
.contact-card a { border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 14px; font-weight: 700; }
.site-footer { background: var(--footer-bg); color: #e8edef; }
.site-footer .container { min-height: 73px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.site-footer span { font: 700 15px var(--display); }
.site-footer small { font-size: 11px; color: #b5c3ca; }
.site-footer a { white-space: nowrap; font-size: 12px; }
:focus-visible { outline: 3px solid #d6a24c; outline-offset: 3px; }

/* 01: the submitted reference image, rebuilt as a working page. */
.theme-formal { --ink:#0c2942; --body:#4f6070; --accent:#a78148; --hero-bg:#fbf7ee; --panel:#f5f7f7; --preview-bg:#edf0ef; --service-bg:#f4f6f6; --about-bg:#f7f8f8; --contact-bg:#0c2942; --contact-text:#fff; --contact-muted:#d6e2e9; --footer-bg:#081e30; --line:#d9e0e2; --radius:0px; --radius-small:2px; --display:"Yu Mincho","Hiragino Mincho ProN",serif; }
.theme-formal .hero-inner { height: calc(100svh - 68px); min-height: 0; }
.theme-formal .hero-copy { height: 100%; min-height: 0; padding-top: 28px; padding-bottom: 30px; }
.theme-formal .hero-lead { margin-bottom: 20px; }
.hero-video-block { align-self: flex-start; width: min(310px, 100%); margin-top: 24px; }
.hero-video-block>p { margin: 0 0 9px; color: var(--ink); font-size: 15px; font-weight: 700; }
.hero-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--ink); }
.hero-video-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #fff; text-align: center; }
.hero-video-overline { margin-bottom: 8px; color: #e1c99e; font: 700 10px Georgia,serif; letter-spacing: .18em; }
.hero-video-placeholder strong { font-size: 15px; }
.hero-video-placeholder small { color: #d8e1e6; font-size: 11px; }
.theme-formal .hero-visual { width:100%; }
.theme-formal .hero-visual img { width:100%; height:100%; object-fit:cover; object-position:center; transform:translateX(5%); }
.theme-formal .hero-visual:after { background:linear-gradient(90deg,var(--hero-bg) 0%,#fbf7eee8 23%,#fbf7ee9c 43%,transparent 68%); }
.theme-formal .service,.theme-formal .about,.theme-formal .contact { min-height:calc(100svh - 68px); display:flex; align-items:center; }
.theme-formal .details { min-height:100svh; }
.theme-formal .about-mark { background:#fbf7ee; }
.theme-formal .about-mark img { object-position:center center; }
.theme-formal .about-mark span { font-size:clamp(17px,1.8vw,26px); letter-spacing:.02em; }
.theme-formal .works { padding-top: 24px; }
.theme-formal .works .section-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.theme-formal .works .section-heading h2 { font-size: 37px; }
.theme-formal .featured { min-height:clamp(480px, calc(100svh - 92px), 760px); background:#fff; }
.theme-formal .featured-copy { padding-left: 0; }
.theme-formal .service-grid article { background:#fff; padding:22px 22px 15px; }
.theme-formal .service-grid h3 { font-size:22px; }
.theme-formal .service-grid p { font-size:15px; }
.theme-formal .contact { padding:58px 0; }
.theme-formal .consult-shell { display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:5vw; }
.theme-formal .consult-intro h2 { margin-bottom:15px; }
.theme-formal .consult-intro>p:not(.kicker) { color:#d6e2e9; font-size:15px; line-height:1.75; }
.theme-formal .consult-intro .consult-mail { margin:18px 0 0; font-size:13px!important; }
.theme-formal .consult-mail a { border-bottom:1px solid currentColor; }
.theme-formal .consult-form { background:#fff; color:#193349; padding:24px; }
.theme-formal .consult-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.theme-formal .consult-form label { display:block; color:#203b50; font-size:13px; font-weight:700; }
.theme-formal .consult-form label span { color:#71808a; font-size:11px; font-weight:400; }
.theme-formal .consult-form select,.theme-formal .consult-form textarea { width:100%; border:1px solid #c8d2d8; border-radius:2px; background:#fff; color:#193349; font:14px "Yu Gothic",Meiryo,sans-serif; }
.theme-formal .consult-form select { height:42px; margin-top:7px; padding:0 9px; }
.theme-formal .consult-form textarea { min-height:68px; margin-top:7px; padding:10px; resize:vertical; }
.theme-formal .consult-free { margin-top:14px; }
.theme-formal .consult-bottom { display:flex; align-items:center; gap:17px; margin-top:15px; }
.theme-formal .consult-submit { flex:none; min-height:45px; border:0; background:var(--accent); color:#fff; padding:9px 18px; font-size:14px; font-weight:700; cursor:pointer; }
.theme-formal .consult-submit span { margin-left:15px; }
.theme-formal .consult-submit:disabled { cursor:not-allowed; background:#9aa6ad; }
.theme-formal .consult-bottom p { color:#61717c; font-size:11px; line-height:1.5; margin:0; }
.theme-formal .consult-status { min-height:16px; margin:9px 0 0; color:#61717c; font-size:11px; line-height:1.4; }
.theme-formal .consult-result { margin-top:17px; padding-top:16px; border-top:1px solid #d5dfe3; }
.theme-formal .consult-result[hidden] { display:none; }
.theme-formal .consult-result p { margin:0 0 8px; color:#40596a; font-size:12px; line-height:1.6; }
.theme-formal .consult-result textarea { width:100%; min-height:158px; background:#f7f9fa; line-height:1.6; }
.theme-formal .consult-result .consult-submit { margin-top:9px; }

/* 02: warm, calm and approachable. */
.theme-warm { --ink:#294d3f; --body:#526359; --accent:#8d7756; --hero-bg:#f5f3e9; --panel:#ecefe6; --preview-bg:#dce6da; --service-bg:#edf2ea; --about-bg:#f8f6ef; --contact-bg:#355b48; --contact-text:#fff; --contact-muted:#e6eee4; --footer-bg:#254334; --line:#d6ddd2; --radius:24px; --radius-small:11px; --display:"Yu Mincho","Hiragino Mincho ProN",serif; }
.theme-warm .hero-inner { display: grid; grid-template-columns: 56% 44%; min-height: 485px; }
.theme-warm .hero-copy { width: 100%; min-height: 485px; padding-right: 15px; }
.theme-warm .hero-visual { position: relative; width: auto; right: auto; top: auto; bottom: auto; margin: 25px 5vw 25px 5px; border-radius: 220px 220px 18px 18px; }
.theme-warm .hero-visual:after { background: none; }
.theme-warm .hero-visual img { object-position: 63% 8%; }
.theme-warm h1 { font-size: clamp(42px,4.4vw,64px); }
.theme-warm .button-primary { background: #335d49; border-color: #335d49; }
.theme-warm .works { padding-top: 32px; }
.theme-warm .works .section-heading { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.theme-warm .featured { grid-template-columns: 59% 41%; }
.theme-warm .featured-preview { order: -1; padding-left: 7%; padding-right: 5%; }
.theme-warm .featured-copy { background: #eff2e8; }
.theme-warm .featured-thumbs { display: none; }
.theme-warm .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.theme-warm .work-card { border-radius: 15px; }
.theme-warm .service-grid article { background: #fff9; padding: 22px; border-radius: 0 0 15px 15px; }

/* 03: contemporary and precise. */
.theme-modern { --ink:#0d3b5b; --body:#506677; --accent:#137ca6; --hero-bg:#edf7fc; --panel:#e7f3f8; --preview-bg:#d8ecf6; --service-bg:#f0f8fc; --about-bg:#eaf3f8; --contact-bg:#0c486b; --contact-text:#fff; --contact-muted:#d5eaf4; --footer-bg:#063149; --line:#cee0e9; --radius:4px; --radius-small:4px; --display:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif; }
.theme-modern .brand { font-size: 18px; letter-spacing: -.02em; }
.theme-modern .hero-inner { display: grid; grid-template-columns: 55% 45%; }
.theme-modern .hero-copy { width: 100%; padding-right: 18px; }
.theme-modern .hero-visual { position: relative; width: auto; right: auto; top: auto; bottom: auto; margin: 32px 5vw 32px 0; border: 10px solid #fff; box-shadow: 14px 14px 0 #c7e5f3; }
.theme-modern .hero-visual:after { background: none; }
.theme-modern .hero-visual img { object-position: 66% 8%; }
.theme-modern h1 { font-size: clamp(43px, 4.3vw, 66px); letter-spacing: -.035em; }
.theme-modern .eyebrow-rule { width: 24px; height: 3px; }
.theme-modern .button-primary { background: #0876a3; border-color: #0876a3; }
.theme-modern .works { padding-top: 35px; }
.theme-modern .works .section-heading { margin-bottom: 15px; }
.theme-modern .works .section-heading h2 { font-size: 30px; }
.theme-modern .featured { grid-template-columns: 31% 69%; border: 1px solid var(--line); }
.theme-modern .featured-thumbs { display: none; }
.theme-modern .featured-preview { background: linear-gradient(145deg,#d9ecf5,#f5fbff); }
.theme-modern .work-card-content strong { font-size: 20px; }
.theme-modern .service-grid article { border-top-width: 4px; }

/* 04: paper, craft and an editorial rhythm. */
.theme-editorial { --ink:#413629; --body:#625a50; --accent:#9b6847; --hero-bg:#f4f0e9; --panel:#eee9df; --preview-bg:#dfd8cb; --service-bg:#f3efe9; --about-bg:#eae3d8; --contact-bg:#44382d; --contact-text:#fff; --contact-muted:#ece2d7; --footer-bg:#31291f; --line:#d7cfc2; --radius:0px; --radius-small:0px; --display:"Yu Mincho","Hiragino Mincho ProN",serif; }
.theme-editorial .site-header { border-bottom-color: #c8bdad; }
.theme-editorial .hero-inner { display: grid; grid-template-columns: 52% 48%; min-height: 485px; }
.theme-editorial .hero-copy { width: 100%; min-height: 485px; padding-right: 20px; }
.theme-editorial .hero-visual { position: relative; width: auto; right: auto; top: auto; bottom: auto; margin: 30px 5vw 30px 0; border: 1px solid #cfc4b3; }
.theme-editorial .hero-visual:after { background: linear-gradient(90deg,#f4f0e927,transparent 35%); }
.theme-editorial .hero-visual img { filter: sepia(.15) saturate(.82); object-position: 67% 8%; }
.theme-editorial h1 { font-size: clamp(41px, 4vw, 60px); line-height: 1.35; letter-spacing: .05em; }
.theme-editorial .hero-copy:before { content:"YOSHIOKA / WEB DESIGN"; position:absolute; left:max(5vw,calc((100vw - 1400px)/2)); top:25px; color:#a99b89; font:12px Georgia,serif; letter-spacing:.18em; }
.theme-editorial .works { padding-top: 32px; }
.theme-editorial .works .section-heading { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.theme-editorial .featured { grid-template-columns: 55% 45%; border-block: 1px solid #b7a998; }
.theme-editorial .featured-preview { order: -1; }
.theme-editorial .featured-copy { border-left: 1px solid #c9beb0; }
.theme-editorial .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.theme-editorial .work-card { display:grid; grid-template-columns: 48% 52%; }
.theme-editorial .work-card>img { height:100%; aspect-ratio:auto; }
.theme-editorial .work-card { border-width: 0 0 1px; }
.theme-editorial .work-card-content { padding-left: 0; }
.theme-editorial .service-grid article { border-color: #a88e73; }

/* 05: cheerful without losing professional clarity. */
.theme-friendly { --ink:#193e46; --body:#516771; --accent:#c9765d; --hero-bg:#fff4ee; --panel:#fff0e5; --preview-bg:#f7e6df; --service-bg:#fff8f4; --about-bg:#eaf5f1; --contact-bg:#22606b; --contact-text:#fff; --contact-muted:#e0eff0; --footer-bg:#18464d; --line:#e6d8d0; --radius:22px; --radius-small:100px; --display:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif; }
.theme-friendly .hero-inner { display: grid; grid-template-columns: 55% 45%; min-height: 485px; }
.theme-friendly .hero-copy { width: 100%; min-height: 485px; padding-right: 18px; }
.theme-friendly .hero-visual { position: relative; width: auto; right: auto; top: auto; bottom: auto; margin: 26px 5vw 26px 0; border-radius: 42% 42% 22px 22px; border: 8px solid #fff; }
.theme-friendly .hero-visual:after { background: none; }
.theme-friendly .hero-visual img { object-position: 66% 8%; }
.theme-friendly h1 { font-size: clamp(43px, 4.2vw, 65px); letter-spacing: -.04em; }
.theme-friendly .button-primary { background: #c9765d; border-color: #c9765d; }
.theme-friendly .button-outline { border-color: #c9765d; color: #a05a47; }
.theme-friendly .works { padding-top: 35px; }
.theme-friendly .works .section-heading { margin-bottom: 15px; }
.theme-friendly .works .section-heading h2 { font-size: 30px; }
.theme-friendly .featured { display:flex; flex-direction:column; box-shadow: 0 20px 35px #915b4d1a; }
.theme-friendly .featured-preview { order:-1; min-height:300px; height:300px; }
.theme-friendly .device-pc { width:68%; }
.theme-friendly .device-phone { width:12%; right:20%; bottom:7%; }
.theme-friendly .featured-copy { min-height:0; }
.theme-friendly .featured-thumbs { display:none; }
.theme-friendly .featured-copy { background: #fff1e8; }
.theme-friendly .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.theme-friendly .work-card { border-radius: 18px; }
.theme-friendly .service-grid article { background: #fff; border-radius: 18px; padding: 23px; box-shadow: 0 8px 20px #b98a7115; }
.theme-friendly .contact-card { box-shadow: 12px 12px 0 #9ac9c5; }

@media (max-width: 1180px) {
  .brand { font-size: 17px; }
  .site-nav { gap: 17px; }
  .site-nav a { font-size: 12px; }
  h1 { font-size: clamp(40px, 4.5vw, 58px); }
  .hero-copy { width: 66%; }
  .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 821px) and (max-height: 720px) {
  .theme-formal .service,.theme-formal .details,.theme-formal .about { padding-top:40px; padding-bottom:40px; }
  .theme-formal .hero-copy { padding-top: 14px; padding-bottom: 14px; }
  .theme-formal .eyebrow { margin-bottom: 11px; font-size: 14px; }
  .theme-formal h1 { margin-bottom: 10px; font-size: clamp(36px, 4.2vw, 56px); }
  .theme-formal .hero-lead { margin-bottom: 14px; font-size: 15px; line-height: 1.55; }
  .theme-formal .button { min-height: 44px; min-width: 180px; padding: 8px 18px; font-size: 14px; }
  .theme-formal .hero-video-block { width: min(240px, 100%); margin-top: 13px; }
  .theme-formal .hero-video-block>p { margin-bottom: 6px; font-size: 13px; }
}
@media (max-width: 820px) {
  .section,#price,#process { scroll-margin-top:62px; }
  .theme-formal .service,.theme-formal .about,.theme-formal .contact { min-height:calc(100svh - 62px); display:block; }
  .theme-formal .details { min-height:0; }
  .theme-formal .featured { min-height:0; }
  .theme-formal .hero-inner { height: calc(100svh - 62px); }
  .theme-formal .hero-copy { height: auto; min-height: 0; flex: 1; }
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { height: 62px; }
  .header-inner { width: calc(100% - 36px); }
  .brand { font-size: 15px; }
  .menu-toggle { display: block; min-width: 82px; padding: 9px 12px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 13px; white-space: nowrap; }
  .site-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 20px; background: #fff; box-shadow: 0 15px 20px #1331452e; }
  .site-nav.open { display: flex; }
  .site-nav a { border-bottom: 1px solid #e6e9e9; padding: 13px; font-size: 16px; }
  .site-nav .nav-cta { margin-top: 11px; text-align: center; border: 0; }
  .hero-inner,.theme-warm .hero-inner,.theme-modern .hero-inner,.theme-editorial .hero-inner,.theme-friendly .hero-inner { display: flex; flex-direction: column; min-height: 0; }
  .hero-visual,.theme-warm .hero-visual,.theme-modern .hero-visual,.theme-editorial .hero-visual,.theme-friendly .hero-visual { order: -1; position: relative; width: 100%; height: 32svh; min-height: 260px; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .hero-visual img,.theme-warm .hero-visual img,.theme-modern .hero-visual img,.theme-editorial .hero-visual img,.theme-friendly .hero-visual img { object-position: center 8%; }
  .theme-formal .hero-visual img { width:100%; object-position:65% 35%; transform:none; }
  .hero-visual:after,.theme-editorial .hero-visual:after { background: linear-gradient(0deg,var(--hero-bg),transparent 30%); }
  .theme-formal .hero-visual:after { background:linear-gradient(0deg,var(--hero-bg),transparent 12%); }
  .hero-copy,.theme-warm .hero-copy,.theme-modern .hero-copy,.theme-editorial .hero-copy,.theme-friendly .hero-copy { width: 100%; min-height: 0; padding: 24px 5vw 43px; }
  .theme-formal .hero-copy { padding: 18px 5vw 24px; }
  .theme-formal .hero-visual { height: 28svh; min-height: 0; max-height: none; flex: 0 0 28svh; }
  .theme-formal .hero-video-block { width: min(250px, 100%); margin-top: 18px; }
  .theme-editorial .hero-copy:before { display: none; }
  h1,.theme-warm h1,.theme-modern h1,.theme-editorial h1,.theme-friendly h1 { font-size: clamp(35px, 6vw, 49px); white-space: normal; }
  .section { padding: 64px 0; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 18px; }
  .featured { grid-template-columns: 1fr; }
  .theme-warm .featured,.theme-modern .featured,.theme-editorial .featured { grid-template-columns: 1fr; }
  .theme-modern .featured-preview { order: -1; }
  .featured-copy { padding: 30px; }
  .featured-preview { min-height: 320px; }
  .service-grid { gap: 15px; }
  .details-grid,.about-grid,.contact-grid { gap: 5vw; }
}
@media (max-width: 580px) {
  .hero-video-block { width: min(250px, 100%); margin-top: 18px; }
  .container { width: calc(100% - 36px); }
  .header-inner { gap: 8px; }
  .brand { font-size: 13px; line-height: 1.28; white-space: normal; max-width: 235px; }
  .hero-visual,.theme-warm .hero-visual,.theme-modern .hero-visual,.theme-editorial .hero-visual,.theme-friendly .hero-visual { height: 30svh; min-height: 238px; }
  .theme-formal .hero-visual { height:28svh; min-height:0; max-height:none; }
  .hero-visual figcaption { right: 8px; bottom: 8px; font-size: 11px; padding: 7px 9px; }
  .hero-copy,.theme-warm .hero-copy,.theme-modern .hero-copy,.theme-editorial .hero-copy,.theme-friendly .hero-copy { padding: 22px 18px 38px; }
  .theme-formal .hero-copy { padding: 16px 18px 20px; }
  .eyebrow { font-size: 12px; margin-bottom: 13px; }
  .eyebrow-rule { width: 31px; }
  h1,.theme-warm h1,.theme-modern h1,.theme-editorial h1,.theme-friendly h1 { font-size: clamp(22px, 7vw, 35px); line-height: 1.36; letter-spacing: 0; margin-bottom: 14px; }
  .hero-lead { font-size: 15px; margin-bottom: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .button { min-width: 0; min-height: 46px; padding: 10px 12px; gap: 5px; font-size: 13px; }
  .button span { font-size: 14px; }
  .section { padding: 56px 0; }
  .section-heading h2,.details h2,.about h2,.contact h2,.theme-formal .works .section-heading h2 { font-size: clamp(22px,7vw,28px); letter-spacing: -.02em; }
  .section-heading>p { font-size: 14px; }
  .featured-copy { padding: 25px 20px; }
  .featured-copy h3 { font-size: 29px; }
  .featured-copy>p:not(.kicker):not(.featured-tag) { font-size: 15px; }
  .featured-thumbs img { height: 57px; }
  .featured-preview { min-height: 220px; padding: 17px 7%; }
  .device-pc { border-width: 3px; border-radius: 6px; }
  .device-phone { border-width: 3px; border-radius: 8px; }
  .works-intro { display: block; margin: 50px 0 21px; }
  .works-intro h3 { font-size: 23px; }
  .works-intro>p { margin-top: 16px; font-size: 14px; }
  .work-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-card { display: grid; grid-template-columns: 43% 57%; min-height: 118px; }
  .work-card>img { height: 100%; aspect-ratio: auto; }
  .work-card-content { padding: 13px; }
  .work-card strong { font-size: 18px; }
  .work-card small { font-size: 10px; }
  .work-card em { font-size: 12px; }
  .works-end { display: block; }
  .works-end a { display: block; margin-top: 15px; text-align: center; }
  .service-grid,.details-grid,.about-grid,.contact-grid { display: block; }
  .service-grid article { margin-bottom: 24px; }
  .service-grid h3 { font-size: 21px; }
  .service-grid p { font-size: 15px; }
  .process,.about-grid>div:last-child { margin-top: 48px; }
  .about-mark { min-height: 230px; }
  .about-mark span { font-size: clamp(17px,4.6vw,24px); }
  .contact-card { margin-top: 28px; padding: 24px; }
  .site-footer .container { display: block; padding: 25px 0; }
  .site-footer small { display: block; margin: 12px 0 18px; }
  .theme-formal .service-grid article { padding:18px; }
  .theme-formal .contact { padding:38px 0; }
  .theme-formal .consult-shell { display:block; }
  .theme-formal .consult-intro h2 { font-size:clamp(23px,7vw,28px); margin-bottom:11px; }
  .theme-formal .consult-intro>p:not(.kicker) { font-size:13px; line-height:1.6; margin-bottom:8px; }
  .theme-formal .consult-intro .consult-mail { margin-top:9px; }
  .theme-formal .consult-form { margin-top:16px; padding:17px; }
  .theme-formal .consult-fields { grid-template-columns:1fr; gap:10px; }
  .theme-formal .consult-form select { height:39px; margin-top:5px; }
  .theme-formal .consult-free { margin-top:10px; }
  .theme-formal .consult-form textarea { min-height:57px; margin-top:5px; }
  .theme-formal .consult-bottom { display:block; margin-top:10px; }
  .theme-formal .consult-submit { width:100%; min-height:43px; }
  .theme-formal .consult-bottom p { margin-top:6px; text-align:center; }
  .theme-formal .consult-status { margin-top:7px; }
  .theme-warm .hero-visual { width:calc(100% - 36px); height:260px; min-height:260px; margin:16px 18px 0; border-radius:170px 170px 18px 18px; }
  .theme-modern .hero-copy { order:-1; }
  .theme-modern .hero-visual { order:0; width:calc(100% - 36px); height:230px; min-height:230px; margin:0 18px 18px; border:6px solid #fff; box-shadow:7px 7px 0 #c7e5f3; }
  .theme-editorial .hero-visual { width:calc(100% - 36px); height:230px; min-height:230px; margin:0 18px 18px; border:1px solid #cfc4b3; }
  .theme-friendly .hero-visual { width:calc(100% - 36px); height:260px; min-height:260px; margin:16px 18px 0; border:6px solid #fff; border-radius:45% 45% 18px 18px; }
  .theme-warm .work-grid,.theme-editorial .work-grid,.theme-friendly .work-grid { grid-template-columns:1fr; }
  .theme-editorial .work-card { grid-template-columns:43% 57%; }
  .theme-friendly .featured-preview { min-height:220px; height:220px; }
  .theme-friendly .device-pc { width:83%; }
  .theme-friendly .device-phone { width:17%; right:8%; }
}
@media (max-width: 820px) and (max-height: 720px) {
  .theme-formal .hero-visual { height: 25svh; flex-basis: 25svh; }
  .theme-formal .hero-copy { padding-top: 10px; padding-bottom: 12px; }
  .theme-formal .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .theme-formal h1 { margin-bottom: 8px; font-size: clamp(21px, 6.4vw, 34px); line-height: 1.3; }
  .theme-formal .hero-lead { margin-bottom: 9px; font-size: 13px; line-height: 1.5; }
  .theme-formal .button { min-height: 39px; padding: 7px 10px; font-size: 12px; }
  .theme-formal .hero-video-block { width: min(220px, 100%); margin-top: 11px; }
  .theme-formal .hero-video-block>p { margin-bottom: 6px; font-size: 13px; }
}
@media (max-width: 580px) and (max-height: 720px) {
  .theme-formal .featured-copy { padding-top:16px; padding-bottom:16px; }
  .theme-formal .featured-thumbs { margin-top:18px; }
  .theme-formal .featured-preview { min-height:170px; }
  .theme-formal .service-grid article:first-child { margin-bottom:100px; }
  .theme-formal .price,.theme-formal .process { min-height:calc(100svh - 110px); }
  .theme-formal .about { padding-top:28px; padding-bottom:28px; }
  .theme-formal .about-mark { height:180px; min-height:180px; }
  .theme-formal .about-grid>div:last-child { margin-top:20px; }
  .theme-formal .about h2 { margin-bottom:12px; }
  .theme-formal .about p:not(.kicker) { font-size:14px; line-height:1.65; margin-bottom:10px; }
}
@media (min-width: 821px) and (max-height: 540px) {
  .theme-formal .hero-inner { height: auto; }
  .theme-formal .hero-copy { height: auto; min-height: 500px; }
}
@media (max-width: 360px) {
  .theme-formal .contact { padding:24px 0; }
  .theme-formal .consult-intro h2 { font-size:22px; margin-bottom:6px; }
  .theme-formal .consult-intro>p:not(.kicker) { margin-bottom:4px; }
  .theme-formal .consult-intro .consult-mail { margin-top:2px; }
  .theme-formal .consult-form { margin-top:10px; padding:12px; }
  .theme-formal .consult-fields { gap:6px; }
  .theme-formal .consult-form select { height:35px; }
  .theme-formal .consult-free { margin-top:6px; }
  .theme-formal .consult-form textarea { min-height:42px; padding:7px 9px; }
  .theme-formal .consult-bottom { margin-top:6px; }
  .theme-formal .consult-submit { min-height:39px; }
  .theme-formal .consult-bottom p { margin-top:4px; }
  .theme-formal .consult-status { margin-top:3px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } .button,.work-card { transition: none; } }
